1 2014-08-04 Will Newton <will.newton@linaro.org>
3 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6 2014-08-04 Mike Frysinger <vapier@gentoo.org>
8 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
9 variants for each function.
11 2014-08-04 Roland McGrath <roland@hack.frob.com>
13 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
15 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
16 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
18 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
19 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
20 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
21 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
22 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
23 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
24 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
25 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
26 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
27 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
28 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
29 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
30 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
31 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
32 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
33 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
34 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
35 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
36 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
37 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
38 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
39 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
40 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
41 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
42 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
43 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
44 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
45 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
46 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
47 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
48 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
49 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
50 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
51 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
52 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
53 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
54 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
55 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
56 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
57 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
58 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
59 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
60 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
61 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
62 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
63 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
64 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
65 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
66 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
67 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
68 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
69 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
70 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
72 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
73 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
75 2014-08-04 Roland McGrath <roland@hack.frob.com>
77 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
78 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
79 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
80 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
81 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
82 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
84 2014-08-04 Roland McGrath <roland@hack.frob.com>
86 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
87 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
88 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
89 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
91 2014-08-04 Roland McGrath <roland@hack.frob.com>
93 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
94 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
95 (__libc_vfork): Define function under this name.
96 (__vfork): Define as an alias.
97 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
98 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
100 2014-08-04 Roland McGrath <roland@hack.frob.com>
102 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
103 that was previously under [RESET_PID].
104 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
106 2014-08-04 Andreas Schwab <schwab@suse.de>
108 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
110 2014-08-03 Mike Frysinger <vapier@gentoo.org>
112 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
115 2014-08-01 Roland McGrath <roland@hack.frob.com>
117 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
119 2014-08-01 Richard Henderon <rth@redhat.com>
121 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
122 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
123 typo in exact zero test.
124 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
125 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
126 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
128 2014-08-01 Roland McGrath <roland@hack.frob.com>
130 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
131 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
132 * sysdeps/arm/sysdep.h: ... here.
133 [!__ASSEMBLER__]: Include <stdint.h>.
135 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
137 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
138 (HAVE_WCTYPE_H): Likewise.
139 (HAVE_ISWCTYPE): Likewise.
140 (ENABLE_NLS): Likewise.
141 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
142 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
144 * posix/regex_internal.c: Check if DEBUG is defined and is
147 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
148 (HAVE_MBSRTOWCS): Likewise.
149 * posix/fnmatch.c: Include string.h unconditionally.
151 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
153 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
156 2014-07-31 Roland McGrath <roland@hack.frob.com>
158 * sysdeps/generic/safe-fatal.h: New file.
159 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
160 * nptl/forward.c: Include it.
161 (__pthread_unwind): Use __safe_fatal as default action, rather
162 than a bogus use of INTERNAL_SYSCALL that could never work.
164 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
165 * configure.ac (libc_cv_builtin_trap): New test.
166 * configure: Regenerated.
167 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
168 (ABORT_INSTRUCTION): Define using __builtin_trap.
170 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
171 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
172 * sysdeps/nptl/nptl-signals.h: New file.
173 * nptl/pthreadP.h: Include <nptl-signals.h>.
175 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
177 * sysdeps/s390/s390-64/utf16-utf32-z9.c
178 (ONE_DIRECTION): Define.
179 * sysdeps/s390/s390-64/utf8-utf16-z9.c
180 (ONE_DIRECTION): Define.
181 * sysdeps/s390/s390-64/utf8-utf32-z9.c
182 (ONE_DIRECTION): Define.
184 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
186 * sysdeps/s390/Makefile: Delete file.
187 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
188 * sysdeps/s390/__longjmp.c: Delete file.
189 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
190 Remove fields __flags and __reserved.
191 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
193 * sysdeps/s390/rtld-__longjmp.c: Delete file.
194 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
195 * sysdeps/s390/rtld-setjmp.S: Likewise.
196 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
197 * sysdeps/s390/s390-32/__longjmp.c: ... here.
198 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
199 * sysdeps/s390/s390-32/setjmp.S: ... here.
201 (__sigsetjmp): Remove setting __flags field.
202 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
203 * sysdeps/s390/s390-64/__longjmp.c: ... here.
204 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
205 * sysdeps/s390/s390-64/setjmp.S: ... here.
207 (__sigsetjmp): Remove setting __flags field.
208 * sysdeps/s390/setjmp.S: Delete file.
209 * sysdeps/s390/sigjmp.c: Likewise.
210 * sysdeps/s390/v1-longjmp.c: Likewise.
211 * sysdeps/s390/v1-setjmp.h: Likewise.
212 * sysdeps/s390/v1-sigjmp.c: Likewise.
213 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
214 Remove v1-longjmp_chk.
215 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
216 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
217 Include debug/longjmp_chk.c and add versioning.
218 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
219 Include nptl/pt-longjmp.c and add versioning.
220 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
221 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
223 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
225 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
226 (__getcontext): Remove setting __flags field.
228 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
229 Don't restore upper high grps.
230 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
232 (__swapcontext): Remove setting uc_flags field.
233 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
235 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
237 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
239 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
240 (__getcontext): Remove setting __flags field.
242 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
243 (__swapcontext): Remove setting uc_flags field.
244 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
245 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
246 Remove fields uc_high_gprs and __reserved.
247 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
248 New file with reverted content.
249 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
250 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
252 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
255 2014-07-31 Andreas Schwab <schwab@suse.de>
257 * config.h.in (HAVE_IFUNC): Define to 0.
258 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
261 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
263 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
264 memmove-avx-unaligned, memcpy-avx-unaligned and
265 mempcpy-avx-unaligned.
266 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
267 Add tests for AVX memcpy functions.
268 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
269 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
271 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
272 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
274 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
275 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
277 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
278 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
279 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
281 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
284 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
287 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
290 * manual/llio.texi: Add section about open file description locks.
291 * manual/examples/ofdlocks.c: Example of open file description
293 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
294 F_OFD_SETLK, and F_OFD_SETLKW.
296 2014-07-23 Allan McRae <allan@archlinux.org>
298 * po/es.po: Update Spanish translation from translation project.
300 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
302 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
304 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
307 * sysdeps/arm/dl-machine.h (elf_machine_rela)
308 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
309 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
311 2014-07-17 Joseph Myers <joseph@codesourcery.com>
314 * math/fesetenv.c (__fesetenv)
315 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
316 * math/feupdateenv.c (__feupdateenv)
317 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
319 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
320 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
321 (__ASSUME_SOCKETCALL): Do not define.
323 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
324 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
325 (__ASSUME_SOCKETCALL): Do not define.
326 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
327 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
328 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
329 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
330 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
331 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
332 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
333 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
335 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
336 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
337 (__ASSUME_SOCKETCALL): Do not define.
338 (__ASSUME_IPC64): Define unconditionally.
339 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
340 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
341 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
342 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
343 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
344 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
345 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
348 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
349 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
350 (__ASSUME_SOCKETCALL): Do not define.
351 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
352 (__ASSUME_FUTEX_LOCK_PI): Likewise.
353 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
354 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
355 (__ASSUME_REQUEUE_PI): Define unconditionally.
356 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
357 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
358 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
359 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
360 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
361 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
363 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
364 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
365 (__ASSUME_SOCKETCALL): Do not define.
366 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
367 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
368 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
369 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
370 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
371 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
373 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
374 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
375 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
376 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
377 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
378 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
379 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
380 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
381 (__ASSUME_GETCPU_SYSCALL): Likewise.
383 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
384 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
385 cases for individual architectures.
386 * sysdeps/gnu/configure: Regenerated.
387 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
388 LIBC_SLIBDIR_RTLDDIR.
389 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
390 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
391 LIBC_SLIBDIR_RTLDDIR.
392 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
394 LIBC_SLIBDIR_RTLDDIR.
395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
397 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
398 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
400 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
401 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
403 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
404 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
405 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
406 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
408 * sysdeps/aarch64/shlib-versions: Move to ...
409 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
410 * sysdeps/alpha/shlib-versions: Move to ...
411 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
412 * sysdeps/arm/shlib-versions: Move to ...
413 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
414 * sysdeps/hppa/shlib-versions: Move all contents except for
415 libgcc_s entry to ...
416 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
418 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
419 * sysdeps/ia64/shlib-versions: Move to ...
420 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
422 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
423 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
424 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
425 * sysdeps/microblaze/shlib-versions: Move to ...
426 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
427 * sysdeps/mips/shlib-versions: Move to ...
428 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
430 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
431 * sysdeps/tile/shlib-versions: Move to ...
432 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
433 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
435 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
436 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
438 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
440 2014-07-17 Will Newton <will.newton@linaro.org>
442 * sysdeps/arm/bits/atomic.h
443 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
444 (__arch_compare_and_exchange_bool_16_int): Likewise.
445 (__arch_compare_and_exchange_bool_64_int): Likewise.
447 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
450 2014-07-16 Roland McGrath <roland@hack.frob.com>
452 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
453 just Linux configurations. Test empirically that the compiler sets
454 __ARM_EABI__, rather than using the tuple to decide.
455 * sysdeps/arm/preconfigure: Regenerated.
456 * sysdeps/unix/sysv/linux/arm/configure: File removed.
457 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
458 contents appended ...
459 * sysdeps/arm/configure.ac: ... here.
460 * sysdeps/arm/configure: Regenerated.
462 2014-07-15 Roland McGrath <roland@hack.frob.com>
464 * nptl/pthread_kill.c: New file.
465 * nptl/pthread_sigmask.c: New file.
466 * nptl/pthread_sigqueue.c: New file.
468 * sysdeps/nptl/lowlevellock.h: New file.
469 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
470 * sysdeps/nptl/lowlevellock-futex.h: New file.
472 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
473 Remove dead declarations.
475 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
477 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
478 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
480 * sysdeps/x86_64/configure.ac: Likewise.
481 * sysdeps/i386/configure: Regenerated.
482 * sysdeps/x86_64/configure: Likewise.
483 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
484 memset-avx2 only if config-cflags-avx2 is yes.
485 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
486 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
488 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
489 only if HAVE_AVX2_SUPPORT is defined.
490 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
492 2014-07-14 Alan Modra <amodra@gmail.com>
495 * elf/elf.h (DT_PPC64_NUM): Correct value.
496 * NEWS: Add to fixed bug list.
498 2014-07-13 Jim Meyering <meyering@fb.com>
501 regex: don't deref NULL upon heap allocation failure
502 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
503 failure in one more place.
504 To trigger the segfault, configure grep -with-included-regex,
505 build it, and run these commands:
506 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
508 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
510 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
512 2014-07-11 Richard Henderson <rth@redhat.com>
514 * sysdeps/aarch64/libm-test-ulps: Update.
516 2014-07-10 Florian Weimer <fweimer@redhat.com>
519 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
520 * nptl/allocatestack.c (__nptl_setxid_error): New function.
521 (__nptl_setxid): Initialize error member. Call
523 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
524 * nptl/descr.h (struct xid_command): Add error member.
525 * nptl/tst-setuid3.c: New file.
526 * nptl/Makefile (tests): Add it.
528 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
530 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
532 (__lll_trylock): Use __lll_base_trylock.
533 (__lll_cond_trylock): Likewise.
535 2014-07-10 Roland McGrath <roland@hack.frob.com>
537 * nptl/pthread_create.c (start_thread): Use atomic_or and
538 lll_futex_wake directly rather than lll_robust_dead.
539 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
540 (lll_robust_dead): Macro removed.
541 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
542 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
543 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
544 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
545 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
546 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
547 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
548 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
549 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
550 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
551 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
552 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
553 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
554 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
555 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
557 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
558 Use atomic_compare_and_exchange_val_acq directly rather than
560 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
561 (__lll_robust_trylock, lll_robust_trylock): Removed.
562 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
563 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
564 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
565 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
566 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
567 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
568 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
569 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
570 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
571 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
572 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
573 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
574 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
575 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
577 2014-07-02 Florian Weimer <fweimer@redhat.com>
579 * manual/locale.texi (Locale Names): New section documenting
580 locale name syntax. Adjust menu and node chaining accordingly.
581 (Choosing Locale): Reference Locale Names, Locale Categories.
582 Mention setting LC_ALL=C. Reflect that name syntax is now
584 (Locale Categories): New section title. Reference Locale Names.
585 LC_ALL is an environment variable, but not a category.
586 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
587 description, now in Locale Name. Reference that section. Locale
588 name syntax is now documented.
590 2014-07-02 Florian Weimer <fweimer@redhat.com>
593 * locale/findlocale.c (name_present, valid_locale_name): New
595 (_nl_find_locale): Use the loc_name variable to store name
596 candidates. Call name_present and valid_locale_name to check and
597 validate locale names. Return an error if the locale is invalid.
599 2014-07-02 Florian Weimer <fweimer@redhat.com>
601 * locale/setlocale.c (setlocale): Use strdup for allocating
604 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
607 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
608 [!_LIBC && ENABLE_NLS]: Include gettext.h.
609 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
611 [USE_UNLOCKED_IO]: Include unlocked-io.h.
612 [!_LIBC]: Include code for Windows and Cygwin.
613 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
614 Include prototype for int strerror_r.
615 [!_LIBC] (is_open): New function.
616 (flush_stdout): New function.
617 (print_errno_message): Use it.
619 (error_at_line): Likewise.
620 (error_tail) Add function attribute macros. Use
623 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
625 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
627 * io/ftw.c: Include sys/param.h unconditionally.
629 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
632 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
634 (freecache): New function to free CACHE on exit.
636 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
639 2014-07-09 David S. Miller <davem@davemloft.net>
641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
643 * sysdeps/sparc/nptl/internaltypes.h: Delete.
644 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
645 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
646 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
647 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
648 * sysdeps/sparc/nptl/sem_init.c: Likewise.
649 * sysdeps/sparc/nptl/sem_post.c: Likewise.
650 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
651 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
652 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
653 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
654 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
655 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
657 2014-07-09 Andreas Schwab <schwab@suse.de>
659 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
661 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
664 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
666 2014-07-09 Will Newton <will.newton@linaro.org>
668 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
669 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
670 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
671 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
672 * sysdeps/hppa/start.S (_start): Likewise.
674 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
676 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
678 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
681 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
683 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
684 after checking that it is non-NULL.
686 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
688 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
690 * sysdeps/powerpc/memmove.c: Remove file.
691 * sysdeps/powerpc/powerpc32/power4/memcopy.h
692 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
693 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
694 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
695 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
696 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
697 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
698 string memmove instead of removed powerpc one.
700 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
701 [weak_alias]: Fix compiler warning due trailing data.
702 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
703 [weak_alias]: Likewise.
704 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
705 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
707 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
708 (__libc_ifunc_impl_list): Add memmove functions.
710 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
712 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
714 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
716 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
718 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
720 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
722 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
724 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
726 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
728 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
730 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
732 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
734 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
736 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
738 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
740 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
742 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
744 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
747 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
749 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
750 to avoid alignment traps in non-cacheable memory.
751 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
753 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
755 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
756 file: multiarch power7 memmove.
757 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
758 multiarch default memmove.
759 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
760 multiarch memove for powerpc32/power4.
762 * string/bcopy.c: Use full path to include memmove.c.
763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
765 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
767 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
770 and memmove implementations.
771 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
772 optimized multiarch memmove for POWER7/powerpc64.
773 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
774 default multiarch memmove for powerpc64.
775 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
776 multiarch for powerpc64.
777 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
778 for POWER7/powerpc64.
779 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
780 memmove for POWER7/powerpc64.
782 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
785 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
786 __ELF_NATIVE_CLASS equal to 64.
788 2014-07-07 Roland McGrath <roland@hack.frob.com>
790 * sysdeps/nptl/lowlevellock.h: File removed.
792 * NEWS: NPTL is no longer an add-on!
793 * nptl/internaltypes.h: Moved ...
794 * sysdeps/nptl/internaltypes.h: ... here.
795 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
796 * sysdeps/nptl/fork.c: Likewise.
797 * sysdeps/nptl/gai_misc.h: Likewise.
798 * sysdeps/nptl/librt-cancellation.c: Likewise.
799 * sysdeps/nptl/jmp-unwind.c: Likewise.
800 * sysdeps/nptl/setxid.h: Likewise.
801 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
802 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
803 * sysdeps/unix/sysv/linux/arm/Implies: New file.
804 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
805 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
806 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
807 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
808 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
809 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
810 * sysdeps/unix/sysv/linux/mips/Implies: New file.
811 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
812 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
813 * sysdeps/unix/sysv/linux/sh/Implies: New file.
814 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
815 * sysdeps/unix/sysv/linux/tile/Implies: New file.
816 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
817 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
818 * nptl/Makeconfig: Moved ...
819 * sysdeps/nptl/Makeconfig: ... here.
820 * nptl/configure: File removed.
821 * nptl/ANNOUNCE: File removed.
822 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
823 * sysdeps/unix/sysv/linux/configure: Regenerated.
825 * nptl/Makefile (routines): Add libc_pthread_init,
826 libc_multiple_threads, register-atfork and unregister-atfork.
827 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
828 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
829 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
830 pthread-pi-defines.sym, structsem.sym.
831 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
832 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
833 [$(subdir) = nptl] (tests): Add tst-setgetname.
834 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
835 * sysdeps/unix/sysv/linux/sigaction.c: Just include
836 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
837 [!LIBC_SIGACTION]: Remove aliases.
838 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
839 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
840 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
841 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
842 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
843 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
844 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
845 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
846 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
847 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
848 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
849 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
850 __libc_allocate_rtsig_private.
851 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
852 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
853 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
854 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
855 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
856 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
857 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
858 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
859 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
860 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
861 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
862 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
863 * nptl/internaltypes.h: ... here.
864 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
865 * sysdeps/nptl/jmp-unwind.c: ... here.
866 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
867 * nptl/libc-lowlevellock.c: ... here.
868 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
869 * nptl/libc_multiple_threads.c: ... here.
870 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
871 * nptl/libc_pthread_init.c: ... here.
872 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
873 * nptl/lowlevelbarrier.sym: ... here.
874 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
875 * nptl/lowlevelcond.sym: ... here.
876 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
877 * nptl/lowlevellock.c: ... here.
878 * nptl/lowlevellock.h: Moved ...
879 * sysdeps/nptl/lowlevellock.h: ... here.
880 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
881 * nptl/lowlevelrobustlock.c: ... here.
882 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
883 * nptl/lowlevelrobustlock.sym: ... here.
884 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
885 * nptl/lowlevelrwlock.sym: ... here.
886 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
887 * nptl/pt-fork.c: ... here.
888 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
889 * nptl/pthread-pi-defines.sym: ... here.
890 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
891 * nptl/pthread_attr_getaffinity.c: ... here.
892 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
893 * nptl/pthread_attr_setaffinity.c: ... here.
894 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
895 * nptl/pthread_mutex_cond_lock.c: ... here.
896 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
898 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
899 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
900 * nptl/pthread_once.c: ... here, replacing old file.
901 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
902 * nptl/pthread_yield.c: ... here.
903 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
904 * nptl/register-atfork.c: ... here.
905 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
906 * nptl/sem_post.c: ... here.
907 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
908 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
909 * nptl/sem_timedwait.c: ... here.
910 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
911 * nptl/sem_trywait.c: ... here.
912 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
913 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
914 * nptl/sem_wait.c: ... here.
915 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
916 * nptl/structsem.sym: ... here.
917 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
918 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
919 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
920 * nptl/unregister-atfork.c: ... here.
921 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
922 * nptl/unwindbuf.sym: ... here.
923 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
924 * sysdeps/nptl/fork.c: ... here.
925 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
926 * sysdeps/nptl/fork.h: ... here.
927 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
928 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
929 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
930 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
931 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
932 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
933 * sysdeps/unix/sysv/linux/getpid.c: ... here.
934 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
935 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
936 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
937 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
938 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
939 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
940 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
941 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
942 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
943 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
944 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
945 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
946 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
947 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
948 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
949 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
950 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
951 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
952 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
953 * sysdeps/unix/sysv/linux/raise.c: ... here.
954 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
955 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
956 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
957 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
958 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
959 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
960 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
961 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
962 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
963 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
964 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
965 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
966 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
967 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
968 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
970 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
972 * sysdeps/generic/memcopy.h: Add comment for
973 MEMCPY_OK_FOR_FWD_MEMMOVE.
975 2014-07-04 Will Newton <will.newton@linaro.org>
977 * string/memchr.c: Merge from gnulib.
978 [_LIBC]: Remove conditionals.
979 (__ptr_t): Remove define.
980 (LONG_MAX_32_BITS): Likewise.
981 (LONG_MAX): Likewise.
982 (MEMCHR): Use ANSI prototype and optimize algorithm.
984 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
986 2014-07-03 Roland McGrath <roland@hack.frob.com>
988 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
989 (lll_futex_timed_wait_bitset): Fix syscall argument count.
991 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
992 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
993 in a bare environment with no <stdlib.h> installed.
994 * sysdeps/nptl/configure: Regenerated.
996 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
998 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
999 AC_EGREP_CPP for kernel header checks, so they only succeed if
1000 including <linux/version.h> actually works right.
1001 * sysdeps/unix/sysv/linux/configure: Regenerated.
1003 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1004 value so it's not diagnosed as unused.
1006 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1007 thing) with "ifeq ($(subdir),rt)".
1009 2014-07-03 Richard Henderson <rth@redhat.com>
1011 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1012 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1013 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1015 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1016 (math_force_eval): New.
1018 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1019 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1021 * sysdeps/alpha/fpu/s_round.c: Remove file.
1022 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1024 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1025 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1026 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1027 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1028 (_dl_start, print_statistics): Likewise.
1029 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1030 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1032 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1033 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1034 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1035 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1036 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1037 (HP_SMALL_TIMING_AVAIL): Define.
1038 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1039 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1040 (HP_SMALL_TIMING_AVAIL): Define.
1041 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1042 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1044 * sysdeps/aarch64/hp-timing.h: New file.
1046 * sysdeps/generic/hp-timing.h: Remove dead comment.
1047 * sysdeps/generic/hp-timing-common.h: New file.
1048 * sysdeps/alpha/hp-timing.h: Include it.
1049 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1050 * sysdeps/i386/i686/hp-timing.h: Likewise.
1051 * sysdeps/ia64/hp-timing.h: Likewise.
1052 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1053 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1054 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1055 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1056 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1057 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1060 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1061 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1062 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1063 * elf/rtld.c (_dl_start_final): Likewise.
1064 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1065 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1066 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1067 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1068 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1069 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1070 (HP_TIMING_DIFF_INIT): Remove.
1071 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1072 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1073 (HP_TIMING_DIFF_INIT): Remove.
1074 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1075 * sysdeps/i386/i686/hp-timing.c: Remove file.
1076 * sysdeps/x86_64/hp-timing.c: Remove file.
1077 * sysdeps/ia64/hp-timing.c: Remove file.
1078 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1079 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1080 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1081 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1083 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1084 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1085 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1086 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1087 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1088 (HP_TIMING_ACCUM): Remove.
1089 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1090 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1091 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1093 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1094 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1095 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1096 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1097 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1098 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1099 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1100 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1102 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1104 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1106 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1108 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1110 Sync up with gettext.
1111 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1112 [_MSC_VER]: Include malloc.h
1113 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1114 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1115 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1116 TEMP_FAILURE_RETRY. Cast return of alloca.
1117 [!_LIBC] Call gl_rwlock_init.
1118 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1120 2014-07-02 Roland McGrath <roland@hack.frob.com>
1122 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1123 before checking its value.
1125 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1127 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1129 * debug/memcpy_chk.c: Don't include pagecopy.h.
1130 * debug/mempcpy_chk.c: Likewise.
1131 * string/memcpy.c: Likewise.
1132 * string/memmove.c: Likewise.
1133 * sysdeps/powerpc/memmove.c: Likewise.
1134 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1135 definition of PAGE_COPY_FWD_MAYBE here...
1136 * sysdeps/generic/pagecopy.h: ... from here.
1137 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1139 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1140 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1142 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1143 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1145 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1146 (__libc_ifunc_impl_list): Likewise.
1147 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1148 multiarch strcat for PPC64.
1149 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1150 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1152 2014-07-02 Roland McGrath <roland@hack.frob.com>
1154 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1156 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1158 * intl/loadmsgcat.c: Remove declaration of
1159 get_sysdep_segment_value.
1160 (get_sysdep_segment_value): Use ISO C style.
1161 (_nl_load_domain): Use ISO C style. Get rid of redundant
1162 semicolon. Fix typo and formatting in comment.
1163 (_nl_unload_domain): Use ISO C style.
1165 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1167 2014-07-02 Will Newton <will.newton@linaro.org>
1169 * malloc/obstack.c: Merge from gnulib master.
1170 [HAVE_CONFIG_H]: Remove conditional code.
1171 [!_LIBC]: Include config.h.
1172 [!ELIDE_CODE]: Don't include inttypes.h, include
1173 stdint.h unconditionally.
1174 (print_and_abort): Mark as _Noreturn.
1175 (_obstack_allocated_p): Mark as __attribute_pure__.
1176 (obstack_free): Rename to __obstack_free.
1177 [!__attribute__]: Remove conditional code.
1178 * malloc/obstack.h: Merge from gnulib master.
1179 [__cplusplus]: Move conditional down.
1180 [!__attribute_pure__]: Define __attribute_pure__ here
1181 if it is not already defined.
1182 (_obstack_memory_used): Mark as __attribute_pure__.
1183 [!__obstack_free]: Define as obstack_free.
1184 [__GNUC__]: Remove check for ancient NeXT gcc.
1186 2014-07-02 Will Newton <will.newton@linaro.org>
1187 Paul Eggert <eggert@cs.ucla.edu>
1189 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1191 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1193 * resolv/gethnamaddr.c: Add comment warning that the file is
1196 2014-07-01 Carlos O'Donell <carlos@redhat.com>
1198 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1201 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1202 entry for aio_cancel and aio_cancel64.
1203 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1204 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1205 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1206 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1207 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1208 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1209 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1210 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1211 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1212 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1213 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1214 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1215 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1217 2014-07-01 Roland McGrath <roland@hack.frob.com>
1219 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1220 * nptl/pthread_mutex_lock.c: Likewise.
1221 * nptl/pthread_mutex_timedlock.c: Likewise.
1222 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1224 2014-07-01 Richard henderson <rth@redhat.com>
1226 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1227 (__isnan, __isnanl): Remove.
1228 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1230 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1232 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1234 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1236 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1238 * resolv/nss_dns/dns-host.c (getanswer_r)
1239 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1241 2014-07-01 Joseph Myers <joseph@codesourcery.com>
1243 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1244 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1246 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1247 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1249 2014-07-01 Roland McGrath <roland@hack.frob.com>
1251 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1252 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1254 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1255 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1257 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1258 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1260 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1261 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1263 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1264 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1265 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1266 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1268 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1269 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1270 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1271 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1272 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1274 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1276 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1277 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1278 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1279 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1280 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1281 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1282 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1283 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1284 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1285 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1286 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1287 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1288 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1289 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1290 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1291 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1292 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1293 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1294 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1295 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1297 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1298 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1299 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1300 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1301 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1302 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1303 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1304 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1306 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1308 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1309 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1310 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1313 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1317 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1319 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1320 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1322 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1324 * sysdeps/arm/libm-test-ulps: Regenerated.
1326 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1327 Roland McGrath <roland@hack.frob.com>
1329 * test-skeleton.c (signal_handler): Kill the whole process group
1330 before killing the child individually.
1331 (main): Report any failure on `setpgid'.
1333 2014-06-30 Roland McGrath <roland@hack.frob.com>
1335 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1336 from _TLS_H to _ARM_NPTL_TLS_H.
1337 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1338 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1340 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1343 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1344 (__expm1l): Return argument unchanged when small but not
1347 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1349 (_FP_UNPACK_RAW_1_P): Likewise.
1350 (_FP_PACK_RAW_1): Likewise.
1351 (_FP_PACK_RAW_1_P): Likewise.
1352 (_FP_MUL_MEAT_1_wide): Likewise.
1353 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1354 (_FP_MUL_MEAT_1_hard): Likewise.
1355 (_FP_DIV_MEAT_1_imm): Likewise.
1356 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1357 (_FP_DIV_MEAT_1_udiv): Likewise.
1358 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1359 (_FP_UNPACK_RAW_2): Likewise.
1360 (_FP_UNPACK_RAW_2_P): Likewise.
1361 (_FP_PACK_RAW_2): Likewise.
1362 (_FP_PACK_RAW_2_P): Likewise.
1363 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1364 (_FP_MUL_MEAT_2_wide): Likewise.
1365 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1366 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1367 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1368 (_FP_MUL_MEAT_2_gmp): Likewise.
1369 (_FP_DIV_MEAT_2_udiv): Likewise.
1370 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1371 (_FP_FRAC_SRL_4): Likewise.
1372 (_FP_FRAC_SRST_4): Likewise.
1373 (_FP_FRAC_SRS_4): Likewise.
1374 (_FP_UNPACK_RAW_4): Likewise.
1375 (_FP_UNPACK_RAW_4_P): Likewise.
1376 (_FP_PACK_RAW_4): Likewise.
1377 (_FP_PACK_RAW_4_P): Likewise.
1378 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1379 (_FP_MUL_MEAT_4_wide): Likewise.
1380 (_FP_MUL_MEAT_4_gmp): Likewise.
1381 (umul_ppppmnnn): Likewise.
1382 (_FP_DIV_MEAT_4_udiv): Likewise.
1383 (__FP_FRAC_ADD_4): Likewise.
1384 (__FP_FRAC_SUB_3): Likewise.
1385 (__FP_FRAC_SUB_4): Likewise.
1386 (__FP_FRAC_DEC_3): Likewise.
1387 (__FP_FRAC_DEC_4): Likewise.
1388 (__FP_FRAC_ADDI_4): Likewise.
1389 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1390 (_FP_FRAC_SRL_8): Likewise.
1391 (_FP_FRAC_SRS_8): Likewise.
1393 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1395 (FP_UNPACK_RAW_EP): Likewise.
1396 (FP_PACK_RAW_E): Likewise.
1397 (FP_PACK_RAW_EP): Likewise.
1398 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1399 (_FP_ISSIGNAN): Likewise.
1400 (_FP_ADD_INTERNAL): Likewise.
1401 (_FP_FMA): Likewise.
1402 (_FP_CMP): Likewise.
1403 (_FP_SQRT): Likewise.
1404 (_FP_TO_INT): Likewise.
1405 (_FP_FROM_INT): Likewise.
1406 (FP_EXTEND): Likewise.
1407 (_FP_DIV_MEAT_N_loop): Likewise.
1409 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1411 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1414 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1417 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1418 result with correct sign in case of exponents that produce
1419 overflow except for X very close to 1.
1421 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1423 mktime: merge #if/#ifdef usage from glibc
1424 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1425 as that works with both Glibc's and Gnulib's style.
1426 See thread starting at Siddhesh Poyarekar's bug report at:
1427 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1429 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1431 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1432 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1433 * sysdeps/tile/tilegx/memmove.c: Remove file.
1435 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1437 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1438 abi-name definition.
1439 * scripts/soversions.awk: Do not handle or generate ABI lines.
1440 * shlib-versions: Remove ABI entries.
1441 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1442 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1444 2014-06-27 Roland McGrath <roland@hack.frob.com>
1446 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1447 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1448 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1449 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1450 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1451 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1452 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1454 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1456 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1457 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1458 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1459 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1460 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1461 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1462 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1463 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1464 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1465 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1466 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1467 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1468 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1470 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1471 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1472 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1473 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1474 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1475 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1477 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1478 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1480 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1481 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1482 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1483 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1485 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1486 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1487 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1488 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1489 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1490 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1491 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1492 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1494 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1495 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1496 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1497 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1499 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1500 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1502 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1503 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1504 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1505 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1507 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1509 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1510 Identical file removed.
1511 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1513 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1514 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1515 Identical file removed.
1516 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1517 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1518 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1520 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1521 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1522 Identical file removed.
1523 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1524 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1525 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1526 Identical file removed.
1527 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1528 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1529 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1530 Identical file removed.
1531 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1532 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1533 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1534 Identical file removed.
1535 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1537 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1538 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1539 Identical file removed.
1540 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1542 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1543 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1544 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1545 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1546 Identical file removed.
1547 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1549 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1551 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1552 Identical file removed.
1553 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1555 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1556 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1557 Identical file removed.
1558 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1560 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1561 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1562 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1563 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1564 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1565 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1567 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1568 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1569 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1571 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1572 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1573 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1574 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1575 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1577 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
1580 * nscd/nscd.c (monitor_child): Return exit status of child
1581 instead of return value from wait syscall.
1583 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1585 * configure.ac (libc_commonpagesize): Remove variable.
1586 (libc_relro_required): Likewise.
1587 (libc_cv_z_relro): Remove configure test.
1588 * configure: Regenerated.
1589 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1591 (libc_relro_required): Likewise.
1592 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1593 (libc_relro_required): Likewise.
1594 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1595 (libc_relro_required): Likewise.
1596 * sysdeps/arm/preconfigure: Regenerated.
1597 * sysdeps/ia64/preconfigure: Remove file.
1598 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1600 (libc_relro_required): Likewise.
1604 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1605 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1606 recompute overflowing results in original rounding mode.
1607 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1608 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1609 recompute overflowing results in original rounding mode.
1610 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1611 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1612 recompute overflowing results in original rounding mode.
1613 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1614 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1615 recompute overflowing results in original rounding mode.
1616 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1617 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1618 recompute overflowing results in original rounding mode.
1619 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1620 (libc_feholdsetround_ctx): New macro.
1621 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1622 * sysdeps/i386/fpu/libm-test-ulps: Update.
1623 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1625 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1627 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1628 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1629 corresponding .cpsetup call.
1631 2014-06-26 Roland McGrath <roland@hack.frob.com>
1633 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1634 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1635 * sysdeps/arm/Makefile [$(subdir) = csu]
1636 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1637 (static-only-routines): Add aeabi_read_tp here.
1638 (shared-only-routines): Add libc-aeabi_read_tp here.
1639 (CFLAGS-libc-start.c): Add -fexceptions here.
1640 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1641 (sysdep_routines, static-only-routines, shared-only-routines):
1642 Don't add to these here.
1643 (CFLAGS-libc-start.c): Likewise.
1645 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1646 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1647 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1648 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1649 * sysdeps/arm/Makefile [$(subdir) = rt]
1650 (librt-sysdep_routines, librt-shared-only-routines):
1651 Append rt-aeabi_unwind_cpp_pr1 here.
1652 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1653 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1654 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1655 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1656 Append nptl-aeabi_unwind_cpp_pr1 here.
1657 (tests): Filter out tst-cleanupx4 here.
1658 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1659 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1660 Don't do those here.
1662 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1664 * scripts/list-sources.sh: Do not handle ports specially.
1666 2014-06-26 Roland McGrath <roland@hack.frob.com>
1668 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1669 * sysdeps/arm/feupdateenv.c: Likewise.
1671 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1673 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1675 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1676 trailing whitespace removed.
1677 * scripts/config.guess: Update to version 2014-03-23.
1678 * scripts/config.sub: Update to version 2014-05-01
1679 * scripts/install-sh: Update to version 2013-12-25.23.
1680 * scripts/move-if-change: Update from gnulib.
1682 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1684 * debug/memmove_chk.c: Remove pagecopy.h include.
1686 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1688 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1689 identical to gnulib mktime.
1691 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1693 * configure.ac: Do not test for machine being rs6000. Do not test
1695 * configure: Regenerated.
1697 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1699 * configure: Regenerated.
1700 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1701 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1702 Remove configure test.
1703 * sysdeps/arm/configure: Regenerated.
1704 * sysdeps/nptl/configure.ac: Do not check
1705 libc_cv_asm_cfi_directives.
1706 * sysdeps/nptl/configure: Regenerated.
1707 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1708 * sysdeps/x86_64/nptl/configure: Remove generated file.
1709 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1711 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1713 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1715 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1716 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1717 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1720 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1721 instead of whether it is defined.
1722 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1723 * sysdeps/hppa/dl-machine.h: Likewise.
1724 * sysdeps/ia64/dl-machine.h: Likewise.
1725 * sysdeps/m68k/dl-machine.h: Likewise.
1726 * sysdeps/microblaze/dl-machine.h: Likewise.
1727 * sysdeps/mips/dl-machine.: Likewise.
1728 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1729 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1730 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1731 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1732 * sysdeps/sh/dl-machine.h: Likewise.
1733 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1734 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1735 * sysdeps/tile/dl-machine.h: Likewise.
1736 * sysdeps/x86_64/dl-machine.h: Likewise.
1738 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1740 (verify_persistent_db): Likewise.
1742 2014-06-26 Roland McGrath <roland@hack.frob.com>
1744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1745 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1747 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1750 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1753 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1755 Identical file removed.
1756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1757 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1759 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1761 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1763 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1765 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1768 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1770 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1772 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1775 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1777 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1779 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1781 Identical file removed.
1782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1783 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1785 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1788 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1791 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1793 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1795 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1797 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1799 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1802 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1805 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1807 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1810 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1812 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1814 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1816 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1817 * sysdeps/unix/sysv/linux/s390/Versions
1818 (libpthread: GLIBC_2.19): New version set.
1819 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1820 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1821 (librt: GLIBC_2.3.3): New version set.
1822 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1823 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1824 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1825 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1826 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1827 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1828 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1829 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1830 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1831 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1832 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1833 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1834 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1835 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1836 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1837 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1838 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1839 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1840 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1841 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1842 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1843 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1844 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1845 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1846 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1847 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1848 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1849 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1850 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1851 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1852 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1853 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1854 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1855 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1856 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1857 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1858 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1859 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1860 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1861 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1862 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1863 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1864 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1865 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1866 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1868 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1869 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1870 (__libc_vfork): Define the function under this name.
1871 [!NOT_IN_libc] (__vfork): Make this an alias.
1872 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1873 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1874 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1875 (__libc_vfork): Define the function under this name.
1876 [!NOT_IN_libc] (__vfork): Make this an alias.
1877 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1878 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1879 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1880 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1881 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1882 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1884 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1885 code that was previously under [RESET_PID].
1886 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1887 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1888 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1890 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1891 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1892 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1893 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1894 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1895 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1896 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1897 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1898 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1899 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1900 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1902 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1903 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1904 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1905 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1906 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1907 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1908 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1909 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1910 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1911 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1912 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1913 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1914 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1915 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1916 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1917 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1918 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1919 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1920 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1921 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1922 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1923 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1924 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1925 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1926 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1927 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1928 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1929 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1930 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1932 2014-06-25 Roland McGrath <roland@hack.frob.com>
1934 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1935 that was previously under [RESET_PID].
1936 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1938 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1940 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1941 not undefine and redefine.
1942 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1943 [O_CLOEXEC]: Make code unconditional.
1944 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1945 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1946 <kernel-features.h>.
1947 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1948 conditional variable definition.
1949 (shm_open) [O_CLOEXEC]: Make code unconditional.
1950 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1953 * configure.ac (USE_REGPARMS): Don't define here.
1954 * configure: Regenerated.
1955 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1956 * sysdeps/i386/configure: Regenerated.
1958 * nptl/createthread.c: Don't include kernel-features.h.
1959 * nptl/pthread_cancel.c: Likewise.
1960 * nptl/pthread_condattr_setclock.c: Likewise.
1961 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1962 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1963 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1964 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1965 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1966 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1967 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1968 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1969 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1970 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1971 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1972 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1973 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1974 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1975 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1976 * nscd/gai.c: Likewise.
1977 * nss/nss_db/db-open.c: Likewise.
1978 * sysdeps/generic/ldsodefs.h: Likewise.
1979 * sysdeps/sh/nptl/tls.h: Likewise.
1980 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1981 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1982 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1983 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1984 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1985 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1986 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1987 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1988 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1989 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1990 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1991 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1992 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1993 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1994 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1995 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1996 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1997 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1998 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1999 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2000 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2001 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2002 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2003 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2004 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2005 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2006 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2007 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2008 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2009 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2010 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2011 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2012 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2013 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2014 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2015 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2016 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2017 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2018 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2019 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2020 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2021 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2022 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2023 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2024 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2025 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2026 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2027 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2028 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2029 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2030 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2031 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2032 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2033 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2034 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2035 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2036 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2037 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2060 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2061 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2062 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2063 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2064 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2065 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2066 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2067 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2068 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2069 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2070 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2071 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2072 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2073 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2074 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2075 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2076 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2077 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2078 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2079 * sysdeps/unix/sysv/linux/system.c: Likewise.
2080 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2081 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2082 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2083 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2084 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2085 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2086 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2088 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2089 * configure: Regenerated.
2090 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2092 * configure.ac (base_machine): Do not set specially for particular
2094 * configure: Regenerated.
2095 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2096 settings from configure.ac.
2097 * sysdeps/i386/preconfigure: New file.
2098 * sysdeps/s390/preconfigure: Likewise.
2099 * sysdeps/sh/preconfigure: Likewise.
2100 * sysdeps/sparc/preconfigure: Likewise.
2102 2014-06-25 Roland McGrath <roland@hack.frob.com>
2104 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2105 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2106 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2107 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2108 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2109 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2110 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2111 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2112 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2113 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2114 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2115 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2116 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2117 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2118 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2119 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2120 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2121 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2122 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2124 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2125 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2126 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2127 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2128 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2129 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2130 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2131 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2132 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2133 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2134 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2135 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2136 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2137 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2138 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2139 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2140 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2141 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2142 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2143 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2144 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2145 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2146 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2147 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2148 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2149 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2150 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2151 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2152 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2153 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2154 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2155 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2156 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2157 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2158 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2159 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2160 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2161 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2164 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2166 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2169 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2172 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2174 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2177 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2179 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2181 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2183 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2186 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2189 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2191 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2194 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2196 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2198 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2200 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2202 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2205 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2208 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2210 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2213 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2215 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2217 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2219 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2222 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2225 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2227 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2230 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2232 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2234 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2236 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2238 * timezone/checktab.awk: Update from tzcode 2014e.
2239 * timezone/private.h: Likewise.
2240 * timezone/tzfile.h: Likewise.
2241 * timezone/zdump.c: Likewise.
2242 * timezone/zic.c: Likewise.
2244 * sysdeps/unix/sysv/linux/kernel-features.h
2245 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2246 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2247 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2248 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2249 Remove conditional code.
2251 2014-06-25 Will Newton <will.newton@linaro.org>
2253 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2254 (_dl_arm_cap_flags): Add HWCAP2 values.
2255 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2256 (_DL_HWCAP_COUNT): Increase to 37.
2257 (_DL_HWCAP_LAST): New define.
2258 (_DL_HWCAP2_LAST): New define.
2259 (_dl_procinfo): Add support for printing
2261 (_dl_string_hwcap): Use _dl_hwcap_string.
2263 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2267 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2269 * README: Do not mention ports directory.
2271 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2273 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2274 <kernel-features.h>.
2275 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2276 conditional variable definition.
2277 (__futimes): Update comment.
2278 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2279 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2282 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2283 arguments close to 0.
2284 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2286 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2288 * math/auto-libm-test-in: Add more tests of exp10.
2289 * math/auto-libm-test-out: Regenerated.
2290 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2292 * sysdeps/unix/sysv/linux/kernel-features.h
2293 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2294 * sysdeps/unix/sysv/linux/readv.c: Do not include
2295 <kernel-features.h>.
2296 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2297 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2298 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2300 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2302 * sysdeps/unix/sysv/linux/writev.c: Do not include
2303 <kernel-features.h>.
2304 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2305 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2306 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2308 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2311 2014-06-25 Will Newton <will.newton@linaro.org>
2313 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2314 comment changes throughout the file. Remove checks
2315 for HAVE_*_H definitions that are not required.
2316 (__gen_tempname): Call abort if an unknown kind value is
2319 2014-06-25 Andreas Schwab <schwab@suse.de>
2322 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2323 scalbln, scalblnf, scalblnl in libc.
2325 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2328 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2329 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2330 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2332 2014-06-24 Roland McGrath <roland@hack.frob.com>
2334 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2335 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2336 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2337 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2339 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2340 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2342 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2343 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2344 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2345 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2346 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2347 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2348 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2349 * sysdeps/x86/bits/semaphore.h: ... here.
2350 * sysdeps/x86/nptl/elide.h: Moved ...
2351 * sysdeps/x86/elide.h: ... here.
2352 * sysdeps/x86_64/nptl/Implies: File removed.
2353 * sysdeps/i386/nptl/Implies: File removed.
2355 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2358 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2359 return the argument for normal arguments with exponent below -64.
2360 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2362 * math/auto-libm-test-in: Add another test of expm1.
2363 * math/auto-libm-test-out: Regenerated.
2366 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2367 calling __erfcl for arguments at least 16.
2368 * math/auto-libm-test-in: Add more tests of erf.
2369 * math/auto-libm-test-out: Regenerated.
2371 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2372 individual architectures.
2373 * sysdeps/unix/sysv/linux/configure: Regenerated.
2374 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2375 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2376 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2377 (ldd_rewrite_script): Define variable.
2378 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2383 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2384 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2385 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2386 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2387 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2388 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2389 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2390 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2392 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2395 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2396 Rename member __data.d to __data.__elision_data.
2398 2014-06-24 Wilco <wdijkstr@arm.com>
2400 * NEWS: Add 16918 to fixed bug list.
2402 2014-06-24 Wilco <wdijkstr@arm.com>
2404 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2406 2014-06-24 Wilco <wdijkstr@arm.com>
2408 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2409 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2410 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2411 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2412 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2413 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2414 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2417 2014-06-24 Wilco <wdijkstr@arm.com>
2419 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2421 2014-06-24 Wilco <wdijkstr@arm.com>
2423 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2424 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2425 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2426 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2428 2014-06-24 Wilco <wdijkstr@arm.com>
2431 * sysdeps/arm/feupdateenv.c (feupdateenv):
2432 Rewrite to reduce FPSCR accesses and fix return value.
2434 2014-06-24 Wilco <wdijkstr@arm.com>
2436 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2437 Optimize to avoid unnecessary FPSCR writes.
2438 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2439 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2440 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2441 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2443 2014-06-24 Wilco <wdijkstr@arm.com>
2445 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2446 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2447 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2448 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2449 Call libc_fetestexcept_vfp.
2450 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2451 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2452 __SOFTFP__ ifdef so that they can be built for softfp.
2454 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2456 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2457 argument type signed char.
2459 * Makerules (check-abi): Dump diff of symlist if the test
2462 2014-06-23 Roland McGrath <roland@hack.frob.com>
2464 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2467 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2468 Remove unused variable ST.
2470 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2474 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2475 small arguments before calling __expm1.
2476 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2477 small arguments before calling __expm1f.
2478 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2479 small arguments before calling __expm1l.
2480 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2482 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2483 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2484 spurious underflow for some cosh tests.
2485 * math/auto-libm-test-out: Regenerated.
2486 * sysdeps/i386/fpu/libm-test-ulps: Update.
2489 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2490 (__ieee754_y1): Set errno if return value overflows.
2491 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2492 (__ieee754_y1f): Set errno if return value overflows.
2493 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2494 (__ieee754_y1l): Set errno if return value overflows.
2495 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2496 (__ieee754_y1l): Set errno if return value overflows.
2497 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2498 * math/auto-libm-test-out: Regenerated.
2500 * math/gen-auto-libm-tests.c: Document use of
2501 ignore-zero-inf-sign.
2502 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2503 (input_flags): Add ignore-zero-inf-sign.
2504 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2505 * math/gen-libm-test.pl (generate_testfile): Handle
2506 ignore-zero-inf-sign.
2507 * math/auto-libm-test-in: Mark some cpow tests with
2508 ignore-zero-inf-sign and some with xfail-rounding.
2509 * math/auto-libm-test-out: Regenerated.
2510 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2511 * sysdeps/i386/fpu/libm-test-ulps: Update.
2512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2515 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2516 overflowing or underflowing operations take place with sign of
2518 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2519 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2520 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2521 (__ieee754_pow): Recompute overflowing and underflowing results in
2522 original rounding mode.
2523 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2524 (__powl_helper): Allow negative argument X and scale negated value
2525 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2526 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2527 overflowing or underflowing operations take place with sign of
2529 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2531 * math/auto-libm-test-in: Add more tests of pow.
2532 * math/auto-libm-test-out: Regenerated.
2533 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2534 (pow_tonearest_test_data): Remove.
2535 (pow_test_tonearest): Likewise.
2536 (pow_towardzero_test_data): Likewise.
2537 (pow_test_towardzero): Likewise.
2538 (pow_downward_test_data): Likewise.
2539 (pow_test_downward): Likewise.
2540 (pow_upward_test_data): Likewise.
2541 (pow_test_upward): Likewise.
2542 (main): Don't call removed functions.
2543 * sysdeps/i386/fpu/libm-test-ulps: Update.
2544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2546 2014-06-23 Roland McGrath <roland@hack.frob.com>
2548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2722 2014-06-23 Will Newton <will.newton@linaro.org>
2723 Wilco <wdijkstr@arm.com>
2725 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2726 implementation. Include get-rounding-mode.h.
2727 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2728 [!libc_feholdsetround_noex_ctx]: Define
2729 libc_feholdsetround_noex_ctx.
2730 [!libc_feholdsetround_noexf_ctx]: Define
2731 libc_feholdsetround_noexf_ctx.
2732 [!libc_feholdsetround_noexl_ctx]: Define
2733 libc_feholdsetround_noexl_ctx.
2734 (libc_feholdsetround_ctx): New function.
2735 (libc_feresetround_ctx): New function.
2736 (libc_feholdsetround_noex_ctx): New function.
2737 (libc_feresetround_noex_ctx): New function.
2739 2014-06-23 Roland McGrath <roland@hack.frob.com>
2741 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2742 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2743 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2744 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2745 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2746 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2748 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2749 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2750 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2751 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2752 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2753 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2754 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2755 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2756 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2757 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2758 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2760 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2762 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2763 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2764 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2765 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2766 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2768 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2769 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2770 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2771 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2772 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2773 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2774 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2775 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2777 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2778 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2780 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2781 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2782 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2783 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2785 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2786 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2787 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2788 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2789 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2790 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2791 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2792 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2793 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2794 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2796 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2798 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2799 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2800 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2801 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2802 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2803 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2804 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2805 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2806 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2807 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2808 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2809 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2810 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2812 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2813 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2814 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2815 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2816 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2817 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2819 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2820 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2821 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2822 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2823 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2825 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2826 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2827 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2828 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2829 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2830 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2831 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2832 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2833 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2834 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2835 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2836 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2837 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2838 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2839 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2840 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2841 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2842 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2843 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2844 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2845 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2846 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2847 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2848 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2849 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2850 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2851 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2852 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2854 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2856 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2857 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2858 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2859 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2860 (IPV6_PMTUDISC_INTERFACE): Likewise.
2861 (IPV6_PMTUDISC_OMIT): Likewise.
2863 2014-06-23 Andreas Schwab <schwab@suse.de>
2865 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2866 Remove unused errout label.
2868 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2870 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2871 macro: hardware supports Vector Crypto instructions.
2873 2014-06-23 Will Newton <will.newton@linaro.org>
2875 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2876 rather than __builtin_expect.
2878 * elf/dl-lookup.c (undefined_msg): Remove variable.
2879 (_dl_lookup_symbol_x): Replace undefined_msg with string
2882 * elf/dl-lookup.c (do_lookup_unique): New function.
2883 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2884 to a separate function.
2886 2014-06-23 Andreas Schwab <schwab@suse.de>
2889 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2890 before reading the next line.
2892 2014-06-23 Will Newton <will.newton@linaro.org>
2894 * test-skeleton.c (signal_handler): Use printf and %m
2895 rather than perror. Use printf rather than fprintf to
2896 stderr. Use puts rather than fputs to stderr.
2899 2014-06-22 Ludovic Courtès <ludo@gnu.org>
2901 * nscd/nscd.c (thread_info_t): Remove typedef.
2902 (thread_info): Remove variable.
2904 2014-06-21 Allan McRae <allan@archlinux.org>
2906 * NEWS: Mention CVE-2014-4043.
2908 2014-06-20 Roland McGrath <roland@hack.frob.com>
2910 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2911 * nptl/smp.h: ... here.
2913 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2915 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2916 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2917 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2918 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2920 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2921 * nptl/stack-aliasing.h: New file.
2922 * sysdeps/i386/i686/stack-aliasing.h: New file.
2923 * sysdeps/i386/i686/nptl/Makefile: File removed.
2924 * sysdeps/x86_64/stack-aliasing.h: New file.
2925 * sysdeps/x86_64/nptl/Makefile
2926 (CFLAGS-pthread_create.c): Variable removed.
2928 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2929 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2931 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2932 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2935 2014-06-21 Joseph Myers <joseph@codesourcery.com>
2937 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2938 (__ASSUME_SIGFRAME_V2): Remove macro.
2939 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2940 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2941 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2942 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2943 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2944 Declare as function. Remove conditional macro definitions.
2945 (__default_rt_sa_restorer): Likewise.
2946 (__default_sa_restorer_v1): Remove declaration.
2947 (__default_sa_restorer_v2): Likewise.
2948 (__default_rt_sa_restorer_v1): Likewise.
2949 (__default_rt_sa_restorer_v2): Likewise.
2950 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2951 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2952 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2954 2014-06-20 Roland McGrath <roland@hack.frob.com>
2956 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2957 (libpthread-routines): Add sysdep.
2958 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2959 * sysdeps/unix/sysv/linux/sparc/Versions
2960 (libpthread: GLIBC_2.3.3): New version set.
2961 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2962 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2963 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2964 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2965 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2966 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2968 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2969 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2970 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2971 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2972 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2973 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2974 * sysdeps/sparc/nptl/sem_init.c: ... here.
2975 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2976 * sysdeps/sparc/nptl/sem_post.c: ... here.
2977 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2978 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2979 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2980 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2981 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2982 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2983 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2984 (libpthread-routines): Add cpu_relax.
2985 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2987 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2988 (librt: GLIBC_2.3.3): New version set.
2989 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2990 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2991 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2992 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2993 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2994 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2995 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2996 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2998 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2999 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3000 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3001 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3002 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3003 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3004 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3005 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3006 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3007 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3009 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3011 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3013 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3015 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3017 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3019 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3021 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3023 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3025 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3027 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3029 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3032 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3034 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3036 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3038 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3039 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3040 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3041 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3043 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3044 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3045 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3047 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3049 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3051 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3052 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3053 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3054 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3055 * nscd/nscd.c: Likewise.
3056 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3057 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3058 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3059 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3061 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3062 <kernel-features.h>.
3063 (init_mq_netlink): Remove conditional have_sock_cloexec
3064 definitions. Remove code conditional on have_sock_cloexec < 0.
3065 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3066 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3067 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3068 <kernel-features.h>.
3069 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3070 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3072 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3074 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3075 Add tests for memset_chk and memset.
3077 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3080 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3083 * elf/tst-dl-iter-static.c: New file.
3084 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3086 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3089 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3091 * sysdeps/unix/sysv/linux/kernel-features.h
3092 (__ASSUME_F_GETOWN_EX): Remove macro.
3093 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3094 <kernel-features.h>.
3095 (miss_F_GETOWN_EX): Remove variable or macro.
3096 (do_fcntl): Do not check miss_F_GETOWN_EX.
3097 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3099 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3101 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3102 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3103 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3105 * sysdeps/unix/sysv/linux/kernel-features.h
3106 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3107 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3108 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3109 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3111 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3114 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3115 Fix calculation of the symbol's value.
3116 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3117 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3118 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3119 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3120 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3121 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3122 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3123 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3124 (modules-names): Add `tst-armtlsdescmod',
3125 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3126 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3127 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3128 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3129 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3130 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3131 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3132 ($(objpfx)tst-armtlsdescloc): New dependency.
3133 ($(objpfx)tst-armtlsdescextnow): Likewise.
3134 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3135 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3137 * sysdeps/arm/configure: Regenerate.
3139 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3141 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3142 (__atfct_seterrno_2): Likewise.
3143 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3144 <kernel-features.h>.
3145 (__ASSUME_ATFCTS): Do not undefine and redefine.
3146 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3147 (__have_atfcts): Remove conditional definition.
3148 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3149 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3150 unreachable if [__ASSUME_ATFCTS].
3151 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3152 not undefine and redefine.
3153 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3154 <kernel-features.h>.
3155 (faccessat) [__NR_faccessat]: Make code unconditional.
3156 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3157 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3158 <kernel-features.h>.
3159 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3160 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3161 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3162 <kernel-features.h>.
3163 (fchownat) [__NR_fchownat]: Make code unconditional.
3164 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3165 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3166 <kernel-features.h>.
3167 (futimesat) [__NR_futimesat]: Make code unconditional.
3168 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3169 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3170 <kernel-features.h>.
3171 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3172 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3173 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3174 <kernel-features.h>.
3175 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3176 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3177 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3178 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3179 <kernel-features.h>.
3180 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3181 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3182 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3183 <kernel-features.h>.
3184 (linkat) [__NR_linkat]: Make code unconditional.
3185 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3186 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3187 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3188 <kernel-features.h>.
3189 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3190 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3191 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3192 <kernel-features.h>.
3193 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3194 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3195 * sysdeps/unix/sysv/linux/openat.c: Do not include
3196 <kernel-features.h>.
3197 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3198 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3199 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3200 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3201 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3202 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3203 <kernel-features.h>.
3204 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3205 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3206 result of INLINE_SYSCALL directly, not via int variable.
3207 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3208 <kernel-features.h>.
3209 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3210 (renameat) [__NR_renameat]: Make code unconditional.
3211 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3212 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3213 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3214 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3215 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3216 (__ASSUME_ATFCTS): Do not undefine and redefine.
3217 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3218 <kernel-features.h>.
3219 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3220 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3221 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3222 <kernel-features.h>.
3223 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3224 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3225 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3226 (__ASSUME_ATFCTS): Do not undefine and redefine.
3227 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3228 <kernel-features.h>.
3229 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3230 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3231 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3232 <kernel-features.h>.
3233 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3234 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3236 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3238 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3240 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3243 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3244 constructed tree before returning error.
3245 * posix/bug-regexp36.c: Expand test case.
3247 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3250 * math/libm-test.inc (scalbln_test_date):
3251 Add errno expectations.
3252 * math/w_scalblnf.c: New File.
3253 Add wrapper which checks for setting errno to ERANGE.
3254 Add weak_alias for corresponding scalbln function.
3255 * math/w_scalbln.c: Likewise.
3256 * math/w_scalblnl.c: Likewise.
3257 * math/Makefile (libm-calls): Add w_scalbln.
3258 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3259 Remove weak_alias for corresponding scalbln function.
3260 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3261 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3262 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3263 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3264 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3265 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3266 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3267 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3268 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3269 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3270 Remove long_double_symbol for scalblnl function in libm, libc.
3271 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3272 Add wrapper which checks for setting errno to ERANGE.
3273 Add long_double_symbol for scalblnl function in libm, libc.
3274 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3275 Remove long_double_symbol for scalblnl in libm.
3276 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3277 Add wrapper which checks for setting errno to ERANGE.
3278 Add long_double_symbol for scalblnl function in libm.
3279 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3280 Do not use wrapper because of own implementation.
3282 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3284 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3285 3 bytes for __pad1 for x32.
3286 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3288 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3289 H.J. Lu <hongjiu.lu@intel.com>
3291 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3292 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3293 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3294 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3295 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3297 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3300 * posix/regcomp.c (parse_expression): Deallocate partially
3301 constructed tree before returning error.
3302 * posix/Makefile.c (tests): Add bug-regex36.
3303 (generated): Add bug-regex36.mtrace.
3304 (tests-special): Add $(objpfx)bug-regex36-mem.out
3305 (bug-regex36-ENV): New variable.
3306 ($(objpfx)bug-regex36-mem.out): New rule.
3307 * posix/bug-regex36.c: New file.
3309 2014-06-19 Will Newton <will.newton@linaro.org>
3311 * malloc/malloc.c (systrim): If extra is zero then return
3314 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3316 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3318 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3320 * sysdeps/aarch64/strchr.S: New file.
3322 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3325 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3326 from arguments -2 or below.
3327 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3328 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3330 2014-06-18 Andreas Schwab <schwab@suse.de>
3333 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3334 of a bracket expr not to run off the end of the string.
3335 * posix/Makefile (tests): Add tst-fnmatch3.
3336 * posix/tst-fnmatch3.c: New file.
3338 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3340 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3341 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3342 [$(cross-compiling) = no]: Likewise.
3343 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3344 [$(cross-compiling) = no]: Likewise.
3346 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3349 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3350 double, adjusted for any remainder from the high double.
3351 * math/libm-test.inc (nearbyint): Add tests.
3354 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3356 * nptl/sysdeps/powerpc/Makefile: Moved ...
3357 * sysdeps/powerpc/nptl/Makefile: ... here.
3358 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3359 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3360 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3361 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3362 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3363 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3364 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3365 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3366 * nptl/sysdeps/powerpc/tls.h: Moved ...
3367 * sysdeps/powerpc/nptl/tls.h: ... here.
3369 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3372 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3373 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3374 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3375 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3376 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3377 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3378 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3379 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3380 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3382 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3384 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3386 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3388 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3391 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3394 2014-06-16 Florian Weimer <fweimer@redhat.com>
3397 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3398 non-executed part of the test.
3400 2014-06-16 Andreas Schwab <schwab@suse.de>
3402 * string/bits/string2.h (strdup, strndup): Update feature guard.
3404 2014-06-14 David S. Miller <davem@davemloft.net>
3406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3408 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3410 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3411 that was previously under [RESET_PID].
3412 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3414 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3415 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3416 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3417 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3418 (__libc_vfork): New strong alias.
3419 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3421 2014-06-14 Andi Kleen <ak@linux.intel.com>
3423 * sysdeps/generic/elide.h: New file.
3425 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3427 * Makefile (installed-headers): Adjust path of pthread.h header.
3429 2014-06-13 Roland McGrath <roland@hack.frob.com>
3431 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3432 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3433 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3434 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3436 * nptl/sysdeps/s390/Makefile: Moved ...
3437 * sysdeps/s390/nptl/Makefile: ... here.
3438 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3439 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3440 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3441 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3442 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3443 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3444 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3445 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3446 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3447 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3448 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3449 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3450 * nptl/sysdeps/s390/tls.h: Moved ...
3451 * sysdeps/s390/nptl/tls.h: ... here.
3453 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3454 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3456 2014-06-13 David S. Miller <davem@davemloft.net>
3458 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3459 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3460 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3461 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3462 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3463 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3464 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3465 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3466 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3467 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3468 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3469 Remove RESET_PID cpp guards.
3470 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3471 Remove RESET_PID cpp guards.
3472 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3474 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3476 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3479 2014-06-13 Andi Kleen <ak@linux.intel.com>
3481 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3482 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3483 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3484 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3485 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3486 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3487 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3488 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3489 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3490 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3491 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3492 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3493 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3494 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3495 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3496 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3497 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3498 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3499 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3500 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3502 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3503 (pthread_rwlock_rdlock): Add elision.
3504 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3505 (pthread_rwlock_wrlock): Add elision.
3506 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3507 (pthread_rwlock_trywrlock): Add elision.
3508 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3509 (pthread_rwlock_tryrdlock): Add elision.
3510 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3511 (pthread_rwlock_tryrdlock): Add elision unlock.
3512 * nptl/sysdeps/pthread/pthread.h:
3513 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3514 (PTHREAD_RWLOCK_INITIALIZER,
3515 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3516 Handle new elision field.
3517 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3518 * sysdeps/arm/nptl/bits/pthreadtypes.h
3519 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3520 * sysdeps/sh/nptl/bits/pthreadtypes.h
3521 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3522 * sysdeps/tile/nptl/bits/pthreadtypes.h
3523 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3524 * sysdeps/a/nptl/bits/pthreadtypes.h
3525 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3526 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3527 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3528 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3529 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3530 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3531 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3532 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3533 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3534 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3535 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3536 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3537 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3538 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3539 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3540 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3541 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3542 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3543 (elision_init): Set try_xbegin to zero when no RTM.
3544 * sysdeps/x86/nptl/bits/pthreadtypes.h
3545 (pthread_rwlock_t): Change __pad1 to __rwelision.
3546 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3548 2014-06-13 Andi Kleen <ak@linux.intel.com>
3550 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3551 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3552 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3553 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3555 2014-06-13 Meador Inge <meadori@codesourcery.com>
3558 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3559 that the cached result has been set before returning it.
3561 2014-06-12 Roland McGrath <roland@hack.frob.com>
3563 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3564 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3565 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3566 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3567 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3568 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3570 * nptl/sysdeps/sparc/Makefile: Moved ...
3571 * sysdeps/sparc/nptl/Makefile: ... here.
3572 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3573 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3574 * nptl/sysdeps/sparc/tls.h: Moved ...
3575 * sysdeps/sparc/nptl/tls.h: ... here.
3576 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3577 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3578 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3579 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3580 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3581 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3582 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3583 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3584 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3585 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3586 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3587 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3588 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3589 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3590 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3591 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3592 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3593 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3595 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3596 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3598 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3599 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3601 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3602 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3605 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3607 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3608 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3610 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3611 (struct list_links): Type removed.
3612 (struct thread_node, struct timer_node): Replace struct list_links
3613 with struct list_head.
3614 (list_unlink_ip): Likewise.
3615 * sysdeps/pthread/timer_routines.c
3616 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3617 (list_append, list_insbefore): Likewise.
3618 (list_init): Function removed.
3619 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3620 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3621 * sysdeps/pthread/Makefile: ... here, new file.
3623 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3624 * sysdeps/nptl/Implies: ... here.
3625 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3626 * nptl/sysdeps/pthread/list.h: Moved ...
3627 * include/list.h: ... here.
3628 * nptl/sysdeps/pthread/createthread.c: Moved ...
3629 * nptl/createthread.c: ... here.
3630 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3631 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3632 * nptl/pt-longjmp.c: ... here.
3633 * nptl/sysdeps/pthread/Makefile: Moved ...
3634 * sysdeps/nptl/Makefile: ... here.
3635 * nptl/sysdeps/pthread/Subdirs: Moved ...
3636 * sysdeps/nptl/Subdirs: ... here.
3637 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3638 * sysdeps/nptl/aio_misc.h: ... here.
3639 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3640 * sysdeps/nptl/bits/libc-lock.h: ... here.
3641 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3642 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3643 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3644 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3645 * nptl/sysdeps/pthread/configure: Moved ...
3646 * sysdeps/nptl/configure: ... here.
3647 * nptl/sysdeps/pthread/configure.ac: Moved ...
3648 * sysdeps/nptl/configure.ac: ... here.
3649 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3650 * sysdeps/nptl/gai_misc.h: ... here.
3651 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3652 * sysdeps/nptl/librt-cancellation.c: ... here.
3653 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3654 * sysdeps/nptl/malloc-machine.h: ... here.
3655 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3656 * sysdeps/nptl/pthread-functions.h: ... here.
3657 * nptl/sysdeps/pthread/pthread.h: Moved ...
3658 * sysdeps/nptl/pthread.h: ... here.
3659 * nptl/sysdeps/pthread/setxid.h: Moved ...
3660 * sysdeps/nptl/setxid.h: ... here.
3661 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3662 * sysdeps/nptl/sigfillset.c: ... here.
3663 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3664 * sysdeps/nptl/tcb-offsets.h: ... here.
3665 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3666 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3667 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3668 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3669 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3670 * sysdeps/pthread/allocalim.h: ... here.
3671 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3672 * sysdeps/pthread/bits/sigthread.h: ... here.
3673 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3674 * sysdeps/pthread/flockfile.c: ... here.
3675 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3676 * sysdeps/pthread/ftrylockfile.c: ... here.
3677 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3678 * sysdeps/pthread/funlockfile.c: ... here.
3679 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3680 * sysdeps/pthread/posix-timer.h: ... here.
3681 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3682 * sysdeps/pthread/timer_create.c: ... here.
3683 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3684 * sysdeps/pthread/timer_delete.c: ... here.
3685 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3686 * sysdeps/pthread/timer_getoverr.c: ... here.
3687 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3688 * sysdeps/pthread/timer_gettime.c: ... here.
3689 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3690 * sysdeps/pthread/timer_routines.c: ... here.
3691 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3692 * sysdeps/pthread/timer_settime.c: ... here.
3693 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3694 * sysdeps/pthread/tst-timer.c: ... here.
3695 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3696 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3698 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3699 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3701 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3702 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3703 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3704 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3705 Update #include target.
3706 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3707 * sysdeps/i386/i686/nptl/Makefile: ... here.
3708 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3709 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3710 Update #include target.
3711 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3712 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3713 * nptl/sysdeps/i386/Makefile: Moved ...
3714 * sysdeps/i386/nptl/Makefile: ... here.
3715 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3716 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3717 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3718 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3719 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3720 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3721 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3722 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3723 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3724 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3725 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3726 * nptl/sysdeps/i386/tls.h: Moved ...
3727 * sysdeps/i386/nptl/tls.h: ... here.
3729 * sysdeps/sh/Makefile [$(subdir) = csu]
3730 (gen-as-const-headers): Add tcb-offsets.sym.
3731 * nptl/sysdeps/sh/Makefile: File removed.
3732 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3733 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3734 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3735 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3736 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3737 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3738 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3739 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3740 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3741 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3742 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3743 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3744 * nptl/sysdeps/sh/tls.h: Moved ...
3745 * sysdeps/sh/nptl/tls.h: ... here.
3746 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3747 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3748 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3749 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3750 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3751 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3752 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3753 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3754 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3755 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3756 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3757 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3758 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3759 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3760 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3761 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3762 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3763 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3764 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3765 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3766 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3767 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3768 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3769 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3770 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3772 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3773 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3775 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3776 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3777 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3778 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3779 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3780 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3781 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3782 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3783 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3784 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3785 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3786 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3787 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3788 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3789 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3790 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3791 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3792 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3793 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3795 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3797 * posix/spawn_faction_addopen.c: Include string.h.
3799 2014-06-11 Roland McGrath <roland@hack.frob.com>
3801 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3802 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3803 * nptl/sysdeps/x86_64/Makefile: Moved ...
3804 * sysdeps/x86_64/nptl/Makefile: ... here.
3805 * nptl/sysdeps/x86_64/configure: Moved ...
3806 * sysdeps/x86_64/nptl/configure: ... here.
3807 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3808 * sysdeps/x86_64/nptl/configure.ac: ... here.
3809 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3810 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3811 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3812 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3813 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3814 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3815 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3816 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3817 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3818 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3819 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3820 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3821 * nptl/sysdeps/x86_64/tls.h: Moved ...
3822 * sysdeps/x86_64/nptl/tls.h: ... here.
3823 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3824 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3825 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3826 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3828 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3830 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3834 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3836 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3838 [POSIX] (off_t): Likewise.
3839 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3840 [POSIX] (S_ISBLK): Require macro.
3841 [POSIX] (S_ISCHR): Likewise.
3842 [POSIX] (S_ISDIR): Likewise.
3843 [POSIX] (S_ISFIFO): Likewise.
3844 [POSIX] (S_ISREG): Likewise.
3845 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3847 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3849 [POSIX] (time_t): Likewise.
3850 [POSIX] (timer_t): Likewise.
3852 2014-06-11 Florian Weimer <fweimer@redhat.com>
3855 * posix/spawn_int.h (struct __spawn_action): Make the path string
3856 non-const to support deallocation.
3857 * posix/spawn_faction_addopen.c
3858 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3859 * posix/spawn_faction_destroy.c
3860 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3861 path in all spawn_do_open actions.
3862 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3863 posix_spawn_file_actions_addopen.
3865 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3867 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3868 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3869 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3870 conditional code always true.
3871 (__libc_vfork): New alias.
3873 2014-06-11 Roland McGrath <roland@hack.frob.com>
3875 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3876 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3878 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3880 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3881 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3883 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3884 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3886 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3887 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3889 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3891 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3892 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3893 multiarch strcmp for PPC64.
3894 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3895 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3896 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3897 multiarch optimizations.
3898 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3899 (__libc_ifunc_impl_list): Likewise.
3901 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3903 * benchtests/scripts/validate_benchout.py: New script.
3904 * benchtests/Makefile (bench-func): Call it.
3905 * benchtests/scripts/benchout.schema.json: New file.
3907 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3909 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3910 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3911 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3912 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3913 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3914 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3915 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3916 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3917 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3918 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3919 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3920 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3921 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3922 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3923 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3924 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4028 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4029 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4030 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4031 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4032 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4034 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4036 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4037 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4038 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4039 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4040 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4041 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4042 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4043 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4044 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4045 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4046 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4047 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4048 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4050 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4051 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4053 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4054 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4055 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4056 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4058 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4059 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4060 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4061 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4062 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4063 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4064 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4066 2014-06-10 Wilco <wdijkstr@arm.com>
4068 * math/test-fenv-return.c: New file.
4069 * math/Makefile: Add new test test-fenv-return.
4071 2014-06-10 Joseph Myers <joseph@codesourcery.com>
4074 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4076 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4077 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4078 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4079 0.0L for an argument of 1.0L.
4080 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4082 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4083 value when x - 1 is zero.
4084 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4085 * sysdeps/i386/fpu/libm-test-ulps: Update.
4086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4088 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4091 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4093 2014-06-09 Roland McGrath <roland@hack.frob.com>
4095 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4096 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4098 2014-06-09 Roland McGrath <roland@hack.frob.com>
4100 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4101 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4103 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4104 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4106 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4107 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4109 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4110 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4112 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4113 if not already defined.
4114 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4115 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4116 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4117 (TLS_INIT_TP): Use it.
4118 (TLS_DEFINE_INIT_TP): New macro.
4119 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4121 2014-06-09 Joseph Myers <joseph@codesourcery.com>
4123 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4125 [POSIX] (IXANY): Likewise.
4126 [POSIX] (OLCUC): Likewise.
4127 [POSIX || POSIX2008] (CBAUD): Do not allow.
4128 [POSIX || POSIX2008] (DEFECHO): Likewise.
4129 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4130 [POSIX || POSIX2008] (ECHOKE): Likewise.
4131 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4132 [POSIX || POSIX2008] (EXTA): Likewise.
4133 [POSIX || POSIX2008] (EXTB): Likewise.
4134 [POSIX || POSIX2008] (FLUSHO): Likewise.
4135 [POSIX || POSIX2008] (LOBLK): Likewise.
4136 [POSIX || POSIX2008] (PENDIN): Likewise.
4137 [POSIX || POSIX2008] (SWTCH): Likewise.
4138 [POSIX || POSIX2008] (VDISCARD): Likewise.
4139 [POSIX || POSIX2008] (VDSUSP): Likewise.
4140 [POSIX || POSIX2008] (VLNEXT): Likewise.
4141 [POSIX || POSIX2008] (VREPRINT): Likewise.
4142 [POSIX || POSIX2008] (VSTATUS): Likewise.
4143 [POSIX || POSIX2008] (VWERASE): Likewise.
4144 (B*): Change to B[0123456789]*.
4145 * conform/data/time.h-data [POSIX || UNIX98]
4146 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4147 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4148 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4149 [POSIX] (tm_*): Do not allow.
4151 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4153 * Makefile (install): Don't set LANGUAGE.
4154 * Makefile.in (install): Likewise.
4155 * assert/Makefile (test-assert-ENV): Remove variable.
4156 (test-assert-perr-ENV): Likewise.
4157 * elf/Makefile (neededtest4-ENV): Likewise.
4158 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4159 [$(cross-compiling) = no]: Don't set LANGUAGE.
4160 * io/ftwtest-sh (LANG): Remove variable.
4161 * libio/Makefile (tst-widetext-ENV): Likewise.
4162 * manual/install.texi (Running make install): Don't refer to
4163 environment settings for make install.
4164 * INSTALL: Regenerated.
4165 * nptl/tst-tls6.sh: Don't set LANG.
4166 * posix/globtest.sh (LANG): Remove variable.
4167 * string/Makefile (tester-ENV): Likewise.
4168 (inl-tester-ENV): Likewise.
4169 (noinl-tester-ENV): Likewise.
4170 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4171 [$(cross-compiling) = no]: Don't set LANGUAGE.
4172 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4173 without explicit environment settings.
4175 2014-06-06 Roland McGrath <roland@hack.frob.com>
4177 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4178 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4179 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4180 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4182 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4184 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4185 other files in the crypt directory.
4186 * crypt/crypt.c: Remove duplicate includes.
4187 * crypt/crypt-entry.c: Likewise.
4188 * crypt/crypt_util.c: Likewise.
4190 2014-06-06 Joseph Myers <joseph@codesourcery.com>
4192 * Makeconfig (run-program-env): New variable.
4193 (run-program-prefix-before-env): Likewise.
4194 (run-program-prefix-after-env): Likewise.
4195 (run-program-prefix): Define in terms of new variables.
4196 (built-program-cmd-before-env): New variable.
4197 (built-program-cmd-after-env): Likewise.
4198 (built-program-cmd): Define in terms of new variables.
4199 (test-program-prefix-before-env): New variable.
4200 (test-program-prefix-after-env): Likewise.
4201 (test-program-prefix): Define in terms of new variables.
4202 (test-program-cmd-before-env): New variable.
4203 (test-program-cmd-after-env): Likewise.
4204 (test-program-cmd): Define in terms of new variables.
4205 * Rules (make-test-out): Use $(run-program-env).
4206 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4207 (help): Do not mention environment variables. Mention
4208 --timeoutfactor option.
4209 (timeoutfactor): New variable.
4210 (blacklist_exports): Remove function.
4211 (exports): Remove variable.
4212 (command): Do not include ${exports}.
4213 * manual/install.texi (Configuring and compiling): Do not mention
4214 test wrappers preserving environment variables. Mention that last
4215 assignment to a variable must take precedence.
4216 * INSTALL: Regenerated.
4217 * benchtests/Makefile (run-bench): Use $(run-program-env).
4218 * catgets/Makefile ($(objpfx)test1.cat): Use
4219 $(built-program-cmd-before-env), $(run-program-env) and
4220 $(built-program-cmd-after-env).
4221 ($(objpfx)test2.cat): Do not specify environment variables
4223 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4224 $(run-program-env) and $(built-program-cmd-after-env).
4225 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4226 $(run-program-env) and $(test-program-cmd-after-env).
4227 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4229 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4230 run_program_env and test_program_cmd_after_env arguments.
4231 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4232 * elf/tst-pathopt.sh: Use run_program_env argument.
4233 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4234 $(test-wrapper-env) and $(run-program-env).
4235 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4236 run_program_env arguments.
4237 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4238 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4239 $(test-program-prefix-before-env), $(run-program-env) and
4240 $(test-program-prefix-after-env).
4241 ($(objpfx)tst-gettext2.out): Likewise.
4242 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4243 run_program_env and test_program_prefix_after_env arguments.
4244 * intl/tst-gettext2.sh: Likewise.
4245 * intl/tst-gettext4.sh: Do not set environment variables
4247 * intl/tst-gettext6.sh: Likewise.
4248 * intl/tst-translit.sh: Likewise.
4249 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4250 $(test-program-prefix-before-env), $(run-program-env) and
4251 $(test-program-prefix-after-env).
4252 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4253 run_program_env and test_program_prefix_after_env arguments.
4254 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4255 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4256 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4257 explicitly with each use of ${test_wrapper_env}.
4258 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4259 $(test-program-prefix-before-env), $(run-program-env) and
4260 $(test-program-prefix-after-env).
4261 * posix/tst-getconf.sh: Do not set environment variables
4263 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4264 run_program_env and test_program_prefix_after_env arguments.
4265 * stdio-common/tst-printf.sh: Do not set environment variables
4267 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4268 $(test-program-prefix-before-env), $(run-program-env) and
4269 $(test-program-prefix-after-env).
4270 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4271 run_program_env and test_program_prefix_after_env arguments.
4272 Split $test calls into $test_pre and $test.
4273 * timezone/Makefile (build-testdata): Use
4274 $(built-program-cmd-before-env), $(run-program-env) and
4275 $(built-program-cmd-after-env).
4277 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4279 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4280 strlen for non SHARED builds.
4282 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4284 * nptl/allocatestack.c (check_list): Inlined function...
4285 (__reclaim_stacks): ... here.
4287 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4290 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4293 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4295 * Rules (make-test-out): Include
4296 LOCPATH=$(common-objpfx)localedata in default environment.
4297 * debug/Makefile (tst-chk1-ENV): Remove variable.
4298 (tst-chk2-ENV): Likewise.
4299 (tst-chk3-ENV): Likewise.
4300 (tst-chk4-ENV): Likewise.
4301 (tst-chk5-ENV): Likewise.
4302 (tst-chk6-ENV): Likewise.
4303 (tst-lfschk1-ENV): Likewise.
4304 (tst-lfschk2-ENV): Likewise.
4305 (tst-lfschk3-ENV): Likewise.
4306 (tst-lfschk4-ENV): Likewise.
4307 (tst-lfschk5-ENV): Likewise.
4308 (tst-lfschk6-ENV): Likewise.
4309 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4310 (tst-iconv7-ENV): Likewise.
4311 * intl/Makefile (LOCPATH-ENV): Likewise.
4312 (tst-codeset-ENV): Likewise.
4313 (tst-gettext3-ENV): Likewise.
4314 (tst-gettext5-ENV): Likewise.
4315 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4316 (tst-fopenloc-ENV): Likewise.
4317 (tst-fgetws-ENV): Remove variable.
4318 (tst-ungetwc1-ENV): Likewise.
4319 (tst-ungetwc2-ENV): Likewise.
4320 (bug-ungetwc2-ENV): Likewise.
4321 (tst-swscanf-ENV): Likewise.
4322 (bug-ftell-ENV): Likewise.
4323 (tst-fgetwc-ENV): Likewise.
4324 (tst-fseek-ENV): Likewise.
4325 (tst-ftell-partial-wide-ENV): Likewise.
4326 (tst-ftell-active-handler-ENV): Likewise.
4327 (tst-ftell-append-ENV): Likewise.
4328 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4329 (tst-regexloc-ENV): Likewise.
4330 (bug-regex1-ENV): Likewise.
4331 (tst-regex-ENV): Likewise.
4332 (tst-regex2-ENV): Likewise.
4333 (bug-regex5-ENV): Likewise.
4334 (bug-regex6-ENV): Likewise.
4335 (bug-regex17-ENV): Likewise.
4336 (bug-regex18-ENV): Likewise.
4337 (bug-regex19-ENV): Likewise.
4338 (bug-regex20-ENV): Likewise.
4339 (bug-regex22-ENV): Likewise.
4340 (bug-regex23-ENV): Likewise.
4341 (bug-regex25-ENV): Likewise.
4342 (bug-regex26-ENV): Likewise.
4343 (bug-regex30-ENV): Likewise.
4344 (bug-regex32-ENV): Likewise.
4345 (bug-regex33-ENV): Likewise.
4346 (bug-regex34-ENV): Likewise.
4347 (bug-regex35-ENV): Likewise.
4348 (tst-rxspencer-ENV): Likewise.
4349 (tst-rxspencer-no-utf8-ENV): Likewise.
4350 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4351 (tst-sscanf-ENV): Likewise.
4352 (tst-swprintf-ENV): Likewise.
4353 (tst-swscanf-ENV): Likewise.
4354 (test-vfprintf-ENV): Likewise.
4355 (scanf13-ENV): Likewise.
4356 (bug14-ENV): Likewise.
4357 (tst-grouping-ENV): Likewise.
4358 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4359 (tst-strtod3-ENV): Likewise.
4360 (tst-strtod4-ENV): Likewise.
4361 (tst-strtod5-ENV): Likewise.
4362 (testmb2-ENV): Likewise./
4363 * string/Makefile (tst-strxfrm-ENV): Likewise.
4364 (tst-strxfrm2-ENV): Likewise.
4365 (bug-strcoll1-ENV): Likewise.
4366 (test-strcasecmp-ENV): Likewise.
4367 (test-strncasecmp-ENV): Likewise.
4368 * time/Makefile (tst-strptime-ENV): Likewise.
4369 (tst-ftime_l-ENV): Likewise.
4370 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4371 (tst-mbrtowc-ENV): Likewise.
4372 (tst-wcrtomb-ENV): Likewise.
4373 (tst-mbrtowc2-ENV): Likewise.
4374 (tst-c16c32-1-ENV): Likewise.
4375 (tst-mbsnrtowcs-ENV): Likewise.
4377 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4379 * manual/resource.texi (How to get information about the memory
4380 subsystem?): Fix typo.
4381 Reported by Peon de la Parra Ivan <peon@keba.com>
4383 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4386 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4387 (pthread_spin_lock): Branch out of spin loop to proper location.
4388 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4389 (pthread_spin_lock): Likewise.
4391 * nptl/tst-spin4.c: New test.
4392 * nptl/Makefile (tests): Add tst-spin4.
4394 2014-06-03 Andreas Schwab <schwab@suse.de>
4397 * resolv/res_send.c (send_dg): Reload file descriptor after
4400 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4402 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4404 2014-06-03 Richard Henderson <rth@redhat.com>
4406 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4407 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4408 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4409 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4410 in the SAVE_PID block.
4411 (__libc_vfork): New alias.
4412 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4414 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4415 child in registers, not on the stack. Remove RESET_PID conditionals.
4416 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4418 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4420 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4422 2014-06-03 Wilco <wdijkstr@arm.com>
4424 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4425 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4426 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4427 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4428 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4431 2014-06-03 Wilco <wdijkstr@arm.com>
4433 * sysdeps/aarch64/fpu/math_private.h
4434 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4435 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4436 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4437 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4440 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4442 * crypt/crypt-private.h: Include ufc-crypt.h.
4443 (__b64_from_24bit): Declare extern.
4444 * crypt/crypt_util.c(__b64_from_24bit): New function.
4445 (b64t): New static const variable.
4446 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4447 (b64t): Remove variable.
4448 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4449 * crypt/sha256-crypt.c: Include crypt-private.h.
4450 (b64t): Remove variable.
4451 (__sha256_crypt_r): Remove b64_from_24bit and replace
4452 with __b64_from_24bit.
4453 * crypt/sha512-crypt.c: Likewise.
4455 2014-06-02 Roland McGrath <roland@hack.frob.com>
4457 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4458 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4459 Label the code __libc_vfork rather than __vfork.
4460 [!NOT_IN_libc] (vfork): Define as weak alias.
4461 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4462 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4463 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4465 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4467 * malloc/malloc.c (malloc_info): Fix format specifier for
4470 2014-06-02 Wilco <wdijkstr@arm.com>
4472 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4475 2014-06-02 Wilco <wdijkstr@arm.com>
4478 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4479 Rewrite to reduce FPCR/FPSR accesses.
4481 2014-06-01 David S. Miller <davem@davemloft.net>
4483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4485 2014-05-31 David S. Miller <davem@davemloft.net>
4487 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4488 to occur in round to nearest mode when |x| >= 2.0
4490 2014-05-30 Richard Henderson <rth@twiddle.net>
4492 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4493 (PSEUDO_RET_NOERRNO): Remove.
4494 (ret): Don't redefine.
4495 (ret_NOERRNO): Define in terms of ret.
4496 (ret_ERRVAL): Likewise.
4498 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4499 use of PSEUDO_RET; perform the error check directly.
4501 2014-05-30 Marko Myllynen <myllynen@redhat.com>
4503 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4506 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4508 * malloc/malloc (malloc_info): Fix formatting.
4510 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4511 Roland McGrath <roland@hack.frob.com>
4513 * malloc/malloc (malloc_info): Also print mmapped statistics.
4515 2014-05-30 Roland McGrath <roland@hack.frob.com>
4517 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4518 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4520 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
4522 * malloc/malloc.c (malloc_info): Inline mi_arena.
4524 2014-05-29 Richard Henderson <rth@twiddle.net>
4526 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4527 Remove comma before expanding ASM_ARGS_##nr.
4528 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4529 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4531 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4532 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4533 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4534 (ASM_ARGS_1): Add leading comma.
4536 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4537 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4538 to __errno_location.
4539 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4540 Remove the expected plt for __errno_location.
4542 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4543 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4546 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4547 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4548 it and break it down.
4549 (DOCARGS_0, DOCARGS_1): Do nothing.
4550 (DOCARGS_2): Update to store into the new stack frame.
4551 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4552 (UNDOCARGS_1): Update to restore from the new stack frame.
4553 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4554 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4556 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4557 (SINGLE_THREAD_P): New parameter for result regno.
4558 (PSEUDO): Update to match; use cbz instead of beq.
4560 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4561 Use ENTRY to define the _nocancel entry point. Share the syscall
4562 and syscall error check paths with the cancel path.
4565 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4566 whitespace; tabs before and after asm mnemonics.
4568 2014-05-29 Eric Wong <normalperson@yhbt.net>
4571 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4572 Call fstat64 or stat64 internally, depending on arguments passed.
4573 Replace stat buffer argument with file descriptor argument.
4574 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4575 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4576 Pass fd to __internal_statvfs instead of calling fstat64.
4577 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4578 Pass fd to __internal_statvfs64 instead of calling fstat64.
4579 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4580 Pass -1 to __internal_statvfs instead of calling stat64.
4581 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4582 Pass -1 to __internal_statvfs64 instead of calling stat64.
4584 2014-05-28 Roland McGrath <roland@hack.frob.com>
4586 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4587 that was previously under [RESET_PID].
4588 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4590 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4591 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4593 2014-05-27 Roland McGrath <roland@hack.frob.com>
4595 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4597 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4598 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4600 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4602 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4604 2014-05-27 Andreas Schwab <schwab@suse.de>
4606 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4608 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4609 * elf/rtld.c (init_tls, dl_main): Likewise.
4610 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4611 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4612 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4613 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4614 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4615 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4616 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4617 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4618 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4619 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4620 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4621 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4622 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4623 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4624 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4625 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4626 * sysdeps/generic/tls.h: Update description.
4628 2014-05-27 Will Newton <will.newton@linaro.org>
4631 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4632 and restore r2 rather than just restoring.
4634 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4637 * libio/tst-ftell-append.c: New test case.
4638 * libio/Makefile (tests): Add test case.
4639 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4641 * libio/wfileops.c (do_ftell_wide): Likewise.
4643 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4647 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4651 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4652 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4653 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4654 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4655 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4656 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4657 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4660 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4663 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4664 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4665 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4666 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4667 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4669 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4670 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4672 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4674 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4676 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4677 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4678 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4680 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4681 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4682 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4683 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4685 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4688 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4691 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4694 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4698 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4701 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4706 conditional [RESET_PID].
4707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4708 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4710 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4715 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4716 (__libc_vfork): New strong alias.
4717 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4719 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4724 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4725 (__libc_vfork): New strong alias.
4726 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4728 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4731 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4733 * malloc/malloc.c (mi_arena): New function.
4734 (malloc_info): Remove nested function mi_arena. Call non-nosted
4737 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4739 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4741 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4742 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4743 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4744 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4745 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4746 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4747 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4749 2014-05-26 Andreas Schwab <schwab@suse.de>
4752 * locale/programs/repertoire.c (repertoire_read): Add slash
4753 between I18NPATH element and file name.
4754 * locale/programs/locfile.c (locfile_read): Likewise.
4756 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4758 * nptl/pthread_mutexattr_settype.c
4759 (__pthread_mutexattr_settype):
4760 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4762 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4764 * nptl/tst-mutex5 (do_test):
4765 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4767 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4769 * benchtests/README: Document 'init' directive.
4770 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4772 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4773 (parse_file): Recognize 'init' directive.
4775 2014-05-26 Kyle McMartin <kyle@redhat.com>
4778 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4779 alignment of struct pthread.
4781 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4784 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4785 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4786 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4787 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4789 2014-05-25 Richard Henderson <rth@twiddle.net>
4791 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4792 (SINGLE_THREAD_P_PIC): Remove.
4793 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4794 (SINGLE_THREAD_P_PIC): Remove.
4796 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4797 branch to syscall error ...
4799 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4800 from __local_syscall_error to .Lsyscall_error.
4801 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4802 (SYSCALL_ERROR): Update label name.
4804 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4805 Do not use DOARGS/UNDOARGS.
4806 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4807 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4808 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4809 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4810 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4812 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4815 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4816 define if !NOT_IN_libc.
4817 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4818 define with non-default symbol versions.
4820 2014-05-23 Richard Henderson <rth@twiddle.net>
4822 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4823 (vfork, __vfork): Define via compat_symbol.
4825 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4826 [!HAVE_IFUNC] (vfork_compat): Remove.
4827 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4829 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4832 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4833 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4836 2014-05-23 Richard Henderson <rth@twiddle.net>
4838 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4839 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4840 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4841 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4843 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4844 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4845 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4846 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4847 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4848 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4849 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4850 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4851 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4852 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4853 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4854 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4855 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4856 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4857 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4858 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4859 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4860 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4861 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4862 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4863 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4864 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4865 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4866 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4867 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4868 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4869 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4870 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4871 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4872 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4873 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4874 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4875 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4876 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4877 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4878 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4879 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4880 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4881 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4882 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4883 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4884 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4885 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4886 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4887 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4888 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4889 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4890 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4891 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4892 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4893 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4894 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4895 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4896 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4897 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4898 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4900 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4901 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4902 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4903 before exiting on error.
4904 (__libc_vfork): New strong alias.
4905 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4906 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4908 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4909 that was previously under [RESET_PID].
4910 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4912 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4914 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4917 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4918 value when x - 1 is zero.
4919 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4920 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4921 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4922 0.0L for an argument of 1.0L.
4923 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4925 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4926 value when x - 1 is zero.
4927 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4928 * sysdeps/i386/fpu/libm-test-ulps: Update.
4929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4931 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4933 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4934 alphasort and versionsort.
4936 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4938 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4940 [copysignf]: Likewise.
4942 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4944 * crypt/md5-crypt.c: Fix formatting.
4946 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4948 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4949 (b64_from_24bit): New function.
4951 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4953 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4954 libc_hidden_builtin_def to ifunc.
4955 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4956 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4958 2014-05-21 Roland McGrath <roland@hack.frob.com>
4960 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4961 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4963 2014-05-21 Joseph Myers <joseph@codesourcery.com>
4965 * nscd/Depend (linuxthreads): Remove.
4967 * resolv/Depend (linuxthreads): Remove.
4968 * rt/Depend (linuxthreads): Remove.
4970 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4971 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4972 $(common-objpfx)elf/.
4973 (link-libc-before-gnulib): Likewise.
4974 (elfobjdir): Remove variable.
4975 * Makefile (install): Use $(elf-objpfx) instead of
4976 $(common-objpfx)elf/.
4977 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4979 (link-libc-deps): Likewise.
4980 ($(common-objpfx)libc.so): Likewise.
4981 ($(common-objpfx)linkobj/libc.so): Likewise.
4982 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4983 instead of $(common-objpfx)elf/.
4984 (symbolic-link-list): Likewise.
4985 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4986 [$(cross-compiling) = no]: Likewise.
4987 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4989 (static-gnulib-arch): Likewise.
4990 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4991 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4992 $(common-objpfx)elf/.
4994 2014-05-21 Richard Henderson <rth@redhat.com>
4996 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4997 (SINGLE_THREAD_P): Use the correct width load. Fold
4998 into the ldr offset.
5000 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5001 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5003 2014-05-20 Joseph Myers <joseph@codesourcery.com>
5005 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5006 (libgcc_s_resume): Use __attribute_used__.
5007 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5010 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5012 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5013 optimization when used with float constants.
5015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5017 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5020 * locale/nl_langinfo_l.c: Make direct reference to every
5021 _nl_current_CATEGORY symbol.
5022 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5023 (tests-static): Add tst-langinfo-static.
5024 (tests-special): Add tst-langinfo-static.out.
5025 ($(objpfx)tst-langinfo.out): Redirect output.
5026 ($(objpfx)tst-langinfo-static.out): New.
5027 * localedata/tst-langinfo.sh: Send output to stdout.
5028 * localedata/tst-langinfo-static.c: New file.
5031 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5032 when the shift amount is modulo the limb size.
5034 2014-05-20 Richard Henderson <rth@redhat.com>
5037 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5038 Change type of sa_flags from unsigned int to int.
5041 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5043 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5045 2014-05-20 Will Newton <will.newton@linaro.org>
5047 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5048 Test the return value of the system call in the nocancel case.
5050 2014-05-20 Will Newton <will.newton@linaro.org>
5051 Yvan Roux <yvan.roux@linaro.org>
5053 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5054 #include of asm/ptrace.h.
5055 (PTRACE_GET_THREAD_AREA): Remove #undef.
5056 (PTRACE_GETHBPREGS): Likewise.
5057 (PTRACE_SETHBPREGS): Likewise.
5058 (struct user_regs_struct): New structure.
5059 (struct user_fpsimd_struct): New structure.
5060 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5061 #include of asm/ptrace.h and second #include of sys/user.h.
5062 (PTRACE_GET_THREAD_AREA): Remove #undef.
5063 (PTRACE_GETHBPREGS): Likewise.
5064 (PTRACE_SETHBPREGS): Likewise.
5065 (ELF_NGREG): Use new struct user_regs_struct.
5066 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5068 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5070 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5071 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5073 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5076 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5077 membar to avoid block loads/stores to overlap previous stores.
5079 2014-05-17 Richard Henderson <rth@redhat.com>
5081 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5082 Create the __##syscall_name##_nocancel entry point.
5083 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5084 Remove; let the sysdep-cancel.h code create it.
5086 2014-05-17 David S. Miller <davem@davemloft.net>
5088 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5089 Protect with __USE_GNU.
5090 (TIOCSET_TEMPT): Likewise.
5091 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5092 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5093 these are already provided in bits/ioctl-types.h
5095 2014-05-16 Roland McGrath <roland@hack.frob.com>
5097 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5098 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5100 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5101 Use wait4 regardless of [__NR_waitpid].
5103 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5106 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5107 (_FP_NANSIGN_Q): Set the quiet bit.
5109 2014-05-16 Joseph Myers <joseph@codesourcery.com>
5111 * benchtests/Makefile
5112 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5113 not $(common-objpfx)math/libm.so.
5114 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5115 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5116 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5117 $(common-objpfx)dlfcn/libdl.so.
5118 ($(objpfx)tst-audit8): Depend on $(libm), not
5119 $(common-objpfx)math/libm.so.
5120 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5121 not $(common-objpfx)dlfcn/libdl.so.
5123 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5124 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5125 [$(build-shared) = yes].
5126 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5127 $(common-objpfx)nptl/libpthread.so.
5128 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5129 $(common-objpfx)math/libm.so$(libm.so-version) or
5130 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5131 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5132 $(common-objpfx)dlfcn/libdl.so.
5133 * setjmp/Makefile (link-libm): Remove variable.
5134 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5135 * stdio-common/Makefile (link-libm): Remove variable.
5136 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5137 * stdlib/Makefile (link-libm): Remove variable.
5138 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5139 ($(objpfx)tst-strtod-round): Likewise.
5140 ($(objpfx)tst-tininess): Likewise.
5141 ($(objpfx)tst-strtod-underflow): Likewise.
5142 ($(objpfx)tst-strtod6): Likewise.
5143 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5144 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5145 $(common-objpfx)dlfcn/libdl.so.
5147 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5149 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5150 BSD terminal modes definitions.
5152 2014-05-16 Roland McGrath <roland@hack.frob.com>
5154 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5155 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5157 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5158 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5159 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5160 Don't do #include_next.
5161 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5162 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5163 Don't do #include_next.
5164 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5165 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5166 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5167 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5169 2014-05-16 Allan McRae <allan@archlinux.org>
5171 * po/sv.po: Update Swedish translation from translation project.
5173 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5176 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5179 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5180 errno if the TIOCGPTN ioctl fails with an error different than
5182 * login/tst-ptsname.c: New file.
5183 * login/Makefile (tests): Add tst-ptsname.
5186 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5189 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5193 herrno to return EAI_AGAIN.
5195 2014-05-14 Roland McGrath <roland@hack.frob.com>
5197 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5198 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5199 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5200 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5201 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5202 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5203 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5204 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5205 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5206 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5207 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5208 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5209 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5210 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5211 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5212 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5213 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5214 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5215 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5216 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5217 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5218 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5219 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5220 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5221 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5222 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5223 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5224 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5225 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5226 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5228 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5230 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5233 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5235 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5237 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5239 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5241 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5243 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5245 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5247 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5249 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5251 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5253 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5255 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5257 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5259 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5262 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5264 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5266 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5268 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5270 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5272 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5274 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5276 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5278 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5280 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5283 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5285 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5287 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5288 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5289 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5290 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5291 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5292 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5293 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5294 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5295 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5296 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5297 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5298 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5299 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5300 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5301 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5302 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5303 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5304 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5305 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5306 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5307 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5308 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5309 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5310 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5311 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5312 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5313 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5314 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5315 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5316 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5317 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5319 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5320 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5322 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5323 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5324 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5325 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5326 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5327 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5329 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5330 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5332 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5333 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5335 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5336 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5338 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5339 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5340 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5341 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5343 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5344 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5345 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5346 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5347 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5348 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5349 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5350 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5352 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5353 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5355 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5357 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5358 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5359 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5360 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5361 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5363 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5365 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5367 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5368 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5369 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5370 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5371 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5372 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5374 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5375 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5377 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5378 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5380 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5381 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5383 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5384 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5385 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5386 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5388 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5389 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5390 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5391 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5392 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5393 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5394 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5395 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5397 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5398 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5400 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5402 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5403 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5404 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5405 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5406 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5408 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5410 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5412 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5413 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5414 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5415 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5416 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5417 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5418 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5419 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5420 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5421 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5423 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5424 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5426 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5427 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5429 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5430 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5432 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5433 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5434 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5435 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5436 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5437 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5439 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5440 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5441 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5442 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5443 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5444 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5445 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5446 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5448 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5449 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5451 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5453 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5454 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5455 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5456 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5457 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5459 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5461 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5463 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5464 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5465 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5466 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5467 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5468 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5469 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5470 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5471 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5472 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5473 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5475 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5476 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5478 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5479 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5481 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5482 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5483 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5484 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5485 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5486 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5487 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5488 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5489 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5490 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5491 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5492 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5493 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5494 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5495 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5496 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5497 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5498 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5500 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5501 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5502 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5503 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5505 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5506 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5507 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5508 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5509 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5510 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5511 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5512 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5514 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5515 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5517 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5518 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5519 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5520 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5521 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5522 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5523 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5524 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5525 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5526 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5527 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5528 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5529 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5530 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5531 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5532 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5533 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5535 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5536 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5537 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5538 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5539 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5541 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5542 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5543 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5544 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5545 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5546 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5547 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5548 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5549 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5550 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5552 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5553 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5555 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5556 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5557 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5558 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5559 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5560 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5561 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5562 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5563 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5564 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5565 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5566 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5567 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5568 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5569 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5571 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5573 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5575 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5577 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5579 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5581 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5583 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5585 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5587 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5589 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5590 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5591 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5592 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5593 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5594 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5595 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5596 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5597 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5598 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5599 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5600 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5601 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5602 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5603 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5605 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5606 that was previously under [RESET_PID].
5607 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5608 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5609 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5611 * sysdeps/i386/nptl/Implies: New file.
5612 * sysdeps/x86_64/nptl/Implies: New file.
5613 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5614 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5615 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5616 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5618 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5619 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5620 (__libc_vfork): New strong alias.
5621 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5622 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5624 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5625 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5626 (__libc_vfork): New strong alias.
5627 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5628 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5630 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5631 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5632 (__libc_vfork): New strong alias.
5633 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5634 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5635 * nptl/pt-vfork.c: New file.
5636 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5637 (libpthread: GLIBC_2.20): New version set (empty).
5639 2014-05-14 Will Newton <will.newton@linaro.org>
5641 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5644 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5647 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5648 arguments with exponent 65 or above.
5649 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5650 arguments 0x1p113L or above.
5651 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5652 to arguments 0x1p107L or above.
5653 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5654 positive arguments with exponent 65 or above.
5655 * math/auto-libm-test-in: Add more tests of log1p.
5656 * math/auto-libm-test-out: Regenerated.
5659 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5660 non-finite arguments is +0.
5661 * math/s_cacosf.c (__cacosf): Likewise.
5662 * math/s_cacosl.c (__cacosl): Likewise.
5663 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5664 * sysdeps/i386/fpu/libm-test-ulps: Update.
5665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5668 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5670 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5671 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5672 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5673 for explicit high bit of mantissa when testing for argument equal
5675 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5676 * sysdeps/i386/fpu/libm-test-ulps: Update.
5677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5680 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5681 (__erf): Scale by 16 instead of 8 in potentially underflowing
5682 case. Ensure exception if result actually underflows.
5683 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5684 (__erff): Scale by 16 instead of 8 in potentially underflowing
5685 case. Ensure exception if result actually underflows.
5686 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5687 (efx8): Remove variable.
5688 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5689 case. Ensure exception if result actually underflows.
5690 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5691 (efx8): Remove variable.
5692 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5693 case. Ensure exception if result actually underflows.
5694 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5695 (efx8): Remove variable.
5696 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5697 case. Ensure exception if result actually underflows.
5698 * math/auto-libm-test-in: Add more tests of erf.
5699 * math/auto-libm-test-out: Regenerated.
5701 2014-05-14 Andreas Schwab <schwab@suse.de>
5703 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5704 Remove code conditionalized on USE___THREAD.
5706 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5707 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5710 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5712 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5713 Define unconditionally.
5714 (__ASSUME_O_CLOEXEC): Likewise.
5715 (__ASSUME_SOCK_CLOEXEC): Likewise.
5716 (__ASSUME_IN_NONBLOCK): Likewise.
5717 (__ASSUME_PIPE2): Likewise.
5718 (__ASSUME_EVENTFD2): Likewise.
5719 (__ASSUME_SIGNALFD4): Likewise.
5720 (__ASSUME_DUP3): Likewise.
5721 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5722 (__ASSUME_DUP3): Do not define.
5723 (__ASSUME_EVENTFD2): Likewise.
5724 (__ASSUME_IN_NONBLOCK): Likewise.
5725 (__ASSUME_O_CLOEXEC): Likewise.
5726 (__ASSUME_PIPE2): Likewise.
5727 (__ASSUME_SIGNALFD4): Likewise.
5728 (__ASSUME_SOCK_CLOEXEC): Likewise.
5729 (__ASSUME_UTIMES): Undefine.
5730 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5731 (__ASSUME_UTIMES): Do not define.
5732 (__ASSUME_O_CLOEXEC): Likewise.
5733 (__ASSUME_SOCK_CLOEXEC): Likewise.
5734 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5735 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5737 (__ASSUME_PIPE2): Likewise.
5738 (__ASSUME_EVENTFD2): Likewise.
5739 (__ASSUME_SIGNALFD4): Likewise.
5740 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5741 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5743 (__ASSUME_EVENTFD2): Likewise.
5744 (__ASSUME_SIGNALFD4): Likewise.
5745 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5746 (__ASSUME_32BITUIDS): Likewise.
5747 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5748 (__ASSUME_IPC64): Likewise.
5749 (__ASSUME_ST_INO_64_BIT): Likewise.
5750 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5751 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5752 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5753 (__ASSUME_UTIMES): Do not define.
5754 (__ASSUME_PSELECT): Likewise.
5755 (__ASSUME_PPOLL): Likewise.
5756 (__ASSUME_O_CLOEXEC): Likewise.
5757 (__ASSUME_SOCK_CLOEXEC): Likewise.
5758 (__ASSUME_IN_NONBLOCK): Likewise.
5759 (__ASSUME_PIPE2): Likewise.
5760 (__ASSUME_EVENTFD2): Likewise.
5761 (__ASSUME_SIGNALFD4): Likewise.
5762 (__ASSUME_DUP3): Likewise.
5763 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5764 (__ASSUME_UTIMES): Likewise.
5765 (__ASSUME_O_CLOEXEC): Likewise.
5766 (__ASSUME_SOCK_CLOEXEC): Likewise.
5767 (__ASSUME_IN_NONBLOCK): Likewise.
5768 (__ASSUME_PIPE2): Likewise.
5769 (__ASSUME_EVENTFD2): Likewise.
5770 (__ASSUME_SIGNALFD4): Likewise.
5771 (__ASSUME_DUP3): Likewise.
5772 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5773 (__ASSUME_UTIMES): Likewise.
5774 (__ASSUME_O_CLOEXEC): Likewise.
5775 (__ASSUME_SOCK_CLOEXEC): Likewise.
5776 (__ASSUME_IN_NONBLOCK): Likewise.
5777 (__ASSUME_PIPE2): Likewise.
5778 (__ASSUME_EVENTFD2): Likewise.
5779 (__ASSUME_SIGNALFD4): Likewise.
5780 (__ASSUME_DUP3): Likewise.
5781 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5783 (__ASSUME_UTIMES): Likewise.
5784 (__ASSUME_EVENTFD2): Likewise.
5785 (__ASSUME_SIGNALFD4): Likewise.
5786 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5787 (__ASSUME_O_CLOEXEC): Likewise.
5788 (__ASSUME_SOCK_CLOEXEC): Likewise.
5789 (__ASSUME_IN_NONBLOCK): Likewise.
5790 (__ASSUME_PIPE2): Likewise.
5791 (__ASSUME_EVENTFD2): Likewise.
5792 (__ASSUME_SIGNALFD4): Likewise.
5793 (__ASSUME_DUP3): Likewise.
5794 (__ASSUME_UTIMES): Undefine.
5796 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5797 feclearexcept. Remove symbol versioning code.
5798 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5799 symbol versioning code.
5800 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5801 symbol versioning code.
5802 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5803 feupdateenv. Remove symbol versioning code.
5804 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5805 fegetexceptflag. Remove symbol versioning code.
5806 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5807 fesetexceptflag. Remove symbol versioning code.
5808 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5809 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5810 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5811 (__posix_fadvise64_l32): Remove prototype.
5812 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5815 2014-05-13 Roland McGrath <roland@hack.frob.com>
5817 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5818 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5819 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5820 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5822 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5824 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5825 current working directory
5827 2014-05-13 Roland McGrath <roland@hack.frob.com>
5829 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5830 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5831 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5832 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5833 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5834 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5835 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5836 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5837 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5838 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5839 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5840 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5841 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5842 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5843 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5844 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5845 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5846 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5847 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5848 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5849 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5850 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5851 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5852 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5853 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5854 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5855 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5856 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5857 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5858 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5859 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5860 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5861 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5862 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5863 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5864 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5865 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5866 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5867 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5868 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5869 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5870 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5872 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5873 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5875 * sysdeps/unix/sysv/linux/arm/Makefile
5876 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5877 Add rt-aeabi_unwind_cpp_pr1.
5878 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5879 Add nptl-aeabi_unwind_cpp_pr1.
5880 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5881 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5882 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5883 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5884 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5885 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5887 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5888 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5889 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5890 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5892 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5893 Deconditionalize the code that was previously under [RESET_PID].
5894 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5896 * sysdeps/generic/exit-thread.h: New file.
5897 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5898 * include/unistd.h (__exit_thread): Remove declaration.
5899 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5900 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5901 * csu/libc-start.c: Include <exit-thread.h>.
5902 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5903 * nptl/pthread_create.c: Include <exit-thread.h>.
5904 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5905 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5906 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5907 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5908 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5909 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5910 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5911 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5912 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5913 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5914 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5915 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5916 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5917 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5918 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5919 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5920 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5922 2014-05-13 Andreas Schwab <schwab@suse.de>
5924 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5926 2014-05-12 Joseph Myers <joseph@codesourcery.com>
5928 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5929 (__ASSUME_UTIMES): Do not condition on kernel version.
5930 (__ASSUME_PSELECT): Define unconditionally.
5931 (__ASSUME_PPOLL): Likewise.
5932 (__ASSUME_ATFCTS): Likewise.
5933 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5934 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5935 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5936 (__ASSUME_UTIMENSAT): Define unconditionally.
5937 (__ASSUME_PRIVATE_FUTEX): Likewise.
5938 (__ASSUME_FALLOCATE): Likewise.
5939 (__ASSUME_O_CLOEXEC): Likewise.
5940 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5941 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5942 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5943 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5944 (__ASSUME_IN_NONBLOCK): Likewise.
5945 (__ASSUME_PIPE2): Likewise.
5946 (__ASSUME_EVENTFD2): Likewise.
5947 (__ASSUME_SIGNALFD4): Likewise.
5948 (__ASSUME_DUP3): Likewise.
5949 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5950 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5951 (__ASSUME_AT_RANDOM): Likewise.
5952 (__ASSUME_PREADV): Likewise.
5953 (__ASSUME_PWRITEV): Likewise.
5954 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5955 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5956 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5957 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5958 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5959 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5960 (__ASSUME_O_CLOEXEC): Define unconditionally.
5961 (__ASSUME_PSELECT): Do not undefine conditionally.
5962 (__ASSUME_PPOLL): Likewise.
5963 (__ASSUME_ATFCTS): Likewise.
5964 (__ASSUME_SET_ROBUST_LIST): Likewise.
5965 (__ASSUME_UTIMENSAT): Likewise.
5966 (__ASSUME_FDATASYNC): Define unconditionally.
5967 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5968 (__ASSUME_SIGFRAME_V2): Likewise.
5969 )__ASSUME_EVENTFD2): Likewise.
5970 (__ASSUME_SIGNALFD4): Likewise.
5971 (__ASSUME_PSELECT): Do not undefine conditionally.
5972 (__ASSUME_PPOLL): Likewise.
5973 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5974 (__ASSUME_PSELECT): Define unconditionally.
5975 (__ASSUME_PPOLL): Likewise.
5976 (__ASSUME_O_CLOEXEC): Likewise.
5977 (__ASSUME_SOCK_CLOEXEC): Likewise.
5978 (__ASSUME_IN_NONBLOCK): Likewise.
5979 (__ASSUME_PIPE2): Likewise.
5980 (__ASSUME_EVENTFD2): Likewise.
5981 (__ASSUME_SIGNALFD4): Likewise.
5982 (__ASSUME_DUP3): Likewise.
5983 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5984 (__ASSUME_O_CLOEXEC): Likewise.
5985 (__ASSUME_SOCK_CLOEXEC): Likewise.
5986 (__ASSUME_IN_NONBLOCK): Likewise.
5987 (__ASSUME_PIPE2): Likewise.
5988 (__ASSUME_EVENTFD2): Likewise.
5989 (__ASSUME_SIGNALFD4): Likewise.
5990 (__ASSUME_DUP3): Likewise.
5991 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5992 (__ASSUME_EVENTFD2): Likewise.
5993 (__ASSUME_SIGNALFD4): Likewise.
5994 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5996 2014-05-12 Andreas Schwab <schwab@suse.de>
5999 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6000 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6001 than maximum RPC packet size.
6002 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6003 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6004 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6005 (_nss_nis_getservbyport_r): Likewise.
6007 2014-05-12 Will Newton <will.newton@linaro.org>
6009 * malloc/Makefile (tests): Add tst-mallopt.
6010 * malloc/tst-mallopt.c: New file.
6012 2014-05-09 Roland McGrath <roland@hack.frob.com>
6014 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6015 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6017 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6019 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6020 (tst-tlsmod6.so): Likewise.
6022 2014-05-09 Roland McGrath <roland@hack.frob.com>
6024 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6026 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6029 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6030 and <dl-procinfo.h>.
6031 (__fegetenv): Save SSE state in envp->__eip if supported.
6032 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6033 envp->__eip if supported.
6034 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6035 and <dl-procinfo.h>.
6036 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6037 __data_offset and __data_selector in environment to 0. Set SSE
6039 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6041 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6043 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6045 2014-05-09 Will Newton <will.newton@linaro.org>
6047 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6048 and libc_relro_required for ARM.
6049 * sysdeps/arm/preconfigure: Regenerate.
6051 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6052 Stefan Liebler <stli@linux.vnet.ibm.com>
6054 * config.make.in (enable-lock-elision): New Makefile variable.
6055 * configure.ac: Likewise.
6056 * configure: Regenerate.
6057 * sysdeps/s390/configure.ac:
6058 Add check for gcc transactions support.
6059 * sysdeps/s390/configure: Regenerate.
6060 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6061 Build elision files if enabled.
6062 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6063 Add lock elision support for s390.
6064 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6065 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6066 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6067 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6068 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6069 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6070 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6072 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6074 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6076 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6078 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6079 (__lll_timedlock_elision, __lll_lock_elision)
6080 (__lll_unlock_elision, __lll_trylock_elision)
6081 (lll_timedlock_elision, lll_lock_elision)
6082 (lll_unlock_elision, lll_trylock_elision): Add.
6083 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6084 (pthread_mutex_t): Add lock elision support for s390.
6086 2014-05-14 Wilco <wdijkstr@arm.com>
6088 * sysdeps/arm/fclrexcpt.c: Cleanup.
6089 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6090 * sysdeps/arm/feenablxcpt.c: Cleanup.
6091 * sysdeps/arm/fegetenv.c: Cleanup.
6092 * sysdeps/arm/fegetexcept.c: Cleanup.
6093 * sysdeps/arm/fegetround.c: Cleanup.
6094 * sysdeps/arm/feholdexcpt.c: Cleanup.
6095 * sysdeps/arm/fesetenv.c: Cleanup.
6096 * sysdeps/arm/fesetround.c: Cleanup.
6097 * sysdeps/arm/feupdateenv.c: Cleanup.
6098 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6099 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6100 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6101 * sysdeps/arm/ftestexcept.c: Cleanup.
6102 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6103 * sysdeps/arm/setfpucw.c: Cleanup.
6105 2014-05-09 Will Newton <will.newton@linaro.org>
6107 * sysdeps/arm/armv7/strcmp.S: New file.
6108 * NEWS: Mention addition of ARMv7 optimized strcmp.
6110 2014-05-08 Roland McGrath <roland@hack.frob.com>
6112 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6113 look for %.ac rather than %.in.
6115 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6116 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6117 * sysdeps/mach/hurd/configure: Regenerated.
6118 * sysdeps/unix/sysv/linux/configure: Regenerated.
6120 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6122 2014-05-07 Steve Ellcey <sellcey@mips.com>
6125 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6129 2014-05-07 Andreas Schwab <schwab@suse.de>
6131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6132 when skipping over non-matching result from nscd.
6134 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6137 * nptl/sockperf.c (client): Check socket return value.
6140 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6141 nscd security class.
6143 2014-05-06 Roland McGrath <roland@hack.frob.com>
6145 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6146 * sysdeps/arm/unwind.h: ... here.
6148 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6151 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6154 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6156 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6157 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6158 multiarch strncpy for PPC64.
6159 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6160 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6161 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6162 multiarch optimizations.
6163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6164 (__libc_ifunc_impl_list): Likewise.
6165 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6166 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6167 multiarch stpncpy for PPC64.
6168 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6169 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6171 2014-05-06 Andreas Schwab <schwab@suse.de>
6174 * gmon/mcount.c (_MCOUNT_DECL): Use
6175 atomic_compare_and_exchange_bool_acq instead of
6176 catomic_compare_and_exchange_bool_acq.
6178 2014-05-05 Roland McGrath <roland@hack.frob.com>
6180 * elf/Makefile (others, install-bin): Remove pldd.
6181 (pldd-modules): Variable removed.
6182 ($(objpfx)pldd): Target removed.
6183 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6184 (others, install-bin): Append pldd here.
6185 ($(objpfx)pldd): New target.
6187 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6188 to 0, so the first #if test emitted later doesn't see it undefined.
6189 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6190 * sysdeps/gnu/errlist.c: Regenerated.
6192 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6194 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6195 [libc_hidden_builtin_def]: Define to empty value.
6196 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6197 [libc_hidden_builtin_def]: Likewise.
6198 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6199 [libc_hidden_builtin_def]: Likewise.
6200 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6201 [libc_hidden_builtin_def]: Likewise.
6202 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6203 __redirect_memcpy and define ifunc as default hidden symbol.
6204 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6205 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6207 2014-05-04 Adam Conrad <adconrad@0c3.net>
6209 * locale/iso-4217.def: Reintroduce XDR currency.
6211 2014-05-04 Allan McRae <allan@archlinux.org>
6213 * po/eo.po: Update Esperanto translation from translation project.
6215 2014-05-02 Carlos O'Donell <carlos@redhat.com>
6217 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6218 and FEATURE_INDEX_MAX to 1.
6219 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6221 2014-05-01 Steve Ellcey <sellcey@mips.com>
6223 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6224 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6225 * iconvdata/big5.c (ONE_DIRECTION): Define.
6226 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6227 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6228 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6229 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6230 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6231 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6232 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6233 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6234 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6235 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6236 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6237 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6238 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6239 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6240 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6241 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6242 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6243 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6244 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6245 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6246 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6247 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6248 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6249 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6250 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6251 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6252 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6253 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6254 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6255 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6256 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6257 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6258 * iconvdata/johab.c (ONE_DIRECTION): Define.
6259 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6260 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6261 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6262 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6263 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6264 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6265 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6266 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6267 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6268 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6270 2014-05-01 Roland McGrath <roland@hack.frob.com>
6272 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6273 (_IO_JUMPS_OFFSET): Define to 0.
6275 * nptl/sysdeps/pthread/bits/libc-lock.h
6276 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6277 (__libc_lock_define_initialized_recursive): Always define using
6278 initializer. Modern compilers treat uninitialized (implicit zero) and
6279 explicit zero initializers the same (i.e. put the datum in bss).
6281 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6283 * nscd/nscd-client.h: Include <string.h>.
6285 2014-05-01 David S. Miller <davem@davemloft.net>
6288 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6289 multiple zero bytes exist at the end of a string.
6290 Reported by Aurelien Jarno <aurelien@aurel32.net>
6292 * string/test-strcmp.c (check): Add explicit test for situations where
6293 there are multiple zero bytes after the first.
6295 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6298 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6299 when compiling wprintf.
6300 * stdio-common/tstdiomisc.c (t3): New function.
6303 2014-05-01 Steve Ellcey <sellcey@mips.com>
6305 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6306 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6307 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6308 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6310 2014-05-01 Steve Ellcey <sellcey@mips.com>
6312 * stdlib/longlong.h: Updated from GCC.
6314 2014-05-01 Will Newton <will.newton@linaro.org>
6315 Bernard Ogden <bernie.ogden@linaro.org>
6317 * NEWS: Update fixed bug list.
6320 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6322 2014-04-30 David S. Miller <davem@davemloft.net>
6324 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6325 (libc_feholdexcept_setround_sparc_ctx): New function.
6326 (libc_fesetenv_sparc_ctx): Likewise.
6327 (libc_feupdateenv_sparc_ctx): Likewise.
6328 (libc_feholdsetround_sparc_ctx): Likewise.
6329 (libc_feholdexcept_setround_ctx): Define.
6330 (libc_feholdexcept_setroundf_ctx): Likewise.
6331 (libc_feholdexcept_setroundl_ctx): Likewise.
6332 (libc_fesetenv_ctx): Likewise.
6333 (libc_fesetenvf_ctx): Likewise.
6334 (libc_fesetenvl_ctx): Likewise.
6335 (libc_feupdateenv_ctx): Likewise.
6336 (libc_feupdateenvf_ctx): Likewise.
6337 (libc_feupdateenvl_ctx): Likewise.
6338 (libc_feresetround_ctx): Likewise.
6339 (libc_feresetroundf_ctx): Likewise.
6340 (libc_feresetroundl_ctx): Likewise.
6341 (libc_feholdsetround_ctx): Likewise.
6342 (libc_feholdsetroundf_ctx): Likewise.
6343 (libc_feholdsetroundl_ctx): Likewise.
6345 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6346 with __USE_GNU instead of XOPEN cpp guards.
6348 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6351 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6352 with XOPEN cpp guards.
6354 2014-04-30 Julian Brown <julian@codesourcery.com>
6357 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6360 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6363 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6365 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6366 * sysdeps/unix/sysv/linux/configure: Regenerated.
6367 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6368 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6369 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6370 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6371 * README: Update reference to required Linux kernel version.
6372 * manual/install.texi (Linux): Update reference to required Linux
6373 kernel headers version.
6374 * INSTALL: Regenerated.
6376 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6378 [POSIX] (limits.h): Likewise.
6379 [POSIX] (math.h): Likewise.
6380 [POSIX] (sys/wait.h): Likewise.
6381 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6383 [POSIX] (stddef.h): Do not allow header inclusion.
6385 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6387 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6389 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6391 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6392 Return immediately after lll_futex_wake.
6394 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6397 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6399 (datahead_init_pos): Call datahead_init_common early.
6400 (datahead_init_neg): Likewise.
6402 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6403 datahead_init_neg): New functions.
6404 * nscd/aicache.c (addhstaiX): Use them.
6405 * nscd/grpcache.c (cache_addgr): Likewise.
6406 * nscd/hstcache.c (cache_addhst): Likewise.
6407 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6408 * nscd/netgroupcache.c (do_notfound): Likewise.
6409 (addgetnetgrentX): Likewise.
6410 (addinnetgrX): Likewise.
6411 * nscd/pwdcache.c (cache_addpw): Likewise.
6412 * nscd/servicescache.c (cache_addserv): Likewise.
6414 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6415 Atsushi Onoe <atsushi@onoe.org>
6420 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6421 one response is valid.
6422 * resolv/res_send.c (send_dg): Check for validity of other
6423 response if the current response is a referral.
6425 2014-04-29 Steve Ellcey <sellcey@mips.com>
6427 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6429 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6432 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6433 Always divide by positive zero when computing -Inf result.
6434 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6435 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6437 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6439 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6440 FPSCR if value do not change.
6441 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6442 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6443 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6444 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6445 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6446 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6449 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6451 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6452 * sysdeps/unix/sysv/linux/hppa: Move directory from
6453 ports/systeps/unix/sysv/linux/hppa.
6454 * README: Update listing for hppa-*-linux-gnu.
6456 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
6459 * manual/stdio.texi (Hook functions): Fix types of stream hook
6462 * socket/sys/socket.h: Fix typo in comment.
6464 2014-04-28 Wilco <wdijkstr@arm.com>
6466 * sysdeps/arm/fenv_private.h: New file.
6467 * sysdeps/arm/math_private.h: New file.
6468 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6470 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6472 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6474 (La_x86_64_retval): Likewise.
6476 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6478 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6479 fpsr if value didn't change.
6480 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6481 to fpcr if value didn't change.
6482 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6483 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6484 fpsr or fpcr if value didn't change.
6485 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6486 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6487 fpcr if value didn't change.
6488 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6489 to fpsr if value didn't change.
6491 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6493 * nptl/tst-sem3.c: Use test-skeleton.c
6494 (main): Rename to do_test. Use return instead of
6496 * nptl/tst-sem4.c: Use test-skeleton.c
6497 (main): Rename to do_test.
6499 2014-04-22 David S. Miller <davem@davemloft.net>
6501 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6502 (struct sigaction): New struct member __glibc_reserved0, change
6503 type of sa_flags to int.
6505 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6507 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6508 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6510 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6512 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6513 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6515 2014-04-22 Will Newton <will.newton@linaro.org>
6516 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6518 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6519 (__longjmp): Add longjmp and longjmp_target SystemTap
6521 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6522 (__sigsetjmp): Add setjmp SystemTap probe.
6524 2014-04-17 Carlos O'Donell <carlos@redhat.com>
6526 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6529 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6531 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6533 * sysdeps/powerpc/fpu/fenv_private.h
6534 (libc_feholdexcept_setroundl_ctx): Define to
6535 libc_feholdexcept_setround_ppc_ctx.
6536 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6537 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6538 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6539 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6541 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6543 * sysdeps/aarch64/math-tests.h: New file.
6545 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6547 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6549 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6550 Check and set bit_AVX2_Usable.
6551 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6553 (bit_AVX2): Likewise.
6554 (index_AVX2_Usable): Likewise.
6555 (CPUID_AVX2): Likewise.
6556 (HAS_AVX2): Likewise.
6558 2014-04-17 Will Newton <will.newton@linaro.org>
6560 * manual/setjmp.texi (System V contexts): Add note that
6561 calling setcontext on a context created by a call to a
6562 signal handler is undefined. Update text to note that
6563 setcontext from a signal handler is possible but not
6567 * stdlib/tst-setcontext.c: Include signal.h.
6568 (main): Check that the signal stack before and
6569 after swapcontext is the same.
6571 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6572 Re-implement to restore registers in user code and avoid
6573 rt_sigreturn system call.
6575 2014-04-17 Wilco <wdijkstr@arm.com>
6577 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6578 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6579 * math/test-fenv.c: Skip exception trap tests on targets which only
6580 support non-stop mode.
6582 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6583 Wilco Dijkstra <wilco.dijkstra@arm.com>
6585 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6586 (libc_feholdsetround_aarch64_ctx)
6587 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6588 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6589 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6590 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6591 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6592 (libc_feresetround_noexl_ctx): Define.
6594 2014-04-16 Richard Henderson <rth@redhat.com>
6596 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6598 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6601 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6602 const from the non-libc, non-ldso copy.
6604 * sysdeps/alpha/libm-test-ulps: Regenerate.
6606 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6607 Wilco Dijkstra <wilco.dijkstra@arm.com>
6609 * sysdeps/aarch64/fpu/math_private.h: New file.
6611 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6613 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6615 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6617 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6618 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6619 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6620 Intel MPX bound registers before _dl_profile_fixup.
6621 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6622 registers after _dl_profile_fixup. Save and restore bound
6623 registers bnd0/bnd1 when calling _dl_call_pltexit.
6624 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6625 (LR_BND_OFFSET): Likewise.
6626 (LRV_BND0_OFFSET): Likewise.
6627 (LRV_BND1_OFFSET): Likewise.
6629 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6631 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6633 * sysdeps/mach/hurd/i386/tls.h: ... here.
6634 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6635 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6638 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6640 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6642 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6644 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6646 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6649 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6650 * sysdeps/s390/configure: Regenerate.
6653 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6654 Set round-to-nearest internally to reduce error accumulation.
6656 2014-04-16 Alan Modra <amodra@gmail.com>
6660 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6661 * math/libm-test.inc (frexp_test_data): Add tests.
6662 * NEWS: Update fixed bug list.
6664 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6666 * benchtests/Makefile: Depend on libraries in build directory.
6667 (bench-math): Separate out math tests.
6668 (bench-pthread): Separate out pthread tests.
6669 (bench): Include math and pthread tests.
6671 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6674 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6675 _dl_debug_initialize.
6677 * configure.ac: Remove SELinux header check.
6678 * configure: Regenerate.
6679 * nscd/selinux.c (perms): Array of const char* to permission names.
6680 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6681 default policy. Call string_to_security_class and string_to_av_perm to
6682 translate strings. Enforce default policy and call avs_has_perm with
6683 results of translated strings.
6685 2014-04-13 David S. Miller <davem@davemloft.net>
6687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6689 2014-04-12 Allan McRae <allan@archlinux.org>
6692 * manual/string.texi (Collation Functions): Fix qsort argument
6694 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6696 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6698 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6699 Make the test a no-op if there are no exceptions defined.
6701 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6703 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6704 enable-hardcoded-path-in-tests
6706 2014-04-11 Will Newton <will.newton@linaro.org>
6708 * benchtests/Makefile (extra-objs): Add json-lib.o.
6709 (bench-func): Tidy up JSON output.
6710 * benchtests/bench-skeleton.c: Include json-lib.h.
6711 (main): Use JSON library functions to do output of
6713 * benchtests/bench-timing-type.c (main): Output the
6714 timing type simply, leaving formatting to the user.
6715 * benchtests/json-lib.c: New file.
6716 * benchtests/json-lib.h: Likewise.
6718 2014-04-11 Torvald Riegel <triegel@redhat.com>
6721 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6722 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6723 memory barriers. Add comments.
6724 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6725 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6726 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6727 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6728 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6729 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6731 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6733 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6734 * sysdeps/s390/s390-64/configure.ac: ... this ...
6735 * sysdeps/s390/configure.ac: ... to here.
6736 * sysdeps/s390/s390-32/configure: Delete file.
6737 * sysdeps/s390/s390-64/configure: Delete file.
6738 * sysdeps/s390/configure: Regenerate.
6740 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6742 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6744 2014-04-11 Will Newton <will.newton@linaro.org>
6746 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6747 to zero if it is not defined elsewhere. (mtrim): Test
6748 the value of MALLOC_DEBUG with #if rather than #ifdef.
6750 2014-04-10 Torvald Riegel <triegel@redhat.com>
6752 * benchtests/pthread_once-inputs: New file.
6753 * benchtests/pthread_once-source.c: New file.
6754 * benchtests/README: Update documentation.
6756 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6757 H.J. Lu <hongjiu.lu@intel.com>
6759 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6760 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6761 * sysdeps/x86_64/configure: Regenerated.
6762 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6764 (REGISTER_SAVE_RAX): Likewise.
6765 (REGISTER_SAVE_RCX): Likewise.
6766 (REGISTER_SAVE_RDX): Likewise.
6767 (REGISTER_SAVE_RSI): Likewise.
6768 (REGISTER_SAVE_RDI): Likewise.
6769 (REGISTER_SAVE_R8): Likewise.
6770 (REGISTER_SAVE_R9): Likewise.
6771 (REGISTER_SAVE_BND0): Likewise.
6772 (REGISTER_SAVE_BND1): Likewise.
6773 (REGISTER_SAVE_BND2): Likewise.
6774 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6775 bound registers when calling _dl_fixup.
6777 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6779 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6780 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6782 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6783 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6784 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6785 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6786 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6787 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6788 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6790 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6793 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6794 pathconf(_PC_NAME_MAX).
6796 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6798 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6800 (__PTHREAD_SPINS): Move definition to ...
6801 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6802 (__PTHREAD_SPINS): ... here.
6803 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6804 (__PTHREAD_SPIN): Likewise.
6805 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6806 (__PTHREAD_SPIN): Likewise.
6807 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6808 (__PTHREAD_SPIN): Likewise.
6809 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6810 (__PTHREAD_SPIN): Likewise.
6811 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6812 (__PTHREAD_SPIN): Likewise.
6813 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6814 (__PTHREAD_SPIN): Likewise.
6815 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6816 (__PTHREAD_SPIN): Likewise.
6817 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6818 (__PTHREAD_SPIN): Likewise.
6819 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6820 (__PTHREAD_SPIN): Likewise.
6821 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6822 (__PTHREAD_SPIN): Likewise.
6823 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6824 (__PTHREAD_SPIN): Likewise.
6825 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6826 (__PTHREAD_SPIN): Likewise.
6828 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6829 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6830 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6831 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6833 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6834 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6835 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6836 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6838 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6839 strlen symbol for non multi-arch builds.
6840 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6841 missing hidden_def and weak_alias.
6843 2014-04-08 Carlos O'Donell <carlos@redhat.com>
6845 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6847 2014-04-07 Will Newton <will.newton@linaro.org>
6849 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6850 and contents. [!_LIBC] Remove #ifndef and contents.
6851 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6852 * string/memccpy.c (__memccpy): Use ANSI prototype.
6853 * string/memfrob.c (memfrob): Likewise.
6854 * string/strcoll.c (STRCOLL): Likewise.
6855 * string/strlen.c (strlen): Likewise.
6856 * string/strtok.c (STRTOK): Likewise.
6857 * string/strcat.c: Remove unused #include of memcopy.h.
6858 (strcat): Use ANSI prototype.
6859 * string/strchr.c: Remove unused #include of memcopy.h.
6860 (strchr): Use ANSI prototype.
6861 * string/strcmp.c: Remove unused #include of memcopy.h.
6862 (strcmp): Use ANSI prototype.
6863 * string/strcpy.c: Remove unused #include of memcopy.h.
6864 (strcpy): Use ANSI prototype.
6866 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6868 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6869 * config.make.in (config-extra-cppflags): Set it from
6870 libc_extra_cppflags.
6871 * configure.ac (libc_extra_cflags): Make it accumulate over
6872 configure fragments.
6873 (libc_extra_cppflags): New flag.
6874 * configure. Regenerate.
6875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6876 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6877 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6881 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6882 result for FE_DOWNWARD rounding mode.
6883 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6887 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6889 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6890 in function argument name.
6892 2014-04-03 David Svoboda <svoboda@cert.org>
6895 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6898 2014-04-03 Roland McGrath <roland@hack.frob.com>
6900 * elf/dl-unmap-segments.h: New file.
6901 * sysdeps/generic/ldsodefs.h
6902 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6903 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6904 * elf/dl-fptr.c: Likewise.
6905 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6906 * sysdeps/aarch64/tlsdesc.c: Likewise.
6907 * sysdeps/arm/tlsdesc.c: Likewise.
6908 * sysdeps/i386/tlsdesc.c: Likewise.
6909 * sysdeps/tile/dl-runtime.c: Likewise.
6910 * sysdeps/x86_64/tlsdesc.c: Likewise.
6911 * elf/dl-load.h: New file.
6912 * elf/dl-load.c: Include it.
6913 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6914 Macros moved to dl-load.h.
6915 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6916 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6917 Use _dl_unmap_segments in place of __munmap.
6918 Break out segment-mapping loop into ...
6919 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6921 2014-04-03 Will Newton <will.newton@linaro.org>
6923 * elf/dl-lookup.c (do_lookup_x): Remove comment
6924 referring to nested function and move variable
6925 declarations down to before first use.
6927 2014-04-02 Joseph Myers <joseph@codesourcery.com>
6931 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6933 * math/s_catanf.c (__catanf): Likewise.
6934 * math/s_catanh.c (__catanh): Likewise.
6935 * math/s_catanhf.c (__catanhf): Likewise.
6936 * math/s_catanhl.c (__catanhl): Likewise.
6937 * math/s_catanl.c (__catanl): Likewise.
6938 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6939 by positive zero when computing -Inf result.
6940 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6941 (catanh_test): Likewise.
6942 * sysdeps/i386/fpu/libm-test-ulps: Update.
6943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6946 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6947 instead of using underflowing value in computing result.
6948 * math/s_clog10.c (__clog10): Likewise.
6949 * math/s_clog10f.c (__clog10f): Likewise.
6950 * math/s_clog10l.c (__clog10l): Likewise.
6951 * math/s_clogf.c (__clogf): Likewise.
6952 * math/s_clogl.c (__clogl): Likewise.
6953 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6954 (clog10_test): Likewise.
6955 * sysdeps/i386/fpu/libm-test-ulps: Update.
6956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6958 2014-04-02 Alan Modra <amodra@gmail.com>
6961 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6962 output when value is near a power of two. Use int64_t for lx and
6963 remove casts. Use decimal rather than hex exponent constants.
6964 Don't use long double multiplication when double will suffice.
6965 * math/libm-test.inc (nextafter_test_data): Add tests.
6966 * NEWS: Add 16739 and 16786 to bug list.
6968 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6970 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6972 2014-04-01 Will Newton <will.newton@linaro.org>
6974 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6975 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6977 2014-04-01 Florian Weimer <fweimer@redhat.com>
6980 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6981 * nptl/tst-setuid2.c: New file.
6982 * nptl/Makefile (xtests): Add tst-setuid2.
6984 2014-04-01 Alan Modra <amodra@gmail.com>
6987 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6989 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6993 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6994 set errno as appropriate.
6995 * math/w_scalbf.c (__scalbf): Likewise.
6996 * math/w_scalbl.c (__scalbl): Likewise.
6997 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6998 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6999 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7003 * math/w_atan2.c: Include <errno.h>.
7004 (__atan2): Set errno for result underflowing to zero.
7005 * math/w_atan2f.c: Include <errno.h>.
7006 (__atan2f): Set errno for result underflowing to zero.
7007 * math/w_atan2l.c: Include <errno.h>.
7008 (__atan2l): Set errno for result underflowing to zero.
7009 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7011 * math/auto-libm-test-out: Regenerated.
7013 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7015 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7016 Encode instruction correctly in little endian.
7017 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7019 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7021 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7023 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7026 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7029 * sysdeps/unix/sysv/linux/kernel-features.h
7030 [__sparc__ && !__arch64__ && !__sparc_v9__]
7031 (__ASSUME_SET_ROBUST_LIST): Do not define.
7032 [__sparc__ && !__arch64__ && !__sparc_v9__]
7033 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7034 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7036 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7037 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7038 (__ASSUME_REQUEUE_PI): Likewise.
7039 (__ASSUME_SET_ROBUST_LIST): Likewise.
7040 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7041 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7043 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7044 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7046 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7048 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7050 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7051 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7053 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7054 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7058 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7059 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7060 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7062 2014-03-31 Will Newton <will.newton@linaro.org>
7064 * benchtests/Makefile (bench): Add ffs and ffsll to list
7066 * benchtests/ffs-inputs: New file.
7067 * benchtests/ffsll-inputs: Likewise.
7069 2014-03-29 Joseph Myers <joseph@codesourcery.com>
7072 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7073 too large before casting to int.
7074 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7075 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7076 * math/libm-test.inc (scalb_test_data): Add more tests.
7078 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7080 * benchtests/Makefile (DETAILED_OPT): New make option.
7081 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7083 * benchtests/bench-skeleton.c: Include stdbool.h.
7084 (main): Store and print timings per input.
7085 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7086 member to each argument value.
7087 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7088 (_print_arg_data): Initialize per-input timing to 0.
7090 * benchtests/Makefile (timing-type): New binary.
7091 (bench-clean): Also remove bench-timing-type.
7092 (bench): New target for timing-type.
7093 (bench-func): Print output in JSON format.
7094 * benchtests/bench-skeleton.c (main): Print output in JSON
7096 * benchtests/bench-timing-type.c: New file.
7097 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7098 (TIMING_PRINT_STATS): Remove.
7099 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7102 * benchtests/bench-modf.c: Remove.
7103 * benchtests/modf-inputs: New inputs file.
7105 2014-03-28 Joseph Myers <joseph@codesourcery.com>
7108 * math/s_clog10.c (M_PI_LOG10E): New macro.
7109 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7110 imaginary parts are 0.
7111 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7112 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7113 imaginary parts are 0.
7114 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7115 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7116 imaginary parts are 0.
7117 * math/libm-test.inc (clog10_test_data): Update expected results
7118 for when real and imaginary parts are 0.
7120 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7122 * elf/dl-load.c: Finish conversion of __builtin_expect into
7125 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7128 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7129 1+x for argument with exponent below -67.
7130 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7132 * math/auto-libm-test-in: Add more tests of exp.
7133 * math/auto-libm-test-out: Regenerated.
7135 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7138 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7139 (nscd_getnetgrent): Use it.
7142 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7145 2014-03-27 Andi Kleen <ak@linux.intel.com>
7147 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7148 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7149 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7150 (lll_robust_unlock): Remove out of line section. Use cfi
7152 (LLL_STUB_UNWIND_INFO*): Remove.
7153 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7154 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7155 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7156 (lll_robust_unlock): Remove out of line section. Use cfi
7158 (LLL_STUB_UNWIND_INFO*): Remove.
7160 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7163 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7166 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7168 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7170 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7173 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7175 * math/test-fenv-preserve.c: New file.
7176 * math/Makefile (tests): Add test-fenv-preserve.
7178 2014-03-26 Will Newton <will.newton@linaro.org>
7180 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7182 2014-03-25 Roland McGrath <roland@hack.frob.com>
7184 * scripts/versionlist.awk: Partition the version sets and emit all
7185 GLIBC_* (sorted) before all others (sorted).
7187 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7189 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7190 GLIBC_2.2.5 version.
7192 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7194 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7197 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7202 2014-03-25 Andreas Schwab <schwab@suse.de>
7204 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7205 label to be used after in6ailist is initialized.
7207 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7209 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7210 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7212 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7216 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7218 (fp_formats): Update initializers.
7219 (init_fp_formats): Initialize new field.
7220 (output_for_one_input_case): Allow underflow for results up to
7222 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7223 * math/auto-libm-test-in: Don't mark some underflows from asin and
7225 * math/auto-libm-test-out: Regenerated.
7226 * sysdeps/i386/fpu/libm-test-ulps: Update.
7227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7229 2014-03-25 Andreas Schwab <schwab@suse.de>
7231 * libio/Makefile (tst-ftell-partial-wide-ENV)
7232 (tst-ftell-active-handler-ENV): Define.
7234 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7236 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7238 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7240 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7242 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7244 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7245 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7246 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7248 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7251 * elf/dl-load.c (open_verify): Add mode parameter.
7252 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7253 (open_path): Change from boolean 'secure' to complete flag 'mode'
7254 (_dl_map_object): Adjust.
7255 * elf/Makefile (tests): Add tst-dlopen-aout.
7256 * elf/tst-dlopen-aout.c: New test.
7258 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7261 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7262 (struct stat): Rename member pad0 to __glibc_reserved0.
7265 * sysdeps/s390/s390-32/bits/wordsize.h
7266 (__WORDSIZE32_SIZE_ULONG): New define.
7267 * sysdeps/s390/s390-64/bits/wordsize.h
7268 (__WORDSIZE32_SIZE_ULONG): Likewise.
7269 * sysdeps/generic/stdint.h (SIZE_MAX):
7270 Define as UL if __WORDSIZE32_SIZE_ULONG.
7273 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7274 (__glibc_reserved0): New variable.
7275 (sa_flags): Change type to int.
7277 * posix/Makefile (before-compile): Use += before-compile instead
7280 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7281 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7283 2014-03-20 Andreas Schwab <schwab@suse.de>
7286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7287 non-matching result from nscd.
7289 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7291 * scripts/bench.py: Moved to ...
7292 * benchtests/scripts/bench.py: ... here.
7293 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7295 2014-03-24 Andreas Schwab <schwab@suse.de>
7298 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7299 alloca_account and account alloca use for struct in6ailist.
7301 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7304 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7305 rounding mode to recompute results that overflow to infinity or
7307 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7309 * math/auto-libm-test-out: Regenerated.
7310 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7311 (ccosh_test): Likewise.
7312 (csin_test_data): Use plus_oflow.
7313 (csin_test): Use ALL_RM_TEST.
7314 (csinh_test_data): Use plus_oflow.
7315 (csinh_test): Use ALL_RM_TEST.
7316 * sysdeps/i386/fpu/libm-test-ulps: Update.
7317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7319 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7321 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7322 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7323 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7326 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7328 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7329 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7330 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7331 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7333 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7334 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7336 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7337 * sysdeps/i386/fpu/libm-test-ulps: Update.
7338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7340 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7342 * scripts/bench.pl: Remove file.
7343 * scripts/bench.py: New benchmark script.
7344 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7345 * benchtests/README: Mention python dependency.
7346 * scripts/pylintrc: New file.
7347 * scripts/pylint: New file.
7349 * bits/mathdef.h: Use #ifdef instead of #if.
7350 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7351 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7352 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7353 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7354 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7355 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7357 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7358 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7360 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7361 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7362 and strpbrk-ppc64 objects.
7363 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7364 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7365 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7366 multiarch strpbrk for POWER7.
7367 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7368 multiarch strpbrk for PPC64.
7369 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7371 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7374 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7376 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7377 (atan_test): Likewise.
7378 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7379 (atanh_test): Use ALL_RM_TEST.
7380 (atan2_test_data): Likewise.
7381 (cabs_test): Likewise.
7382 (cacosh_test): Likewise.
7383 (carg_test): Likewise.
7384 (casin_test): Likewise.
7385 (casinh_test): Likewise.
7386 (cbrt_test): Likewise.
7387 (csqrt_test): Likewise.
7388 (erf_test): Likewise.
7389 (erfc_test): Likewise.
7390 (pow10_test): Likewise.
7391 (exp2_test): Likewise.
7392 (hypot_test): Likewise.
7393 (j0_test): Likewise.
7394 (j1_test): Likewise.
7395 (lgamma_test): Likewise.
7396 (gamma_test): Likewise.
7397 (sincos_test): Likewise.
7398 (tanh_test): Likewise.
7399 (y0_test): Likewise.
7400 (y1_test): Likewise.
7401 * sysdeps/i386/fpu/libm-test-ulps: Update.
7402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7404 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7406 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7407 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7408 and strcspn-ppc64 objects.
7409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7410 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7411 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7412 multiarch strcspn for POWER7.
7413 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7414 multiarch strcspn for PPC64.
7415 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7417 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7420 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7422 * math/gen-libm-test.pl (generate_testfile): Expect only function
7423 name as argument to AUTO_TESTS_* and pass results for all rounding
7424 modes to parse_args.
7425 (parse_auto_input): Separate inputs of automatic tests from
7426 outputs before storing in %auto_tests.
7427 * math/libm-test.inc (acos_test_data): Update call to
7429 (acos_test): Use ALL_RM_TEST.
7430 (acos_tonearest_test_data): Remove.
7431 (acos_test_tonearest): Likewise.
7432 (acos_towardzero_test_data): Likewise.
7433 (acos_test_towardzero): Likewise.
7434 (acos_downward_test_data): Likewise.
7435 (acos_test_downward): Likewise.
7436 (acos_upward_test_data): Likewise.
7437 (acos_test_upward): Likewise.
7438 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7439 (asin_test_data): Likewise.
7440 (asin_test): Use ALL_RM_TEST.
7441 (asin_tonearest_test_data): Remove.
7442 (asin_test_tonearest): Likewise.
7443 (asin_towardzero_test_data): Likewise.
7444 (asin_test_towardzero): Likewise.
7445 (asin_downward_test_data): Likewise.
7446 (asin_test_downward): Likewise.
7447 (asin_upward_test_data): Likewise.
7448 (asin_test_upward): Likewise.
7449 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7450 (atan_test_data): Likewise.
7451 (atanh_test_data): Likewise.
7452 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7453 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7454 (carg_test_data): Likewise.
7455 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7456 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7457 (ccosh_test_data): Likewise.
7458 (cexp_test_data): Likewise.
7459 (clog_test_data): Likewise.
7460 (clog10_test_data): Likewise.
7461 (cos_test_data): Update call to AUTO_TESTS_f_f.
7462 (cos_test): Use ALL_RM_TEST.
7463 (cos_tonearest_test_data): Remove.
7464 (cos_test_tonearest): Likewise.
7465 (cos_towardzero_test_data): Likewise.
7466 (cos_test_towardzero): Likewise.
7467 (cos_downward_test_data): Likewise.
7468 (cos_test_downward): Likewise.
7469 (cos_upward_test_data): Likewise.
7470 (cos_test_upward): Likewise.
7471 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7472 (cosh_test): Use ALL_RM_TEST.
7473 (cosh_tonearest_test_data): Remove.
7474 (cosh_test_tonearest): Likewise.
7475 (cosh_towardzero_test_data): Likewise.
7476 (cosh_test_towardzero): Likewise.
7477 (cosh_downward_test_data): Likewise.
7478 (cosh_test_downward): Likewise.
7479 (cosh_upward_test_data): Likewise.
7480 (cosh_test_upward): Likewise.
7481 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7482 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7483 (ctan_test_data): Likewise.
7484 (ctan_test): Use ALL_RM_TEST.
7485 (ctan_tonearest_test_data): Remove.
7486 (ctan_test_tonearest): Likewise.
7487 (ctan_towardzero_test_data): Likewise.
7488 (ctan_test_towardzero): Likewise.
7489 (ctan_downward_test_data): Likewise.
7490 (ctan_test_downward): Likewise.
7491 (ctan_upward_test_data): Likewise.
7492 (ctan_test_upward): Likewise.
7493 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7494 (ctanh_test): Use ALL_RM_TEST.
7495 (ctanh_tonearest_test_data): Remove.
7496 (ctanh_test_tonearest): Likewise.
7497 (ctanh_towardzero_test_data): Likewise.
7498 (ctanh_test_towardzero): Likewise.
7499 (ctanh_downward_test_data): Likewise.
7500 (ctanh_test_downward): Likewise.
7501 (ctanh_upward_test_data): Likewise.
7502 (ctanh_test_upward): Likewise.
7503 (erf_test_data): Update call to AUTO_TESTS_f_f.
7504 (erfc_test_data): Likewise.
7505 (exp_test_data): Likewise.
7506 (exp_test): Use ALL_RM_TEST.
7507 (exp_tonearest_test_data): Remove.
7508 (exp_test_tonearest): Likewise.
7509 (exp_towardzero_test_data): Likewise.
7510 (exp_test_towardzero): Likewise.
7511 (exp_downward_test_data): Likewise.
7512 (exp_test_downward): Likewise.
7513 (exp_upward_test_data): Likewise.
7514 (exp_test_upward): Likewise.
7515 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7516 (exp10_test): Use ALL_RM_TEST.
7517 (exp10_tonearest_test_data): Remove.
7518 (exp10_test_tonearest): Likewise.
7519 (exp10_towardzero_test_data): Likewise.
7520 (exp10_test_towardzero): Likewise.
7521 (exp10_downward_test_data): Likewise.
7522 (exp10_test_downward): Likewise.
7523 (exp10_upward_test_data): Likewise.
7524 (exp10_test_upward): Likewise.
7525 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7526 (expm1_test_data): Likewise.
7527 (expm1_test): Use ALL_RM_TEST.
7528 (expm1_tonearest_test_data): Remove.
7529 (expm1_test_tonearest): Likewise.
7530 (expm1_towardzero_test_data): Likewise.
7531 (expm1_test_towardzero): Likewise.
7532 (expm1_downward_test_data): Likewise.
7533 (expm1_test_downward): Likewise.
7534 (expm1_upward_test_data): Likewise.
7535 (expm1_test_upward): Likewise.
7536 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7537 (fma_test): Use ALL_RM_TEST.
7538 (fma_towardzero_test_data): Remove.
7539 (fma_test_towardzero): Likewise.
7540 (fma_downward_test_data): Likewise.
7541 (fma_test_downward): Likewise.
7542 (fma_upward_test_data): Likewise.
7543 (fma_test_upward): Likewise.
7544 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7545 (j0_test_data): Update call to AUTO_TESTS_f_f.
7546 (j1_test_data): Likewise.
7547 (jn_test_data): Update call to AUTO_TESTS_if_f.
7548 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7549 (log_test_data): Update call to AUTO_TESTS_f_f.
7550 (log10_test_data): Likewise.
7551 (log1p_test_data): Likewise.
7552 (log2_test_data): Likewise.
7553 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7554 (pow_tonearest_test_data): Likewise.
7555 (sin_test_data): Update call to AUTO_TESTS_f_f.
7556 (sin_test): Use ALL_RM_TEST.
7557 (sin_tonearest_test_data): Remove.
7558 (sin_test_tonearest): Likewise.
7559 (sin_towardzero_test_data): Likewise.
7560 (sin_test_towardzero): Likewise.
7561 (sin_downward_test_data): Likewise.
7562 (sin_test_downward): Likewise.
7563 (sin_upward_test_data): Likewise.
7564 (sin_test_upward): Likewise.
7565 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7566 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7567 (sinh_test): Use ALL_RM_TEST.
7568 (sinh_tonearest_test_data): Remove.
7569 (sinh_test_tonearest): Likewise.
7570 (sinh_towardzero_test_data): Likewise.
7571 (sinh_test_towardzero): Likewise.
7572 (sinh_downward_test_data): Likewise.
7573 (sinh_test_downward): Likewise.
7574 (sinh_upward_test_data): Likewise.
7575 (sinh_test_upward): Likewise.
7576 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7577 (sqrt_test): Use ALL_RM_TEST.
7578 (sqrt_tonearest_test_data): Remove.
7579 (sqrt_test_tonearest): Likewise.
7580 (sqrt_towardzero_test_data): Likewise.
7581 (sqrt_test_towardzero): Likewise.
7582 (sqrt_downward_test_data): Likewise.
7583 (sqrt_test_downward): Likewise.
7584 (sqrt_upward_test_data): Likewise.
7585 (sqrt_test_upward): Likewise.
7586 (tan_test_data): Update call to AUTO_TESTS_f_f.
7587 (tan_test): Use ALL_RM_TEST.
7588 (tan_tonearest_test_data): Remove.
7589 (tan_test_tonearest): Likewise.
7590 (tan_towardzero_test_data): Likewise.
7591 (tan_test_towardzero): Likewise.
7592 (tan_downward_test_data): Likewise.
7593 (tan_test_downward): Likewise.
7594 (tan_upward_test_data): Likewise.
7595 (tan_test_upward): Likewise.
7596 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7597 (tgamma_test_data): Likewise.
7598 (y0_test_data): Likewise.
7599 (y1_test_data): Likewise.
7600 (yn_test_data): Update call to AUTO_TESTS_if_f.
7601 (main): Do not call removed functions.
7603 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7605 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7606 (ldexp_test_data): Remove.
7607 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7609 (scalb_test): Use ALL_RM_TEST.
7611 2014-03-19 Andreas Schwab <schwab@suse.de>
7613 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7615 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7618 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7619 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7620 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7621 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7622 (__ASSUME_PREADV): Undefine.
7623 (__ASSUME_PWRITEV): Likewise.
7625 2014-03-18 Roland McGrath <roland@hack.frob.com>
7627 * bits/mman-linux.h: Add comment about non-Linux use.
7628 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7629 bits/mman-linux.h resting place.
7631 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7632 * bits/mman-linux.h: ... here.
7634 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7636 * conform/conformtest.pl: Add standard definition when calling C
7637 preprocessor on data files.
7638 (checknamespace): Remove unused variable.
7640 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7642 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7643 minus_oflow, plus_uflow and minus_uflow in expected results.
7644 * math/libm-test.inc (scalbn_test_data): Add more tests of
7645 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7647 (scalbn_test): Use ALL_RM_TEST.
7648 (scalbln_test_data): Add more tests of negative arguments. Use
7649 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7650 (scalbln_test): Use ALL_RM_TEST.
7652 2014-03-18 Roland McGrath <roland@hack.frob.com>
7654 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7656 2014-03-18 Will Newton <will.newton@linaro.org>
7658 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7661 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7663 * Makerules [!subdir] (check-abi): Exit with error status if a
7666 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7668 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7669 for rint. Include results for all rounding modes.
7670 (nearbyint_test): Use ALL_RM_TEST.
7671 (rint_test_data): Include all tests used for nearbyint.
7673 2014-03-17 Will Newton <will.newton@linaro.org>
7675 * nptl/sysdeps/pthread/pthread.h: Revert previous
7678 * sysdeps/generic/ldsodefs.h: Revert previous
7681 * libio/genops.c: Revert previous change.
7682 * libio/libioP.h: Likewise.
7683 * stdio-common/vfprintf.c: Likewise.
7685 * sysdeps/generic/math_private.h: Revert previous
7688 * sysdeps/generic/math_private.h: Check whether
7689 HAVE_RM_CTX is defined with #ifdef rather
7692 * argp/argp-fmtstream.h: Check whether
7693 __STRICT_ANSI__ is defined with #ifdef rather
7695 * argp/argp.h: Likewise.
7697 * libio/genops.c: Check whether
7698 _IO_JUMPS_OFFSET is defined with #ifdef rather
7700 * libio/libioP.h: Likewise.
7701 * stdio-common/vfprintf.c: Likewise.
7703 * sysdeps/generic/ldsodefs.h: Check whether
7704 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7707 * nptl/sysdeps/pthread/pthread.h: Check
7708 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7711 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7713 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7715 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7719 * libio/fileops.c (_IO_file_open): Seek to end of file but
7720 don't cache the offset.
7721 (get_file_offset): Remove function.
7722 (do_ftell): Use cached offset when available.
7723 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7724 don't cache the offset.
7725 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7727 (do_one_test): Call it.
7728 (do_ftell_test): Fix up expected old offset for a+ mode.
7729 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7732 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7733 up test status with function return status.
7734 (do_write_test): Likewise.
7735 (do_append_test): Likewise.
7737 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7738 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7741 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7743 * math/gen-libm-test.pl (parse_args): Handle results specified for
7744 each rounding mode separately.
7745 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7746 tests and results from lrint_tonearest_test_data,
7747 lrint_towardzero_test_data, lrint_downward_test_data and
7748 lrint_upward_test_data.
7749 (lrint_test): Use ALL_RM_TEST.
7750 (lrint_tonearest_test_data): Remove.
7751 (lrint_test_tonearest): Likewise.
7752 (lrint_towardzero_test_data): Likewise.
7753 (lrint_test_towardzero): Likewise.
7754 (lrint_downward_test_data): Likewise.
7755 (lrint_test_downward): Likewise.
7756 (lrint_upward_test_data): Likewise.
7757 (lrint_test_upward): Likewise.
7758 (llrint_test_data): Merge in per-rounding-mode tests and results
7759 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7760 llrint_downward_test_data and llrint_upward_test_data.
7761 (llrint_test): Use ALL_RM_TEST.
7762 (llrint_tonearest_test_data): Remove.
7763 (llrint_test_tonearest): Likewise.
7764 (llrint_towardzero_test_data): Likewise.
7765 (llrint_test_towardzero): Likewise.
7766 (llrint_downward_test_data): Likewise.
7767 (llrint_test_downward): Likewise.
7768 (llrint_upward_test_data): Likewise.
7769 (llrint_test_upward): Likewise.
7770 (rint_test_data): Merge in per-rounding-mode tests and results
7771 from rint_tonearest_test_data, rint_towardzero_test_data,
7772 rint_downward_test_data and rint_upward_test_data. Add
7773 per-rounding-mode results for tests not in those arrays.
7774 (rint_test): Use ALL_RM_TEST.
7775 (rint_tonearest_test_data): Remove.
7776 (rint_test_tonearest): Likewise.
7777 (rint_towardzero_test_data): Likewise.
7778 (rint_test_towardzero): Likewise.
7779 (rint_downward_test_data): Likewise.
7780 (rint_test_downward): Likewise.
7781 (rint_upward_test_data): Likewise.
7782 (rint_test_upward): Likewise.
7783 (main): Don't call removed functions.
7785 2014-03-14 Roland McGrath <roland@hack.frob.com>
7787 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7788 "Compiled on ..." crapola. It is anti-useful.
7790 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7792 * scripts/evaluate-test.sh: Handle fourth argument to determine
7793 whether test run should stop on failure.
7794 * Makeconfig (stop-on-test-failure): New variable.
7795 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7796 $(stop-on-test-failure).
7797 * Makefile (tests): Give a summary of results from testing and
7798 exit with failure status if they include an ERROR or FAIL.
7800 * manual/install.texi (Configuring and compiling): Mention
7801 stop-on-test-failure=y.
7802 * INSTALL: Regenerated.
7804 2014-03-14 Roland McGrath <roland@hack.frob.com>
7806 * scripts/versionlist.awk: New file.
7807 * Makerules [$(build-shared) = yes]
7808 (postclean-generated): Add Versions.def, not Versions.def.v and
7810 ($(common-objpfx)Versions.def.v.i): Target removed.
7811 ($(common-objpfx)Versions.def): New target.
7812 ($(common-objpfx)Versions.all): Depend on that rather that
7813 $(common-objpfx)Versions.def.v.
7814 * Versions.def: File removed.
7816 * Makeconfig (+gccwarn): Add -Wundef.
7817 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7818 a dl-sysdep.h breaking its contract.
7819 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7820 * include/stackinfo.h: New file.
7821 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7822 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7823 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7824 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7825 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7826 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7827 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7828 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7829 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7830 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7831 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7832 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7833 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7834 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7835 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7837 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7840 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7842 * math/libm-test.inc (round_test_data): Add more tests.
7845 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7847 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7850 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7852 * math/libm-test.inc (ceil_test_data): Add more tests.
7854 * math/libm-test.inc (trunc_test_data): Add more tests related to
7857 2014-03-14 Roland McGrath <roland@hack.frob.com>
7859 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7860 with #if rather than #ifdef.
7861 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7863 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7865 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7866 first. Disable AVX-512 GCC support if assembler doesn't support
7868 * sysdeps/x86_64/configure: Regenerated.
7870 2014-03-13 Carlos O'Donell <carlos@redhat.com>
7872 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7873 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7874 (__old_pthread_attr_setstack): Likewise.
7875 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7876 [!_STACK_GROWS_DOWN]: Likewise.
7878 2014-03-13 Mike Frysinger <vapier@gentoo.org>
7880 * config.make.in (have-bash2): Delete.
7881 * configure.ac (libc_cv_have_bash2): Delete.
7882 * configure: Regenerate.
7883 * elf/Makefile (common-ldd-rewrite): Rename to ...
7884 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7885 (sh-ldd-rewrite): Delete.
7886 (bash-ldd-rewrite): Delete.
7887 (have-bash2): Delete checks.
7888 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7891 * config.make.in (have-ksh): Delete.
7893 * configure.ac (libc_cv_have_ksh): Delete.
7894 * configure: Regenerate.
7896 * elf/Makefile: Delete $(have-ksh) check.
7897 ($(objpfx)sotruss): Change KSH to BASH.
7898 * elf/sotruss.ksh: Rename to ...
7899 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7900 function style to match POSIX. Drop ksh vim mode setting.
7902 * manual/time.texi (Specifying the Time Zone with TZ): Change
7903 Tuesday to Thursday.
7905 * debug/tst-longjmp_chk2.c: Update header comment.
7906 (stackoverflow_handler): Add comment. Call assert on pass value.
7908 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7910 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7911 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7912 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7913 (La_x86_64_vector): Add zmm.
7914 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7915 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7916 ($(objpfx)tst-audit10): New target.
7917 ($(objpfx)tst-audit10.out): Likewise.
7918 (tst-audit10-ENV): New.
7919 (AVX512-CFLAGS): Likewise.
7920 (CFLAGS-tst-audit10.c): Likewise.
7921 (CFLAGS-tst-auditmod10a.c): Likewise.
7922 (CFLAGS-tst-auditmod10b.c): Likewise.
7923 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7924 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7925 * sysdeps/x86_64/configure: Regenerated.
7926 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7927 AVX-512 zmm register support.
7928 (_dl_x86_64_save_sse): Likewise.
7929 (_dl_x86_64_restore_sse): Likewise.
7930 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7931 size vector registers.
7932 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7933 (ZMM_SIZE): Likewise.
7934 * sysdeps/x86_64/tst-audit10.c: New file.
7935 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7936 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7938 2014-03-13 Roland McGrath <roland@hack.frob.com>
7940 * configure.ac (HAVE_EHDR_START): New check.
7941 * configure: Regenerated.
7942 * config.h.in (HAVE_EHDR_START): New #undef.
7943 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7944 assuming the lowest-addressed segment maps the start of the file.
7946 2014-03-13 Joseph Myers <joseph@codesourcery.com>
7948 * INSTALL: Regenerated.
7950 2014-03-13 Will Newton <will.newton@linaro.org>
7952 * manual/setjmp.texi (System V contexts): Improve
7953 clarity and grammar of documentation.
7955 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7958 * elf/Makefile (tests): Add tst-pie2.
7959 (tests-pie): Add tst-pie2.
7960 * elf/tst-pie2.c: New file.
7961 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7963 * elf/rtld.c (map_doit): Load executable as lt_executable.
7964 (dl_main): Likewise.
7966 2014-03-12 Joseph Myers <joseph@codesourcery.com>
7969 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7970 (__ASSUME_PSELECT): Undefine.
7972 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7975 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7976 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7978 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7979 selector for static builds.
7981 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7984 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7987 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7989 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7990 IFUNC selector for static builds.
7992 2014-03-11 Joseph Myers <joseph@codesourcery.com>
7994 * sysdeps/mips/math_private.h [__mips_hard_float]
7995 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7996 libc_feresetround_mips_ctx.
7997 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7998 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7999 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8002 * math/s_nextafter.c (__nextafter): Do not return value from
8003 overflowing computation.
8004 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8005 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8006 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8008 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8010 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8011 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8013 2014-03-11 Roland McGrath <roland@hack.frob.com>
8015 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8016 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8017 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8018 the new mov targetting sp.
8020 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8023 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8024 Define it for static builds as well.
8025 (NO_BZERO_IMPL): Likewise.
8027 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8029 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8030 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8031 multiarch strspn for PPC64.
8032 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8033 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8035 (__libc_ifunc_impl_list): Likewise.
8036 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8037 multiarch optimizations
8038 * string/strspn.c (strspn): Using macro to redefine symbol name.
8040 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8041 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8043 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8044 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8045 multiarch strncat for PPC64.
8046 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8047 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8048 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8049 (__libc_ifunc_impl_list): Likewise.
8050 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8051 multiarch optimizations
8053 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8056 * nscd/nscd.service: Make service type forking.
8058 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8060 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8061 sign in non default rounding modes.
8062 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8064 2014-03-08 Joseph Myers <joseph@codesourcery.com>
8066 * math/libm-test.inc (ALL_RM_TEST): New macro.
8067 (ceil_test): Use ALL_RM_TEST.
8068 (cimag_test): Likewise.
8069 (conj_test): Likewise.
8070 (copysign_test): Likewise.
8071 (cproj_test): Likewise.
8072 (creal_test): Likewise.
8073 (fabs_test): Likewise.
8074 (floor_test): Likewise.
8075 (fmax_test): Likewise.
8076 (fmin_test): Likewise.
8077 (fmod_test): Likewise.
8078 (fpclassify_test): Likewise.
8079 (frexp_test): Likewise.
8080 (ilogb_test): Likewise.
8081 (isfinite_test): Likewise.
8082 (finite_test): Likewise.
8083 (isgreater_test): Likewise.
8084 (isgreaterequal_test): Likewise.
8085 (isinf_test): Likewise.
8086 (isless_test): Likewise.
8087 (islessequal_test): Likewise.
8088 (islessgreater_test): Likewise.
8089 (isnan_test): Likewise.
8090 (isnormal_test): Likewise.
8091 (issignaling_test): Likewise.
8092 (isunordered_test): Likewise.
8093 (logb_test): Likewise.
8094 (logb_downward_test_data): Remove.
8095 (logb_test_downward): Likewise.
8096 (lround_test): Use ALL_RM_TEST.
8097 (llround_test): Likewise.
8098 (modf_test): Likewise.
8099 (nexttoward_test): Likewise.
8100 (remainder_test): Likewise.
8101 (drem_test): Likewise.
8102 (remainder_tonearest_test_data): Likewise.
8103 (remainder_test_tonearest): Likewise.
8104 (drem_test_tonearest): Likewise.
8105 (remainder_towardzero_test_data): Likewise.
8106 (remainder_test_towardzero): Likewise.
8107 (drem_test_towardzero): Likewise.
8108 (remainder_downward_test_data): Likewise.
8109 (remainder_test_downward): Likewise.
8110 (drem_test_downward): Likewise.
8111 (remainder_upward_test_data): Likewise.
8112 (remainder_test_upward): Likewise.
8113 (drem_test_upward): Likewise.
8114 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8115 (round_test): Use ALL_RM_TEST.
8116 (signbit_test): Likewise.
8117 (trunc_test): Likewise.
8118 (significand_test): Likewise.
8119 (main): Don't call removed functions.
8121 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8124 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8126 (ILL_ILLOPN): Likewise.
8127 (ILL_ILLADR): Likewise.
8128 (ILL_ILLTRP): Likewise.
8129 (ILL_PRVOPC): Likewise.
8130 (ILL_PRVREG): Likewise.
8131 (ILL_COPROC): Likewise.
8132 (ILL_BADSTK): Likewise.
8133 (FPE_INTDIV): Likewise.
8134 (FPE_INTOVF): Likewise.
8135 (FPE_FLTDIV): Likewise.
8136 (FPE_FLTOVF): Likewise.
8137 (FPE_FLTUND): Likewise.
8138 (FPE_FLTRES): Likewise.
8139 (FPE_FLTINV): Likewise.
8140 (FPE_FLTSUB): Likewise.
8141 (SEGV_MAPERR): Likewise.
8142 (SEGV_ACCERR): Likewise.
8143 (BUS_ADRALN): Likewise.
8144 (BUS_ADRERR): Likewise.
8145 (BUS_OBJERR): Likewise.
8146 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8147 (TRAP_TRACE): Likewise.
8148 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8150 (CLD_KILLED): Likewise.
8151 (CLD_DUMPED): Likewise.
8152 (CLD_TRAPPED): Likewise.
8153 (CLD_STOPPED): Likewise.
8154 (CLD_CONTINUED): Likewise.
8155 (POLL_IN): Likewise.
8156 (POLL_OUT): Likewise.
8157 (POLL_MSG): Likewise.
8158 (POLL_ERR): Likewise.
8159 (POLL_PRI): Likewise.
8160 (POLL_HUP): Likewise.
8161 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8163 (ILL_ILLOPN): Likewise.
8164 (ILL_ILLADR): Likewise.
8165 (ILL_ILLTRP): Likewise.
8166 (ILL_PRVOPC): Likewise.
8167 (ILL_PRVREG): Likewise.
8168 (ILL_COPROC): Likewise.
8169 (ILL_BADSTK): Likewise.
8170 (FPE_INTDIV): Likewise.
8171 (FPE_INTOVF): Likewise.
8172 (FPE_FLTDIV): Likewise.
8173 (FPE_FLTOVF): Likewise.
8174 (FPE_FLTUND): Likewise.
8175 (FPE_FLTRES): Likewise.
8176 (FPE_FLTINV): Likewise.
8177 (FPE_FLTSUB): Likewise.
8178 (SEGV_MAPERR): Likewise.
8179 (SEGV_ACCERR): Likewise.
8180 (BUS_ADRALN): Likewise.
8181 (BUS_ADRERR): Likewise.
8182 (BUS_OBJERR): Likewise.
8183 (BUS_MCEERR_AR): Likewise.
8184 (BUS_MCEERR_AO): Likewise.
8185 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8186 (TRAP_TRACE): Likewise.
8187 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8189 (CLD_KILLED): Likewise.
8190 (CLD_DUMPED): Likewise.
8191 (CLD_TRAPPED): Likewise.
8192 (CLD_STOPPED): Likewise.
8193 (CLD_CONTINUED): Likewise.
8194 (POLL_IN): Likewise.
8195 (POLL_OUT): Likewise.
8196 (POLL_MSG): Likewise.
8197 (POLL_ERR): Likewise.
8198 (POLL_PRI): Likewise.
8199 (POLL_HUP): Likewise.
8200 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8201 (ILL_ILLOPN): Likewise.
8202 (ILL_ILLADR): Likewise.
8203 (ILL_ILLTRP): Likewise.
8204 (ILL_PRVOPC): Likewise.
8205 (ILL_PRVREG): Likewise.
8206 (ILL_COPROC): Likewise.
8207 (ILL_BADSTK): Likewise.
8208 (FPE_INTDIV): Likewise.
8209 (FPE_INTOVF): Likewise.
8210 (FPE_FLTDIV): Likewise.
8211 (FPE_FLTOVF): Likewise.
8212 (FPE_FLTUND): Likewise.
8213 (FPE_FLTRES): Likewise.
8214 (FPE_FLTINV): Likewise.
8215 (FPE_FLTSUB): Likewise.
8216 (SEGV_MAPERR): Likewise.
8217 (SEGV_ACCERR): Likewise.
8218 (BUS_ADRALN): Likewise.
8219 (BUS_ADRERR): Likewise.
8220 (BUS_OBJERR): Likewise.
8221 (BUS_MCEERR_AR): Likewise.
8222 (BUS_MCEERR_AO): Likewise.
8223 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8224 (TRAP_TRACE): Likewise.
8225 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8227 (CLD_KILLED): Likewise.
8228 (CLD_DUMPED): Likewise.
8229 (CLD_TRAPPED): Likewise.
8230 (CLD_STOPPED): Likewise.
8231 (CLD_CONTINUED): Likewise.
8232 (POLL_IN): Likewise.
8233 (POLL_OUT): Likewise.
8234 (POLL_MSG): Likewise.
8235 (POLL_ERR): Likewise.
8236 (POLL_PRI): Likewise.
8237 (POLL_HUP): Likewise.
8238 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8240 (ILL_ILLOPN): Likewise.
8241 (ILL_ILLADR): Likewise.
8242 (ILL_ILLTRP): Likewise.
8243 (ILL_PRVOPC): Likewise.
8244 (ILL_PRVREG): Likewise.
8245 (ILL_COPROC): Likewise.
8246 (ILL_BADSTK): Likewise.
8247 (ILL_BADIADDR): Likewise.
8248 (ILL_BREAK): Likewise.
8249 (FPE_INTDIV): Likewise.
8250 (FPE_INTOVF): Likewise.
8251 (FPE_FLTDIV): Likewise.
8252 (FPE_FLTOVF): Likewise.
8253 (FPE_FLTUND): Likewise.
8254 (FPE_FLTRES): Likewise.
8255 (FPE_FLTINV): Likewise.
8256 (FPE_FLTSUB): Likewise.
8257 (FPE_DECOVF): Likewise.
8258 (FPE_DECDIV): Likewise.
8259 (FPE_DECERR): Likewise.
8260 (FPE_INVASC): Likewise.
8261 (FPE_INVDEC): Likewise.
8262 (SEGV_MAPERR): Likewise.
8263 (SEGV_ACCERR): Likewise.
8264 (SEGV_PSTKOVF): Likewise.
8265 (BUS_ADRALN): Likewise.
8266 (BUS_ADRERR): Likewise.
8267 (BUS_OBJERR): Likewise.
8268 (BUS_MCEERR_AR): Likewise.
8269 (BUS_MCEERR_AO): Likewise.
8270 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8271 (TRAP_TRACE): Likewise.
8272 (TRAP_BRANCH): Likewise.
8273 (TRAP_HWBKPT): Likewise.
8274 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8276 (CLD_KILLED): Likewise.
8277 (CLD_DUMPED): Likewise.
8278 (CLD_TRAPPED): Likewise.
8279 (CLD_STOPPED): Likewise.
8280 (CLD_CONTINUED): Likewise.
8281 (POLL_IN): Likewise.
8282 (POLL_OUT): Likewise.
8283 (POLL_MSG): Likewise.
8284 (POLL_ERR): Likewise.
8285 (POLL_PRI): Likewise.
8286 (POLL_HUP): Likewise.
8287 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8288 (ILL_ILLOPN): Likewise.
8289 (ILL_ILLADR): Likewise.
8290 (ILL_ILLTRP): Likewise.
8291 (ILL_PRVOPC): Likewise.
8292 (ILL_PRVREG): Likewise.
8293 (ILL_COPROC): Likewise.
8294 (ILL_BADSTK): Likewise.
8295 (FPE_INTDIV): Likewise.
8296 (FPE_INTOVF): Likewise.
8297 (FPE_FLTDIV): Likewise.
8298 (FPE_FLTOVF): Likewise.
8299 (FPE_FLTUND): Likewise.
8300 (FPE_FLTRES): Likewise.
8301 (FPE_FLTINV): Likewise.
8302 (FPE_FLTSUB): Likewise.
8303 (SEGV_MAPERR): Likewise.
8304 (SEGV_ACCERR): Likewise.
8305 (BUS_ADRALN): Likewise.
8306 (BUS_ADRERR): Likewise.
8307 (BUS_OBJERR): Likewise.
8308 (BUS_MCEERR_AR): Likewise.
8309 (BUS_MCEERR_AO): Likewise.
8310 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8311 (TRAP_TRACE): Likewise.
8312 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8314 (CLD_KILLED): Likewise.
8315 (CLD_DUMPED): Likewise.
8316 (CLD_TRAPPED): Likewise.
8317 (CLD_STOPPED): Likewise.
8318 (CLD_CONTINUED): Likewise.
8319 (POLL_IN): Likewise.
8320 (POLL_OUT): Likewise.
8321 (POLL_MSG): Likewise.
8322 (POLL_ERR): Likewise.
8323 (POLL_PRI): Likewise.
8324 (POLL_HUP): Likewise.
8325 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8326 (ILL_ILLOPN): Likewise.
8327 (ILL_ILLADR): Likewise.
8328 (ILL_ILLTRP): Likewise.
8329 (ILL_PRVOPC): Likewise.
8330 (ILL_PRVREG): Likewise.
8331 (ILL_COPROC): Likewise.
8332 (ILL_BADSTK): Likewise.
8333 (FPE_INTDIV): Likewise.
8334 (FPE_INTOVF): Likewise.
8335 (FPE_FLTDIV): Likewise.
8336 (FPE_FLTOVF): Likewise.
8337 (FPE_FLTUND): Likewise.
8338 (FPE_FLTRES): Likewise.
8339 (FPE_FLTINV): Likewise.
8340 (FPE_FLTSUB): Likewise.
8341 (SEGV_MAPERR): Likewise.
8342 (SEGV_ACCERR): Likewise.
8343 (BUS_ADRALN): Likewise.
8344 (BUS_ADRERR): Likewise.
8345 (BUS_OBJERR): Likewise.
8346 (BUS_MCEERR_AR): Likewise.
8347 (BUS_MCEERR_AO): Likewise.
8348 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8349 (TRAP_TRACE): Likewise.
8350 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8352 (CLD_KILLED): Likewise.
8353 (CLD_DUMPED): Likewise.
8354 (CLD_TRAPPED): Likewise.
8355 (CLD_STOPPED): Likewise.
8356 (CLD_CONTINUED): Likewise.
8357 (POLL_IN): Likewise.
8358 (POLL_OUT): Likewise.
8359 (POLL_MSG): Likewise.
8360 (POLL_ERR): Likewise.
8361 (POLL_PRI): Likewise.
8362 (POLL_HUP): Likewise.
8363 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8364 (ILL_ILLOPN): Likewise.
8365 (ILL_ILLADR): Likewise.
8366 (ILL_ILLTRP): Likewise.
8367 (ILL_PRVOPC): Likewise.
8368 (ILL_PRVREG): Likewise.
8369 (ILL_COPROC): Likewise.
8370 (ILL_BADSTK): Likewise.
8371 (FPE_INTDIV): Likewise.
8372 (FPE_INTOVF): Likewise.
8373 (FPE_FLTDIV): Likewise.
8374 (FPE_FLTOVF): Likewise.
8375 (FPE_FLTUND): Likewise.
8376 (FPE_FLTRES): Likewise.
8377 (FPE_FLTINV): Likewise.
8378 (FPE_FLTSUB): Likewise.
8379 (SEGV_MAPERR): Likewise.
8380 (SEGV_ACCERR): Likewise.
8381 (BUS_ADRALN): Likewise.
8382 (BUS_ADRERR): Likewise.
8383 (BUS_OBJERR): Likewise.
8384 (BUS_MCEERR_AR): Likewise.
8385 (BUS_MCEERR_AO): Likewise.
8386 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8387 (TRAP_TRACE): Likewise.
8388 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8390 (CLD_KILLED): Likewise.
8391 (CLD_DUMPED): Likewise.
8392 (CLD_TRAPPED): Likewise.
8393 (CLD_STOPPED): Likewise.
8394 (CLD_CONTINUED): Likewise.
8395 (POLL_IN): Likewise.
8396 (POLL_OUT): Likewise.
8397 (POLL_MSG): Likewise.
8398 (POLL_ERR): Likewise.
8399 (POLL_PRI): Likewise.
8400 (POLL_HUP): Likewise.
8401 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8402 (ILL_ILLOPN): Likewise.
8403 (ILL_ILLADR): Likewise.
8404 (ILL_ILLTRP): Likewise.
8405 (ILL_PRVOPC): Likewise.
8406 (ILL_PRVREG): Likewise.
8407 (ILL_COPROC): Likewise.
8408 (ILL_BADSTK): Likewise.
8409 (ILL_DBLFLT): Likewise.
8410 (ILL_HARDWALL): Likewise.
8411 (FPE_INTDIV): Likewise.
8412 (FPE_INTOVF): Likewise.
8413 (FPE_FLTDIV): Likewise.
8414 (FPE_FLTOVF): Likewise.
8415 (FPE_FLTUND): Likewise.
8416 (FPE_FLTRES): Likewise.
8417 (FPE_FLTINV): Likewise.
8418 (FPE_FLTSUB): Likewise.
8419 (SEGV_MAPERR): Likewise.
8420 (SEGV_ACCERR): Likewise.
8421 (BUS_ADRALN): Likewise.
8422 (BUS_ADRERR): Likewise.
8423 (BUS_OBJERR): Likewise.
8424 (BUS_MCEERR_AR): Likewise.
8425 (BUS_MCEERR_AO): Likewise.
8426 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8427 (TRAP_TRACE): Likewise.
8428 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8430 (CLD_KILLED): Likewise.
8431 (CLD_DUMPED): Likewise.
8432 (CLD_TRAPPED): Likewise.
8433 (CLD_STOPPED): Likewise.
8434 (CLD_CONTINUED): Likewise.
8435 (POLL_IN): Likewise.
8436 (POLL_OUT): Likewise.
8437 (POLL_MSG): Likewise.
8438 (POLL_ERR): Likewise.
8439 (POLL_PRI): Likewise.
8440 (POLL_HUP): Likewise.
8441 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8442 (ILL_ILLOPN): Likewise.
8443 (ILL_ILLADR): Likewise.
8444 (ILL_ILLTRP): Likewise.
8445 (ILL_PRVOPC): Likewise.
8446 (ILL_PRVREG): Likewise.
8447 (ILL_COPROC): Likewise.
8448 (ILL_BADSTK): Likewise.
8449 (FPE_INTDIV): Likewise.
8450 (FPE_INTOVF): Likewise.
8451 (FPE_FLTDIV): Likewise.
8452 (FPE_FLTOVF): Likewise.
8453 (FPE_FLTUND): Likewise.
8454 (FPE_FLTRES): Likewise.
8455 (FPE_FLTINV): Likewise.
8456 (FPE_FLTSUB): Likewise.
8457 (SEGV_MAPERR): Likewise.
8458 (SEGV_ACCERR): Likewise.
8459 (BUS_ADRALN): Likewise.
8460 (BUS_ADRERR): Likewise.
8461 (BUS_OBJERR): Likewise.
8462 (BUS_MCEERR_AR): Likewise.
8463 (BUS_MCEERR_AO): Likewise.
8464 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8465 (TRAP_TRACE): Likewise.
8466 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8468 (CLD_KILLED): Likewise.
8469 (CLD_DUMPED): Likewise.
8470 (CLD_TRAPPED): Likewise.
8471 (CLD_STOPPED): Likewise.
8472 (CLD_CONTINUED): Likewise.
8473 (POLL_IN): Likewise.
8474 (POLL_OUT): Likewise.
8475 (POLL_MSG): Likewise.
8476 (POLL_ERR): Likewise.
8477 (POLL_PRI): Likewise.
8478 (POLL_HUP): Likewise.
8479 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8480 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8483 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8484 before #include of <time.h>.
8485 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8486 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8487 (test-xfail-UNIX98/sched.h/conform): Likewise.
8489 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8491 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8492 error absence of trapping exception support.
8493 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8495 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8497 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8498 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8499 * timezone/Makefile (testdata): Move definition above include of
8501 (test-zones): New variable.
8502 (tests-special): Add zone files.
8503 (build-testdata): Use $(evaluate-test).
8505 * elf/Makefile (tests-special): Rename tests to end with .out.
8506 ($(objpfx)noload-mem): Likewise.
8507 ($(objpfx)tst-leaks1-mem): Likewise.
8508 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8509 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8510 $(objpfx)test-iconvconfig.out.
8511 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8512 set -e inside subshell and redirect output to file.
8513 * iconvdata/Makefile (generated): Rename tests to end with .out.
8515 (tests-special): Rename tests to end with .out.
8516 ($(objpfx)mtrace-tst-loading): Likewise.
8517 * intl/Makefile (generated): Likewise.
8518 (tests-special): Likewise.
8519 ($(objpfx)mtrace-tst-gettext): Likewise.
8520 * misc/Makefile (generated): Likewise.
8521 (tests-special): Likewise.
8522 ($(objpfx)tst-error1-mem): Likewise.
8523 * nptl/Makefile (tests-special): Likewise.
8524 ($(objpfx)tst-stack3-mem): Likewise.
8525 (generated): Likewise.
8526 * posix/Makefile (generated): Likewise.
8527 (tests-special): Likewise.
8528 (xtests-special): Likewise.
8529 ($(objpfx)tst-fnmatch-mem): Likewise.
8530 ($(objpfx)bug-regex2-mem): Likewise.
8531 ($(objpfx)bug-regex14-mem): Likewise.
8532 ($(objpfx)bug-regex21-mem): Likewise.
8533 ($(objpfx)bug-regex31-mem): Likewise.
8534 ($(objpfx)tst-vfork3-mem): Likewise.
8535 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8536 ($(objpfx)tst-pcre-mem): Likewise.
8537 ($(objpfx)tst-boost-mem): Likewise.
8538 ($(objpfx)bug-ga2-mem): Likewise.
8539 ($(objpfx)bug-glob2-mem): Likewise.
8540 * resolv/Makefile (generate): Likewise.
8541 (tests-special): Likewise.
8542 (xtests-special): Likewise.
8543 (generated): Likewise.
8544 ($(objpfx)mtrace-tst-leaks): Likewise.
8545 ($(objpfx)mtrace-tst-leaks2): Likewise.
8547 * scripts/merge-test-results.sh: New file.
8548 * Makefile (tests-special-notdir): New variable.
8549 (tests): Run merge-test-results.sh.
8551 * Rules (tests-special-notdir): New variable.
8552 (xtests-special-notdir): Likewise.
8553 (tests): Run merge-test-results.sh
8556 * Makeconfig (test-xfail-name): New variable.
8557 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8558 compute variable name for expected failures.
8559 * conform/Makefile (conformtest-headers-data): New variable.
8560 (conformtest-standards): Likewise.
8561 (conformtest-headers-ISO): Likewise.
8562 (conformtest-headers-ISO99): Likewise.
8563 (conformtest-headers-ISO11): Likewise.
8564 (conformtest-headers-POSIX): Likewise.
8565 (conformtest-headers-XPG3): Likewise.
8566 (conformtest-headers-XPG4): Likewise.
8567 (conformtest-headers-UNIX98): Likewise.
8568 (conformtest-headers-XOPEN2K): Likewise.
8569 (conformtest-headers-POSIX2008): Likewise.
8570 (conformtest-headers-XOPEN2K8): Likewise.
8571 (conformtest-header-list-base): Likewise.
8572 (conformtest-header-list-tests): Likewise.
8573 (conformtest-header-base): Likewise.
8574 (conformtest-header-tests): Likewise.
8575 (tests-special): Add $(conformtest-header-list-tests). If
8576 [$(fast-check) && !$(cross-compiling)], add
8577 $(conformtest-header-tests) instead of
8578 $(objpfx)run-conformtest.out.
8579 (generated): Add $(conformtest-header-list-base). If
8580 [$(fast-check) && !$(cross-compiling)], add
8581 $(conformtest-header-base). Remove previous setting.
8582 ($(conformtest-header-list-tests)): New target.
8583 (test-xfail-run-conformtest): Remove variable.
8584 ($(objpfx)run-conformtest.out): Remove target.
8585 (test-xfail-ISO11/complex.h/conform): New variable.
8586 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8587 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8588 (test-xfail-XPG3/varargs.h/conform): Likewise.
8589 (test-xfail-XPG4/varargs.h/conform): Likewise.
8590 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8591 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8592 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8593 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8594 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8595 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8596 (test-xfail-XPG3/ftw.h/conform): Likewise.
8597 (test-xfail-XPG3/grp.h/conform): Likewise.
8598 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8599 (test-xfail-XPG3/limits.h/conform): Likewise.
8600 (test-xfail-XPG3/pwd.h/conform): Likewise.
8601 (test-xfail-XPG3/search.h/conform): Likewise.
8602 (test-xfail-XPG3/signal.h/conform): Likewise.
8603 (test-xfail-XPG3/stdio.h/conform): Likewise.
8604 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8605 (test-xfail-XPG3/string.h/conform): Likewise.
8606 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8607 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8608 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8609 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8610 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8611 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8612 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8613 (test-xfail-XPG3/termios.h/conform): Likewise.
8614 (test-xfail-XPG3/time.h/conform): Likewise.
8615 (test-xfail-XPG3/unistd.h/conform): Likewise.
8616 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8617 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8618 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8619 (test-xfail-XPG4/netdb.h/conform): Likewise.
8620 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8621 (test-xfail-XPG4/signal.h/conform): Likewise.
8622 (test-xfail-XPG4/stdio.h/conform): Likewise.
8623 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8624 (test-xfail-XPG4/stropts.h/conform): Likewise.
8625 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8626 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8627 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8628 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8629 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8630 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8631 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8632 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8633 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8634 (test-xfail-XPG4/termios.h/conform): Likewise.
8635 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8636 (test-xfail-XPG4/unistd.h/conform): Likewise.
8637 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8638 (test-xfail-POSIX/sched.h/conform): Likewise.
8639 (test-xfail-POSIX/signal.h/conform): Likewise.
8640 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8641 (test-xfail-POSIX/tar.h/conform): Likewise.
8642 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8643 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8644 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8645 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8646 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8647 (test-xfail-UNIX98/sched.h/conform): Likewise.
8648 (test-xfail-UNIX98/signal.h/conform): Likewise.
8649 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8650 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8651 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8652 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8653 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8654 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8655 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8656 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8657 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8658 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8659 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8660 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8661 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8662 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8663 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8664 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8665 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8666 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8667 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8668 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8669 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8670 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8671 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8672 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8673 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8674 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8675 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8676 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8677 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8678 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8679 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8680 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8681 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8682 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8683 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8684 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8685 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8686 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8687 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8688 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8689 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8690 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8691 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8692 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8693 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8694 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8695 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8696 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8697 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8698 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8699 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8700 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8701 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8702 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8703 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8704 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8705 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8706 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8707 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8708 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8709 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8710 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8711 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8712 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8713 (conformtest-cc-flags): Likewise.
8714 ($(conformtest-header-tests): New target.
8715 * conform/check-header-lists.sh: New file.
8716 * conform/run-conformtest.sh: Remove.
8718 * conform/conformtest.pl: Allow ' and \ in values given for
8720 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8722 [POSIX] (sys/types.h): Likewise.
8723 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8725 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8727 * conform/data/signal.h-data (SIGIO): Remove expectation.
8728 [XPG3] (SIGBUS): Do not expect.
8729 [POSIX || XPG3] (SIGPOLL): Likewise.
8730 [POSIX || XPG3] (SIGPROF): Likewise.
8731 [POSIX || XPG3] (SIGSYS): Likewise.
8732 [XPG3] (SIGTRAP): Likewise.
8733 [POSIX || XPG3] (SIGURG): Likewise.
8734 [POSIX || XPG3] (SIGVTALRM): Likewise.
8735 [POSIX || XPG3] (SIGXCPU): Likewise.
8736 [POSIX || XPG3] (SIGXFSZ): Likewise.
8737 [POSIX] (SA_SIGINFO): Expect.
8738 [XPG3] (siginfo_t): Do not expect type or contents.
8739 [POSIX] (si_pid): Do not expect element.
8740 [POSIX] (si_uid): Likewise.
8741 [POSIX] (si_addr): Likewise.
8742 [POSIX] (si_status): Likewise.
8743 [POSIX] (si_band): Likewise.
8744 [XPG4] (si_value): Likewise.
8745 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8746 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8747 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8748 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8749 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8750 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8751 [POSIX || XPG3] (ILL_COPROC): Likewise.
8752 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8753 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8754 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8755 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8756 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8757 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8758 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8759 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8760 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8761 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8762 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8763 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8764 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8765 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8766 [POSIX || XPG3] (CLD_EXITED): Likewise.
8767 [POSIX || XPG3] (CLD_KILLED): Likewise.
8768 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8769 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8770 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8771 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8772 [POSIX || XPG3] (POLL_IN): Likewise.
8773 [POSIX || XPG3] (POLL_OUT): Likewise.
8774 [POSIX || XPG3] (POLL_MSG): Likewise.
8775 [POSIX || XPG3] (POLL_ERR): Likewise.
8776 [POSIX || XPG3] (POLL_PRI): Likewise.
8777 [POSIX || XPG3] (POLL_HUP): Likewise.
8778 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8779 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8780 (SIG*): Do not allow.
8781 [XPG3] (si_*): Likewise.
8782 [XPG3] (SI_*): Likewise.
8783 [XPG3 || XPG4] (sigev_*): Likewise.
8784 [XPG3 || XPG4] (SIGEV_*): Likewise.
8785 [XPG3 || XPG4] (sival_*): Likewise.
8786 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8787 [POSIX || XPG3] (BUS_*): Likewise.
8788 [POSIX || XPG3] (CLD_*): Likewise.
8789 [POSIX || XPG3] (FPE_*): Likewise.
8790 [POSIX || XPG3] (ILL_*): Likewise.
8791 [POSIX || XPG3] (POLL_*): Likewise.
8792 [POSIX || XPG3] (SEGV_*): Likewise.
8793 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8794 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8795 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8796 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8797 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8798 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8799 Specify type and value.
8800 (TVERSLEN): Likewise.
8801 (REGTYPE): Likewise.
8802 (AREGTYPE): Likewise.
8803 (LNKTYPE): Likewise.
8804 (SYMTYPE): Likewise.
8805 (CHRTYPE): Likewise.
8806 (BLKTYPE): Likewise.
8807 (DIRTYPE): Likewise.
8808 (FIFOTYPE): Likewise.
8809 (CONTTYPE): Likewise.
8814 (TUWRITE): Likewise.
8817 (TGWRITE): Likewise.
8820 (TOWRITE): Likewise.
8822 [POSIX] (TSVTX): Expect constant.
8824 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8826 * Makefile (tests): Change dependencies to ....
8827 (tests-special): ... additions to this variable.
8828 (tests): Depend on $(tests-special).
8829 * Makerules (check-abi-list): New variable.
8830 (check-abi): Depend on $(check-abi-list).
8831 [$(subdir) = elf] (tests-special): Add
8832 $(objpfx)check-abi-libc.out.
8833 [$(build-shared) = yes && subdir] (tests-special): Add
8835 [$(build-shared) = yes && subdir] (tests): Do not depend on
8837 * Rules (tests): Depend on $(tests-special).
8838 (xtests): Depend on $(xtests-special).
8839 * catgets/Makefile (tests): Change dependencies to ....
8840 (tests-special): ... additions to this variable.
8841 * conform/Makefile (tests): Change dependencies to ....
8842 (tests-special): ... additions to this variable.
8843 * elf/Makefile (tests): Change dependencies to ....
8844 (tests-special): ... additions to this variable.
8845 * grp/Makefile (tests): Change dependencies to ....
8846 (tests-special): ... additions to this variable.
8847 * iconv/Makefile (xtests): Change dependencies to ....
8848 (xtests-special): ... additions to this variable.
8849 * iconvdata/Makefile (tests): Change dependencies to ....
8850 (tests-special): ... additions to this variable.
8851 * intl/Makefile (tests): Change dependencies to ....
8852 (tests-special): ... additions to this variable. Also add
8853 $(objpfx)tst-gettext.out.
8854 * io/Makefile (tests): Change dependencies to ....
8855 (tests-special): ... additions to this variable.
8856 * libio/Makefile (tests): Change dependencies to ....
8857 (tests-special): ... additions to this variable.
8858 * malloc/Makefile (tests): Change dependencies to ....
8859 (tests-special): ... additions to this variable.
8860 * misc/Makefile (tests): Change dependencies to ....
8861 (tests-special): ... additions to this variable.
8862 * nptl/Makefile (tests): Change dependencies to ....
8863 (tests-special): ... additions to this variable.
8864 * nptl_db/Makefile (tests): Change dependencies to ....
8865 (tests-special): ... additions to this variable.
8866 * posix/Makefile (tests): Change dependencies to ....
8867 (tests-special): ... additions to this variable.
8868 (xtests): Change dependencies to ....
8869 (xtests-special): ... additions to this variable.
8870 * resolv/Makefile (tests): Change dependencies to ....
8871 (tests-special): ... additions to this variable.
8872 (xtests): Change dependencies to ....
8873 (xtests-special): ... additions to this variable.
8874 * stdio-common/Makefile (tests): Change dependencies to ....
8875 (tests-special): ... additions to this variable.
8876 (do-tst-unbputc): Remove target.
8877 (do-tst-printf): Likewise.
8878 * stdlib/Makefile (tests): Change dependencies to ....
8879 (tests-special): ... additions to this variable.
8880 * string/Makefile (tests): Change dependencies to ....
8881 (tests-special): ... additions to this variable.
8882 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8883 (tests-special): ... additions to this variable.
8885 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8887 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8889 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8890 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8892 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8893 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8894 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8895 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8896 * conform/data/libgen.h-data [XPG3]: Likewise.
8897 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8898 * conform/data/ndbm.h-data [XPG3]: Likewise.
8899 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8900 * conform/data/netdb.h-data [XPG3]: Likewise.
8901 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8902 * conform/data/poll.h-data [XPG3]: Likewise.
8903 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8904 * conform/data/strings.h-data [XPG3]: Likewise.
8905 * conform/data/stropts.h-data [XPG3]: Likewise.
8906 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8907 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8908 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8910 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8911 * conform/data/sys/time.h-data [XPG3]: Likewise.
8912 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8913 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8914 * conform/data/sys/un.h-data [XPG3]: Likewise.
8915 * conform/data/syslog.h-data [XPG3]: Likewise.
8916 * conform/data/ucontext.h-data [XPG3]: Likewise.
8917 * conform/data/utmpx.h-data [XPG3]: Likewise.
8918 * conform/data/varargs.h-data [UNIX98]: Enable file.
8920 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8922 * math/libm-test.inc (struct test_f_f_data): Move expected results
8923 into structure for each rounding mode.
8924 (struct test_ff_f_data): Likewise.
8925 (struct test_ff_f_data_nexttoward): Likewise.
8926 (struct test_fi_f_data): Likewise.
8927 (struct test_fl_f_data): Likewise.
8928 (struct test_if_f_data): Likewise.
8929 (struct test_fff_f_data): Likewise.
8930 (struct test_c_f_data): Likewise.
8931 (struct test_f_f1_data): Likewise.
8932 (struct test_fF_f1_data): Likewise.
8933 (struct test_ffI_f1_data): Likewise.
8934 (struct test_c_c_data): Likewise.
8935 (struct test_cc_c_data): Likewise.
8936 (struct test_f_i_data): Likewise.
8937 (struct test_ff_i_data): Likewise.
8938 (struct test_f_l_data): Likewise.
8939 (struct test_f_L_data): Likewise.
8940 (struct test_fFF_11_data): Likewise.
8942 (RM_FE_DOWNWARD): Likewise.
8943 (RM_FE_TONEAREST): Likewise.
8944 (RM_FE_TOWARDZERO): Likewise.
8945 (RM_FE_UPWARD): Likewise.
8946 (RUN_TEST_LOOP_f_f): Update references to expected results.
8947 (RUN_TEST_LOOP_2_f): Likewise.
8948 (RUN_TEST_LOOP_fff_f): Likewise.
8949 (RUN_TEST_LOOP_c_f): Likewise.
8950 (RUN_TEST_LOOP_f_f1): Likewise.
8951 (RUN_TEST_LOOP_fF_f1): Likewise.
8952 (RUN_TEST_LOOP_fI_f1): Likewise.
8953 (RUN_TEST_LOOP_ffI_f1): Likewise.
8954 (RUN_TEST_LOOP_c_c): Likewise.
8955 (RUN_TEST_LOOP_cc_c): Likewise.
8956 (RUN_TEST_LOOP_f_i): Likewise.
8957 (RUN_TEST_LOOP_f_i_tg): Likewise.
8958 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8959 (RUN_TEST_LOOP_f_b): Likewise.
8960 (RUN_TEST_LOOP_f_b_tg): Likewise.
8961 (RUN_TEST_LOOP_f_l): Likewise.
8962 (RUN_TEST_LOOP_f_L): Likewise.
8963 (RUN_TEST_LOOP_fFF_11): Likewise.
8964 * math/gen-libm-test.pl (parse_args): Output four copies of
8965 expected results for each test.
8967 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8968 (__ASSUME_UTIMES): Remove.
8969 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8970 (__ASSUME_UTIMES): Likewise.
8972 * math/gen-auto-libm-tests.c: Update comment on output format.
8973 (output_for_one_input_case): Generate before-rounding and
8974 after-rounding information as conditions on output flags not
8975 floating-point format.
8976 * math/auto-libm-test-out: Regenerated.
8977 * math/gen-libm-test.pl (cond_value): New function.
8978 (or_cond_value): Use cond_value.
8979 (generate_testfile): Handle conditional exceptions.
8981 2014-03-05 Joseph Myers <joseph@codesourcery.com>
8983 * math/libm-test.inc (max_valid_error): New variable.
8984 (init_max_error): Take new argument specifying whether function
8985 results are exactly determined. Set max_valid_error and bound
8986 other variables for errors based on this argument.
8987 (set_max_error): Do not record results above max_valid_error.
8988 (check_float_internal): Only accept errors of up to 0.5ulps if
8989 also at most max_valid_error.
8990 (START): Take new argument EXACT and pass it to init_max_error.
8991 (acos_test): Update call to START.
8992 (acos_test_tonearest): Likewise.
8993 (acos_test_towardzero): Likewise.
8994 (acos_test_downward): Likewise.
8995 (acos_test_upward): Likewise.
8996 (acosh_test): Likewise.
8997 (asin_test): Likewise.
8998 (asin_test_tonearest): Likewise.
8999 (asin_test_towardzero): Likewise.
9000 (asin_test_downward): Likewise.
9001 (asin_test_upward): Likewise.
9002 (asinh_test): Likewise.
9003 (atan_test): Likewise.
9004 (atanh_test): Likewise.
9005 (atan2_test): Likewise.
9006 (cabs_test): Likewise.
9007 (cacos_test): Likewise.
9008 (cacosh_test): Likewise.
9009 (carg_test): Likewise.
9010 (casin_test): Likewise.
9011 (casinh_test): Likewise.
9012 (catan_test): Likewise.
9013 (catanh_test): Likewise.
9014 (cbrt_test): Likewise.
9015 (ccos_test): Likewise.
9016 (ccosh_test): Likewise.
9017 (ceil_test): Likewise.
9018 (cexp_test): Likewise.
9019 (cimag_test): Likewise.
9020 (clog_test): Likewise.
9021 (clog10_test): Likewise.
9022 (conj_test): Likewise.
9023 (copysign_test): Likewise.
9024 (cos_test): Likewise.
9025 (cos_test_tonearest): Likewise.
9026 (cos_test_towardzero): Likewise.
9027 (cos_test_downward): Likewise.
9028 (cos_test_upward): Likewise.
9029 (cosh_test): Likewise.
9030 (cosh_test_tonearest): Likewise.
9031 (cosh_test_towardzero): Likewise.
9032 (cosh_test_downward): Likewise.
9033 (cosh_test_upward): Likewise.
9034 (cpow_test): Likewise.
9035 (cproj_test): Likewise.
9036 (creal_test): Likewise.
9037 (csin_test): Likewise.
9038 (csinh_test): Likewise.
9039 (csqrt_test): Likewise.
9040 (ctan_test): Likewise.
9041 (ctan_test_tonearest): Likewise.
9042 (ctan_test_towardzero): Likewise.
9043 (ctan_test_downward): Likewise.
9044 (ctan_test_upward): Likewise.
9045 (ctanh_test): Likewise.
9046 (ctanh_test_tonearest): Likewise.
9047 (ctanh_test_towardzero): Likewise.
9048 (ctanh_test_downward): Likewise.
9049 (ctanh_test_upward): Likewise.
9050 (erf_test): Likewise.
9051 (erfc_test): Likewise.
9052 (exp_test): Likewise.
9053 (exp_test_tonearest): Likewise.
9054 (exp_test_towardzero): Likewise.
9055 (exp_test_downward): Likewise.
9056 (exp_test_upward): Likewise.
9057 (exp10_test): Likewise.
9058 (exp10_test_tonearest): Likewise.
9059 (exp10_test_towardzero): Likewise.
9060 (exp10_test_downward): Likewise.
9061 (exp10_test_upward): Likewise.
9062 (pow10_test): Likewise.
9063 (exp2_test): Likewise.
9064 (expm1_test): Likewise.
9065 (expm1_test_tonearest): Likewise.
9066 (expm1_test_towardzero): Likewise.
9067 (expm1_test_downward): Likewise.
9068 (expm1_test_upward): Likewise.
9069 (fabs_test): Likewise.
9070 (fdim_test): Likewise.
9071 (floor_test): Likewise.
9072 (fma_test): Likewise.
9073 (fma_test_towardzero): Likewise.
9074 (fma_test_downward): Likewise.
9075 (fma_test_upward): Likewise.
9076 (fmax_test): Likewise.
9077 (fmin_test): Likewise.
9078 (fmod_test): Likewise.
9079 (fpclassify_test): Likewise.
9080 (frexp_test): Likewise.
9081 (hypot_test): Likewise.
9082 (ilogb_test): Likewise.
9083 (isfinite_test): Likewise.
9084 (finite_test): Likewise.
9085 (isgreater_test): Likewise.
9086 (isgreaterequal_test): Likewise.
9087 (isinf_test): Likewise.
9088 (isless_test): Likewise.
9089 (islessequal_test): Likewise.
9090 (islessgreater_test): Likewise.
9091 (isnan_test): Likewise.
9092 (isnormal_test): Likewise.
9093 (issignaling_test): Likewise.
9094 (isunordered_test): Likewise.
9095 (j0_test): Likewise.
9096 (j1_test): Likewise.
9097 (jn_test): Likewise.
9098 (ldexp_test): Likewise.
9099 (lgamma_test): Likewise.
9100 (gamma_test): Likewise.
9101 (lrint_test): Likewise.
9102 (lrint_test_tonearest): Likewise.
9103 (lrint_test_towardzero): Likewise.
9104 (lrint_test_downward): Likewise.
9105 (lrint_test_upward): Likewise.
9106 (llrint_test): Likewise.
9107 (llrint_test_tonearest): Likewise.
9108 (llrint_test_towardzero): Likewise.
9109 (llrint_test_downward): Likewise.
9110 (llrint_test_upward): Likewise.
9111 (log_test): Likewise.
9112 (log10_test): Likewise.
9113 (log1p_test): Likewise.
9114 (log2_test): Likewise.
9115 (logb_test): Likewise.
9116 (logb_test_downward): Likewise.
9117 (lround_test): Likewise.
9118 (llround_test): Likewise.
9119 (modf_test): Likewise.
9120 (nearbyint_test): Likewise.
9121 (nextafter_test): Likewise.
9122 (nexttoward_test): Likewise.
9123 (pow_test): Likewise.
9124 (pow_test_tonearest): Likewise.
9125 (pow_test_towardzero): Likewise.
9126 (pow_test_downward): Likewise.
9127 (pow_test_upward): Likewise.
9128 (remainder_test): Likewise.
9129 (drem_test): Likewise.
9130 (remainder_test_tonearest): Likewise.
9131 (drem_test_tonearest): Likewise.
9132 (remainder_test_towardzero): Likewise.
9133 (drem_test_towardzero): Likewise.
9134 (remainder_test_downward): Likewise.
9135 (drem_test_downward): Likewise.
9136 (remainder_test_upward): Likewise.
9137 (drem_test_upward): Likewise.
9138 (remquo_test): Likewise.
9139 (rint_test): Likewise.
9140 (rint_test_tonearest): Likewise.
9141 (rint_test_towardzero): Likewise.
9142 (rint_test_downward): Likewise.
9143 (rint_test_upward): Likewise.
9144 (round_test): Likewise.
9145 (scalb_test): Likewise.
9146 (scalbn_test): Likewise.
9147 (scalbln_test): Likewise.
9148 (signbit_test): Likewise.
9149 (sin_test): Likewise.
9150 (sin_test_tonearest): Likewise.
9151 (sin_test_towardzero): Likewise.
9152 (sin_test_downward): Likewise.
9153 (sin_test_upward): Likewise.
9154 (sincos_test): Likewise.
9155 (sinh_test): Likewise.
9156 (sinh_test_tonearest): Likewise.
9157 (sinh_test_towardzero): Likewise.
9158 (sinh_test_downward): Likewise.
9159 (sinh_test_upward): Likewise.
9160 (sqrt_test): Likewise.
9161 (sqrt_test_tonearest): Likewise.
9162 (sqrt_test_towardzero): Likewise.
9163 (sqrt_test_downward): Likewise.
9164 (sqrt_test_upward): Likewise.
9165 (tan_test): Likewise.
9166 (tan_test_tonearest): Likewise.
9167 (tan_test_towardzero): Likewise.
9168 (tan_test_downward): Likewise.
9169 (tan_test_upward): Likewise.
9170 (tanh_test): Likewise.
9171 (tgamma_test): Likewise.
9172 (trunc_test): Likewise.
9173 (y0_test): Likewise.
9174 (y1_test): Likewise.
9175 (yn_test): Likewise.
9176 (significand_test): Likewise.
9178 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9179 individual tests in comment.
9180 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9181 (prev_max_error): New variable.
9182 (prev_real_max_error): Likewise.
9183 (prev_imag_max_error): Likewise.
9184 (compare_ulp_data): Don't refer to test names in comment.
9185 (find_test_ulps): Remove function.
9186 (find_function_ulps): Likewise.
9187 (find_complex_function_ulps): Likewise.
9188 (init_max_error): Take function name as argument. Look up ulps
9190 (print_ulps): Remove function.
9191 (print_max_error): Use prev_max_error instead of calling
9193 (print_complex_max_error): Use prev_real_max_error and
9194 prev_imag_max_error instead of calling find_complex_function_ulps.
9195 (check_float_internal): Take max_ulp parameter instead of calling
9196 find_test_ulps. Don't call print_ulps.
9197 (check_float): Update call to check_float_internal.
9198 (check_complex): Update calls to check_float_internal.
9199 (START): Pass argument to init_max_error.
9200 * math/gen-libm-test.pl (%results): Don't include "kind"
9202 (parse_ulps): Don't handle ulps of individual tests.
9203 (print_ulps_file): Likewise.
9204 (output_ulps): Likewise.
9205 * math/README.libm-test: Update.
9206 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9208 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9209 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9210 * sysdeps/arm/libm-test-ulps: Likewise.
9211 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9212 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9213 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9214 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9215 * sysdeps/microblaze/libm-test-ulps: Likewise.
9216 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9217 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9218 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9219 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9220 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9221 * sysdeps/sh/libm-test-ulps: Likewise.
9222 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9223 * sysdeps/tile/libm-test-ulps: Likewise.
9224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9226 2014-03-04 Joseph Myers <joseph@codesourcery.com>
9228 * math/libm-test.inc (print_complex_max_error): Check separately
9229 whether real and imaginary errors are within allowed range and
9230 pass 0 to print_complex_function_ulps instead of value within
9233 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9235 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9237 (get_handles_fopen): Likewise.
9238 (do_write_test): Likewise.
9240 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9242 * libio/fileops.c (do_ftell): Use cached offset when
9244 * libio/iofwide.c (do_ftell_wide): Likewise.
9245 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9247 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9250 * libio/libioP.h (get_file_offset): New function.
9251 * libio/fileops.c (get_file_offset): Likewise.
9252 (do_ftell): Likewise.
9253 (_IO_new_file_seekoff): Split out ftell logic.
9254 * libio/wfileops.c (do_ftell_wide): Likewise.
9255 (_IO_wfile_seekoff): Split out ftell logic.
9256 * libio/tst-ftell-active-handler.c: New test case.
9257 * libio/Makefile (tests): Add it.
9259 2014-03-03 Roland McGrath <roland@hack.frob.com>
9261 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9262 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9264 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9267 * nscd/connections.c (nscd_init): Call do_exit.
9268 (start_threads): Call do_exit and notify_parent.
9269 (begin_drop_privileges): Call do_exit.
9270 (finish_drop_privileges): Likewise.
9271 * nscd/selinux.c (preserve_capabilities): Likewise.
9272 (install_real_capabilities): Likewise.
9273 (nscd_selinux_enabled): Likewise.
9274 (avc_create_thread): Likewise.
9275 (avc_alloc_lock): Likewise.
9276 (nscd_avc_init): Likewise.
9277 * nscd/nscd.c (parent_fd): New static variable.
9278 (main): Create a pipe between parent and child processes.
9279 Skip closing parent_fd.
9280 (monitor_child): New function.
9281 (do_exit): Likewise.
9282 (notify_parent): Likewise.
9283 * nscd/nscd.h (notify_parent): Likewise.
9284 (do_exit): Likewise.
9286 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9288 * malloc/malloc.c (__libc_calloc): Revert last change.
9290 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9294 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9296 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9297 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9299 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9300 (__libc_ifunc_impl_list): Likewise.
9301 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9302 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9303 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9304 * string/strrchr.c: Define STRRCHR.
9306 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9308 * benchtest/bench-strtok.c (simple_strtok): Delete.
9309 (strtok_string): Use as benchmark.
9310 * string/strtok (STRTOK): New macro.
9312 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9314 * manual/threads.texi: Add header and standard comments to all
9317 * elf/dl-lookup.c (check_match): New function.
9318 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9319 (do_lookup_x): Remove nested function check_match. Use non-nested
9320 function check_match.
9322 2014-02-28 Roland McGrath <roland@hack.frob.com>
9324 * csu/Makefile (generated, before-compile): Use += rather than =.
9325 * catgets/Makefile (generated, generated-dirs): Likewise.
9326 * debug/Makefile (generated): Likewise.
9327 * dlfcn/Makefile (generated): Likewise.
9328 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9329 * iconvdata/Makefile (before-compile, generated): Likewise.
9330 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9331 * libio/Makefile (generated): Likewise.
9332 * malloc/Makefile (generated): Likewise.
9333 * manual/Makefile (generated, generated-dirs): Likewise.
9334 * misc/Makefile (generated): Likewise.
9335 * posix/Makefile (generated): Likewise.
9336 * resolv/Makefile (generated): Likewise.
9337 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9338 * timezone/Makefile (generated, generated-dirs): Likewise.
9340 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9342 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9344 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9345 power8 implementation.
9346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9347 file: POWER8 llround ifunc implementation.
9348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9349 (__lllround): Add POWER8 implementation.
9350 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9351 POWER8 llround implementation.
9353 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9354 power8 implementation.
9355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9356 file: POWER8 llrint ifunc implementation.
9357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9358 Add POWER8 implementation.
9359 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9360 POWER8 llrint implementation.
9362 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9363 power8 implementation.
9364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9365 file: POWER8 finite ifunc implementation.
9366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9367 Add POWER8 implementation.
9368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9370 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9371 POWER8 finite implementation.
9372 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9374 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9375 power8 implementation.
9376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9377 file: POWER8 isinf ifunc implementation.
9378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9379 POWER8 implementation.
9380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9382 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9383 isinf implementation.
9384 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9386 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9387 (INIT_ARCH): Add hwcap2 initialization.
9388 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9389 power8 implementation.
9390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9391 file: POWER8 isnan ifunc implementation.
9392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9393 POWER8 implementation.
9394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9396 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9397 isnan implementation.
9398 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9400 2014-02-27 Joey Ye <joey.ye@arm.com>
9402 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9403 (_FP_NANFRAC_Q): Set to zero.
9405 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9408 * math/auto-libm-test-in: New test inputs.
9409 * math/auto-libm-test-out: Regenerate.
9410 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9413 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9415 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9417 * scripts/evaluate-test.sh: Take new argument indicating whether
9418 failure is expected.
9419 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9420 indicating whether failure is expected.
9421 * conform/Makefile (test-xfail-run-conformtest): New variable.
9422 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9424 * posix/Makefile (test-xfail-annexc): New variable.
9425 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9427 2014-02-26 Joseph Myers <joseph@codesourcery.com>
9429 * argp/Makefile: Include Makeconfig immediately after defining
9431 * assert/Makefile: Likewise.
9432 * benchtests/Makefile: Likewise.
9433 * catgets/Makefile: Likewise.
9434 * conform/Makefile: Likewise.
9435 * crypt/Makefile: Likewise.
9436 * csu/Makefile: Likewise.
9437 (all): Remove target.
9438 * ctype/Makefile: Include Makeconfig immediately after defining
9440 * debug/Makefile: Likewise.
9441 * dirent/Makefile: Likewise.
9442 * dlfcn/Makefile: Likewise.
9443 * gmon/Makefile: Likewise.
9444 * gnulib/Makefile: Likewise.
9445 * grp/Makefile: Likewise.
9446 * gshadow/Makefile: Likewise.
9447 * hesiod/Makefile: Likewise.
9448 * hurd/Makefile: Likewise.
9449 (all): Remove target.
9450 * iconvdata/Makefile: Include Makeconfig immediately after
9452 * inet/Makefile: Likewise.
9453 * intl/Makefile: Likewise.
9454 * io/Makefile: Likewise.
9455 * libio/Makefile: Likewise.
9456 (all): Remove target.
9457 * locale/Makefile: Include Makeconfig immediately after defining
9459 * login/Makefile: Likewise.
9460 * mach/Makefile: Likewise.
9461 (all): Remove target.
9462 * malloc/Makefile: Include Makeconfig immediately after defining
9464 (all): Remove target.
9465 * manual/Makefile: Include Makeconfig immediately after defining
9467 * math/Makefile: Likewise.
9468 * misc/Makefile: Likewise.
9469 * nis/Makefile: Likewise.
9470 * nss/Makefile: Likewise.
9471 * po/Makefile: Likewise.
9472 (all): Remove target.
9473 * posix/Makefile: Include Makeconfig immediately after defining
9475 * pwd/Makefile: Likewise.
9476 * resolv/Makefile: Likewise.
9477 * resource/Makefile: Likewise.
9478 * rt/Makefile: Likewise.
9479 * setjmp/Makefile: Likewise.
9480 * shadow/Makefile: Likewise.
9481 * signal/Makefile: Likewise.
9482 * socket/Makefile: Likewise.
9483 * soft-fp/Makefile: Likewise.
9484 * stdio-common/Makefile: Likewise.
9485 * stdlib/Makefile: Likewise.
9486 * streams/Makefile: Likewise.
9487 * string/Makefile: Likewise.
9488 * sunrpc/Makefile: Likewise.
9489 (all): Remove target.
9490 * sysvipc/Makefile: Include Makeconfig immediately after defining
9492 * termios/Makefile: Likewise.
9493 * time/Makefile: Likewise.
9494 * timezone/Makefile: Likewise.
9495 (all): Remove target.
9496 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9498 * wctype/Makefile: Likewise.
9500 2014-02-26 Steve Ellcey <sellcey@mips.com>
9502 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9503 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9504 (libc_feholdexcept_setround_mips): Ditto.
9505 (libc_feholdsetround): New.
9506 (libc_feholdsetroundf): New.
9507 (libc_feholdsetroundl): New.
9508 (libc_feupdateenv_test_mips): New.
9509 (libc_feupdateenv_test): New.
9510 (libc_feupdateenv_testf): New.
9511 (libc_feupdateenv_testl): New.
9512 (libc_feresetround): New.
9513 (libc_feresetroundf): New.
9514 (libc_feresetroundl): New.
9515 (libc_fetestexcept_mips): New.
9516 (libc_fetestexcept): New.
9517 (libc_fetestexceptf): New.
9518 (libc_fetestexceptl): New.
9520 (libc_feholdexcept_setround_mips_ctx): New.
9521 (libc_feholdexcept_setround_ctx): New.
9522 (libc_feholdexcept_setroundf_ctx): New.
9523 (libc_feholdexcept_setroundl_ctx): New.
9524 (libc_fesetenv_mips_ctx): New.
9525 (libc_fesetenv_ctx): New.
9526 (libc_fesetenv_ctxf): New.
9527 (libc_fesetenv_ctxl): New.
9528 (libc_feupdateenv_mips_ctx): New.
9529 (libc_feupdateenv_ctx): New.
9530 (libc_feupdateenvf_ctx): New.
9531 (libc_feupdateenvl_ctx): New.
9532 (libc_feholdsetround_mips_ctx): New.
9533 (libc_feholdsetround_ctx): New.
9534 (libc_feholdsetroundf_ctx): New.
9535 (libc_feholdsetroundl_ctx): New.
9536 (libc_feresetround_mips_ctx): New.
9537 (libc_feresetround_ctx): New.
9538 (libc_feresetroundf_ctx): New.
9539 (libc_feresetroundl_ctx): New.
9541 2014-02-26 Carlos O'Donell <carlos@redhat.com>
9543 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9545 * manual/ipc.texi: New file.
9546 * manual/Makefile (chapters): Add ipc.
9547 * manual/job.texi: Add "Inter-Process Communication" to next.
9548 * manual/process.texi: Add "Inter-Process Communication" to prev.
9550 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9554 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
9556 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9558 * manual/arith.texi: Fix spaces after sentences.
9559 * manual/charset.texi: Likewise.
9560 * manual/errno.texi: Likewise.
9561 * manual/install.texi: Likewise.
9562 * manual/llio.texi: Likewise.
9563 * manual/locale.texi: Likewise.
9564 * manual/maint.texi: Likewise.
9565 * manual/math.texi: Likewise.
9566 * manual/memory.texi: Likewise.
9567 * manual/message.texi: Likewise.
9568 * manual/probes.texi: Likewise.
9569 * manual/resource.texi: Likewise.
9570 * manual/signal.texi: Likewise.
9571 * manual/socket.texi: Likewise.
9572 * manual/stdio.texi: Likewise.
9573 * manual/string.texi: Likewise.
9574 * manual/time.texi: Likewise.
9575 * manual/users.texi: Likewise.
9577 2014-02-25 Carlos O'Donell <carlos@redhat.com>
9580 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9581 _DEFAULT_SOURCE is defined.
9583 2014-02-25 Ulrich Drepper <drepper@gmail.com>
9584 Carlos O'Donell <carlos@redhat.com>
9587 * elf/dl-tls.c (_dl_count_modids): New function.
9588 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9589 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9590 audit library and increment generation counter.
9591 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9592 * elf/tst-audit9.c: New file.
9593 * elf/tst-auditmod9a.c: New file.
9594 * elf/tst-auditmod9b.c: New file.
9595 * elf/Makefile: Add rules to build and run tst-audit9.
9597 2014-02-25 Florian Weimer <fweimer@redhat.com>
9600 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9602 2014-02-25 Will Newton <will.newton@linaro.org>
9604 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9605 (__longjmp): Restore sp and lr before restoring callee
9606 saved registers. Add longjmp and longjmp_target
9607 SystemTap probe point.
9608 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9609 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9610 Define to zero to match jmpbuf layout.
9611 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9612 (__sigsetjmp): Save sp and lr before saving callee
9613 saved registers. Add setjmp SystemTap probe point.
9615 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9617 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9619 2014-02-24 Andreas Schwab <schwab@suse.de>
9622 * elf/pldd.c (wait_for_ptrace_stop): New function.
9623 (main): Call it after attaching.
9625 2014-02-22 Roland McGrath <roland@hack.frob.com>
9627 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9628 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9629 Versions files is now verboten.
9630 * hurd/Versions (libc: GLIBC_2.0):
9631 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9632 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9633 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9634 * mach/Versions: Likewise.
9636 * csu/Versions: Remove unused %include.
9637 * resolv/Versions: Likewise.
9639 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9641 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9642 ($(objpfx)check-local-headers.out): Likewise.
9643 ($(objpfx)begin-end-check.out): Likewise.
9644 * Makerules (check-abi-%.out): Likewise.
9645 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9646 ($(objpfx)test2.cat): Likewise.
9647 ($(objpfx)de/libc.cat): Likewise.
9648 ($(objpfx)test-gencat.out): Likewise.
9649 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9650 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9651 ($(objpfx)noload-mem): Likewise.
9652 ($(objpfx)tst-pathopt.out): Likewise.
9653 ($(objpfx)tst-rtld-load-self.out): Likewise.
9654 ($(objpfx)tst-array1-cmp.out): Likewise.
9655 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9656 ($(objpfx)tst-array2-cmp.out): Likewise.
9657 ($(objpfx)tst-array3-cmp.out): Likewise.
9658 ($(objpfx)tst-array4-cmp.out): Likewise.
9659 ($(objpfx)tst-array5-cmp.out): Likewise.
9660 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9661 ($(objpfx)check-textrel.out): Likewise.
9662 ($(objpfx)check-execstack.out): Likewise.
9663 ($(objpfx)check-localplt.out): Likewise.
9664 ($(objpfx)order2-cmp.out): Likewise.
9665 ($(objpfx)tst-leaks1-mem): Likewise.
9666 ($(objpfx)tst-leaks1-static-mem): Likewise.
9667 ($(objpfx)tst-initorder-cmp.out): Likewise.
9668 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9669 ($(objpfx)tst-unused-dep.out): Likewise.
9670 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9671 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9672 * iconv/Makefile (test-iconvconfig): Likewise.
9673 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9674 ($(objpfx)iconv-test.out): Likewise.
9675 ($(objpfx)tst-tables.out): Likewise.
9676 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9677 ($(objpfx)tst-gettext.out): Likewise.
9678 ($(objpfx)tst-translit.out): Likewise.
9679 ($(objpfx)tst-gettext2.out): Likewise.
9680 ($(objpfx)tst-gettext4.out): Likewise.
9681 ($(objpfx)tst-gettext6.out): Likewise.
9682 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9683 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9684 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9685 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9686 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9687 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9688 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9689 ($(objpfx)wordexp-tst.out): Likewise.
9690 ($(objpfx)annexc.out): Likewise.
9691 ($(objpfx)tst-fnmatch-mem): Likewise.
9692 ($(objpfx)bug-regex2-mem): Likewise.
9693 ($(objpfx)bug-regex14-mem): Likewise.
9694 ($(objpfx)bug-regex21-mem): Likewise.
9695 ($(objpfx)bug-regex31-mem): Likewise.
9696 ($(objpfx)tst-vfork3-mem): Likewise.
9697 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9698 ($(objpfx)tst-pcre-mem): Likewise.
9699 ($(objpfx)tst-boost-mem): Likewise.
9700 ($(objpfx)tst-getconf.out): Likewise.
9701 ($(objpfx)bug-ga2-mem): Likewise.
9702 ($(objpfx)bug-glob2-mem): Likewise.
9703 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9704 ($(objpfx)mtrace-tst-leaks2): Likewise.
9705 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9706 ($(objpfx)tst-printf.out): Likewise.
9707 ($(objpfx)tst-setvbuf1.out): Likewise.
9708 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9709 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9710 ($(objpfx)tst-fmtmsg.out): Likewise.
9711 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9712 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9714 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9715 * bits/sigaction.h [__USE_MISC]: Likewise.
9716 * bits/waitstatus.h: Update #endif comments.
9717 * ctype/ctype.h: Likewise.
9718 * dirent/dirent.h: Likewise.
9719 [__USE_MISC]: Remove redundant conditionals.
9720 * grp/grp.h: Update #endif comments.
9721 [__USE_GNU]: Remove redundant conditionals.
9722 [__USE_MISC]: Likewise.
9723 * inet/netinet/in.h [__USE_GNU]: Likewise.
9724 * io/sys/stat.h [__USE_MISC]: Likewise.
9725 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9726 * libio/bits/stdio.h: Update #endif comments.
9727 [__USE_MISC]: Remove redundant conditionals.
9728 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9729 * libio/stdio.h: Update #endif comments.
9730 [__USE_MISC]: Remove redundant conditionals.
9731 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9732 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9733 * math/math.h: Update #else and #endif comments.
9734 [__USE_MISC]: Remove redundant conditionals.
9735 * misc/sys/uio.h: Update #endif comments.
9736 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9737 * posix/glob.h [__USE_MISC]: Likewise.
9738 * posix/sys/types.h: Update #endif comments.
9739 [__USE_MISC]: Remove redundant conditionals.
9740 * posix/sys/wait.h: Update #endif comments.
9741 [__USE_MISC]: Remove redundant conditionals.
9742 * posix/unistd.h: Update #endif comments.
9743 [__USE_MISC]: Remove redundant conditionals.
9744 * pwd/pwd.h [__USE_GNU]: Likewise.
9745 [__USE_MISC]: Likewise.
9746 * resolv/netdb.h [__USE_GNU]: Likewise.
9747 * signal/signal.h: Update #endif comments.
9748 [__USE_MISC]: Remove redundant conditionals.
9749 * stdlib/stdlib.h: Update #else and #endif comments.
9750 [__USE_MISC]: Remove redundant conditionals.
9751 [__USE_GNU]: Likewise.
9752 * string/bits/string2.h [__USE_MISC]: Likewise.
9753 * string/string.h: Update #endif comments.
9754 [__USE_MISC]: Remove redundant conditionals.
9755 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9757 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9758 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9759 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9761 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9763 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9765 [__USE_MISC]: Remove redundant conditionals.
9766 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9767 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9768 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9769 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9770 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9772 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9773 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9775 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9776 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9778 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9780 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9781 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9783 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9785 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9786 * sysdeps/x86/bits/string.h: Update #endif comments.
9787 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9789 * time/sys/time.h: Update #endif comments.
9790 * time/time.h: Likewise.
9791 [__USE_MISC]: Remove redundant conditionals.
9793 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9796 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9798 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9800 * Versions.def (librt): Add GLIBC_2.17.
9802 2014-02-21 Adam Conrad <adconrad@0c3.net>
9804 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9805 synonym for _SYS_AUXV_H to allow direct inclusion.
9806 * sysdeps/sparc/bits/hwcap.h: Likewise.
9807 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9808 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9809 * sysdeps/sparc/sysdep.h: Likewise.
9811 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9813 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9815 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9817 * benchtests/bench-strrchr.c: Print length instead of position.
9819 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9822 * sysdeps/unix/sysv/linux/kernel-features.h
9823 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9824 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9825 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9826 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9828 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9829 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9830 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9831 (__ASSUME_SENDMMSG): Define instead of using previous
9832 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9833 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9834 (__ASSUME_SENDMMSG_SYSCALL): Define.
9835 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9836 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9838 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9839 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9841 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9842 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9844 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9845 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9846 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9847 [__ASSUME_SENDMMSG]: Change conditionals to
9848 [__ASSUME_SENDMMSG_SOCKETCALL].
9849 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9850 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9852 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9853 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9855 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9856 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9857 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9858 [!__ASSUME_SENDMMSG]: Change conditional to
9859 [!__ASSUME_SENDMMSG_SOCKETCALL].
9860 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9861 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9865 * sysdeps/unix/sysv/linux/kernel-features.h
9866 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9867 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9868 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9869 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9870 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9871 [__i386__ || __sparc__]
9872 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9873 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9874 (__ASSUME_RECVMMSG): Define instead of using previous
9875 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9876 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9877 (__ASSUME_RECVMMSG_SYSCALL): Define.
9878 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9879 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9881 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9882 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9884 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9885 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9887 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9888 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9889 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9890 [__ASSUME_RECVMMSG]: Change condition to
9891 [__ASSUME_RECVMMSG_SOCKETCALL].
9892 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9893 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9895 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9896 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9897 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9899 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9900 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9901 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9902 [!__ASSUME_RECVMMSG]: Change condition to
9903 [!__ASSUME_RECVMMSG_SOCKETCALL].
9904 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9905 (__ASSUME_RECVMMSG_SYSCALL): Define.
9908 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9909 __powerpc__ || __s390__ || __sh__ || __sparc__]
9910 (__ASSUME_SOCKETCALL): Define.
9911 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9912 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9913 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9914 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9915 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9916 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9917 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9918 (__ASSUME_ACCEPT4): Define instead of using previous
9919 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9920 __powerpc__ || __sparc__ || __s390__)] condition.
9921 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9922 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9923 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9924 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9925 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9926 [!__ASSUME_ACCEPT4]: Change condition to
9927 [!__ASSUME_ACCEPT4_SOCKETCALL].
9928 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9929 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9930 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9931 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9932 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9933 __ASSUME_ACCEPT4_SYSCALL.
9934 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9935 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9936 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9937 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9938 __ASSUME_ACCEPT4_SYSCALL.
9939 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9940 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9941 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9942 [__ASSUME_ACCEPT4]: Change condition to
9943 [__ASSUME_ACCEPT4_SOCKETCALL].
9944 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9945 (__ASSUME_SOCKETCALL): Define.
9946 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9947 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9948 (__ASSUME_SOCKETCALL): Define.
9949 (__ASSUME_ACCEPT4): Remove.
9950 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9952 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9953 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9955 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9956 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9958 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9960 (HWCAP_ARM_LPAE): Likewise.
9961 (HWCAP_ARM_EVTSTRM): Likewise.
9962 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9963 Add vpfd32, lpae and evtstrm.
9964 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9967 2014-02-19 Joseph Myers <joseph@codesourcery.com>
9969 * math/auto-libm-test-in: Add tests of clog10.
9970 * math/auto-libm-test-out: Regenerated.
9971 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9972 * sysdeps/i386/fpu/libm-test-ulps: Update.
9973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9975 2014-02-18 Andreas Schwab <schwab@suse.de>
9978 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9979 Store non-zero if the second buffer was newly allocated.
9980 (send_dg): Likewise.
9981 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9982 to send_vc and send_dg.
9983 (res_nsend): Pass NULL for ansp2_malloced.
9984 * resolv/res_query.c (__libc_res_nquery): Add parameter
9985 answerp2_malloced and pass it down to __libc_res_nsend.
9986 (res_nquery): Pass additional NULL to __libc_res_nquery.
9987 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9988 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9989 second answer buffer if answerp2_malloced was set.
9990 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9991 (__libc_res_nquerydomain): Add parameter
9992 answerp2_malloced and pass it down to __libc_res_nquery.
9993 (res_nquerydomain): Pass additional NULL to
9994 __libc_res_nquerydomain.
9995 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9996 additional NULL to __libc_res_nsend and __libc_res_nquery.
9997 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9998 additional NULL to __libc_res_nsearch.
9999 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10000 parameter of __libc_res_nsearch to check for separately allocated
10002 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10004 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10005 additional NULL to __libc_res_nquery.
10006 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10007 __libc_res_nsearch.
10008 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10009 * include/resolv.h: Update prototypes of __libc_res_nquery,
10010 __libc_res_nsearch, __libc_res_nsend.
10012 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10014 * math/auto-libm-test-in: Add tests of fma.
10015 * math/auto-libm-test-out: Regenerated.
10016 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10017 (fma_towardzero_test_data): Likewise.
10018 (fma_downward_test_data): Likewise.
10019 (fma_upward_test_data): Likewise.
10020 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10022 (rounding_modes): Add values for new field.
10023 (func_calc_method): Add value mpfr_fff_f.
10024 (func_calc_desc): Add mpfr_fff_f union field.
10025 (test_function): Add field exact_args.
10026 (FUNC): Add macro argument EXACT_ARGS.
10027 (FUNC_mpfr_f_f): Update call to FUNC.
10028 (FUNC_mpfr_f_f): Likewise.
10029 (FUNC_mpfr_ff_f): Likewise.
10030 (FUNC_mpfr_if_f): Likewise.
10031 (FUNC_mpc_c_f): Likewise.
10032 (FUNC_mpc_c_c): Likewise.
10033 (test_functions): Add fma. Update calls to FUNC.
10034 (handle_input_arg): Add argument exact_args.
10035 (add_test): Update call to handle_input_arg.
10036 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10037 (output_for_one_input_case): Update call to calc_generic_results.
10038 Recalculate exact zero results in each rounding mode.
10040 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10041 non-negative before setting low bit.
10042 * math/auto-libm-test-in: Mark one asin test possibly having
10043 spurious underflow.
10044 * math/auto-libm-test-out: Regenerated.
10045 * sysdeps/i386/fpu/libm-test-ulps: Update.
10046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10048 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10050 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10051 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10052 ports/sysdeps/unix/sysv/linux/microblaze.
10053 * README: Add missing listing for microblaze*-*-linux-gnu.
10055 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
10057 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10060 2014-02-16 Mike Frysinger <vapier@gentoo.org>
10062 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10063 * sysdeps/unix/sysv/linux/ia64: Move directory from
10064 ports/sysdeps/unix/sysv/linux/ia64.
10065 * README: Update listing for ia64-*-linux-gnu.
10067 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10068 Joseph Myers <joseph@codesourcery.com>
10070 * Makeconfig (test-name): New variable.
10071 (evaluate-test): Likewise.
10072 * Makerules (do-test-clean): Remove .test-result files.
10073 (common-mostlyclean): Likewise.
10074 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10075 * scripts/evaluate-test.sh: New file.
10077 2014-02-14 Joseph Myers <joseph@codesourcery.com>
10079 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10080 separate $(objpfx)tst-fopenloc-cmp.out and
10081 $(objpfx)tst-fopenloc-mem.out targets.
10082 (tests): Update dependencies.
10083 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10084 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10085 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10086 (tst-rxspencer-no-utf8-ARGS): New variable.
10087 (tst-rxspencer-no-utf8-ENV): Likewise.
10088 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10089 instead of $(objpfx)tst-rxspencer-mem.
10090 ($(objpfx)tst-rxspencer-mem): Change target to
10091 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10092 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10093 * posix/tst-rxspencer-no-utf8.c: New file.
10095 * elf/Makefile ($(objpfx)order.out): Remove rule.
10096 [$(run-built-tests) = yes] (tests): Depend on
10097 $(objpfx)order-cmp.out.
10098 ($(objpfx)order-cmp.out): New rule.
10099 [$(run-built-tests) = yes] (tests): Depend on
10100 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10101 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10102 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10103 $(objpfx)tst-array5-static-cmp.out.
10104 ($(objpfx)tst-array1.out): Remove rule.
10105 ($(objpfx)tst-array1-cmp.out): New rule.
10106 ($(objpfx)tst-array1-static.out): Remove rule.
10107 ($(objpfx)tst-array1-static-cmp.out): New rule.
10108 ($(objpfx)tst-array2.out): Remove rule.
10109 ($(objpfx)tst-array2-cmp.out): New rule.
10110 ($(objpfx)tst-array3.out): Remove rule.
10111 ($(objpfx)tst-array3-cmp.out): New rule.
10112 ($(objpfx)tst-array4.out): Remove rule.
10113 ($(objpfx)tst-array4-cmp.out): New rule.
10114 ($(objpfx)tst-array5.out): Remove rule.
10115 ($(objpfx)tst-array5-cmp.out): New rule.
10116 ($(objpfx)tst-array5-static.out): Remove rule.
10117 ($(objpfx)tst-array5-static-cmp.out): New rule.
10118 [$(run-built-tests) = yes] (tests): Depend on
10119 $(objpfx)order2-cmp.out.
10120 ($(objpfx)order2.out): Remove rule.
10121 ($(objpfx)order2-cmp.out): New rule.
10122 ($(objpfx)tst-initorder.out): Remove rule.
10123 [$(run-built-tests) = yes] (tests): Depend on
10124 $(objpfx)tst-initorder-cmp.out.
10125 ($(objpfx)tst-initorder-cmp.out): New rule.
10126 ($(objpfx)tst-initorder2.out): Remove rule.
10127 [$(run-built-tests) = yes] (tests): Depend on
10128 $(objpfx)tst-initorder2-cmp.out.
10129 ($(objpfx)tst-initorder2-cmp.out): New rule.
10130 [$(run-built-tests) = yes] (tests): Depend on
10131 $(objpfx)tst-unused-dep-cmp.out.
10132 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10133 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10134 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10135 on $(objpfx)tst-setvbuf1-cmp.out.
10136 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10137 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10138 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10139 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10140 ($(objpfx)tst-svc.out): Remove rule.
10141 ($(objpfx)tst-svc-cmp.out): New rule.
10143 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10145 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10146 * ctype/ctype.h [__USE_MISC]: Likewise.
10147 * dirent/dirent.h [__USE_MISC]: Likewise.
10148 * grp/grp.h [__USE_MISC]: Likewise.
10149 * io/fcntl.h [__USE_MISC]: Likewise.
10150 * io/sys/stat.h [__USE_MISC]: Likewise.
10151 * libio/stdio.h [__USE_MISC]: Likewise.
10152 * posix/unistd.h [__USE_MISC]: Likewise.
10153 * pwd/pwd.h [__USE_MISC]: Likewise.
10154 * stdlib.h [__USE_MISC]: Likewise.
10155 * string/bits/string2.h [__USE_MISC]: Likewise.
10156 * string/string.h [__USE_MISC]: Likewise.
10157 * time/time.h [__USE_MISC]: Likewise.
10159 2014-02-13 Andreas Schwab <schwab@suse.de>
10162 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10163 second answer buffer if it was separately allocated.
10165 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10167 * sysdeps/mips/math-tests.h: Include <features.h>.
10168 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10169 (ROUNDING_TESTS_long_double): Do not define.
10170 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10171 (EXCEPTION_TESTS_long_double): Likewise.
10172 * sysdeps/mips/mips64/libm-test-ulps: Update.
10174 * include/features.h (__USE_BSD): Remove macro definitions.
10175 (__USE_SVID): Likewise.
10176 (_BSD_SOURCE): Likewise.
10177 (_SVID_SOURCE): Likewise.
10178 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10179 from definition of _DEFAULT_SOURCE.
10180 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10182 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10183 * bits/mman.h [__USE_BSD]: Likewise.
10184 * bits/termios.h [__USE_BSD]: Likewise.
10185 * bits/waitstatus.h [__USE_BSD]: Likewise.
10186 * ctype/ctype.h [__USE_SVID]: Likewise.
10187 * dirent/dirent.h [__USE_BSD]: Likewise.
10188 * grp/grp.h [__USE_SVID]: Likewise.
10189 [__USE_BSD]: Likewise.
10190 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10191 * io/fcntl.h [__USE_BSD]: Likewise.
10192 * io/ftw.h [__USE_BSD]: Likewise.
10193 * io/sys/stat.h [__USE_BSD]: Likewise.
10194 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10195 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10196 * libio/stdio.h [__USE_SVID]: Likewise.
10197 [__USE_BSD]: Likewise.
10198 * math/math.h [__USE_SVID]: Likewise.
10199 [__USE_BSD]: Likewise.
10200 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10201 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10202 * misc/search.h [__USE_SVID]: Likewise.
10203 * misc/sys/mman.h [__USE_BSD]: Likewise.
10204 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10205 * misc/sys/uio.h [__USE_BSD]: Likewise.
10206 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10207 * posix/glob.h [__USE_BSD]: Likewise.
10208 * posix/regex.h [__USE_BSD]: Likewise.
10209 * posix/sys/types.h [__USE_BSD]: Likewise.
10210 [__USE_SVID]: Likewise.
10211 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10212 * posix/sys/wait.h [__USE_BSD]: Likewise.
10213 [__USE_SVID]: Likewise.
10214 * posix/unistd.h [__USE_BSD]: Likewise.
10215 [__USE_SVID]: Likewise.
10216 * pwd/pwd.h [__USE_SVID]: Likewise.
10217 * resolv/netdb.h [__USE_BSD]: Likewise.
10218 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10219 * signal/signal.h [__USE_BSD]: Likewise.
10220 [__USE_SVID]: Likewise.
10221 * socket/sys/socket.h [__USE_BSD]: Likewise.
10222 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10223 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10224 [__USE_SVID]: Likewise.
10225 * string/bits/string2.h [__USE_BSD]: Likewise.
10226 [__USE_SVID]: Likewise.
10227 * string/bits/string3.h [__USE_BSD]: Likewise.
10228 * string/endian.h [__USE_BSD]: Likewise.
10229 * string/string.h [__USE_SVID]: Likewise.
10230 [__USE_BSD]: Likewise.
10231 * string/strings.h [__USE_BSD]: Likewise.
10232 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10233 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10234 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10235 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10236 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10237 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10239 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10241 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10242 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10244 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10245 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10247 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10249 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10250 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10251 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10253 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10255 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10256 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10257 * termios/termios.h [__USE_BSD]: Likewise.
10258 * time/sys/time.h [__USE_BSD]: Likewise.
10259 * time/time.h [__USE_BSD]: Likewise.
10260 [__USE_SVID]: Likewise.
10262 * Makefile (subdir_targets): Remove subdir_lint.out.
10264 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10265 (do-tst-printf): Likewise.
10266 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10267 $(objpfx)tst-printf.out.
10269 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10271 * Makerules (check-abi-%): Change target to
10272 $(objpfx)check-abi-%.out.
10273 (check-abi target): Update dependencies.
10274 (check-abi-pattern variable): Redirect output of diff to $@.
10275 (check-abi variable): Likewise.
10276 * elf/Makefile (check-abi): Update dependencies.
10278 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10280 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10281 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10283 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10284 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10285 value has largest subnormal exponent.
10286 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10287 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10288 * sysdeps/aarch64/soft-fp/sfp-machine.h
10289 (_FP_TININESS_AFTER_ROUNDING): New macro.
10290 * sysdeps/alpha/soft-fp/sfp-machine.h
10291 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10292 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10294 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10295 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10296 * sysdeps/mips/soft-fp/sfp-machine.h
10297 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10298 * sysdeps/powerpc/soft-fp/sfp-machine.h
10299 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10300 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10302 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10303 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10304 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10305 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10306 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10309 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10312 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10315 2014-02-12 Richard Henderson <rth@redhat.com>
10317 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10318 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10319 * sysdeps/unix/sysv/linux/alpha: Move directory from
10320 ports/sysdeps/unix/sysv/linux/alpha.
10321 * README: Update listing for alpha-*-linux-gnu.
10323 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10325 * include/features.h: Update comment documenting feature test
10327 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10329 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10330 (_SVID_SOURCE): Likewise.
10331 (_DEFAULT_SOURCE): Update description of default features.
10332 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10334 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10335 (S_ISVTX): Likewise.
10336 * manual/math.texi (Mathematical Constants): Likewise.
10337 * manual/signal.texi (Interrupted Primitives): Likewise.
10338 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10339 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10340 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10341 Don't refer to _SVID_SOURCE in warning text.
10343 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10345 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10347 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10348 * sysdeps/mips/dl-lookup.c: Remove.
10349 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10351 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10354 * math/auto-libm-test-in: Add testcase for expl.
10355 * math/auto-libm-test-out: Regenerate.
10356 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10357 calculation of unsafe.
10358 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10360 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10362 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10363 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10364 ports/sysdeps/unix/sysv/linux/aarch64.
10365 * README: Update listing for aarch64*-*-linux-gnu.
10367 2014-02-11 Will Newton <will.newton@linaro.org>
10369 * manual/probes.texi (Mathematical Function Probes): Use
10370 "triggered" instead of "hit".
10372 * manual/probes.texi (Internal Probes): Add documentation
10373 of setjmp, longjmp and longjmp_target probes.
10375 * include/stap-probe.h: Add comment about probe argument
10378 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10379 definition. (tr_where, tr_freehook, tr_mallochook,
10380 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10382 2014-02-11 David S. Miller <davem@davemloft.net>
10384 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10385 processing int_tests.
10387 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10389 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10390 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10391 * sysdeps/unix/sysv/linux/mips: Move directory from
10392 ports/sysdeps/unix/sysv/linux/mips.
10393 * README: Update listing for mips-*-linux-gnu and
10394 mips64-*-linux-gnu.
10396 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10398 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10399 * sysdeps/unix/sysv/linux/m68k: Move directory from
10400 ports/sysdeps/unix/sysv/linux/m68k.
10401 * README: Update listing for m68k-*-linux-gnu.
10403 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10405 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10406 * sysdeps/unix/sysv/linux/generic: Move directory from
10407 ports/sysdeps/unix/sysv/linux/generic.
10408 * sysdeps/unix/sysv/linux/tile: Move directory from
10409 ports/sysdeps/unix/sysv/linux/tile.
10410 * README: Update listing for tile*-*-linux-gnu.
10412 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10414 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10416 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10417 * catgets/open_catalog.c (__open_catalog): Likewise.
10418 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10419 * debug/confstr_chk.c: Likewise.
10420 * debug/fread_chk.c (__fread_chk): Likewise.
10421 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10422 * debug/getgroups_chk.c: Likewise.
10423 * debug/mbsnrtowcs_chk.c: Likewise.
10424 * debug/mbsrtowcs_chk.c: Likewise.
10425 * debug/mbstowcs_chk.c: Likewise.
10426 * debug/memcpy_chk.c: Likewise.
10427 * debug/memmove_chk.c: Likewise.
10428 * debug/mempcpy_chk.c: Likewise.
10429 * debug/memset_chk.c: Likewise.
10430 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10431 * debug/strcat_chk.c (__strcat_chk): Likewise.
10432 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10433 * debug/strncat_chk.c (__strncat_chk): Likewise.
10434 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10435 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10436 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10437 * debug/wcpncpy_chk.c: Likewise.
10438 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10439 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10440 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10441 * debug/wcsncpy_chk.c: Likewise.
10442 * debug/wcsnrtombs_chk.c: Likewise.
10443 * debug/wcsrtombs_chk.c: Likewise.
10444 * debug/wcstombs_chk.c: Likewise.
10445 * debug/wmemcpy_chk.c: Likewise.
10446 * debug/wmemmove_chk.c: Likewise.
10447 * debug/wmempcpy_chk.c: Likewise.
10448 * debug/wmemset_chk.c: Likewise.
10449 * dirent/scandirat.c (SCANDIRAT): Likewise.
10450 * dlfcn/dladdr1.c (dladdr1): Likewise.
10451 * dlfcn/dladdr.c (dladdr): Likewise.
10452 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10453 * dlfcn/dlerror.c (__dlerror): Likewise.
10454 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10455 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10456 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10457 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10458 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10459 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10460 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10461 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10463 * elf/dl-conflict.c: Likewise.
10464 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10465 * elf/dl-dst.h: Likewise.
10466 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10467 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10468 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10469 * elf/dl-init.c (call_init, _dl_init): Likewise.
10470 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10471 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10472 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10474 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10476 * elf/dl-minimal.c (__libc_memalign): Likewise.
10477 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10478 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10479 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10480 * elf/dl-sym.c (do_sym): Likewise.
10481 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10482 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10483 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10484 * elf/dl-writev.h (_dl_writev): Likewise.
10485 * elf/ldconfig.c (search_dir): Likewise.
10486 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10487 (dl_main): Likewise.
10488 * elf/setup-vdso.h (setup_vdso): Likewise.
10489 * grp/compat-initgroups.c (compat_call): Likewise.
10490 * grp/fgetgrent.c (fgetgrent): Likewise.
10491 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10492 * grp/putgrent.c (putgrent): Likewise.
10493 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10495 * hurd/hurdinit.c: Likewise.
10496 * iconvdata/8bit-gap.c (struct): Likewise.
10497 * iconvdata/ansi_x3.110.c : Likewise.
10498 * iconvdata/big5.c : Likewise.
10499 * iconvdata/big5hkscs.c : Likewise.
10500 * iconvdata/cp1255.c: Likewise.
10501 * iconvdata/cp1258.c : Likewise.
10502 * iconvdata/cp932.c : Likewise.
10503 * iconvdata/euc-cn.c: Likewise.
10504 * iconvdata/euc-jisx0213.c : Likewise.
10505 * iconvdata/euc-jp.c: Likewise.
10506 * iconvdata/euc-jp-ms.c : Likewise.
10507 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10508 * iconvdata/gb18030.c : Likewise.
10509 * iconvdata/gbbig5.c (const): Likewise.
10510 * iconvdata/gbgbk.c: Likewise.
10511 * iconvdata/gbk.c : Likewise.
10512 * iconvdata/ibm1364.c : Likewise.
10513 * iconvdata/ibm930.c : Likewise.
10514 * iconvdata/ibm932.c: Likewise.
10515 * iconvdata/ibm933.c : Likewise.
10516 * iconvdata/ibm935.c : Likewise.
10517 * iconvdata/ibm937.c : Likewise.
10518 * iconvdata/ibm939.c : Likewise.
10519 * iconvdata/ibm943.c: Likewise.
10520 * iconvdata/iso_11548-1.c: Likewise.
10521 * iconvdata/iso-2022-cn.c : Likewise.
10522 * iconvdata/iso-2022-cn-ext.c : Likewise.
10523 * iconvdata/iso-2022-jp-3.c: Likewise.
10524 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10525 * iconvdata/iso-2022-kr.c : Likewise.
10526 * iconvdata/iso646.c (gconv_end): Likewise.
10527 * iconvdata/iso_6937-2.c : Likewise.
10528 * iconvdata/iso_6937.c : Likewise.
10529 * iconvdata/iso8859-1.c: Likewise.
10530 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10531 * iconvdata/shift_jisx0213.c : Likewise.
10532 * iconvdata/sjis.c : Likewise.
10533 * iconvdata/t.61.c : Likewise.
10534 * iconvdata/tcvn5712-1.c : Likewise.
10535 * iconvdata/tscii.c: Likewise.
10536 * iconvdata/uhc.c : Likewise.
10537 * iconvdata/unicode.c (gconv_end): Likewise.
10538 * iconvdata/utf-16.c (gconv_end): Likewise.
10539 * iconvdata/utf-32.c (gconv_end): Likewise.
10540 * iconvdata/utf-7.c (base64): Likewise.
10541 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10542 * iconv/gconv_close.c (__gconv_close): Likewise.
10543 * iconv/gconv_open.c (__gconv_open): Likewise.
10544 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10545 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10546 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10547 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10548 (ucs4le_internal_loop_single): Likewise.
10549 * iconv/iconv.c (iconv): Likewise.
10550 * iconv/iconv_close.c: Likewise.
10551 * iconv/loop.c (SINGLE): Likewise.
10552 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10553 * include/atomic.h: Likewise.
10554 * inet/inet6_option.c (option_alloc): Likewise.
10555 * intl/bindtextdom.c (set_binding_values): Likewise.
10556 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10557 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10558 * intl/localealias.c (read_alias_file): Likewise.
10559 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10560 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10561 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10562 * libio/fmemopen.c (fmemopen): Likewise.
10563 * libio/iofgets.c (_IO_fgets): Likewise.
10564 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10565 * libio/iofgetws.c (fgetws): Likewise.
10566 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10567 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10568 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10569 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10570 * locale/findlocale.c (_nl_find_locale): Likewise.
10571 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10572 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10574 * locale/setlocale.c (setlocale): Likewise.
10575 * login/programs/pt_chown.c (main): Likewise.
10576 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10577 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10578 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10579 (mmap, mmap64, mremap, munmap): Likewise.
10580 * math/e_exp2l.c: Likewise.
10581 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10582 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10583 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10584 * math/s_catan.c (__catan): Likewise.
10585 * math/s_catanf.c (__catanf): Likewise.
10586 * math/s_catanh.c (__catanh): Likewise.
10587 * math/s_catanhf.c (__catanhf): Likewise.
10588 * math/s_catanhl.c (__catanhl): Likewise.
10589 * math/s_catanl.c (__catanl): Likewise.
10590 * math/s_ccosh.c (__ccosh): Likewise.
10591 * math/s_ccoshf.c (__ccoshf): Likewise.
10592 * math/s_ccoshl.c (__ccoshl): Likewise.
10593 * math/s_cexp.c (__cexp): Likewise.
10594 * math/s_cexpf.c (__cexpf): Likewise.
10595 * math/s_cexpl.c (__cexpl): Likewise.
10596 * math/s_clog10.c (__clog10): Likewise.
10597 * math/s_clog10f.c (__clog10f): Likewise.
10598 * math/s_clog10l.c (__clog10l): Likewise.
10599 * math/s_clog.c (__clog): Likewise.
10600 * math/s_clogf.c (__clogf): Likewise.
10601 * math/s_clogl.c (__clogl): Likewise.
10602 * math/s_csin.c (__csin): Likewise.
10603 * math/s_csinf.c (__csinf): Likewise.
10604 * math/s_csinh.c (__csinh): Likewise.
10605 * math/s_csinhf.c (__csinhf): Likewise.
10606 * math/s_csinhl.c (__csinhl): Likewise.
10607 * math/s_csinl.c (__csinl): Likewise.
10608 * math/s_csqrt.c (__csqrt): Likewise.
10609 * math/s_csqrtf.c (__csqrtf): Likewise.
10610 * math/s_csqrtl.c (__csqrtl): Likewise.
10611 * math/s_ctan.c (__ctan): Likewise.
10612 * math/s_ctanf.c (__ctanf): Likewise.
10613 * math/s_ctanh.c (__ctanh): Likewise.
10614 * math/s_ctanhf.c (__ctanhf): Likewise.
10615 * math/s_ctanhl.c (__ctanhl): Likewise.
10616 * math/s_ctanl.c (__ctanl): Likewise.
10617 * math/w_pow.c: Likewise.
10618 * math/w_powf.c: Likewise.
10619 * math/w_powl.c: Likewise.
10620 * math/w_scalb.c (sysv_scalb): Likewise.
10621 * math/w_scalbf.c (sysv_scalbf): Likewise.
10622 * math/w_scalbl.c (sysv_scalbl): Likewise.
10623 * misc/error.c (error_tail): Likewise.
10624 * misc/pselect.c (__pselect): Likewise.
10625 * nis/nis_callback.c (__nis_create_callback): Likewise.
10626 * nis/nis_call.c (__nisfind_server): Likewise.
10627 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10628 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10629 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10630 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10631 * nis/nis_lookup.c (nis_lookup): Likewise.
10632 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10633 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10634 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10635 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10636 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10637 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10638 * nis/nss_compat/compat-initgroups.c (add_group)
10639 (internal_getgrent_r): Likewise.
10640 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10641 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10642 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10643 (internal_getspnam_r): Likewise.
10644 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10645 (_nss_nis_getaliasbyname_r): Likewise.
10646 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10647 (_nss_nis_getntohost_r): Likewise.
10648 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10649 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10650 (_nss_nis_getgrgid_r): Likewise.
10651 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10652 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10653 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10654 (_nss_nis_gethostbyname4_r): Likewise.
10655 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10656 (initgroups_netid): Likewise.
10657 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10658 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10659 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10660 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10661 (_nss_nis_getprotobynumber_r): Likewise.
10662 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10663 (_nss_nis_getsecretkey): Likewise.
10664 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10665 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10666 (_nss_nis_getpwuid_r): Likewise.
10667 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10668 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10669 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10670 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10671 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10672 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10673 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10675 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10676 (_nss_nisplus_getntohost_r): Likewise.
10677 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10678 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10679 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10680 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10682 * nis/nss_nisplus/nisplus-initgroups.c
10683 (_nss_nisplus_initgroups_dyn): Likewise.
10684 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10685 (_nss_nisplus_getnetbyaddr_r): Likewise.
10686 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10687 (_nss_nisplus_getprotobynumber_r): Likewise.
10688 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10689 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10690 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10692 * nis/nss_nisplus/nisplus-service.c
10693 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10694 (_nss_nisplus_getservbyport_r): Likewise.
10695 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10696 (_nss_nisplus_getspnam_r): Likewise.
10697 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10699 * nscd/aicache.c (addhstaiX): Likewise.
10700 * nscd/cache.c (cache_search, prune_cache): Likewise.
10701 * nscd/connections.c (register_traced_file, send_ro_fd)
10702 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10703 (main_loop_epoll): Likewise.
10704 * nscd/grpcache.c (addgrbyX): Likewise.
10705 * nscd/hstcache.c (addhstbyX): Likewise.
10706 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10707 * nscd/mem.c (gc, mempool_alloc): Likewise.
10708 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10709 (addinnetgrX): Likewise.
10710 * nscd/nscd-client.h (__nscd_acquire_maplock)
10711 (__nscd_drop_map_ref): Likewise.
10712 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10713 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10714 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10716 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10717 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10718 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10719 (__nscd_get_map_ref): Likewise.
10720 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10721 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10723 * nscd/pwdcache.c (addpwbyX): Likewise.
10724 * nscd/selinux.c (preserve_capabilities): Likewise.
10725 * nscd/servicescache.c (addservbyX): Likewise.
10726 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10727 * posix/fnmatch.c (fnmatch): Likewise.
10728 * posix/getopt.c (_getopt_internal_r): Likewise.
10729 * posix/glob.c (glob, glob_in_dir): Likewise.
10730 * posix/wordexp.c (exec_comm_child): Likewise.
10731 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10732 (getanswer_r, gaih_getanswer_slice): Likewise.
10733 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10734 * resolv/res_init.c: Likewise.
10735 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10736 * resolv/res_query.c (__libc_res_nquery): Likewise.
10737 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10739 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10740 * stdio-common/perror.c (perror): Likewise.
10741 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10742 * stdio-common/tmpnam.c (tmpnam): Likewise.
10743 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10744 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10745 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10747 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10748 * stdlib/putenv.c (putenv): Likewise.
10749 * stdlib/setenv.c (__add_to_environ): Likewise.
10750 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10751 * stdlib/strtol_l.c (INTERNAL): Likewise.
10752 * string/memmem.c (memmem): Likewise.
10753 * string/strerror.c (strerror): Likewise.
10754 * string/strnlen.c (__strnlen): Likewise.
10755 * string/test-memmem.c (simple_memmem): Likewise.
10756 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10757 * sunrpc/pm_getport.c (__get_socket): Likewise.
10758 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10759 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10760 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10761 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10763 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10764 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10765 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10766 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10767 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10768 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10770 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10772 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10773 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10774 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10775 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10776 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10777 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10778 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10779 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10780 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10781 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10782 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10783 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10785 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10787 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10789 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10790 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10791 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10792 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10793 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10794 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10795 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10796 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10797 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10798 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10799 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10800 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10801 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10802 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10803 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10804 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10806 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10808 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10810 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10812 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10813 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10814 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10816 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10817 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10818 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10819 * sysdeps/posix/sleep.c: Likewise.
10820 * sysdeps/posix/tempname.c: Likewise.
10821 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10822 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10824 * sysdeps/powerpc/powerpc32/dl-machine.h
10825 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10826 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10827 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10828 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10829 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10831 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10832 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10833 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10834 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10835 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10836 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10837 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10838 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10839 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10840 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10841 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10842 (elf_machine_lazy_rel): Likewise.
10843 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10844 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10845 (elf_machine_lazy_rel): Likewise.
10846 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10847 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10848 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10849 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10850 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10851 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10852 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10853 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10855 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10856 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10857 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10858 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10859 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10860 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10861 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10862 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10863 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10864 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10865 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10867 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10868 (__posix_fallocate64_l64): Likewise.
10869 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10870 (posix_fallocate): Likewise.
10871 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10873 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10874 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10875 (getifaddrs_internal): Likewise.
10876 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10877 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10878 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10879 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10880 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10881 (__posix_fallocate64_l64): Likewise.
10882 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10884 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10885 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10886 (__get_clockfreq): Likewise.
10887 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10888 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10889 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10890 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10891 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10892 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10893 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10894 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10896 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10897 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10898 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10899 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10900 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10901 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10902 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10904 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10905 (posix_fallocate): Likewise.
10906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10907 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10908 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10909 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10910 (elf_machine_rela, elf_machine_rela_relative)
10911 (elf_machine_lazy_rel): Likewise.
10912 * time/asctime.c (asctime_internal): Likewise.
10913 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10914 * time/tzset.c (__tzset_parse_tz): Likewise.
10915 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10916 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10917 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10918 * wcsmbs/wcsmbsload.h: Likewise.
10921 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10923 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10924 (arena_get2): Remove THREAD_STATS conditionals.
10925 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10926 (__malloc_stats, int): Likewise.
10928 2014-02-08 Mike Frysinger <vapier@gentoo.org>
10930 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10931 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10933 * manual/setjmp.texi: Fix typos/grammar errors.
10935 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10936 Only return early when n is <= 0. Delete unused return statement.
10938 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10939 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10940 * debug/tst-longjmp_chk3.c: New file.
10942 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10943 (test_main): Replace code with set_fortify_handler call.
10944 * debug/test-strcpy_chk.c: Likewise.
10945 * debug/tst-chk1.c: Likewise.
10946 * debug/tst-longjmp_chk.c: Likewise.
10947 * test-skeleton.c: Include fcntl.h & paths.h
10948 (set_fortify_handler): Define.
10950 * debug/tst-longjmp_chk.c: Add header comment and include
10951 ../test-skeleton.c.
10952 (do_test): Mark static.
10953 (TEST_FUNCTION): Define.
10955 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10956 (IP_PMTUDISC_INTERFACE): Likewise.
10957 (IP_MULTICAST_IF): Likewise.
10958 (IP_MULTICAST_TTL): Likewise.
10959 (IP_MULTICAST_LOOP): Likewise.
10960 (IP_ADD_MEMBERSHIP): Likewise.
10961 (IP_DROP_MEMBERSHIP): Likewise.
10962 (IP_UNBLOCK_SOURCE): Likewise.
10963 (IP_BLOCK_SOURCE): Likewise.
10964 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10965 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10966 (IP_MSFILTER): Likewise.
10967 (MCAST_JOIN_GROUP): Likewise.
10968 (MCAST_BLOCK_SOURCE): Likewise.
10969 (MCAST_UNBLOCK_SOURCE): Likewise.
10970 (MCAST_LEAVE_GROUP): Likewise.
10971 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10972 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10973 (MCAST_MSFILTER): Likewise.
10974 (IP_MULTICAST_ALL): Likewise.
10975 (IP_UNICAST_IF): Likewise.
10977 * timezone/Makefile: Delete $(have-ksh) check.
10978 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10979 * timezone/tzselect.ksh: Add +x mode bits.
10981 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10982 (ANON_INODE_FS_MAGIC): Likewise.
10983 (BDEVFS_MAGIC): Likewise.
10984 (BINFMTFS_MAGIC): Likewise.
10985 (BTRFS_TEST_MAGIC): Likewise.
10986 (CRAMFS_MAGIC_WEND): Likewise.
10987 (DEBUGFS_MAGIC): Likewise.
10988 (ECRYPTFS_SUPER_MAGIC): Likewise.
10989 (EXT3_SUPER_MAGIC): Likewise.
10990 (EXT4_SUPER_MAGIC): Likewise.
10991 (FUTEXFS_SUPER_MAGIC): Likewise.
10992 (HOSTFS_SUPER_MAGIC): Likewise.
10993 (HUGETLBFS_MAGIC): Likewise.
10994 (MINIX3_SUPER_MAGIC): Likewise.
10995 (MTD_INODE_FS_MAGIC): Likewise.
10996 (NILFS_SUPER_MAGIC): Likewise.
10997 (OPENPROM_SUPER_MAGIC): Likewise.
10998 (PIPEFS_MAGIC): Likewise.
10999 (PSTOREFS_MAGIC): Likewise.
11000 (QNX6_SUPER_MAGIC): Likewise.
11001 (RAMFS_MAGIC): Likewise.
11002 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11003 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11004 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11005 (SECURITYFS_MAGIC): Likewise.
11006 (SELINUX_MAGIC): Likewise.
11007 (SMACK_MAGIC): Likewise.
11008 (SOCKFS_MAGIC): Likewise.
11009 (SQUASHFS_MAGIC): Likewise.
11010 (STACK_END_MAGIC): Likewise.
11011 (TMPFS_MAGIC): Likewise.
11012 (USBDEVICE_SUPER_MAGIC): Likewise.
11013 (V9FS_MAGIC): Likewise.
11014 (XENFS_SUPER_MAGIC): Likewise.
11015 (CRAMFS_MAGIC): Fix typo in comment.
11016 (EXT2_SUPER_MAGIC): Update comment.
11017 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11019 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11021 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11022 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11023 * sysdeps/unix/sysv/linux/arm: Move directory from
11024 ports/sysdeps/unix/sysv/linux/arm.
11025 * README: Update listing for arm-*-linux-gnueabi.
11027 * README: Remove mention of am33.
11029 2014-02-07 Roland McGrath <roland@hack.frob.com>
11031 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11032 than the comma operator, to avoid "rhs of comma has no effect"
11034 (__sigfillset, __sigandset, __sigorset): Likewise.
11035 * include/signal.h (__sigemptyset): Likewise.
11036 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11038 2014-02-07 Allan McRae <allan@archlinux.org>
11040 * version.h (RELEASE): Set to "development".
11041 (VERSION): Set to "2.19.90"
11042 * NEWS: Add 2.20 section.
11044 2014-02-06 Carlos O'Donell <carlos@redhat.com>
11047 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11049 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11051 * manual/contrib.texi: Update entry for Carlos O'Donell,
11052 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11054 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
11056 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11058 * sysdeps/unix/sysv/linux/kernel-features.h
11059 [__LINUX_KERNEL_VERSION >= 0x020621]
11060 (__ASSUME_PROC_PID_TASK_COMM): Define.
11062 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11065 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11066 conversion when destination buffer does not have enough space.
11067 * libio/tst-ftell-partial-wide.c: New test case.
11068 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11070 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11071 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11072 Leonard and Allan McRae.
11074 2014-02-04 David S. Miller <davem@davemloft.net>
11076 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11079 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11108 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11110 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11111 * shlib-versions: Likewise.
11113 2014-02-04 Roland McGrath <roland@hack.frob.com>
11114 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11116 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11117 (abilist-pattern): New variable, set to %-le.abilist.
11119 * Makerules (abilist-pattern): New variable.
11120 (vpath): Use $(abilist-pattern) in place of %.abilist.
11121 (check-abi-% pattern rule): Likewise.
11122 (check-abi, update-abi): Likewise.
11124 2014-02-04 Eric Wong <normalperson@yhbt.net>
11126 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11128 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11130 * manual/startup.texi: Add next, previous, and top entries for
11131 the `Program Arguments' and `Environment Variables' nodes.
11133 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11135 * manual/macros.texi: Add comments before MTASC-safety macros.
11137 * manual/users.texi: Document MTASC-safety properties.
11139 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11140 (pthread_getspecific, pthread_setspecific): Format with
11141 @deftypefun, and add @safety note.
11142 * manual/signal.texi: Move comments that analyze the above
11143 functions to their home place.
11145 2014-02-03 Allan McRae <allan@archlinux.org>
11147 * po/sl.po: Update Slovenian translation from translation project.
11149 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11151 * manual/time.texi (timegm): Add missing blank after @c.
11152 Reported by Joseph Myers <joseph@codesourcery.com>.
11154 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11156 * manual/check-safety.sh: New.
11157 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11159 * manual/terminal.texi: Document MTASC-safety properties.
11161 * manual/filesys.texi: Document MTASC-safety properties.
11163 * manual/errno.texi: Document MTASC-safety properties.
11165 * manual/intro.texi: Document safety identifiers and
11168 * manual/string.texi (wcstok): Fix prototype.
11169 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11171 * manual/time.texi: Document MTASC-safety properties.
11173 * manual/string.texi: Document MTASC-safety properties.
11175 * manual/threads.texi: Document MTASC-safety properties.
11177 * manual/stdio.texi: Document MTASC-safety properties.
11179 * manual/syslog.texi: Document MTASC-safety properties.
11181 * manual/sysinfo.texi: Document MTASC-safety properties.
11183 * manual/startup.texi: Document MTASC-safety properties.
11185 * manual/socket.texi: Document MTASC-safety properties.
11187 * manual/signal.texi: Document MTASC-safety properties.
11189 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11191 * manual/setjmp.texi: Document MTASC-safety properties.
11193 * manual/search.texi: Document MTASC-safety properties.
11195 * manual/resource.texi: Document MTASC-safety properties.
11197 * manual/process.texi: Document MTASC-safety properties.
11199 * manual/platform.texi: Document MTASC-safety properties.
11201 * manual/pipe.texi: Document MTASC-safety properties.
11203 * manual/pattern.texi: Document MTASC-safety properties.
11205 * manual/message.texi: Document MTASC-safety properties.
11208 * manual/memory.texi: Document MTASC-safety properties.
11210 * manual/math.texi: Document MTASC-safety properties.
11212 * manual/locale.texi: Document MTASC-safety properties.
11214 * manual/llio.texi: Document MTASC-safety properties.
11216 * manual/libdl.texi: New.
11218 * manual/lang.texi: Document MTASC-safety properties.
11220 * manual/job.texi: Document MTASC-safety properties.
11222 * manual/getopt.texi: Document MTASC-safety properties.
11224 * manual/ctype.texi: Document MTASC-safety properties.
11226 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11229 * csu/libc-tls.c (static_map): Remove variable.
11230 (__libc_setup_tls): Use main executable's link map for TLS data.
11231 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11232 casing for LM_ID_BASE and GL(dl_nns).
11233 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11234 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11235 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11236 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11237 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11239 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11242 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
11244 * manual/debug.texi: Document MTASC-safety properties.
11246 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11249 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11250 of __x86_64__ when disabling x87 inline functions.
11252 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
11254 * manual/charset.texi: Document MTASC-safety properties.
11256 * manual/crypt.texi: Document MTASC-safety properties.
11258 * manual/conf.texi: Document MTASC-safety properties.
11260 * manual/arith.texi: Document MTASC-safety properties.
11262 * manual/argp.texi: Document MTASC-safety properties.
11264 * manual/macros.texi: Introduce macros to document multi
11265 thread, asynchronous signal and asynchronous cancellation
11267 * manual/intro.texi: Introduce the properties themselves.
11269 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11271 * sysdeps/sh/sh4/Makefile: New file.
11273 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11275 * math/gen-libm-test.pl ($srcdir): New variable.
11276 ($auto_input): Use it.
11278 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11281 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11282 access beyond array bounds when parsing netgroups file.
11284 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11285 the old buffer before realloc.
11287 2014-01-27 Allan McRae <allan@archlinux.org>
11289 * po/fr.po: Update French translation from translation project.
11291 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11293 * sysdeps/sh/libm-test-ulps: Regenerate.
11295 2014-01-24 David S. Miller <davem@davemloft.net>
11297 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11299 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11301 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11302 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11304 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11307 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11308 string pointers after reallocation.
11310 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11312 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11313 __SH4A__ instead of __SH_FPU_ANY__.
11315 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11317 * sysdeps/sh/fpu_control.h: New file.
11318 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11319 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11320 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11321 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11322 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11323 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11324 * sysdeps/sh/sys/ucontext.h: Remove.
11325 * sysdeps/sh/sys: Remove directory.
11327 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11329 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11330 s390/sys/ucontext.h.
11331 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11332 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11334 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11337 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11339 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11342 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11343 Adjust the vDSO correctly for internal calls.
11344 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11346 2014-01-20 Allan McRae <allan@archlinux.org>
11348 * po/ca.po: Update Catalan translation from translation project.
11350 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11352 * sysdeps/s390/sotruss-lib.c: New file.
11354 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11357 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11358 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11359 local calls issues by not having a PLT stub required for IFUNC calls.
11360 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11362 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11364 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11365 * math/test-fpucw-static.c: Likewise.
11367 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11370 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11372 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11374 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11375 implementation for powerpc.
11377 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11380 * sysdeps/posix/system.c (__libc_system): Do not enable
11381 asynchronous cancellation.
11383 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11386 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11387 handling only for numbers special also in the IEEE case.
11389 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11391 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11393 2014-01-11 Allan McRae <allan@archlinux.org>
11395 * po/bg.po: Update Bulgarian translation from translation project.
11397 * po/de.po: Update German translation from translation project.
11399 2014-01-10 Roland McGrath <roland@hack.frob.com>
11401 * sysdeps/generic/gcc-compat.h: New file.
11403 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11405 * benchtests/asin-inputs: Correct slow inputs.
11406 * benchtests/acos-inputs: Likewise.
11408 2014-01-10 Allan McRae <allan@archlinux.org>
11410 * po:sv.po: Update Swedish translation from translation project.
11412 * po/vi.po: Update Vietnamese translation from translation project.
11414 * po/eo.po: Update Esperanto translation from translation project.
11416 * po/cs.po: Update Czech translation from translation project.
11418 * po/nl.po: Update Dutch translation from translation project.
11420 * po/pl.po: Update Polish translation from translation project.
11422 * po/ru.po: Update Russian translation from translation project.
11424 * po/uk.po: Update Ukrainian translation from translation project.
11426 2014-01-08 Brooks Moses <bmoses@google.com>
11428 * elf/dl-load.c: Fix comment typo.
11430 2014-01-08 Carlos O'Donell <carlos@redhat.com>
11432 * po/header.pot: Rename to...
11433 * po/pot.header: ... this.
11434 * po/Makefile: Use pot.header.
11436 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11437 Maxim Kuvyrkov <maxim@kugelworks.com>
11440 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11441 SRC and DEST against LEN.
11443 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11446 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11448 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11450 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11454 2014-01-08 Joseph Myers <joseph@codesourcery.com>
11457 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11458 for large positive arguments.
11460 2014-01-07 Joseph Myers <joseph@codesourcery.com>
11462 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11464 * math/auto-libm-test-in: Mark various tests with
11465 xfail-rounding:ldbl-128ibm.
11466 * math/auto-libm-test-out: Regenerated.
11469 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11470 Increase overflow threshold.
11472 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11475 * stdio-common/vfprintf.c: Check for integer overflow.
11477 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11479 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11480 the first argument and return value of __tls_get_addr_internal.
11482 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11484 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11485 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11487 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11489 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11490 * sysdeps/s390/rtld-global-offsets.sym: New file.
11491 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11493 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11494 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11495 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11497 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11498 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11504 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11505 halfs of GPRs for high_gprs contexts.
11506 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11507 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11509 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11511 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11513 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11514 for high GPRs (uc_high_gprs) and for future extensions
11516 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11517 for future extensions (__reserved).
11518 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11520 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11521 SC_HIGHGPRS offset definition.
11522 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11523 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11525 * Versions.def: Add GLIBC_2.19 for libpthread.
11526 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11527 siglongjmp for libpthread with GLIBC_2.19 symver.
11528 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11529 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11530 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11531 * sysdeps/s390/__longjmp.c: New file.
11532 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11533 * sysdeps/s390/longjmp.c: New file.
11534 * sysdeps/s390/setjmp.S: New file.
11535 * sysdeps/s390/sigjmp.S: New file.
11536 * sysdeps/s390/v1-longjmp.c: New file.
11537 * sysdeps/s390/v1-setjmp.h: New file.
11538 * sysdeps/s390/v1-sigjmp.c: New file.
11539 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11540 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11541 GLIBC_2.19 version.
11542 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11543 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11544 versioned symbols for ____longjmp_chk.
11545 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11555 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11556 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11557 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11558 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11559 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11560 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11561 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11562 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11563 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11564 * sysdeps/s390/rtld-__longjmp.c: New file.
11565 * sysdeps/s390/rtld-setjmp.S: New file.
11567 2014-01-06 Joseph Myers <joseph@codesourcery.com>
11570 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11571 Return -__logl (x) for small positive arguments without evaluating
11574 2014-01-06 Mike Frysinger <vapier@gentoo.org>
11576 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11578 (__ptrace_peeksiginfo_args): ... this.
11579 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11580 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11581 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11583 2014-01-06 Allan McRae <allan@archlinux.org>
11585 * inet/netinet/in.h: Fix typo in comment.
11587 2014-01-05 Andreas Jaeger <aj@suse.de>
11589 * sysdeps/i386/fpu/libm-test-ulps: Update.
11591 2014-01-05 Allan McRae <allan@archlinux.org>
11593 * po/libc.pot: Regenerated.
11595 * malloc/memusagestat.c: Fix gettext call formatting.
11597 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11599 * nscd/nscd.c: Improve usage() output.
11601 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11603 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11604 * sysdeps/unix/sysv/linux/configure: Regenerated.
11605 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11606 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11608 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11611 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11612 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11614 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11616 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11617 extra tokens at end of #undef directive.
11618 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11619 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11620 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11622 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11624 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11626 * math/auto-libm-test-in: Mark various tests with
11627 xfail-rounding:ldbl-128ibm.
11628 * math/auto-libm-test-out: Regenerated.
11630 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11633 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11634 numbers with subnormal high part when calculating exponent.
11637 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11641 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11643 (__ieee754_acoshl): Use __log1pl not __log1p.
11645 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11647 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11648 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11649 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11650 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11651 (reused_arena, arena_get2): Convert to GNU style.
11652 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11653 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11654 (memalign_check, __malloc_set_state): Likewise.
11655 * malloc/mallocbug.c (main): Likewise.
11656 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11657 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11658 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11659 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11660 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11661 (__posix_memalign, malloc_info): Likewise.
11662 * malloc/malloc.h: Likewise.
11663 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11664 (mallochook, memalignhook, reallochook, mabort): Likewise.
11665 * malloc/mcheck.h: Likewise.
11666 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11667 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11668 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11669 * malloc/morecore.c (__default_morecore): Likewise.
11670 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11671 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11672 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11673 (print_and_abort): Likewise.
11674 * malloc/obstack.h: Likewise.
11675 * malloc/set-freeres.c (__libc_freeres): Likewise.
11676 * malloc/tst-mallocstate.c (main): Likewise.
11677 * malloc/tst-mtrace.c (main): Likewise.
11678 * malloc/tst-realloc.c (do_test): Likewise.
11680 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11683 * nscd/netgroupcache.c (do_notfound): New function.
11684 (addgetnetgrentX): Use it.
11687 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11688 NSS_STATUS_NOTFOUND.
11690 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11692 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11695 2014-01-01 Allan McRae <allan@archlinux.org>
11697 * scripts/update-copyrights: Update configure input file suffix.
11699 * NEWS: Update copyright year.
11700 * catgets/gencat.c: Likewise.
11701 * csu/version.c: Likewise.
11702 * debug/catchsegv.sh: Likewise.
11703 * debug/pcprofiledump.c: Likewise.
11704 * debug/xtrace.sh: Likewise.
11705 * elf/ldconfig.c: Likewise.
11706 * elf/ldd.bash.in: Likewise.
11707 * elf/pldd.c: Likewise.
11708 * elf/sotruss.ksh: Likewise.
11709 * elf/sprof.c: Likewise.
11710 * iconv/iconv_prog.c: Likewise.
11711 * iconv/iconvconfig.c: Likewise.
11712 * locale/programs/locale.c: Likewise.
11713 * locale/programs/localedef.c: Likewise.
11714 * login/programs/pt_chown.c: Likewise.
11715 * malloc/memusage.sh: Likewise.
11716 * malloc/memusagestat.c: Likewise.
11717 * malloc/mtrace.pl: Likewise.
11718 * manual/libc.texinfo: Likewise.
11719 * nscd/nscd.c: Likewise.
11720 * nss/getent.c: Likewise.
11721 * nss/makedb.c: Likewise.
11722 * posix/getconf.c: Likewise.
11723 * scripts/test-installation.pl: Likewise.
11725 * All files with FSF copyright notices: Update copyright dates
11726 using scripts/update-copyrights.
11727 * intl/plural.c: Regenerated.
11728 * locale/programs/charmap-kw.h: Likewise.
11729 * locale/programs/locfile-kw.h: Likewise.
11731 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11733 * sysdeps/unix/sysv/linux/configure: Regenerated.
11734 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11735 the linux/fanotify.h header.
11736 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11737 HAVE_LINUX_FANOTIFY_H is defined.
11739 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11741 * benchtests/cos-inputs: New inputs.
11742 * benchtests/sin-inputs: Likewise.
11744 * benchtests/atan-inputs: New inputs. Fix name of multiple
11745 precision fallback inputs.
11747 * benchtests/atanh-inputs: New inputs.
11748 * benchtests/tanh-inputs: Likewise.
11750 * benchtests/acosh-inputs: New inputs.
11751 * benchtests/asinh-inputs: Likewise.
11753 * benchtests/cosh-inputs: New inputs.
11754 * benchtests/sinh-inputs: Likewise.
11756 * benchtests/acos-inputs: Add more inputs.
11757 * benchtests/asin-inputs: Likewise.
11759 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11762 * manual/arith.texi: Fix spelling.
11763 * manual/charset.texi: Likewise.
11764 * manual/errno.texi: Likewise.
11765 * manual/filesys.texi: Likewise.
11766 * manual/lang.texi: Likewise.
11767 * manual/llio.texi: Likewise.
11768 * manual/locale.texi: Likewise.
11769 * manual/message.texi: Likewise.
11770 * manual/resource.texi: Likewise.
11771 * manual/search.texi: Likewise.
11772 * manual/setjmp.texi: Likewise.
11773 * manual/stdio.texi: Likewise.
11774 * manual/string.texi: Likewise.
11775 * manual/sysinfo.texi: Likewise.
11776 * manual/time.texi: Likewise.
11778 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11780 * po/sl.po: New file.
11782 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11784 * .gitignore: Add core/.gdbinit/.gdb_history.
11786 2013-12-27 Allan McRae <allan@archlinux.org>
11789 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11790 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11792 2013-12-24 Brooks Moses <bmoses@google.com>
11794 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11795 all compilers that claim C++98 compliance, not just GCC.
11796 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11799 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11801 * NEWS: Restore accidentally deleted bug-fix entries.
11803 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11804 Ondřej Bílka <neleai@seznam.cz>
11807 * malloc/malloc.c (_int_free): Perform sanity check only if we
11810 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11813 * manual/stdio.texi (String Input Conversions): Clarify that character
11814 classes are not supported.
11816 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11820 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11823 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11824 Calculate results for small negative arguments directly rather
11825 than using reflection formula with special underflow handling.
11827 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11828 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11829 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11830 (fchflags): Likewise.
11831 (revoke): Likewise.
11832 (setlogin): Likewise.
11833 (sigaltstack): Likewise.
11835 (sigblock): Remove.
11836 (sigsetmask): Likewise.
11838 (waitpid): Likewise.
11839 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11840 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11842 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11843 * sysdeps/unix/bsd/Makefile: ... here.
11844 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11845 * sysdeps/unix/bsd/Versions: ... here.
11846 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11847 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11848 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11849 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11850 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11851 * sysdeps/unix/bsd/sigblock.c: ... here.
11852 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11853 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11854 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11855 * sysdeps/unix/bsd/sigvec.c: ... here.
11856 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11857 * sysdeps/unix/bsd/tcdrain.c: ... here.
11858 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11859 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11860 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11861 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11862 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11863 * sysdeps/unix/bsd/wait.c: ... here.
11864 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11865 * sysdeps/unix/bsd/wait3.c: ... here.
11866 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11867 * sysdeps/unix/bsd/waitpid.c: ... here.
11869 2013-12-21 Joseph Myers <joseph@codesourcery.com>
11872 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11873 round-to-nearest for [!USE_AS_EXPM1L].
11874 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11875 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11876 more tests of exp and exp10. Expect some exp10 tests to miss
11877 exceptions or fail in directed rounding modes.
11878 * math/auto-libm-test-out: Regenerated.
11879 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11880 (exp10_test_tonearest): New function.
11881 (exp10_towardzero_test_data): New array.
11882 (exp10_test_towardzero): New function.
11883 (exp10_downward_test_data): New array.
11884 (exp10_test_downward): New function.
11885 (exp10_upward_test_data): New array.
11886 (exp10_test_upward): New function.
11887 (main): Call the new functions.
11888 * sysdeps/i386/fpu/libm-test-ulps: Update.
11889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11891 2013-12-20 Joseph Myers <joseph@codesourcery.com>
11893 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11894 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11895 * math/auto-libm-test-out: Regenerated.
11896 * math/libm-test.inc (acosh_test_data): Add more tests.
11897 (atanh_test_data): Likewise.
11898 (ceil_test_data): Likewise.
11899 (copysign_test_data): Likewise.
11900 * sysdeps/i386/fpu/libm-test-ulps: Update.
11901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11903 * timezone/checktab.awk: Update from tzcode 2013i.
11904 * timezone/private.h: Likewise.
11905 * timezone/scheck.c: Likewise.
11906 * timezone/tzfile.h: Likewise.
11907 * timezone/tzselect.ksh: Likewise.
11908 * timezone/zdump.c: Likewise.
11909 * timezone/zic.c: Likewise.
11911 * math/auto-libm-test-in: Add tests of cpow.
11912 * math/auto-libm-test-out: Regenerated.
11913 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11914 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11916 (func_calc_desc): Add mpc_cc_c union field.
11917 (test_functions): Add cpow.
11918 (special_fill_2pi): New function.
11919 (special_real_inputs): Add 2pi.
11920 (calc_generic_results): Handle mpc_cc_c.
11921 * sysdeps/i386/fpu/libm-test-ulps: Update.
11922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11924 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11925 csqrt, ctan and ctanh.
11926 * math/auto-libm-test-out: Regenerated.
11927 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11928 (TEST_COND_x86): Likewise.
11929 (ccos_test_data): Use AUTO_TESTS_c_c.
11930 (ccosh_test_data): Likewise.
11931 (cexp_test_data): Likewise.
11932 (clog_test_data): Likewise.
11933 (csqrt_test_data): Likewise.
11934 (ctan_test_data): Likewise.
11935 (ctan_tonearest_test_data): Likewise.
11936 (ctan_towardzero_test_data): Likewise.
11937 (ctan_downward_test_data): Likewise.
11938 (ctan_upward_test_data): Likewise.
11939 (ctanh_test_data): Likewise.
11940 (ctanh_tonearest_test_data): Likewise.
11941 (ctanh_towardzero_test_data): Likewise.
11942 (ctanh_downward_test_data): Likewise.
11943 (ctanh_upward_test_data): Likewise.
11944 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11946 (func_calc_desc): Add mpc_c_c union field.
11947 (FUNC_mpc_c_c): New macro.
11948 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11949 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11951 (special_fill_min_subnorm_p120): New function.
11952 (special_real_inputs): Add min_subnorm_p120.
11953 (calc_generic_results): Handle mpc_c_c.
11954 * sysdeps/i386/fpu/libm-test-ulps: Update.
11955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11957 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11959 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11960 (do_sin_slow): New functions.
11961 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11962 (cslow2, csloww1, csloww2): Use the new functions.
11964 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11965 Use M to change sign of result instead of X. Assume X is
11967 (csloww1): Likewise.
11971 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11972 arguments A and DA.
11976 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11978 (sloww1): Don't adjust sign of DX.
11979 (csloww1): Likewise.
11980 (sloww2): Use X directly and don't adjust sign of DX.
11981 (csloww2): Likewise.
11983 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11985 * math/auto-libm-test-in: Add tests of cabs and carg.
11986 * math/auto-libm-test-out: Regenerated.
11987 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11988 (carg_test_data): Likewise.
11989 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11991 (func_calc_desc): Add mpc_c_f union field.
11992 (test_functions): Add cabs and carg.
11993 (calc_generic_results): Handle mpc_c_f.
11995 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11996 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11997 as a macro and a compat symbol.
11998 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11999 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12000 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12001 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12002 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12003 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12005 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12007 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12009 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12011 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12013 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12015 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12016 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12019 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12023 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12025 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12026 trailing whitespace removed.
12027 * scripts/config.guess: Update to version 2013-11-29.
12028 * scripts/config.sub: Update to version 2013-10-01.
12030 * math/auto-libm-test-in: Add tests of sincos.
12031 * math/auto-libm-test-out: Regenerated.
12032 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12033 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12035 (func_calc_desc): Add mpfr_f_11 union field.
12036 (test_functions): Add sincos.
12037 (calc_generic_results): Handle mpfr_f_11.
12038 * sysdeps/i386/fpu/libm-test-ulps: Update.
12039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12041 2013-12-19 Andreas Schwab <schwab@suse.de>
12043 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12045 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12046 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12047 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12049 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12051 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12052 * sysdeps/i386/fpu/libm-test-ulps: Update.
12053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12056 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12057 round-to-nearest mode when using frndint.
12058 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12059 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12060 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12062 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12064 * math/auto-libm-test-out: Regenerated.
12065 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12066 (TEST_COND_x86): Likewise.
12067 (expm1_tonearest_test_data): New array.
12068 (expm1_test_tonearest): New function.
12069 (expm1_towardzero_test_data): New array.
12070 (expm1_test_towardzero): New function.
12071 (expm1_downward_test_data): New array.
12072 (expm1_test_downward): New function.
12073 (expm1_upward_test_data): New array.
12074 (expm1_test_upward): New function.
12075 (main): Run the new test functions.
12076 * sysdeps/i386/fpu/libm-test-ulps: Update.
12077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12079 * include/features.h: Update comment documenting feature test
12080 macros. Mention _DEFAULT_SOURCE in comment.
12081 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12082 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12083 _BSD_SOURCE and _SVID_SOURCE.
12084 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12085 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12086 !_SVID_SOURCE]: Likewise.
12087 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12088 (__USE_POSIX_IMPLICITLY): Define.
12089 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12090 (_POSIX_SOURCE): Undefine and redefine.
12091 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12092 (_POSIX_C_SOURCE): Likewise.
12093 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12094 (Feature Test Macros): Update documentation of default features.
12096 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12098 * benchtests/Makefile: Add bench-strtok.
12099 * benchtests/bench-strtok.c: New file: strtok benchtest.
12101 2013-12-19 Allan McRae <allan@archlinux.org>
12103 * manual/install.texi: Suppress menu for plain text output.
12104 * INSTALL: Regenerated.
12106 2013-12-18 Brooks Moses <bmoses@google.com>
12109 * misc/getauxval.c: Include errno.h.
12110 (__getauxval): Set errno to ENOENT if the requested type is not
12112 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12113 don't declare with __attribute_const__.
12114 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12115 * manual/startup.texi: Document that getauxval sets errno.
12117 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12119 * math/auto-libm-test-in: Add tests of jn and yn.
12120 * math/auto-libm-test-out: Regenerated.
12121 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12122 (yn_test_data): Likewise.
12123 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12125 (func_calc_desc): Add mpfr_if_f union field.
12126 (FUNC_mpfr_if_f): New macro.
12127 (test_functions): Add jn and yn.
12128 (calc_generic_results): Assert type of second input for
12129 mpfr_ff_f. Handle mpfr_if_f.
12130 (output_for_one_input_case): Disable all checking for arguments
12131 fitting floating-point types in case of an integer argument.
12132 * sysdeps/i386/fpu/libm-test-ulps: Update.
12133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12136 Don't expect fegetround reference in libm.so.
12138 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12140 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12141 $(config-cflags-nofma).
12143 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12145 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12146 * math/auto-libm-test-out: Regenerated.
12149 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12150 to determine exponent and adjust argument to have exponent of -1.
12151 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12153 * math/auto-libm-test-out: Regenerated.
12154 * sysdeps/i386/fpu/libm-test-ulps: Update.
12155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12157 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12159 * manual/probes.texi: Remove cases when per-thread arenas are
12162 2013-12-18 Andreas Schwab <schwab@suse.de>
12164 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12165 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12166 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12167 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12168 * sysdeps/i386/i686/multiarch/Makefile: Update.
12169 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12171 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12173 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12174 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12176 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12179 Support TZ transition times < 00:00:00.
12180 This is needed for version-3 tz-format files; it supports time
12181 stamps past 2037 for America/Godthab (the only entry in the tz
12182 database for which this change is relevant).
12183 * manual/time.texi (TZ Variable): Document transition times
12184 from -167:59:59 through -00:00:01.
12185 * time/tzset.c (tz_rule): Time of day is now signed.
12186 (__tzset_parse_tz): Parse negative time of day.
12188 Document TZ transition times >= 25:00:00.
12189 * manual/time.texi (TZ Variable): Document transition times from
12190 25:00:00 through 167:59:59. These are already supported, and this
12191 support will help with version-3 tz-format files.
12193 * manual/time.texi (TZ Variable): Modernize North America example
12194 to reflect current (i.e., 2007-and-later) daylight saving rules.
12196 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12198 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12200 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12201 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12202 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12203 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12204 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12205 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12206 * sysdeps/unix/bsd/clock.c: Likewise.
12207 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12208 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12209 * sysdeps/unix/bsd/init-posix.c: Likewise.
12210 * sysdeps/unix/bsd/poll.c: Likewise.
12211 * sysdeps/unix/bsd/ptsname.c: Likewise.
12212 * sysdeps/unix/bsd/seekdir.c: Likewise.
12213 * sysdeps/unix/bsd/setegid.c: Likewise.
12214 * sysdeps/unix/bsd/seteuid.c: Likewise.
12215 * sysdeps/unix/bsd/setgid.c: Likewise.
12216 * sysdeps/unix/bsd/setrgid.c: Likewise.
12217 * sysdeps/unix/bsd/setruid.c: Likewise.
12218 * sysdeps/unix/bsd/setsid.c: Likewise.
12219 * sysdeps/unix/bsd/setuid.c: Likewise.
12220 * sysdeps/unix/bsd/sigaction.c: Likewise.
12221 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12222 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12223 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12224 * sysdeps/unix/bsd/telldir.c: Likewise.
12225 * sysdeps/unix/bsd/times.c: Likewise.
12226 * sysdeps/unix/bsd/usleep.c: Likewise.
12228 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12229 ($(objpfx)libbsd-compat.a): Remove rule.
12231 * include/features.h (__FAVOR_BSD): Do not define.
12232 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12233 features conflicting with POSIX.
12234 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12235 (_BSD_SOURCE): Remove description of not being a subset of other
12236 feature test macros.
12237 * manual/job.texi (getpgrp): Do not document BSD version.
12238 (getpgid): Do not document by reference to BSD getpgrp.
12239 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12240 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12241 * signal/signal.h [__FAVOR_BSD]: Likewise.
12242 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12243 instead of making contents conditional on [__FAVOR_BSD].
12244 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12246 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12250 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12253 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12254 values below 2**-450, not 2**-500.
12255 * math/auto-libm-test-in: Don't allow spurious underflow from
12257 * math/auto-libm-test-out: Regenerated.
12261 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12262 values of ha and hb and sort them after adjusting subnormal
12264 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12266 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12267 values of ea and eb and sort them after adjusting subnormal
12269 * math/auto-libm-test-in: Do not expect some hypot tests of
12270 subnormals to fail. Add more hypot tests.
12271 * math/auto-libm-test-out: Regenerated.
12273 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12276 * sysdeps/sh/s_fma.c: New file.
12277 * sysdeps/sh/s_fmaf.c: New file.
12278 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12280 * sysdeps/sh/Implies: Add sh/soft-fp.
12282 2013-12-16 Roland McGrath <roland@hack.frob.com>
12284 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12285 level of indirection to members `objname', `errstring', `malloced'.
12286 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12287 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12288 it as the __longjmp argument (just pass 1 instead).
12289 (_dl_catch_error): Initialize C with argument pointers and address of
12290 volatile local ERRCODE rather than copying values out of C at return.
12292 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12294 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12295 * math/auto-libm-test-out: Regenerated.
12296 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12297 (hypot_test_data): Likewise.
12298 (pow_test_data): Likewise.
12299 (pow_tonearest_test_data): Likewise.
12300 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12302 (func_calc_desc): Add mpfr_ff_f union field.
12303 (FUNC_mpfr_ff_f): New macro.
12304 (test_functions): Add atan2, hypot and pow.
12305 (special_fill_min): New function.
12306 (special_fill_minus_min): Likewise.
12307 (special_fill_min_subnorm): Likewise.
12308 (special_fill_minus_min_subnorm): Likewise.
12309 (special_real_inputs): Add min, -min, min_subnorm and
12311 (calc_generic_results): Handle mpfr_ff_f.
12312 * sysdeps/i386/fpu/libm-test-ulps: Update.
12313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12315 2013-12-16 Will Newton <will.newton@linaro.org>
12317 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12318 (Aligned Memory Blocks): Add documentation for aligned_alloc
12319 and suggest it as an alternative to posix_memalign.
12320 (Hooks for Malloc): Document __memalign_hook is also called
12321 for aligned_alloc. (Summary of Malloc): Add summary for
12322 aligned alloc. Document __memalign_hook is also called
12325 2013-12-16 Will Newton <will.newton@linaro.org>
12327 * manual/memory.texi (Malloc Examples): Clarify default
12328 alignment documentation. Suggest posix_memalign rather
12329 than memalign or valloc.
12330 (Aligned Memory Blocks): Remove suggestion to use memalign
12331 or valloc. Remove obsolete comment about BSD.
12332 Document memalign errno values and mark the function obsolete.
12333 Document posix_memalign returned error codes. Mark valloc
12334 as obsolete. (Hooks for Malloc): __memalign_hook is also
12335 called for posix_memalign and valloc.
12336 (Summary of Malloc): Add posix_memalign to function summary.
12337 __memalign_hook is also called for posix_memalign and valloc.
12339 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12341 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12345 (sloww): Use mynumber union. Expand ternary operator into
12346 if-else statements.
12347 (cslow): use mynumber union.
12349 2013-12-16 Allan McRae <allan@archlinux.org>
12351 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12352 * configure: Regenerated.
12354 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12357 * configure.ac: Added --enable-maintainer-mode. Check for
12358 autoconf when enabled.
12359 * configure: Regenerated.
12361 * nscd/nscd.service: New file.
12362 * nscd/nscd.tmpfiles: New file.
12364 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12367 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12368 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12369 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12370 (strstr): Add __strstr_sse2_unaligned ifunc.
12371 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12372 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12373 (strcasestr): Remove __strcasestr_sse42 ifunc.
12374 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12375 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12376 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12378 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12380 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12381 * sysdeps/sh/bits/fenv.h: ... here.
12382 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12384 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12386 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12388 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12389 hypotf multiarch implementations.
12390 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12391 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12392 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12393 multiarch hypot for PPC64.
12394 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12395 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12396 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12397 multiarch hypotf for PPC64.
12399 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12400 modff multiarch implementations.
12401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12404 multiarch modf for PPC64.
12405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12408 multiarch modff for PPC64.
12410 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12411 and logl multiarch implementations.
12412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12415 multiarch logb for PPC64.
12416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12419 multiarch logb for PPC64.
12420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12423 multiarch logb for PPC64.
12425 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12426 isinff multiarch implementation.
12427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12431 multiarch isinf for PPC64.
12432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12435 multiarch isinff for PPC64.
12437 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12438 finitef multiarch implementation.
12439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12443 multiarch finite for PPC64.
12444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12447 multiarch finitef for PPC64.
12449 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12450 lrint multiarch implementation.
12451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12455 multiarch llrint for PPC64.
12456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12457 multiarch lrint for PPC64.
12459 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12460 copysignf multiarch implementation.
12461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12466 multiarch copysign for PPC64.
12467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12468 multiarch copysignf for PPC64.
12470 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12471 multiarch implementation.
12472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12480 multiarch llround for PPC64.
12481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12482 multiarch trunc for PPC64.
12483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12484 multiarch truncf for PPC64.
12486 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12487 multiarch implementation.
12488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12496 multiarch llround for PPC64.
12497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12498 multiarch round for PPC64.
12499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12500 multiarch roundf for PPC64.
12502 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12503 multiarch implementation.
12504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12512 multiarch llround for PPC64.
12513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12514 multiarch floor for PPC64.
12515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12516 multiarch floorf for PPC64.
12518 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12519 multiarch implementation.
12520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12528 multiarch llround for PPC64.
12529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12530 multiarch ceil for PPC64.
12531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12532 multiarch ceilf for PPC64.
12534 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12535 multiarch implementation.
12536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12543 multiarch llround for PPC64.
12544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12545 multiarch lround for PPC64.
12547 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12548 multiarch implementation.
12549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12556 multiarch isnan for PPC64.
12557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12558 multiarch isnanf for PPC64.
12560 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12561 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12562 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12563 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12564 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12567 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12568 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12569 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12570 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12573 multiarch implementations.
12574 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12575 (__libc_ifunc_impl_list): Likewise.
12576 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12577 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12578 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12579 multiarch stpcpy for PPC64.
12581 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12582 multiarch implementations.
12583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12584 (__libc_ifunc_impl_list): Likewise.
12585 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12586 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12587 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12588 multiarch strcpy for PPC64.
12590 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12591 redefine function name.
12592 (_wordcopy_fwd_dest_aligned): Likewise.
12593 (_wordcopy_bwd_aligned): Likewise.
12594 (_wordcopy_bwd_dest_aligned): Likewise.
12595 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12596 multiarch implementations.
12597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12598 (__libc_ifunc_impl_list): Likewise.
12599 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12600 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12601 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12602 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12603 multiarch wcscpy for PPC64.
12605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12606 multiarch implementations.
12607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12608 (__libc_ifunc_impl_list): Likewise.
12609 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12610 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12611 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12612 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12613 multiarch wcscpy for PPC64.
12615 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12616 multiarch implementations.
12617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12618 (__libc_ifunc_impl_list): Likewise.
12619 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12620 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12621 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12622 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12623 multiarch wcsrchr for PPC64.
12625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12626 multiarch implementations.
12627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12628 (__libc_ifunc_impl_list): Likewise.
12629 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12630 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12631 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12632 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12633 multiarch wcschr for PPC64.
12635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12636 multiarch implementations.
12637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12638 (__libc_ifunc_impl_list): Likewise.
12639 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12640 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12641 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12642 multiarch strchrnul for PPC64.
12644 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12646 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12647 (__libc_ifunc_impl_list): Likewise.
12648 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12649 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12650 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12651 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12654 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12656 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12657 (__libc_ifunc_impl_list): Likewise.
12658 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12659 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12660 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12661 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12664 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12665 multiarch implementations.
12666 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12667 (__libc_ifunc_impl_list): Likewise.
12668 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12669 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12670 strncasecmp for PPC64.
12671 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12672 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12673 multiarch strncasecmp_l for PPC64.
12675 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12676 multiarch implementations.
12677 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12678 (__libc_ifunc_impl_list): Likewise.
12679 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12680 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12681 multiarch strcasecmp for PPC64.
12682 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12684 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12685 multiarch strcasecmp_l for PPC64.
12687 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12689 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12690 (__libc_ifunc_impl_list): Likewise.
12691 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12692 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12693 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12696 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12699 (__libc_ifunc_impl_list): Likewise.
12700 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12701 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12702 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12708 (__libc_ifunc_impl_list): Likewise.
12709 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12710 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12711 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12712 rawmemrchr for PPC64.
12714 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12716 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12717 (__libc_ifunc_impl_list): Likewise.
12718 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12719 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12720 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12723 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12725 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12726 (__libc_ifunc_impl_list): Likewise.
12727 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12728 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12729 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12732 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12735 (__libc_ifunc_impl_list): Likewise.
12736 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12737 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12738 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12741 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12742 avoid cretion of __bzero symbol.
12743 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12745 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12747 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12749 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12750 multiarch implementations.
12751 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12752 (__libc_ifunc_impl_list): Likewise.
12753 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12754 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12755 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12756 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12758 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12759 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12760 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12761 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12762 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12764 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12766 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12770 (__libc_ifunc_impl_list): Likewise.
12771 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12772 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12773 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12774 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12778 multiarch for POWER/PPC64.
12779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12780 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12781 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12782 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12783 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12784 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12785 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12786 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12787 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12790 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12791 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12792 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12793 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12794 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12795 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12796 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12797 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12798 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12799 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12800 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12801 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12802 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12803 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12804 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12813 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12815 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12817 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12819 * benchtests/Makefile (bench): Add exp2 and log2.
12820 (LDLIBS-bench-exp2): Add -lm.
12821 (LDLIBS-bench-log2): Likewise.
12822 * benchtests/exp2-inputs: New inputs file.
12823 * benchtests/log2-inputs: New inputs file.
12824 * benchtests/log-inputs: Add new inputs.
12825 * benchtests/tan-inputs: Likewise.
12827 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12829 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12831 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12832 (csloww2): ... from here.
12834 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12835 instead of structures.
12836 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12837 (POLYNOMIAL): Likewise.
12838 (TAYLOR_SLOW): Likewise.
12844 (sloww1); Likewise.
12845 (sloww2): Likewise.
12846 (bsloww1): Likewise.
12847 (bsloww2): Likewise.
12848 (cslow2): Likewise.
12849 (csloww): Likewise.
12850 (csloww1): Likewise.
12851 (csloww2): Likewise.
12853 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
12855 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12856 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12857 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12858 * malloc/hooks.c (realloc_check): Likewise.
12860 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12861 * malloc/arena.c: Remove PER_THREAD conditional.
12862 [!PER_THREAD]: Remove code.
12863 (ptmalloc_unlock_all2): Likewise.
12864 (ptmalloc_init): Likewise.
12865 (_int_new_arena): Likewise.
12866 (arena_get2): Likewise.
12867 * malloc/hooks.c (__malloc_get_state): Likewise.
12868 (__malloc_set_state): Likewise.
12869 * malloc/malloc.c: Likewise.
12870 (struct malloc_state): Likewise.
12871 (struct malloc_par): Likewise.
12872 (__libc_realloc): Likewise.
12873 (__libc_mallopt): Likewise.
12875 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12877 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12879 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
12881 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12882 macro to a function. Check for zero perturb_byte.
12883 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12885 * malloc/malloc.c: (force_reg): Remove.
12886 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12887 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12888 force_reg by atomic_forced_read.
12889 * malloc/arena.c (ptmalloc_init): Likewise.
12890 * malloc/hooks.c (top_check): Likewise.
12892 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12896 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12898 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12900 2013-12-08 Joseph Myers <joseph@codesourcery.com>
12902 * math/auto-libm-test-in: Add tests of lgamma.
12903 * math/auto-libm-test-out: Regenerated.
12904 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12905 (M_LOG_2_SQRT_PIl): Likewise.
12906 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12907 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12909 (func_calc_desc): Add mpfr_f_f1 union field.
12910 (ARGS1): New macro.
12918 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12919 (test_functions): Add lgamma.
12920 (calc_generic_results): Handle mpfr_f_f1.
12921 * sysdeps/i386/fpu/libm-test-ulps: Update.
12922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12924 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12926 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12927 __mpn_add_n for PowerPC64/POWER7.
12928 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12929 __mpn_sub_n for PowerPC64/POWER7.
12931 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12932 __mpn_addmul_1 for PowerPC64.
12933 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12934 __mpn_submul_1 for PowerPC64.
12935 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12937 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12940 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12943 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12945 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12947 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12949 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12950 add multiarch folders.
12951 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12952 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12953 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12954 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12955 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12956 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12957 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12958 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12959 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12960 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12961 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12970 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12976 multiarch __ieee754_hypot for PowerPC32.
12977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12982 multiarch __ieee754_hypotf for PowerPC32.
12984 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12985 long_double_symbol only if __logbl is defined.
12986 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12987 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12988 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12989 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12990 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12991 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12992 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12993 path for implementation.
12994 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12995 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12997 logb, and logbl multiarch implementations for PowerPC32.
12998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13003 multiarch logb for PowerPC32.
13004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13009 multiarch logbf for PowerPC32.
13010 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13014 multiarch logbl implementation for PowerPC32.
13016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13017 and modff multiarch implementations.
13018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13023 multiarch modf for PowerPC32.
13024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13029 multiarch modff for PowerPC32.
13031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13032 and lrintf multiarch implementations.
13033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13038 multiarch lrint for PowerPC32.
13039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13040 file: multiarch lrintf for PowerPC32.
13042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13043 and lroundf multiarch implementations.
13044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13051 multiarch lround for PowerPC32.
13052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13053 file: multiarch lroundf for PowerPC32.
13055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13056 copysign and copysignf multiarch implementations.
13057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13062 file: multiarch copysign for PowerPC32.
13063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13064 file: multiarch copysignf for PowerPC32.
13066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13067 and truncf multiarch implementations.
13068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13073 multiarch trunc for PowerPC32.
13074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13079 multiarch truncf for PowerPC32.
13081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13082 and roundf multiarch implementations.
13083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13088 multiarch round for PowerPC32.
13089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13094 multiarch roundf for PowerPC32.
13096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13097 and floorf multiarch implementations.
13098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13103 multiarch floor for PowerPC32.
13104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13109 multiarch floorf for PowerPC32.
13111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13112 and ceilf multiarch implementations.
13113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13118 multiarch ceil for PowerPC32.
13119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13124 multiarch ceilf for PowerPC32.
13126 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13128 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13129 FINITEF is defined.
13130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13131 and finitef multiarch implementations.
13132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13137 multiarch finite for PowerPC32.
13138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13141 file: multiarch finitef for PowerPC32.
13143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13144 and isinff multiarch implementations.
13145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13150 multiarch isinf for PowerPC32.
13151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13154 multiarch isinff for PowerPC32.
13156 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13157 alias when __isnan is defined.
13158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13159 and isnanf multiarch implementations.
13160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13169 multiarch isnan for PowerPC32.
13170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13175 multiarch isnanf for PowerPC32.
13177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13178 and sqrtf multiarch implementations.
13179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13184 multiarch sqrt for PowerPC32.
13185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13190 multiarch sqrtf for PowerPC32.
13192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13193 and llroundf multiarch implementations.
13194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13201 file: multiarch llround for PowerPC32.
13202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13203 file: multiarch llroundf for PowerPC32.
13205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13206 multiarch PowerPC32 fpu implementations.
13207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13212 multiarch llrint for PowerPC32.
13213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13222 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13224 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13226 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13228 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13229 multiarch wordcopy for PPC32.
13230 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13232 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13233 (__libc_ifunc_impl_list): Likewise.
13234 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13235 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13236 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13237 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13238 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13239 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13241 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13242 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13244 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13246 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13248 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13249 multiarch wcscpy for PPC32.
13250 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13252 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13253 (__libc_ifunc_impl_list): Likewise.
13254 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13255 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13256 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13257 sysdeps/powerpc/power6/wcscpy.c.
13259 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13260 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13262 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13264 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13266 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13267 multiarch wcsrchr for PPC32.
13268 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13270 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13271 (__libc_ifunc_impl_list): Likewise.
13272 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13273 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13274 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13275 sysdeps/powerpc/power6/wcsrchr.c.
13277 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13279 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13281 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13282 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13283 multiarch wcschr for PPc32.
13284 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13286 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13287 (__libc_ifunc_impl_list): Likewise.
13288 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13289 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13290 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13291 sysdeps/powerpc/power6/wcschr.c.
13293 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13294 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13296 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13297 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13298 file: multiarch strchr for PPC32.
13299 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13301 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13302 (__libc_ifunc_impl_list): Likewise.
13304 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13306 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13308 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13310 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13311 multiarch strchrnul for PPC32.
13312 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13314 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13315 (__libc_ifunc_impl_list): Likewise.
13317 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13319 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13320 multiarch strncasecmp for PPC32.
13321 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13323 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13324 multiarch strncasecmp_l for PPC32.
13325 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13326 strncasecmp multiarch objects.
13327 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13328 (__libc_ifunc_impl_list): Likewise.
13330 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13332 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13333 multiarch strncasecmp for PPC32.
13334 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13336 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13337 multiarch strcasecmp_l for PPC32.
13338 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13340 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13341 (__libc_ifunc_impl_list): Likewise.
13343 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13345 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13347 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13348 multiarch strncmp for PPC32.
13349 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13351 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13352 (__libc_ifunc_impl_list): Likewise.
13354 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13355 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13357 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13358 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13359 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13361 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13362 (__libc_ifunc_impl_list): Likewise.
13364 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13366 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13368 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13369 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13372 (__libc_ifunc_impl_list): Likewise.
13374 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13376 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13378 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13379 multiarch rawmemchr for PPC32.
13380 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13382 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13383 (__libc_ifunc_impl_list): Likewise.
13385 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13387 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13389 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13390 file: memrchr multiarch for PPC32.
13391 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13393 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13394 (__libc_ifunc_impl_list): Likewise.
13396 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13397 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13399 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13400 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13401 multiarch memchr for PPC32.
13402 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13404 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13405 (__libc_ifunc_impl_list): Likewise.
13407 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13408 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13410 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13412 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13413 file: multiarch mempcpy for PPC32.
13414 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13416 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13417 (__libc_ifunc_impl_list): Likewise.
13419 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13420 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13421 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13422 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13423 multiarch bzero for PPC32.
13424 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13426 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13428 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13429 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13430 file: multiarch memset for PPC32.
13431 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13432 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13433 memset multiarch objects.
13434 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13435 (__libc_ifunc_impl_list): Likewise.
13437 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13439 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13440 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13442 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13443 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13445 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13446 (__libc_ifunc_impl_list): Likewise.
13448 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13449 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13450 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13452 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13454 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13456 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13457 multiarch memcpy for PPC32.
13458 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13460 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13461 (__libc_ifunc_impl_list): Likewise.
13463 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13464 support multiarch for POWER/PPC32.
13465 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13467 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13469 Implies file to make multiarch folder appers before the fpu and
13470 default folder for power4 configuration.
13472 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13474 * scripts/bench.pl: Append volatile keyword to type.
13476 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13478 * sysdeps/sh/sotruss-lib.c: New file.
13479 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13481 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13485 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13488 * math/w_tgamma.c: Include <errno.h>.
13489 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13490 * math/w_tgammaf.c: Include <errno.h>.
13491 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13492 * math/w_tgammal.c: Include <errno.h>.
13493 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13494 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13495 underflow. Add more tgamma tests.
13496 * math/auto-libm-test-out: Regenerated.
13497 * sysdeps/i386/fpu/libm-test-ulps: Update.
13498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13500 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13501 sin, sinh, tan, tanh, tgamma, y0 and y1.
13502 * math/auto-libm-test-out: Regenerated.
13503 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13504 (TEST_COND_x86): Likewise.
13505 (M_E2l): Remove macro.
13507 (M_2_SQRT_PIl): Likewise.
13508 (M_SQRT_PIl): Likewise.
13509 (M_1_DIV_El): Likewise.
13510 (log_test_data): Use AUTO_TESTS_f_f.
13511 (log10_test_data): Likewise.
13512 (log1p_test_data): Likewise.
13513 (log2_test_data): Likewise.
13514 (sin_test_data): Likewise.
13515 (sin_tonearest_test_data): Likewise.
13516 (sin_towardzero_test_data): Likewise.
13517 (sin_downward_test_data): Likewise.
13518 (sin_upward_test_data): Likewise.
13519 (sinh_test_data): Likewise.
13520 (sinh_tonearest_test_data): Likewise.
13521 (sinh_towardzero_test_data): Likewise.
13522 (sinh_downward_test_data): Likewise.
13523 (sinh_upward_test_data): Likewise.
13524 (tan_test_data): Likewise.
13525 (tan_tonearest_test_data): Likewise.
13526 (tan_towardzero_test_data): Likewise.
13527 (tan_downward_test_data): Likewise.
13528 (tan_upward_test_data): Likewise.
13529 (tanh_test_data): Likewise.
13530 (tgamma_test_data): Likewise.
13531 (y0_test_data): Likewise.
13532 (y1_test_data): Likewise.
13533 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13534 (special_real_inputs): Add pi/4.
13535 * sysdeps/i386/fpu/libm-test-ulps: Update.
13536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13538 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13540 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13541 "longjmp_target" static probes.
13542 (__longjmp): Rename to __longjmp_symbol.
13543 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13544 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13545 on which longjmp to generate.
13546 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13547 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13549 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13550 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13551 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13552 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13553 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13554 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13556 __longjmp_symbol based on which __longjmp to generate.
13557 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13559 (setjmp): Rename to setjmp_symbol.
13560 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13561 (_setjmp): Rename to _setjmp_symbol.
13562 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13563 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13564 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13565 which setjmp to generate.
13566 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13567 "longjmp_target" static probes.
13569 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13571 * benchtests/README: Add note about output arguments.
13572 * benchtests/bench-sincos.c: Remove file.
13573 * benchtests/sincos-inputs: New file.
13574 * scripts/bench.pl: Identify output arguments and define
13575 static variables for them.
13577 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13580 * Makefile (INSTALL): Add install-plain.texi as the primary
13582 * manual/install-plain.texi: New file.
13583 * manual/install.texi: Include node directive only for
13584 non-plaintext output.
13586 2013-12-04 Joseph Myers <joseph@codesourcery.com>
13588 * stdlib/longlong.h: Update from GCC.
13592 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13593 * math/w_j0f.c (y0f): Likewise.
13594 * math/w_j0l.c (__y0l): Likewise.
13595 * math/w_j1.c (y1): Likewise.
13596 * math/w_j1f.c (y1f): Likewise.
13597 * math/w_j1l.c (__y1l): Likewise
13598 * math/w_jn.c (yn): Likewise.
13599 * math/w_jnf.c (ynf): Likewise.
13600 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13601 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13602 value for Bessel function domain errors outside _SVID_ mode.
13603 Adjust sign of return value for yn (negative integer, 0).
13604 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13605 by zero in return for negative x and set sign appropriately for
13607 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13608 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13609 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13610 expectations in error cases.
13611 (y1_test_data): Likewise.
13612 (yn_test_data): Likewise.
13613 * sysdeps/i386/fpu/libm-test-ulps: Update.
13614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13616 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13618 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13619 "64" to "64-v1". Add "64-v2".
13620 (abi-64-options): Rename to ...
13621 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13622 (abi-64-condition): Rename to ...
13623 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13624 (abi-64-ld-soname): Rename to ...
13625 (abi-64-v1-ld-soname): ... this.
13626 (abi-64-v2-options): Define.
13627 (abi-64-v2-condition): Likewise.
13628 (abi-64-v2-ld-soname): Likewise.
13629 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13630 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13635 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13636 Alan Modra <amodra@gmail.com>
13638 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13639 New versions for use with the ELFv2 ABI.
13640 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13641 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13643 (struct La_ppc64v2_retval): Likewise.
13644 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13645 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13646 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13647 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13648 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13649 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13650 Do not save or restore CR.
13651 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13652 (_dl_profile_resolve): Do no save or restore CR. Support extended
13653 return values for ELFv2 ABI. Fix location of FPR return registers.
13654 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13655 updated values for _CALL_ELF == 2.
13656 (La_regs, La_retval, int_retval): Likewise.
13658 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13660 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13661 (FRAME_MIN_SIZE_PARM): Likewise.
13662 (FRAME_BACKCHAIN): Likewise.
13663 (FRAME_CR_SAVE): Likewise.
13664 (FRAME_LR_SAVE): Likewise.
13665 (FRAME_TOC_SAVE): Likewise.
13666 (FRAME_PARM_SAVE): Likewise.
13667 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13668 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13669 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13670 (call_mcount_parm_offset): New macro.
13671 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13672 (PROF): Use symbolic stack frame offsets.
13673 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13674 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13675 Redefine in terms of FRAME_MIN_SIZE.
13676 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13677 (_dl_profile_resolve): Likewise. Update comment.
13678 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13679 symbols stack frame offsets.
13680 (__sigsetjmp): Likewise.
13681 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13682 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13683 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13684 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13687 (FRAME_BACKCHAIN): Remove.
13688 (FRAME_CR_SAVE): Likewise.
13689 (FRAME_LR_SAVE): Likewise.
13690 (FRAME_COMPILER_DW): Likewise.
13691 (FRAME_LINKER_DW): Likewise.
13692 (FRAME_TOC_SAVE): Likewise.
13693 (FRAME_PARM_SAVE): Likewise.
13694 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13695 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13696 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13698 (CHECK_SP): Use symbolic stack frame offsets.
13699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13700 zone" instead of caller's parameter save area for temp storage.
13701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13702 Likewise. Also, use symbolic stack frame offsets.
13703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13704 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13705 our own stack frame instead of the caller's.
13706 (__socket): Use symbolic stack frame offsets.
13708 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13709 Alan Modra <amodra@gmail.com>
13711 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13713 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13714 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13715 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13717 (elf_machine_fixup_plt): Call it.
13718 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13720 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13721 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13722 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13723 r2 before calling target.
13725 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13726 Alan Modra <amodra@gmail.com>
13728 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13729 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13730 versions of macros to support ELFv2 ABI.
13731 (LOCALENTRY): New macro.
13732 (ENTRY, EALIGN): Use it.
13733 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13734 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13735 fall through into ENTRY entry point.
13736 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13737 Only define if _CALL_ELF != 2.
13739 (elf_machine_matches_host): Verify ABI version matches.
13740 (RTLD_START): Use LOCALENTRY.
13741 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13742 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13743 (PLT_ENTRY_WORDS): New macro.
13744 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13745 (elf_machine_runtime_setup): Support ELFv2 ABI.
13746 (elf_machine_fixup_plt): Likewise.
13747 (elf_machine_plt_conflict): Likewise.
13748 (resolve_ifunc): Likewise.
13749 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13750 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13753 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13755 (makecontext): Support ELFv2 ABI.
13756 * elf/elf.h (EF_PPC64_ABI): Define.
13758 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13760 * sysdeps/powerpc/powerpc64/sysdep.h
13761 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13762 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13763 (ENTRY) [ASSEMBLER]: ... but instead here ...
13764 (EALIGN) [ASSEMBLER]: ... and here.
13765 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13766 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13767 (ENTRY_2) [!ASSEMBLER]: Use it.
13768 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13769 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13770 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13771 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13772 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13774 Use PPC64_LOAD_FUNCPTR.
13776 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13778 2013-12-04 Alan Modra <amodra@gmail.com>
13780 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13781 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13782 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13783 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13785 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13786 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13787 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13788 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13789 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13790 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13792 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13795 (__makecontext): Fix incorrect CFI when backtracing out of
13796 context created via makecontext.
13797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13798 (__setcontext): Fix incorrect CFI during switch to new context.
13799 (__novec_setcontext): Likewise.
13801 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13804 * time/strptime_l.c (__strptime_internal): Allow modifiers
13806 * time/tst-strptime.c (day_tests): Add testcase.
13808 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13810 * scripts/bench.pl: Skip over blank lines.
13812 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13815 * manual/time.texi (Calendar Time): Clarify what timezone functions
13818 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13822 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13824 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13826 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13827 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13828 * debug/memset_chk.c (__memset_chk): Likewise.
13829 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13830 * debug/strncpy_chk.c: Likewise.
13832 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13836 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13837 (__ieee754_exp): For possibly underflowing results, check size of
13838 result and force underflow exception if required.
13839 * math/auto-libm-test-in: Add more tests of exp.
13840 * math/auto-libm-test-out: Regenerated.
13841 * sysdeps/i386/fpu/libm-test-ulps: Update.
13842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13845 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13846 * math/w_exp2f.c (__exp2f): Likewise.
13847 * math/w_exp2l.c (__exp2l): Likewise.
13848 * math/auto-libm-test-in: Do not allow missing errno on exp2
13850 * math/auto-libm-test-out: Regenerated.
13852 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
13855 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13856 handle filename validation.
13857 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13860 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13863 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13864 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13865 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13867 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13868 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13869 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13870 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13871 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13872 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13873 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13874 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13875 Add more erfc tests.
13876 * math/auto-libm-test-out: Regenerated.
13877 * sysdeps/i386/fpu/libm-test-ulps: Update.
13878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13880 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13881 exp2, expm1, j0 and j1.
13882 * math/auto-libm-test-out: Regenerated.
13883 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13884 (erfc_test_data): Likewise.
13885 (exp_test_data): Likewise.
13886 (exp_tonearest_test_data): Likewise.
13887 (exp_towardzero_test_data): Likewise.
13888 (exp_downward_test_data): Likewise.
13889 (exp_upward_test_data): Likewise.
13890 (exp10_test_data): Likewise.
13891 (exp2_test_data): Likewise.
13892 (expm1_test_data): Likewise.
13893 (j0_test_data): Likewise.
13894 (j1_test_data): Likewise.
13895 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13896 (input_flag_type): Add flag_xfail_rounding.
13897 (input_flags): Add xfail-rounding.
13898 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13899 (output_for_one_input_case): Handle flag_xfail_rounding.
13900 * sysdeps/i386/fpu/libm-test-ulps: Update.
13901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13903 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13906 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13909 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13912 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13913 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13914 (STAP_PROBE0): New macro.
13915 (STAP_PROBE1): Likewise.
13916 (STAP_PROBE2): Likewise.
13917 (STAP_PROBE3): Likewise.
13918 (STAP_PROBE4): Likewise.
13920 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
13922 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13924 2013-12-02 Steve Ellcey <sellcey@mips.com>
13926 * benchtests/Makefile (bench): Add sqrt.
13927 (LDLIBS-bench-sqrt): New.
13928 * benchtests/sqrt-input: New.
13930 2013-12-02 Pavel Simerda <psimerda@redhat.com>
13932 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13933 (GAIH_EAI): Likewise.
13934 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13935 (gaih_inet): Likewise.
13936 (getaddrinfo): Don't use GAIH_EAI.
13938 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13939 (struct gaih): Remove definition.
13941 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13943 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13944 Use HERRNOP directly.
13946 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13950 2013-11-30 Joseph Myers <joseph@codesourcery.com>
13952 * math/gen-auto-libm-tests.c (test_functions): Add more
13953 single-argument functions.
13954 (special_fill_pi_2): New function.
13955 (special_fill_minus_pi_2): Likewise.
13956 (special_fill_pi_6): Likewise.
13957 (special_fill_minus_pi_6): Likewise.
13958 (special_fill_pi_3): Likewise.
13959 (special_fill_2pi_3): Likewise.
13960 (special_fill_e): Likewise.
13961 (special_fill_1_e): Likewise.
13962 (special_fill_e_minus_1): Likewise.
13963 (special_real_inputs): Add more special inputs.
13964 (output_for_one_input_case): Do not require ERANGE on underflow to
13965 zero if round-to-nearest result does not underflow to zero, unless
13966 exact results required.
13967 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13968 atan, atanh, cbrt, cos and cosh.
13969 * math/auto-libm-test-out: Regenerated.
13970 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13971 (acos_tonearest_test_data): Likewise.
13972 (acos_towardzero_test_data): Likewise.
13973 (acos_downward_test_data): Likewise.
13974 (acos_upward_test_data): Likewise.
13975 (acosh_test_data): Likewise.
13976 (asin_test_data): Likewise.
13977 (asin_tonearest_test_data): Likewise.
13978 (asin_towardzero_test_data): Likewise.
13979 (asin_upward_test_data): Likewise.
13980 (asinh_test_data): Likewise.
13981 (atan_test_data): Likewise.
13982 (atanh_test_data): Likewise.
13983 (cbrt_test_data): Likewise.
13984 (cos_test_data): Likewise.
13985 (cos_tonearest_test_data): Likewise.
13986 (cos_towardzero_test_data): Likewise.
13987 (cos_downward_test_data): Likewise.
13988 (cos_upward_test_data): Likewise.
13989 (cosh_test_data): Likewise.
13990 (cosh_tonearest_test_data): Likewise.
13991 (cosh_towardzero_test_data): Likewise.
13992 (cosh_downward_test_data): Likewise.
13993 (cosh_upward_test_data): Likewise.
13994 * sysdeps/i386/fpu/libm-test-ulps: Update.
13995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13997 2013-11-29 Joseph Myers <joseph@codesourcery.com>
14000 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14001 * math/w_exp10f.c (__exp10f): Likewise.
14002 * math/w_exp10l.c (__exp10l): Likewise.
14003 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14004 errno settings in existing tests.
14007 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14008 precision control set to double precision.
14009 * sysdeps/i386/fpu/w_sqrt.c: New file.
14010 * math/auto-libm-test-in: Add more tests.
14011 * math/auto-libm-test-out: Update.
14013 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14014 (sqrt_test_tonearest): New function.
14015 (sqrt_towardzero_test_data): New variable.
14016 (sqrt_test_towardzero): New function.
14017 (sqrt_downward_test_data): New variable.
14018 (sqrt_test_downward): New function.
14019 (sqrt_upward_test_data): New variable.
14020 (sqrt_test_upward): New function.
14021 (main): Call the new functions.
14023 * math/gen-auto-libm-tests.c: New file.
14024 * math/auto-libm-test-in: Likewise.
14025 * math/auto-libm-test-out: New generated file.
14026 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14028 (%beautify): Add generated representations of zero.
14029 (top level): Set $auto_input and call parse_auto_input.
14030 (beautify): Remove trailing "f" from hex float constants.
14031 (parse_args): Handle XFAIL_TEST.
14032 (convert_condition): New function.
14033 (or_value): Likewise.
14034 (or_cond_value): Likewise.
14035 (generate_testfile): Handle AUTO_TESTS_* lines.
14036 (parse_auto_input): New function.
14037 * math/libm-test.inc (XFAIL_TEST): New macro.
14038 (ERRNO_UNCHANGED): Update value.
14039 (ERRNO_EDOM): Likewise.
14040 (ERRNO_ERANGE): Likewise.
14041 (IGNORE_RESULT): Likewise.
14042 (TEST_COND_flt_32): New macro.
14043 (TEST_COND_dbl_64): Likewise.
14044 (TEST_COND_ldbl_96_intel): Likewise.
14045 (TEST_COND_ldbl_96_m68k): Likewise.
14046 (TEST_COND_ldbl_128): Likewise.
14047 (TEST_COND_ldbl_128ibm): Likewise.
14048 (TEST_COND_long32): Likewise.
14049 (TEST_COND_long64): Likewise.
14050 (TEST_COND_before_rounding): Likewise.
14051 (TEST_COND_after_rounding): Likewise.
14052 (enable_test): Handle XFAIL_TEST flag.
14053 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14054 with finite results.
14055 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14056 auto-libm-test-out.
14058 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14059 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14062 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14063 __tls_get_addr_internal instead of __tls_get_offset in order to
14064 avoid GOT pointer dependency. Make rtld export
14065 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14066 __tls_get_addr since we are a __tls_get_offset platform.
14067 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14068 GOT pointer being set up before.
14069 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14071 2013-11-28 Joseph Myers <joseph@codesourcery.com>
14073 * manual/math.texi (Errors in Math Functions): Document accuracy
14077 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14078 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14079 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14080 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14081 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14082 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14083 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14084 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14085 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14086 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14087 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14088 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14089 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14090 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14091 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14092 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14094 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14095 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14096 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14097 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14098 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14100 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14102 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14104 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14105 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14106 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14107 atomic-feupdateenv and flt-rounds.
14108 * sysdeps/powerpc/nofpu/Versions (libc): Add
14109 __atomic_feholdexcept, __atomic_feclearexcept,
14110 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14111 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14112 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14113 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14114 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14119 * manual/arith.texi (FP Exceptions): Document that exceptions may
14120 not be raised when matherr is used.
14121 (Math Error Reporting): Document overflow in directed rounding
14122 modes. Document that errno may not be set when finite values are
14123 returned on overflow. Document intent to set errno on underflow
14124 only for underflow to zero.
14127 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14128 round-to-nearest then adjust result for other rounding modes.
14129 * include/fenv.h (fegetround): Use libm_hidden_proto.
14130 * math/fegetround.c (fegetround): Use libm_hidden_def.
14131 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14132 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14133 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14134 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14136 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14137 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14138 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14139 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14141 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14144 * nss/Versions (libnss_files): Add
14145 _nss_files_gethostbyname3_r.
14146 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14148 (HOST_DB_LOOKUP): Remove macro.
14149 (_nss_files_gethostbyname_r): Implement function without the
14150 HOST_DB_LOOKUP macro.
14151 (_nss_files_gethostbyname2_r): Likewise.
14153 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14155 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14157 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14159 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14160 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14163 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14165 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14166 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14167 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14168 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14169 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14170 __fe_nomask_env_priv and attribute_hidden.
14171 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14172 (libc_feupdateenv_test_ppc): Likewise.
14173 (libc_feresetround_ppc): Likewise.
14174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14175 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14176 compat_symbol macro.
14177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14178 (__fe_nomask_env): Likewise.
14179 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14181 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14183 * string/Makefile: Remove ifunc tests.
14184 * string/test-string.h: Define TEST_IFUNC.
14185 * string/test-bcopy-ifunc.c: Remove.
14186 * string/test-bzero-ifunc.c: Likewise.
14187 * string/test-memccpy-ifunc.c: Likewise.
14188 * string/test-memchr-ifunc.c: Likewise.
14189 * string/test-memcmp-ifunc.c: Likewise.
14190 * string/test-memcpy-ifunc.c: Likewise.
14191 * string/test-memmem-ifunc.c: Likewise.
14192 * string/test-memmove-ifunc.c: Likewise.
14193 * string/test-mempcpy-ifunc.c: Likewise.
14194 * string/test-memrchr-ifunc.c: Likewise.
14195 * string/test-memset-ifunc.c: Likewise.
14196 * string/test-rawmemchr-ifunc.c: Likewise.
14197 * string/test-stpcpy-ifunc.c: Likewise.
14198 * string/test-stpncpy-ifunc.c: Likewise.
14199 * string/test-strcasecmp-ifunc.c: Likewise.
14200 * string/test-strcasestr-ifunc.c: Likewise.
14201 * string/test-strcat-ifunc.c: Likewise.
14202 * string/test-strchr-ifunc.c: Likewise.
14203 * string/test-strchrnul-ifunc.c: Likewise.
14204 * string/test-strcmp-ifunc.c: Likewise.
14205 * string/test-strcpy-ifunc.c: Likewise.
14206 * string/test-strcspn-ifunc.c: Likewise.
14207 * string/test-strlen-ifunc.c: Likewise.
14208 * string/test-strncasecmp-ifunc.c: Likewise.
14209 * string/test-strncat-ifunc.c: Likewise.
14210 * string/test-strncmp-ifunc.c: Likewise.
14211 * string/test-strncpy-ifunc.c: Likewise.
14212 * string/test-strnlen-ifunc.c: Likewise.
14213 * string/test-strpbrk-ifunc.c: Likewise.
14214 * string/test-strrchr-ifunc.c: Likewise.
14215 * string/test-strspn-ifunc.c: Likewise.
14216 * string/test-strstr-ifunc.c: Likewise.
14218 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14220 * benchtests/Makefile: Remove ifunc tests.
14221 * benchtests/bench-string.h: Define TEST_IFUNC.
14222 * benchtests/bench-bcopy-ifunc.c: Remove.
14223 * benchtests/bench-bzero-ifunc.c: Likewise.
14224 * benchtests/bench-memccpy-ifunc.c: Likewise.
14225 * benchtests/bench-memchr-ifunc.c: Likewise.
14226 * benchtests/bench-memcmp-ifunc.c: Likewise.
14227 * benchtests/bench-memcpy-ifunc.c: Likewise.
14228 * benchtests/bench-memmem-ifunc.c: Likewise.
14229 * benchtests/bench-memmove-ifunc.c: Likewise.
14230 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14231 * benchtests/bench-memrchr-ifunc.c: Likewise.
14232 * benchtests/bench-memset-ifunc.c: Likewise.
14233 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14234 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14235 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14236 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14237 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14238 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14239 * benchtests/bench-strcat-ifunc.c: Likewise.
14240 * benchtests/bench-strchr-ifunc.c: Likewise.
14241 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14242 * benchtests/bench-strcmp-ifunc.c: Likewise.
14243 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14244 * benchtests/bench-strcpy-ifunc.c: Likewise.
14245 * benchtests/bench-strcspn-ifunc.c: Likewise.
14246 * benchtests/bench-strlen-ifunc.c: Likewise.
14247 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14248 * benchtests/bench-strncat-ifunc.c: Likewise.
14249 * benchtests/bench-strncmp-ifunc.c: Likewise.
14250 * benchtests/bench-strncpy-ifunc.c: Likewise.
14251 * benchtests/bench-strnlen-ifunc.c: Likewise.
14252 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14253 * benchtests/bench-strrchr-ifunc.c: Likewise.
14254 * benchtests/bench-strsep-ifunc.c: Likewise.
14255 * benchtests/bench-strspn-ifunc.c: Likewise.
14256 * benchtests/bench-strstr-ifunc.c: Likewise.
14258 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14260 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14262 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14264 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14265 * rt/aio.h: Likewise.
14266 * sysdeps/gnu/bits/utmp.h: Likewise.
14267 * sysdeps/gnu/bits/utmpx.h: Likewise.
14268 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14269 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14270 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14271 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14272 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14273 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14274 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14275 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14276 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14277 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14278 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14279 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14280 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14282 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14283 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14284 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14285 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14286 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14287 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14288 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14289 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14290 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14291 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14292 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14293 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14294 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14295 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14296 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14297 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14298 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14299 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14300 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14301 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14302 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14303 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14304 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14305 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14306 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14307 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14308 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14309 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14311 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14314 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14315 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14317 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14319 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14320 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14323 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14325 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14326 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14327 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14328 (__fesetround): Remove define.
14329 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14330 rounding and exceptions handling.
14331 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14332 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14333 (__fe_nomask_env): Likewise.
14334 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14335 __fegetround instead of fegetround.
14336 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14337 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14339 2013-11-21 Roland McGrath <roland@hack.frob.com>
14341 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14344 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14346 2013-11-21 Meador Inge <meadori@codesourcery.com>
14349 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14350 (encrypt_r): Likewise.
14351 * malloc/obstack.h (obstack_free): Likewise.
14352 * posix/unistd.h (encrypt): Likewise.
14354 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14356 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14357 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14358 DL_CALL_DT_FINI() that call the functions directly.
14359 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14360 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14361 * elf/dl-fini.c: Likewise.
14363 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14365 * malloc/hooks.c (memalign_check): Add alignment rounding.
14366 * malloc/malloc.c (_mid_memalign): New function.
14367 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14368 Implement by calling _mid_memalign.
14369 * manual/probes.texi (Memory Allocation Probes): Remove
14370 memory_valloc_retry and memory_pvalloc_retry.
14372 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14374 * locale/programs/locarchive.c (open_archive): Add const
14375 qualifier to ARCHIVEFNAME and copy default fname to
14379 * libio/tst-widetext.input: Rename Oriya to Odia.
14380 * locale/iso-639.def: Likewise.
14382 * manual/probes.texi (Mathematical Function Probes): Add
14383 documentation for sin, cos, asin and acos probes.
14384 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14385 (__sin32): Add slowasin probe.
14386 (__cos32): Add slowacos probe.
14387 (__mpsin): Add slowsin probe.
14388 (__mpcos): Add slowcos probe.
14390 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14393 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14394 thread-local __sim_exceptions_thread and global
14395 __sim_exceptions_global.
14396 (__sim_disabled_exceptions): Change to thread-local
14397 __sim_disabled_exceptions_thread and global
14398 __sim_disabled_exceptions_global.
14399 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14400 and global __sim_round_mode_global.
14401 (__simulate_exceptions): Use thread-local floating-point state and
14402 set global state from it as needed.
14403 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14404 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14405 __sim_round_mode_thread.
14406 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14407 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14408 and global __sim_exceptions_global.
14409 (__sim_disabled_exceptions): Change to thread-local
14410 __sim_disabled_exceptions_thread and global
14411 __sim_disabled_exceptions_global.
14412 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14413 and global __sim_round_mode_global.
14414 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14415 (SIM_SET_GLOBAL): Likewise.
14416 * sysdeps/powerpc/soft-fp/sfp-machine.h
14417 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14418 __sim_round_mode_thread.
14419 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14420 __sim_disabled_exceptions_thread.
14421 (__sim_exceptions): Change to __sim_exceptions_thread.
14422 (__sim_disabled_exceptions): Change to
14423 __sim_disabled_exceptions_thread.
14424 (__sim_round_mode): Change to __sim_round_mode_thread.
14425 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14426 thread-local floating-point state and set global state from it as
14428 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14429 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14430 (__sim_disabled_exceptions): Remove extern declaration.
14431 (feenableexcept): Use thread-local floating-point state and set
14432 global state from it as needed.
14433 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14434 extern declaration.
14435 (__sim_disabled_exceptions): Likewise.
14436 (__sim_round_mode): Likewise.
14437 (__fegetenv): Use thread-local floating-point state.
14438 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14439 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14440 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14441 floating-point state and set global state from it as needed.
14442 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14443 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14444 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14446 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14447 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14449 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14450 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14451 Use __sim_round_mode_thread.
14452 * math/test-fenv-tls.c: New file.
14453 * math/Makefile (tests): Add test-fenv-tls.
14454 ($(objpfx)test-fenv-tls): Depend on
14455 $(common-objpfx)nptl/libpthread.so.
14457 2013-11-19 Andreas Schwab <schwab@suse.de>
14459 * locale/programs/locale.c (show_info): Decode wordarray elements.
14460 * locale/categories.def (LC_MONETARY): Add element for
14461 _NL_MONETARY_CRNCYSTR.
14462 * locale/C-monetary.c (conversion_rate): New variable.
14463 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14466 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14468 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14469 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14471 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14473 * elf/Makefile (tst-auxv): New test.
14474 * elf/tst-auxv.c: New
14475 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14477 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14479 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14480 (hidden_proto): Caller changed.
14481 (hidden_tls_proto): New macro.
14482 (libc_hidden_tls_proto): Likewise.
14483 (rtld_hidden_tls_proto): Likewise.
14484 (libm_hidden_tls_proto): Likewise.
14485 (libresolv_hidden_tls_proto): Likewise.
14486 (librt_hidden_tls_proto): Likewise.
14487 (libdl_hidden_tls_proto): Likewise.
14488 (libnss_files_hidden_tls_proto): Likewise.
14489 (libnsl_hidden_tls_proto): Likewise.
14490 (libnss_nisplus_hidden_tls_proto): Likewise.
14491 (libutil_hidden_tls_proto): Likewise.
14493 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
14496 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14497 (decompose_rpath): Defer expansion to fillin_rpath.
14498 (_dl_init_paths): Pass linkmap to fillin_rpath.
14500 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14502 * benchtests/Makefile: Add strsep.
14503 * benchtests/bench-strsep.c: New file: strsep benchtest.
14504 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14506 2013-11-18 Andreas Schwab <schwab@suse.de>
14508 * locale/programs/locale.c (show_info) [case byte]: Check for
14509 '\377' instead of '\177'.
14510 * locale/C-monetary.c (not_available): Always use "\377".
14511 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14512 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14513 detect unavailable sign_posn locale elements.
14514 * locale/localeconv.c (__localeconv): For grouping and
14515 mon_grouping handle "\177" and "\377" like no grouping.
14516 (INT_ELEM): New macro. Use it to set all numeric members.
14517 * locale/programs/ld-monetary.c (monetary_read)
14518 <tok_mon_grouping>: Normalize single -1 to the empty string.
14519 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14522 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14525 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14526 when we match (nil).
14527 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14529 2013-11-16 Joseph Myers <joseph@codesourcery.com>
14531 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14532 (NO_TEST_INLINE): Update value.
14533 (ERRNO_UNCHANGED): Likewise.
14534 (ERRNO_EDOM): Likewise.
14535 (ERRNO_ERANGE): Likewise.
14536 (IGNORE_RESULT): Likewise.
14537 (check_float_internal): Check signs of NaN results if
14538 TEST_NAN_SIGN used.
14539 (check_complex): Pass TEST_NAN_SIGN flag through to second
14540 check_float_internal call.
14541 (copysign_test_data): Add tests with quiet NaNs as second
14542 argument. Use TEST_NAN_SIGN.
14543 (fabs_test_data): Add test of negative quiet NaN argument. Use
14545 (signbit_test_data): Add tests of quiet NaN argument.
14546 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14548 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14550 (parse_args): Handle function results specified as IGNORE.
14551 * math/libm-test.inc (IGNORE_RESULT): New macro.
14552 (check_float_internal): Do not check numerical result if flag
14554 (check_complex): Pass through IGNORE_RESULT to second
14555 check_float_internal call.
14556 (check_int): Do not check numerical result if flag IGNORE_RESULT
14558 (check_long): Likewise.
14559 (check_bool): Likewise.
14560 (check_longlong): Likewise.
14561 (lrint_test_data): Add tests of infinite and NaN arguments.
14562 (lrint_tonearest_test_data): Likewise.
14563 (lrint_towardzero_test_data): Likewise.
14564 (lrint_downward_test_data): Likewise.
14565 (lrint_upward_test_data): Likewise.
14566 (llrint_test_data): Likewise.
14567 (llrint_tonearest_test_data): Likewise.
14568 (llrint_towardzero_test_data): Likewise.
14569 (llrint_downward_test_data): Likewise.
14570 (llrint_upward_test_data): Likewise.
14571 (lround_test_data): Likewise.
14572 (llround_test_data): Likewise.
14574 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14575 (ERRNO_UNCHANGED): Update value.
14576 (ERRNO_EDOM): Likewise.
14577 (ERRNO_ERANGE): Likewise.
14578 (NO_TEST_INLINE_FLOAT): New macro.
14579 (NO_TEST_INLINE_DOUBLE): Likewise.
14580 (enable_test): New function.
14581 (RUN_TEST_f_f): Check enable_test before running test.
14582 (RUN_TEST_2_f): Likewise.
14583 (RUN_TEST_fff_f): Likewise.
14584 (RUN_TEST_c_f): Likewise.
14585 (RUN_TEST_f_f1): Likewise.
14586 (RUN_TEST_fF_f1): Likewise.
14587 (RUN_TEST_fI_f1): Likewise.
14588 (RUN_TEST_ffI_f1): Likewise.
14589 (RUN_TEST_c_c): Likewise.
14590 (RUN_TEST_cc_c): Likewise.
14591 (RUN_TEST_f_i): Likewise.
14592 (RUN_TEST_f_i_tg): Likewise.
14593 (RUN_TEST_ff_i_tg): Likewise.
14594 (RUN_TEST_f_b): Likewise.
14595 (RUN_TEST_f_b_tg): Likewise.
14596 (RUN_TEST_f_l): Likewise.
14597 (RUN_TEST_f_L): Likewise.
14598 (RUN_TEST_fFF_11): Likewise.
14599 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14601 (cosh_test_data): Likewise.
14602 (exp_test_data): Likewise.
14603 (expm1_test_data): Likewise.
14604 (hypot_test_data): Likewise.
14605 (pow_test_data): Likewise.
14606 (sinh_test_data): Likewise.
14607 (tanh_test_data): Likewise.
14608 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14611 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14612 tests with quiet NaN input and output.
14613 (acosh_test_data): Likewise.
14614 (asin_test_data): Likewise.
14615 (asinh_test_data): Likewise.
14616 (atan_test_data): Likewise.
14617 (atanh_test_data): Likewise.
14618 (atan2_test_data): Likewise.
14619 (cbrt_test_data): Likewise.
14620 (cos_test_data): Likewise.
14621 (cosh_test_data): Likewise.
14622 (erf_test_data): Likewise.
14623 (erfc_test_data): Likewise.
14624 (exp_test_data): Likewise.
14625 (exp10_test_data): Likewise.
14626 (exp2_test_data): Likewise.
14627 (expm1_test_data): Likewise.
14628 (hypot_test_data): Likewise.
14629 (j0_test_data): Likewise.
14630 (j1_test_data): Likewise.
14631 (jn_test_data): Likewise.
14632 (lgamma_test_data): Likewise.
14633 (log_test_data): Likewise.
14634 (log10_test_data): Likewise.
14635 (log1p_test_data): Likewise.
14636 (log2_test_data): Likewise.
14637 (pow_test_data): Likewise.
14638 (scalb_test_data): Likewise.
14639 (sin_test_data): Likewise.
14640 (sincos_test_data): Likewise.
14641 (sinh_test_data): Likewise.
14642 (tan_test_data): Likewise.
14643 (tanh_test_data): Likewise.
14644 (tgamma_test_data): Likewise.
14645 (y0_test_data): Likewise.
14646 (y1_test_data): Likewise.
14647 (yn_test_data): Likewise.
14650 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14651 argument being NaN and avoid computations with second argument in
14653 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14654 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14655 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14657 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14659 * locale/iso-639.def: Add Chitwani Tharu (the).
14661 2013-11-14 Andreas Schwab <schwab@suse.de>
14663 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14664 word instead of empty string.
14666 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14669 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14671 (__fe_nomask_env): Likewise.
14673 2013-11-13 Steve Ellcey <sellcey@mips.com>
14675 * benchtests/bench-timing.h: Include time.h.
14677 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14680 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14682 * sysdeps/unix/sysv/linux/configure: Regenerated.
14684 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14687 * stdlib/strtod_l.c (round_and_return): Do not consider
14688 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14689 exponent one less than half the least subnormal exponent.
14690 * stdlib/test-strtod-round-data: Add more tests.
14691 * stdlib/tst-strtod-round.c (tests): Regenerated.
14693 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14696 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14697 (__fe_mask_env): Likewise.
14698 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14699 libm_hidden_proto and add function prototype.
14700 (__fe_mask_env): Add function prototype.
14701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14702 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14704 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14706 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14708 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14710 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14711 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14713 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14715 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14716 of htab_find_slot().
14718 2013-11-11 David S. Miller <davem@davemloft.net>
14721 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14722 symbol in the non-vis3 case in static builds.
14723 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14724 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14725 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14726 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14728 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14731 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14734 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14736 * benchtests/Makefile: Add bench-strtod.
14737 * benchtests/bench-strtod.c: New file: strtod benchtest
14739 2013-11-11 Andreas Schwab <schwab@suse.de>
14742 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14743 terminating NUL in key length.
14745 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14747 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14748 Add artificial ODP entry for vDSO symbol for PPC64.
14749 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14750 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14752 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14755 * nss/getent.c (services_keys): Recognize services starting with digit.
14757 2013-11-06 David S. Miller <davem@davemloft.net>
14760 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14761 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14763 2013-11-06 Will Newton <will.newton@linaro.org>
14765 * manual/memory.texi (Malloc Examples): Remove register
14766 keyword from examples.
14768 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14770 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14772 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14775 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14776 depending on [__GCC_IEC_559 > 0].
14777 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14778 depending on [__GCC_IEC_559_COMPLEX > 0].
14780 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14782 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14785 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14787 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14789 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14792 * malloc/malloc (malloc_info): Do not handle first bin as
14795 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14797 * locale/iso-639.def: Add Central Nahuatl (nhn).
14799 2013-11-01 Bruno Haible <bruno@clisp.org>
14802 * manual/math.texi (BSD Random): Specify range upper bound as
14805 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14807 * locale/iso-639.def: Add Meadow Mari (mhr).
14809 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14811 [BZ #14752], [BZ #15763]
14812 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14814 * rt/tst_shm.c: Add test for escaping directory.
14816 2013-10-31 Andreas Schwab <schwab@suse.de>
14819 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14820 followed by 'x' as part of digit sequence.
14821 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14823 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14826 * configure.ac: allow GNU Make 4.0 and greater.
14827 * configure: Regenerated.
14829 2013-10-30 Will Newton <will.newton@linaro.org>
14832 * malloc/hooks.c (memalign_check): Limit alignment to the
14833 maximum representable power of two.
14834 * malloc/malloc.c (__libc_memalign): Likewise.
14835 * malloc/tst-memalign.c (do_test): Add test for very
14836 large alignment values.
14837 * malloc/tst-posix_memalign.c (do_test): Likewise.
14839 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14842 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14843 (munmap_chunk): Likewise.
14844 (mremap_chunk): Likewise.
14846 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14849 * stdlib/div.c (div): Remove obsolete code.
14850 * stdlib/ldiv.c (ldiv): Likewise.
14851 * stdlib/lldiv.c (lldiv): Likewise.
14853 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14856 * nss/nss_files/files-XXX.c (get_contents_ret): New
14858 (get_contents): New function.
14859 (internal_getent): Use it. Expand size of LINEBUFLEN.
14861 2013-10-30 Mike Frysinger <vapier@gentoo.org>
14863 * configure.in: Moved to ...
14864 * configure.ac: ... here. Change reference to configure.in
14866 * sysdeps/arm/preconfigure.ac: ... here.
14867 configure.in to configure.ac.
14868 * sysdeps/gnu/configure.in: Moved to ...
14869 * sysdeps/gnu/configure.ac: ... here.
14870 * sysdeps/i386/configure.in: Moved to ...
14871 * sysdeps/i386/configure.ac: ... here.
14872 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14873 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14874 * sysdeps/mach/configure.in: Moved to ...
14875 * sysdeps/mach/configure.ac: ... here.
14876 * sysdeps/mach/hurd/configure.in: Moved to ...
14877 * sysdeps/mach/hurd/configure.ac: ... here.
14878 * sysdeps/powerpc/configure.in: Moved to ...
14879 * sysdeps/powerpc/configure.ac: ... here.
14880 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14881 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14882 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14883 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14884 * sysdeps/s390/s390-32/configure.in: Moved to ...
14885 * sysdeps/s390/s390-32/configure.ac: ... here.
14886 * sysdeps/s390/s390-64/configure.in: Moved to ...
14887 * sysdeps/s390/s390-64/configure.ac: ... here.
14888 * sysdeps/sh/configure.in: Moved to ...
14889 * sysdeps/sh/configure.ac: ... here.
14890 * sysdeps/sparc/configure.in: Moved to ...
14891 * sysdeps/sparc/configure.ac: ... here.
14892 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14893 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14894 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14895 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14896 * sysdeps/x86_64/configure.in: Moved to ...
14897 * sysdeps/x86_64/configure.ac: ... here.
14898 * sysdeps/x86_64/preconfigure.in: Moved to ...
14899 * sysdeps/x86_64/preconfigure.ac: ... here.
14900 * aclocal.m4: Change reference to configure.in to configure.ac.
14901 * config.h.in: Likewise.
14902 * manual/install.texi: Likewise.
14903 * manual/maint.texi: Likewise.
14904 * Makefile: Likewise.
14905 * malloc/Makefile: Likewise.
14906 * nscd/Makefile: Likewise.
14907 * Makeconfig: Change reference to configure.in and
14908 preconfigure.in to configure.ac and preconfigure.ac
14910 * INSTALL: Regenerated.
14911 * configure: Likewise.
14912 * sysdeps/gnu/configure: Likewise.
14913 * sysdeps/i386/configure: Likewise.
14914 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14915 * sysdeps/mach/configure: Likewise.
14916 * sysdeps/mach/hurd/configure: Likewise.
14917 * sysdeps/powerpc/configure: Likewise.
14918 * sysdeps/powerpc/powerpc32/configure: Likewise.
14919 * sysdeps/powerpc/powerpc64/configure: Likewise.
14920 * sysdeps/s390/s390-32/configure: Likewise.
14921 * sysdeps/s390/s390-64/configure: Likewise.
14922 * sysdeps/sh/configure: Likewise.
14923 * sysdeps/sparc/configure: Likewise.
14924 * sysdeps/unix/sysv/linux/configure: Likewise.
14925 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14926 * sysdeps/x86_64/configure: Likewise.
14927 * sysdeps/x86_64/preconfigure: Likewise.
14929 2013-10-29 Andreas Schwab <schwab@suse.de>
14931 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14933 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14935 * benchtests/pow-inputs: Add new inputs.
14937 * benchtests/exp-inputs: Add new inputs.
14939 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14940 conditional check for return value.
14941 (__cos32): Likewise.
14943 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14945 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14946 to provide a boost for large inputs with word alignment.
14947 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14948 implementation based on optimized PPC64 strcpy.
14949 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14950 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14951 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14952 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14954 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14957 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14959 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14962 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14963 * time/tst-strptime.c (day_tests): Add testcase.
14965 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14968 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14970 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14973 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14974 MAP_FAILED on error.
14976 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14979 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14980 heap for large requests.
14982 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14985 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14986 result if the result has no associated interface.
14987 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14988 interface for all 127.X.Y.Z addresses.
14990 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
14992 * locale/iso-639.def: Add Ligurian (lij)
14994 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
14997 * sunrpc/rpc_main.c: Document rpcgen -5.
14999 2013-10-19 Michael Stahl <mstahl@redhat.com>
15001 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15003 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15006 * posix/glob.c: Match only directories when trailing slash is present.
15007 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15008 (main): Add testcase.
15010 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15013 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15015 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15017 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15018 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15019 AUTH_DES and cindex for FIPS 140-2.
15020 (DES Encryption): Add cindex FIPS 46-3.
15022 * locale/locarchive.h (struct locarhandle): Add fname.
15023 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15024 if an optional argument was specified to --list-archive,
15026 * locale/programs/locarchive.c (show_archive_content): Take new
15027 argument fname and pass it via ah.fname to open_archive.
15028 * locale/programs/localedef.h: Update decl.
15029 (open_archive): If AH->fname is non-null, open that file
15030 rather than the default file name, and don't ignore ENOENT.
15031 (create_archive): Set AH.fname to NULL.
15032 (delete_locales_from_archive): Likewise.
15033 (add_locales_to_archive): Likewise.
15034 * locale/programs/locfile.c (write_all_categories): Likewise.
15036 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15037 Aldy Hernandez <aldyh@redhat.com>
15039 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15040 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15041 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15042 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15043 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15044 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15045 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15046 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15047 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15048 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15049 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15050 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15051 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15052 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15053 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15055 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15057 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15059 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15061 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15062 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15064 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15065 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15066 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15067 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15069 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15070 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15071 * sysdeps/powerpc/preconfigure: Likewise.
15072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15074 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15075 Replace contents of file by #include of <fenv_libc.h>.
15076 * sysdeps/powerpc/soft-fp/sfp-machine.h
15077 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15079 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15080 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15081 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15082 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15083 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15084 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15085 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15086 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15087 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15088 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15089 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15090 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15092 Allow copysignl PLT reference to be missing.
15094 2013-10-18 Richard Sandiford <richard@codesourcery.com>
15095 Joseph Myers <joseph@codesourcery.com
15098 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15100 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15102 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15104 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15105 * elf/tst-tls1.c: Likewise.
15106 * elf/tst-tls10.h: Likewise.
15107 * elf/tst-tls14.c: Likewise.
15108 * elf/tst-tls2.c: Likewise.
15109 * elf/tst-tls3.c: Likewise.
15110 * elf/tst-tls4.c: Likewise.
15111 * elf/tst-tls5.c: Likewise.
15112 * elf/tst-tls6.c: Likewise.
15113 * elf/tst-tls7.c: Likewise.
15114 * elf/tst-tls8.c: Likewise.
15115 * elf/tst-tls9.c: Likewise.
15116 * elf/tst-tlsmod1.c: Likewise.
15117 * elf/tst-tlsmod13.c: Likewise.
15118 * elf/tst-tlsmod13a.c: Likewise.
15119 * elf/tst-tlsmod14a.c: Likewise.
15120 * elf/tst-tlsmod16a.c: Likewise.
15121 * elf/tst-tlsmod16b.c: Likewise.
15122 * elf/tst-tlsmod2.c: Likewise.
15123 * elf/tst-tlsmod3.c: Likewise.
15124 * elf/tst-tlsmod4.c: Likewise.
15125 * elf/tst-tlsmod5.c: Likewise.
15126 * elf/tst-tlsmod6.c: Likewise.
15128 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15131 * malloc/malloc.c: remove checks for statistics.
15133 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15136 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15137 * inet/tst-network.c: Add testcase.
15139 2013-10-17 Andreas Schwab <schwab@suse.de>
15142 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15143 to determine canonical name.
15145 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15147 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15148 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15149 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15150 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15151 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15152 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15153 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15154 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15155 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15156 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15157 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15158 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15159 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15160 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15161 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15162 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15163 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15164 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15165 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15166 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15167 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15168 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15169 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15170 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15171 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15172 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15173 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15174 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15175 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15176 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15177 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15178 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15179 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15180 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15181 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15182 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15183 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15184 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15185 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15186 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15187 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15188 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15189 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15190 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15191 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15192 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15193 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15194 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15195 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15196 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15197 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15198 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15199 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15200 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15201 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15202 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15203 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15204 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15206 2013-10-17 Joseph Myers <joseph@codesourcery.com>
15209 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15210 make result into a quiet NaN.
15212 2013-10-16 Joseph Myers <joseph@codesourcery.com>
15214 * soft-fp/adddf3.c: Fix horizontal whitespace.
15215 * soft-fp/addsf3.c: Likewise.
15216 * soft-fp/addtf3.c: Likewise.
15217 * soft-fp/divdf3.c: Likewise.
15218 * soft-fp/divsf3.c: Likewise.
15219 * soft-fp/divtf3.c: Likewise.
15220 * soft-fp/double.h: Likewise.
15221 * soft-fp/eqdf2.c: Likewise.
15222 * soft-fp/eqsf2.c: Likewise.
15223 * soft-fp/eqtf2.c: Likewise.
15224 * soft-fp/extenddftf2.c: Likewise.
15225 * soft-fp/extended.h: Likewise.
15226 * soft-fp/extendsfdf2.c: Likewise.
15227 * soft-fp/extendsftf2.c: Likewise.
15228 * soft-fp/extendxftf2.c: Likewise.
15229 * soft-fp/fixdfdi.c: Likewise.
15230 * soft-fp/fixdfsi.c: Likewise.
15231 * soft-fp/fixdfti.c: Likewise.
15232 * soft-fp/fixsfdi.c: Likewise.
15233 * soft-fp/fixsfsi.c: Likewise.
15234 * soft-fp/fixsfti.c: Likewise.
15235 * soft-fp/fixtfdi.c: Likewise.
15236 * soft-fp/fixtfsi.c: Likewise.
15237 * soft-fp/fixtfti.c: Likewise.
15238 * soft-fp/fixunsdfdi.c: Likewise.
15239 * soft-fp/fixunsdfsi.c: Likewise.
15240 * soft-fp/fixunsdfti.c: Likewise.
15241 * soft-fp/fixunssfdi.c: Likewise.
15242 * soft-fp/fixunssfsi.c: Likewise.
15243 * soft-fp/fixunssfti.c: Likewise.
15244 * soft-fp/fixunstfdi.c: Likewise.
15245 * soft-fp/fixunstfsi.c: Likewise.
15246 * soft-fp/fixunstfti.c: Likewise.
15247 * soft-fp/floatdidf.c: Likewise.
15248 * soft-fp/floatdisf.c: Likewise.
15249 * soft-fp/floatditf.c: Likewise.
15250 * soft-fp/floatsidf.c: Likewise.
15251 * soft-fp/floatsisf.c: Likewise.
15252 * soft-fp/floatsitf.c: Likewise.
15253 * soft-fp/floattidf.c: Likewise.
15254 * soft-fp/floattisf.c: Likewise.
15255 * soft-fp/floattitf.c: Likewise.
15256 * soft-fp/floatundidf.c: Likewise.
15257 * soft-fp/floatundisf.c: Likewise.
15258 * soft-fp/floatunditf.c: Likewise.
15259 * soft-fp/floatunsidf.c: Likewise.
15260 * soft-fp/floatunsisf.c: Likewise.
15261 * soft-fp/floatunsitf.c: Likewise.
15262 * soft-fp/floatuntidf.c: Likewise.
15263 * soft-fp/floatuntisf.c: Likewise.
15264 * soft-fp/floatuntitf.c: Likewise.
15265 * soft-fp/fmadf4.c: Likewise.
15266 * soft-fp/fmasf4.c: Likewise.
15267 * soft-fp/fmatf4.c: Likewise.
15268 * soft-fp/gedf2.c: Likewise.
15269 * soft-fp/gesf2.c: Likewise.
15270 * soft-fp/getf2.c: Likewise.
15271 * soft-fp/ledf2.c: Likewise.
15272 * soft-fp/lesf2.c: Likewise.
15273 * soft-fp/letf2.c: Likewise.
15274 * soft-fp/muldf3.c: Likewise.
15275 * soft-fp/mulsf3.c: Likewise.
15276 * soft-fp/multf3.c: Likewise.
15277 * soft-fp/negdf2.c: Likewise.
15278 * soft-fp/negsf2.c: Likewise.
15279 * soft-fp/negtf2.c: Likewise.
15280 * soft-fp/op-1.h: Likewise.
15281 * soft-fp/op-2.h: Likewise.
15282 * soft-fp/op-4.h: Likewise.
15283 * soft-fp/op-8.h: Likewise.
15284 * soft-fp/op-common.h: Likewise.
15285 * soft-fp/quad.h: Likewise.
15286 * soft-fp/single.h: Likewise.
15287 * soft-fp/soft-fp.h: Likewise.
15288 * soft-fp/sqrtdf2.c: Likewise.
15289 * soft-fp/sqrtsf2.c: Likewise.
15290 * soft-fp/sqrttf2.c: Likewise.
15291 * soft-fp/subdf3.c: Likewise.
15292 * soft-fp/subsf3.c: Likewise.
15293 * soft-fp/subtf3.c: Likewise.
15294 * soft-fp/truncdfsf2.c: Likewise.
15295 * soft-fp/trunctfdf2.c: Likewise.
15296 * soft-fp/trunctfsf2.c: Likewise.
15297 * soft-fp/trunctfxf2.c: Likewise.
15298 * soft-fp/unorddf2.c: Likewise.
15299 * soft-fp/unordsf2.c: Likewise.
15300 * soft-fp/unordtf2.c: Likewise.
15302 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15304 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15305 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15307 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15309 * elf/dl-libc.c: Clear initfini list after freeing.
15311 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15313 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15314 * soft-fp/addsf3.c: Likewise.
15315 * soft-fp/addtf3.c: Likewise.
15316 * soft-fp/divdf3.c: Likewise.
15317 * soft-fp/divsf3.c: Likewise.
15318 * soft-fp/divtf3.c: Likewise.
15319 * soft-fp/double.h: Likewise.
15320 * soft-fp/eqdf2.c: Likewise.
15321 * soft-fp/eqsf2.c: Likewise.
15322 * soft-fp/eqtf2.c: Likewise.
15323 * soft-fp/extenddftf2.c: Likewise.
15324 * soft-fp/extended.h: Likewise.
15325 * soft-fp/extendsfdf2.c: Likewise.
15326 * soft-fp/extendsftf2.c: Likewise.
15327 * soft-fp/extendxftf2.c: Likewise.
15328 * soft-fp/fixdfdi.c: Likewise.
15329 * soft-fp/fixdfsi.c: Likewise.
15330 * soft-fp/fixdfti.c: Likewise.
15331 * soft-fp/fixsfdi.c: Likewise.
15332 * soft-fp/fixsfsi.c: Likewise.
15333 * soft-fp/fixsfti.c: Likewise.
15334 * soft-fp/fixtfdi.c: Likewise.
15335 * soft-fp/fixtfsi.c: Likewise.
15336 * soft-fp/fixtfti.c: Likewise.
15337 * soft-fp/fixunsdfdi.c: Likewise.
15338 * soft-fp/fixunsdfsi.c: Likewise.
15339 * soft-fp/fixunsdfti.c: Likewise.
15340 * soft-fp/fixunssfdi.c: Likewise.
15341 * soft-fp/fixunssfsi.c: Likewise.
15342 * soft-fp/fixunssfti.c: Likewise.
15343 * soft-fp/fixunstfdi.c: Likewise.
15344 * soft-fp/fixunstfsi.c: Likewise.
15345 * soft-fp/fixunstfti.c: Likewise.
15346 * soft-fp/floatdidf.c: Likewise.
15347 * soft-fp/floatdisf.c: Likewise.
15348 * soft-fp/floatditf.c: Likewise.
15349 * soft-fp/floatsidf.c: Likewise.
15350 * soft-fp/floatsisf.c: Likewise.
15351 * soft-fp/floatsitf.c: Likewise.
15352 * soft-fp/floattidf.c: Likewise.
15353 * soft-fp/floattisf.c: Likewise.
15354 * soft-fp/floattitf.c: Likewise.
15355 * soft-fp/floatundidf.c: Likewise.
15356 * soft-fp/floatundisf.c: Likewise.
15357 * soft-fp/floatunsidf.c: Likewise.
15358 * soft-fp/floatunsisf.c: Likewise.
15359 * soft-fp/floatuntidf.c: Likewise.
15360 * soft-fp/floatuntisf.c: Likewise.
15361 * soft-fp/floatuntitf.c: Likewise.
15362 * soft-fp/fmadf4.c: Likewise.
15363 * soft-fp/fmasf4.c: Likewise.
15364 * soft-fp/fmatf4.c: Likewise.
15365 * soft-fp/gedf2.c: Likewise.
15366 * soft-fp/gesf2.c: Likewise.
15367 * soft-fp/getf2.c: Likewise.
15368 * soft-fp/ledf2.c: Likewise.
15369 * soft-fp/lesf2.c: Likewise.
15370 * soft-fp/letf2.c: Likewise.
15371 * soft-fp/muldf3.c: Likewise.
15372 * soft-fp/mulsf3.c: Likewise.
15373 * soft-fp/multf3.c: Likewise.
15374 * soft-fp/negdf2.c: Likewise.
15375 * soft-fp/negsf2.c: Likewise.
15376 * soft-fp/negtf2.c: Likewise.
15377 * soft-fp/op-1.h: Likewise.
15378 * soft-fp/op-2.h: Likewise.
15379 * soft-fp/op-4.h: Likewise.
15380 * soft-fp/op-8.h: Likewise.
15381 * soft-fp/op-common.h: Likewise.
15382 * soft-fp/quad.h: Likewise.
15383 * soft-fp/single.h: Likewise.
15384 * soft-fp/soft-fp.h: Likewise.
15385 * soft-fp/sqrtdf2.c: Likewise.
15386 * soft-fp/sqrtsf2.c: Likewise.
15387 * soft-fp/sqrttf2.c: Likewise.
15388 * soft-fp/subdf3.c: Likewise.
15389 * soft-fp/subsf3.c: Likewise.
15390 * soft-fp/subtf3.c: Likewise.
15391 * soft-fp/truncdfsf2.c: Likewise.
15392 * soft-fp/trunctfdf2.c: Likewise.
15393 * soft-fp/trunctfsf2.c: Likewise.
15394 * soft-fp/trunctfxf2.c: Likewise.
15395 * soft-fp/unorddf2.c: Likewise.
15396 * soft-fp/unordsf2.c: Likewise.
15397 * soft-fp/unordtf2.c: Likewise.
15399 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15402 * misc/error.c (error_tail): Fix possible buffer overflow.
15404 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15407 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15410 2013-10-14 P. J. McDermott <pj@pehjota.net>
15413 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15414 testing pipefail option.
15416 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15418 * soft-fp/double.h: Indent preprocessor directives inside #if.
15419 * soft-fp/extended.h: Likewise.
15420 * soft-fp/op-2.h: Likewise.
15421 * soft-fp/op-4.h: Likewise.
15422 * soft-fp/op-common.h: Likewise.
15423 * soft-fp/quad.h: Likewise.
15424 * soft-fp/single.h: Likewise.
15425 * soft-fp/soft-fp.h: Likewise.
15427 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15429 * iconv/iconv_prog.c: Fix typos.
15430 * stdio-common/psiginfo-data.h: Likewise.
15432 2013-10-12 Reuben Thomas <rrt@sc3d.org>
15435 * locale/setlocale.c: Fix typo.
15437 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15440 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15441 signaling NaN arguments.
15442 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15443 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15446 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15447 unordered operands.
15448 * soft-fp/gesf2.c (__gesf2): Likewise.
15449 * soft-fp/getf2.c (__getf2): Likewise.
15450 * soft-fp/ledf2.c (__ledf2): Likewise.
15451 * soft-fp/lesf2.c (__lesf2): Likewise.
15452 * soft-fp/letf2.c (__letf2): Likewise.
15454 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15455 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15456 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15457 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15458 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15459 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15460 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15461 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15462 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15463 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15464 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15465 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15466 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15467 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15468 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15469 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15470 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15471 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15472 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15473 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15474 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15475 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15476 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15477 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15478 * soft-fp/floattidf.c (__floattidf): Likewise.
15479 * soft-fp/floattisf.c (__floattisf): Likewise.
15480 * soft-fp/floattitf.c (__floattitf): Likewise.
15481 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15482 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15483 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15484 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15485 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15486 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15487 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15488 * soft-fp/gesf2.c (__gesf2): Likewise.
15489 * soft-fp/getf2.c (__getf2): Likewise.
15490 * soft-fp/ledf2.c (__ledf2): Likewise.
15491 * soft-fp/lesf2.c (__lesf2): Likewise.
15492 * soft-fp/letf2.c (__letf2): Likewise.
15494 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15495 Undefine and redefine.
15496 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15497 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15498 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15499 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15500 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15501 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15502 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15503 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15504 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15505 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15506 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15507 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15508 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15509 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15510 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15513 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15514 without decrementing exponent if mantissa >= that for the
15515 denominator, not >.
15516 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15517 denominator, not >. Decrement exponent in < case instead of
15518 incrementing in >= case.
15519 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15520 without decrementing exponent if mantissa >= that for the
15521 denominator, not >.
15523 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15524 computing saturated result for unsigned overflow.
15526 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15527 Jeff Law <law@redhat.com>
15529 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15530 (atan2Mp): Add systemtap probe marker.
15531 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15532 (__ieee754_log): Add systemtap probe marker.
15533 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15534 (atanMp): Add systemtap probe marker.
15535 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15536 (tanMp): Add systemtap probe marker.
15537 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15538 (__slowexp): Add systemtap probe marker.
15539 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15540 (__slowpow): Add systemtap probe marker.
15541 * manual/probes.texi: Document probes.
15543 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
15546 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15548 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15550 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15551 written to buffer but not flushed.
15552 * libio/iofwrite_u.c: Likewise.
15553 * libio/iopadn.c: Return bytes returned even if EOF was
15555 * libio/iowpadn.c: Likewise.
15556 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15557 if _IO_padn does not write the whole buffer.
15558 [!COMPILE_WPRINTF] (PAD): Likewise.
15560 2013-10-10 David S. Miller <davem@davemloft.net>
15562 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15565 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15567 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15568 instead of FSF address.
15569 * soft-fp/fixdfti.c: Likewise.
15570 * soft-fp/fixsfti.c: Likewise.
15571 * soft-fp/fixtfti.c: Likewise.
15572 * soft-fp/fixunsdfti.c: Likewise.
15573 * soft-fp/fixunssfti.c: Likewise.
15574 * soft-fp/fixunstfti.c: Likewise.
15575 * soft-fp/floattidf.c: Likewise.
15576 * soft-fp/floattisf.c: Likewise.
15577 * soft-fp/floattitf.c: Likewise.
15578 * soft-fp/floatuntidf.c: Likewise.
15579 * soft-fp/floatuntisf.c: Likewise.
15580 * soft-fp/floatuntitf.c: Likewise.
15581 * soft-fp/trunctfxf2.c: Likewise.
15583 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15584 * soft-fp/fixdfti.c: Likewise.
15585 * soft-fp/fixsfti.c: Likewise.
15586 * soft-fp/fixtfti.c: Likewise.
15587 * soft-fp/fixunsdfti.c: Likewise.
15588 * soft-fp/fixunssfti.c: Likewise.
15589 * soft-fp/fixunstfti.c: Likewise.
15590 * soft-fp/floattidf.c: Likewise.
15591 * soft-fp/floattisf.c: Likewise.
15592 * soft-fp/floattitf.c: Likewise.
15593 * soft-fp/floatuntidf.c: Likewise.
15594 * soft-fp/floatuntisf.c: Likewise.
15595 * soft-fp/floatuntitf.c: Likewise.
15596 * soft-fp/trunctfxf2.c: Likewise.
15598 2013-10-10 David S. Miller <davem@davemloft.net>
15600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15602 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15604 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15605 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15606 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15607 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15608 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15609 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15610 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15612 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15613 for NaNs before doing comparisons on argument.
15614 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15617 2013-10-10 Will Newton <will.newton@linaro.org>
15619 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15620 passed to _int_memalign does not overflow.
15622 2013-10-10 Torvald Riegel <triegel@redhat.com>
15624 * scripts/bench.pl: Add include-sources directive.
15625 * benchtests/README: Update documentation.
15627 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15629 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15630 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15631 instead of FP_INIT_ROUNDMODE.
15632 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15633 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15636 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15637 copy class of input value.
15638 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15639 not handle exceptions.
15640 * soft-fp/negsf2.c (__negsf2): Likewise.
15641 * soft-fp/negtf2.c (__negtf2): Likewise.
15642 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15644 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15646 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15647 semicolon. From Linux kernel.
15649 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15651 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15653 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15656 * manual/socket.texi: Added statement about buffer
15657 for gethostbyname2_r.
15659 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15661 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15662 Use .p2align directive instead, throughout.
15663 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15664 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15665 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15666 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15667 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15668 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15669 * sysdeps/x86_64/strchr.S: Likewise.
15670 * sysdeps/x86_64/strrchr.S: Likewise.
15672 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15674 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15676 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15678 * sysdeps/generic/math_private.h (__mpsin1): Remove
15680 (__mpcos1): Likewise.
15681 (__mpsin): New argument __range_reduce.
15682 (__mpcos): Likewise.
15683 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15684 (slow): Use __mpsin and __mpcos.
15688 (sloww1): Likewise.
15689 (sloww2): Likewise.
15690 (bsloww): Likewise.
15691 (bsloww1): Likewise.
15692 (bsloww2): Likewise.
15693 (cslow2): Likewise.
15694 (csloww): Likewise.
15695 (csloww1): Likewise.
15696 (csloww2): Likewise.
15697 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15698 range_reduce. Merge in __mpsin1.
15699 (__mpcos): Likewise.
15700 (__mpsin1): Remove.
15701 (__mpcos1): Likewise.
15703 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15705 * locale/loadlocale.c (_nl_intern_locale_data): Use
15707 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15708 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15709 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15710 obstack data is appropriately aligned.
15711 (obstack_int32_grow_fast): Likewise.
15712 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15713 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15714 (add_locale_uint32_array): Likewise.
15716 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15718 * benchtests/Makefile: Remove ARGLIST and RET variables.
15719 ($(objpfx)bench-%.c): Pass only function name to the script.
15720 * benchtests/README: Update documentation.
15721 * benchtests/acos-inputs: Add new directives.
15722 * benchtests/acosh-inputs: Likewise.
15723 * benchtests/asin-inputs: Likewise.
15724 * benchtests/asinh-inputs: Likewise.
15725 * benchtests/atan-inputs: Likewise.
15726 * benchtests/atanh-inputs: Likewise.
15727 * benchtests/cos-inputs: Likewise.
15728 * benchtests/cosh-inputs: Likewise.
15729 * benchtests/exp-inputs: Likewise.
15730 * benchtests/log-inputs: Likewise.
15731 * benchtests/pow-inputs: Likewise.
15732 * benchtests/rint-inputs: Likewise.
15733 * benchtests/sin-inputs: Likewise.
15734 * benchtests/sinh-inputs: Likewise.
15735 * benchtests/tan-inputs: Likewise.
15736 * benchtests/tanh-inputs: Likewise.
15737 * scripts/bench.pl: Add support for new directives.
15739 2013-10-07 Alan Modra <amodra@gmail.com>
15741 * README: Fix careless merge.
15743 2013-10-05 Alan Modra <amodra@gmail.com>
15745 * NEWS: Mention powerpc64le support and bugs fixed.
15746 * README: Both big-endian and little-endian powerpc64 supported.
15748 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15750 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15751 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15752 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15753 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15755 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15757 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15760 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15762 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15763 Move -mhard-float appending from
15764 ports/sysdeps/powerpc/powerpc32/Makefile.
15765 [$(with-fp) = yes] (ASFLAGS): Likewise.
15766 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15767 * sysdeps/powerpc/nofpu: Move directory from
15768 ports/sysdeps/powerpc/nofpu.
15769 * sysdeps/powerpc/soft-fp: Move directory from
15770 ports/sysdeps/powerpc/soft-fp.
15771 * sysdeps/powerpc/powerpc32/405: Move directory from
15772 ports/sysdeps/powerpc/powerpc32/405.
15773 * sysdeps/powerpc/powerpc32/440: Move directory from
15774 ports/sysdeps/powerpc/powerpc32/440.
15775 * sysdeps/powerpc/powerpc32/464: Move directory from
15776 ports/sysdeps/powerpc/powerpc32/464.
15777 * sysdeps/powerpc/powerpc32/476: Move directory from
15778 ports/sysdeps/powerpc/powerpc32/476.
15779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15780 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15782 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15784 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15786 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15788 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15789 * README: Update for powerpc-*-linux-gnu software floating point
15792 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15793 case to powerpc/powerpc32*.
15794 * sysdeps/unix/sysv/linux/configure: Regenerated.
15796 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15797 (_FPU_MASK_OM): Define as 0x04.
15798 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15799 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15801 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15803 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15806 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15809 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15812 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15813 and setcontext_e500.
15815 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15817 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15819 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15821 * manual/threads.texi (Default Thread Attributes): Fix typo.
15823 2013-10-04 Will Newton <will.newton@linaro.org>
15825 * malloc/Makefile: Add tst-memalign.
15826 * malloc/tst-memalign.c: New file.
15828 * malloc/tst-posix_memalign.c: Add comments.
15829 (do_test): Add comments and call free on all potentially
15830 allocated pointers. Add space after cast.
15832 * malloc/tst-pvalloc.c: Add comments.
15833 (do_test): Add comments and call free on all potentially
15834 allocated pointers. Remove duplicate check for NULL pointer.
15835 Add space after cast.
15837 * malloc/tst-valloc.c: Add comments.
15838 (do_test): Add comments and call free on all potentially
15839 allocated pointers. Remove duplicate check for NULL pointer.
15840 Add space after cast.
15842 2013-10-04 Alan Modra <amodra@gmail.com>
15844 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15845 Use stdint types in rather than __attribute__((mode())).
15846 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15848 2013-10-04 Alan Modra <amodra@gmail.com>
15850 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15851 Correct handling of unaligned relocs for little-endian.
15852 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15854 2013-10-04 Alan Modra <amodra@gmail.com>
15856 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15857 * configure: Regenerate.
15858 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15859 * shlib-versions: Likewise.
15861 2013-10-04 Alan Modra <amodra@gmail.com>
15863 * string/tester.c (test_memrchr): Increment reported test cycle.
15865 2013-10-04 Alan Modra <amodra@gmail.com>
15867 * string/test-memcpy.c (do_one_test): When reporting errors, print
15868 string address and don't overrun end of string.
15870 2013-10-04 Alan Modra <amodra@gmail.com>
15872 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15873 insrdi. Make better use of reg selection to speed exit slightly.
15874 Schedule entry path a little better. Remove useless "are we done"
15875 checks on entry to main loop. Handle wrapping around zero address.
15876 Correct main loop count. Handle single left-over word from main
15877 loop inline rather than by using loop_small. Remove extra word
15878 case in loop_small caused by wrong loop count. Add little-endian
15880 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15881 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15883 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15884 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15885 support. Avoid rlwimi.
15886 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15888 2013-10-04 Alan Modra <amodra@gmail.com>
15890 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15891 insrdi. Formatting.
15892 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15893 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15894 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15895 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15896 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15897 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15899 2013-10-04 Alan Modra <amodra@gmail.com>
15901 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15902 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15903 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15904 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15905 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15906 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15907 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15908 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15909 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15910 use of regs. Use power7 mtocrf. Tidy function tails.
15912 2013-10-04 Alan Modra <amodra@gmail.com>
15914 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15915 Formatting. Consistently use rXXX register defines or rN defines.
15916 Use early exit labels that avoid restoring unused non-volatile regs.
15917 Make cr field use more consistent with rWORDn compares. Rename
15918 regs used as shift registers for unaligned loop, using rN defines
15919 for short lifetime/multiple use regs.
15920 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15921 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15922 addi 1,1,64 to pop stack frame. Simplify return value code.
15923 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15925 2013-10-04 Alan Modra <amodra@gmail.com>
15927 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15928 support. Correct typos, formatting. Optimize tail. Use insrdi
15929 rather than rlwimi.
15930 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15931 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15932 little-endian support. Correct typos.
15933 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15934 rather than rlwimi.
15935 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15936 in loop and entry code to keep "and." results.
15937 (strchr): Add little-endian support. Comment. Move cntlzd
15939 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15941 2013-10-04 Alan Modra <amodra@gmail.com>
15943 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15944 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15945 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15946 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15948 2013-10-04 Alan Modra <amodra@gmail.com>
15950 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15951 (rTMP): Define as r11.
15952 (strcmp): Add little-endian support. Optimise tail.
15953 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15954 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15955 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15956 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15957 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15958 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15959 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15961 2013-10-04 Alan Modra <amodra@gmail.com>
15963 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15964 little-endian support. Remove unnecessary "are we done" tests.
15965 Handle "s" wrapping around zero and extremely large "size".
15966 Correct main loop count. Handle single left-over word from main
15967 loop inline rather than by using small_loop. Correct comments.
15968 Delete "zero" tail, use "end_max" instead.
15969 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15971 2013-10-04 Alan Modra <amodra@gmail.com>
15973 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15974 support. Don't branch over align.
15975 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15976 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15977 support. Rearrange tmp reg use to suit. Comment.
15978 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15980 2013-10-04 Alan Modra <amodra@gmail.com>
15982 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15984 2013-10-04 Alan Modra <amodra@gmail.com>
15986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15987 conditional form of branch and link when obtaining pc.
15988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15990 2013-10-04 Alan Modra <amodra@gmail.com>
15992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15997 2013-10-04 Alan Modra <amodra@gmail.com>
15999 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16000 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16001 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16002 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16003 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16004 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16005 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16006 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16007 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16008 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16010 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16011 Alistair Popple <alistair@ozlabs.au.ibm.com>
16012 Alan Modra <amodra@gmail.com>
16015 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16016 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16017 _dl_hwcap access for little-endian.
16018 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16019 destroy vmx regs when saving unaligned.
16020 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16021 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16022 destroy vmx regs when saving unaligned.
16024 2013-10-04 Alan Modra <amodra@gmail.com>
16026 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16027 Don't use a union to pack hi/low value.
16029 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16031 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16033 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16034 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16035 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16036 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16037 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16039 2013-10-04 Alan Modra <amodra@gmail.com>
16041 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16042 constants to usual value for .cst8 section, and remove redundant
16044 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16045 constant for 0x1p52. Load little-endian words of double from
16046 correct stack offsets.
16048 2013-10-04 Alan Modra <amodra@gmail.com>
16050 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16051 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16052 words of double from correct stack offsets.
16053 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16054 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16055 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16056 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16057 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16058 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16059 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16060 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16061 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16062 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16063 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16064 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16065 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16066 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16067 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16068 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16069 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16071 2013-10-04 Alan Modra <amodra@gmail.com>
16073 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16074 64-bit int/double union.
16075 (_FPU_SETCW): Likewise.
16076 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16077 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16079 2013-10-04 Alan Modra <amodra@gmail.com>
16081 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16082 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16084 2013-10-04 Alan Modra <amodra@gmail.com>
16086 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16087 use vector int constants.
16088 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16090 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16092 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16093 array with long long.
16094 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16095 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16096 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16097 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16098 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16099 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16100 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16101 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16102 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16103 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16104 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16105 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16106 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16108 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16110 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16111 (__signbit): Likewise. Correct for little-endian.
16112 (__signbitl): Call __signbit.
16113 (lrint): Correct for little-endian.
16114 (lrintf): Call lrint.
16116 2013-10-04 Alan Modra <amodra@gmail.com>
16118 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16119 union 32-bit int array member with 64-bit int array.
16120 (t515, tm256): Double rather than long double.
16121 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16123 2013-10-04 Alan Modra <amodra@gmail.com>
16125 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16127 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16128 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16129 version of math_ldbl.h.
16131 2013-10-04 Alan Modra <amodra@gmail.com>
16133 [BZ #15734], [BZ #15735]
16134 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16135 all uses of ieee875 long double macros and unions. Simplify test
16136 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16137 ldbl_extract_mantissa value for ix,iy exponents. Properly
16138 normalize after ldbl_extract_mantissa, and don't add hidden bit
16139 already handled. Don't treat low word of ieee854 mantissa like
16140 low word of IBM long double and mask off bit when testing for
16142 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16143 all uses of ieee875 long double macros and unions. Simplify tests
16144 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16145 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16146 two1022, instead use their values. Recognise that tests for large
16147 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16148 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16149 Rewrite all uses of ieee875 long double macros and unions. Simplify
16150 test for 0.0L and nan. Correct negation.
16151 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16152 ieee875 long double macros and unions. Correct output for large
16153 magnitude x. Correct absolute value calculation.
16154 (__erfcl): Likewise.
16155 * math/libm-test.inc: Add tests for errors discovered in IBM long
16156 double versions of fmodl, remainderl, erfl and erfcl.
16158 2013-10-04 Alan Modra <amodra@gmail.com>
16160 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16161 all uses of ieee854 long double macros and unions. Simplify tests
16162 for long doubles that are fully specified by the high double.
16163 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16165 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16166 Remove dead code too.
16167 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16168 (__ieee754_ynl): Likewise.
16169 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16170 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16171 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16172 Remove dead code too.
16173 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16174 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16175 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16176 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16178 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16180 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16181 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16182 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16183 Comment on variable precision.
16184 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16185 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16187 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16188 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16189 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16190 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16191 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16193 2013-10-04 Alan Modra <amodra@gmail.com>
16195 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16196 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16197 all uses of ieee854 long double macros and unions.
16198 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16199 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16200 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16201 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16202 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16203 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16205 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16206 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16207 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16208 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16209 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16210 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16211 Simplify sign and nan test too.
16212 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16213 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16214 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16215 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16217 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16218 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16220 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16221 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16222 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16223 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16224 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16225 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16227 2013-10-04 Alan Modra <amodra@gmail.com>
16229 * stdio-common/printf_size.c (__printf_size): Don't use
16230 union ieee854_long_double in fpnum union.
16231 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16232 signbit macro to retrieve sign from long double.
16233 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16234 retrieve sign from long double.
16235 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16236 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16237 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16238 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16239 * math/test-misc.c (main): Don't use union ieee854_long_double.
16241 2013-10-04 Alan Modra <amodra@gmail.com>
16244 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16245 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16246 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16247 calculation. Remove unnecessary test for denormal exponent.
16248 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16249 Correct handling of denormals. Avoid undefined shift behaviour.
16250 Correct normalisation of low mantissa when low double is denormal.
16251 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16252 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16253 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16254 Correct normalisation of low mantissa. Test for overflow of high
16255 mantissa and normalise.
16256 (ldbl_nearbyint): Use more readable constant for two52.
16257 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16258 (__mpn_construct_long_double): Fix test for overflow of high
16259 mantissa and correct normalisation. Avoid undefined shift.
16261 2013-10-04 Alan Modra <amodra@gmail.com>
16263 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16264 (union ibm_extended_long_double): Define as an array of ieee754_double.
16265 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16266 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16267 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16268 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16269 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16270 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16271 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16272 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16273 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16274 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16275 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16277 2013-10-03 Joseph Myers <joseph@codesourcery.com>
16279 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16280 page size instead of calling getpagesize.
16282 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16283 (LOCFILE_ALIGN_MASK): Likewise.
16284 (LOCFILE_ALIGN_UP): Likewise.
16285 (LOCFILE_ALIGNED_P): Likewise.
16286 * locale/programs/ld-collate.c (collate_output): Use the new
16287 macros instead of __alignof__ (int32_t).
16288 * locale/weight.h (findidx): Likewise.
16290 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16293 * manual/string.texi: Fix strncat and wcsncat.
16295 2013-10-03 Brooks Moses <bmoses@google.com>
16298 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16299 * Makerules: ...here, and adjust associated comments.
16301 2013-10-02 Will Newton <will.newton@linaro.org>
16303 * malloc/Makefile: Add tst-pvalloc.
16304 * malloc/tst-pvalloc.c: New file.
16306 2013-10-02 Will Newton <will.newton@linaro.org>
16308 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16309 improve test coverage.
16311 2013-10-02 Will Newton <will.newton@linaro.org>
16313 * malloc/Makefile: Add tst-posix_memalign.
16314 * malloc/tst-posix_memalign.c: New file.
16316 2013-10-01 Eric Blake <eblake@redhat.com>
16318 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16319 Use __THROWNL rather than __THROW on static functions.
16321 2013-09-30 Petr Machata <pmachata@redhat.com>
16323 * elf/elf.h (R_AARCH64_ABS16): New macro.
16324 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16325 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16326 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16327 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16328 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16329 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16330 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16331 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16332 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16333 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16334 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16335 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16336 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16337 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16338 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16339 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16340 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16341 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16342 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16343 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16344 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16345 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16346 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16347 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16348 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16349 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16350 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16351 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16352 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16353 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16354 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16355 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16356 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16357 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16358 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16359 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16360 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16361 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16362 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16363 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16364 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16365 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16366 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16367 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16368 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16369 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16370 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16371 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16372 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16373 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16374 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16375 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16376 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16377 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16378 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16379 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16380 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16381 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16382 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16383 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16384 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16385 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16386 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16387 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16388 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16389 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16390 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16391 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16392 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16393 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16394 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16395 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16396 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16397 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16398 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16399 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16400 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16401 (R_AARCH64_TLSDESC_LDR): Likewise.
16402 (R_AARCH64_TLSDESC_ADD): Likewise.
16403 (R_AARCH64_TLSDESC_CALL): Likewise.
16405 2013-09-30 Andreas Schwab <schwab@suse.de>
16408 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16409 the nss database lookup.
16410 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16413 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16415 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16417 2013-09-28 P. J. McDermott <pj@pehjota.net>
16419 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16420 ${Bash-specific parameter/pattern/string} parameter expansion.
16421 * sysdeps/unix/make-syscalls.sh: Likewise.
16423 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16425 * sysdeps/sh/stackguard-macros.h: New file.
16427 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
16429 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16430 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16431 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16432 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16433 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16434 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16436 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16438 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16439 Fix thread ID register.
16441 2013-09-25 Joseph Myers <joseph@codesourcery.com>
16443 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16444 [POSIX || UNIX98]: Require rather than permitting all symbols from
16446 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16447 element of struct sched_param.
16448 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16449 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16450 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16451 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16454 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16456 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16457 argument calculation.
16459 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16461 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16463 [POSIX] (pthread_attr_t): Do not require type.
16464 [POSIX] (pthread_cond_t): Likewise.
16465 [POSIX] (pthread_condattr_t): Likewise.
16466 [POSIX] (pthread_key_t): Likewise.
16467 [POSIX] (pthread_mutex_t): Likewise.
16468 [POSIX] (pthread_mutexattr_t): Likewise.
16469 [POSIX] (pthread_once_t): Likewise.
16470 [POSIX] (pthread_t): Likewise.
16471 [POSIX-based standards] (pthread_atfork): Expect function.
16473 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16474 Richard Sandiford <richard@codesourcery.com>
16476 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16477 (swap_endianness_p): New extern variable.
16478 (set_big_endian): New inline function.
16479 (maybe_swap_uint32): Likewise.
16480 (maybe_swap_uint32_array): Likewise.
16481 (maybe_swap_uint32_obstack): Likewise.
16482 * locale/programs/locfile.c: Include <stdbool.h>.
16483 (swap_endianness_p): New variable.
16484 (add_locale_uint32): Call maybe_swap_uint32.
16485 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16486 (write_locale_data): Call maybe_swap_uint32_array.
16487 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16489 (obstack_int32_grow_fast): Likewise.
16490 (output_weightwc): Call maybe_swap_uint32_obstack.
16491 (collate_output): Likewise.
16492 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16493 (OPT_LITTLE_ENDIAN): Likewise.
16494 (options): Add --little-endian and --big-endian options.
16495 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16496 * locale/programs/locarchive.c: Include "locfile.h".
16500 (create_archive): Use the new macros to access fields of
16501 structures directly mapped from or written to locale archives.
16502 (oldlocrecentcmp): Likewise.
16503 (enlarge_archive): Likewise.
16504 (insert_name): Likewise.
16505 (add_alias): Likewise.
16506 (add_locale): Likewise.
16507 (delete_locales_from_archive): Likewise.
16508 (show_archive_content): Likewise.
16509 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16512 2013-09-24 Roland McGrath <roland@hack.frob.com>
16514 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16515 http://www.gnu.org/doc/freemanuals.texi.
16516 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16518 2013-09-24 Will Newton <will.newton@linaro.org>
16520 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16523 2013-09-23 Joseph Myers <joseph@codesourcery.com>
16525 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16528 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16530 * manual/threads.texi (POSIX Threads): Fix a typo.
16532 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16535 * string/tst-strcoll-overflow.c: New test case.
16536 * string/Makefile (xtests): Add tst-strcoll-overflow.
16537 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16538 cache if string sizes may cause integer overflow.
16541 * string/strcoll_l.c (coll_seq): New members rule, idx,
16542 save_idx and back_us.
16543 (get_next_seq_nocache): New function.
16544 (do_compare_nocache): New function.
16545 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16548 2013-09-23 Carlos O'Donell <carlos@redhat.com>
16551 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16552 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16553 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16556 * elf/Makefile (tests): Add tst-ptrguard1.
16557 (tests-static): Add tst-ptrguard1-static.
16558 (tst-ptrguard1-ARGS): Define.
16559 (tst-ptrguard1-static-ARGS): Define.
16560 * elf/tst-ptrguard1.c: New file.
16561 * elf/tst-ptrguard1-static.c: New file.
16562 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16563 * sysdeps/i386/stackguard-macros.h: Likewise.
16564 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16565 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16566 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16567 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16568 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16569 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16571 2013-09-23 Hector Marco <hecmargi@upv.es>
16572 Ismael Ripoll <iripoll@disca.upv.es>
16573 Carlos O'Donell <carlos@redhat.com>
16576 * sysdeps/generic/stackguard-macros.h: Define
16577 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16578 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16579 Define __pointer_chk_guard_local.
16580 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16581 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16583 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16586 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16588 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16590 * include/string.h (__ffs): Declare as hidden.
16591 * string/ffs.c (__ffs): Define as hidden.
16592 * sysdeps/i386/ffs.c (__ffs): Likewise.
16593 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16594 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16595 * sysdeps/s390/ffs.c (__ffs): Likewise.
16596 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16598 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16600 * NEWS: Mention malloc probes.
16602 * malloc/arena.c (new_heap): New memory_heap_new probe.
16603 (grow_heap): New memory_heap_more probe.
16604 (shrink_heap): New memory_heap_less probe.
16605 (heap_trim): New memory_heap_free probe.
16606 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16607 (systrim): New memory_sbrk_less probe.
16608 * manual/probes.texi: Document them.
16610 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16611 * manual/probes.texi: Document it.
16613 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16614 (__libc_realloc): Add memory_realloc_retry probe.
16615 (__libc_memalign): Add memory_memalign_retry probe.
16616 (__libc_valloc): Add memory_valloc_retry probe.
16617 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16618 (__libc_calloc): Add memory_calloc_retry probe.
16619 * manual/probes.texi: Document them.
16621 * malloc/arena.c (get_free_list): Add probe
16622 memory_arena_reuse_free_list.
16623 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16624 and memory_arena_reuse.
16625 (arena_get2) [!PER_THREAD]: Likewise.
16626 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16627 memory_arena_reuse_realloc.
16628 * manual/probes.texi: Document them.
16630 * malloc/malloc.c (__libc_free): Add
16631 memory_mallopt_free_dyn_thresholds probe.
16632 (__libc_mallopt): Add multiple memory_mallopt probes.
16633 * manual/probes.texi: Document them.
16635 * malloc/malloc.c: Include stap-probe.h.
16636 (__libc_mallopt): Add memory_mallopt probe.
16637 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16638 * manual/probes.texi: New.
16639 * manual/Makefile (chapters): Add probes.
16640 * manual/threads.texi: Set next node.
16642 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16644 [BZ #15963, #13985]
16645 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16646 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16647 Add `Chinese' to `nan' entry name.
16649 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16651 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16652 (POLYNOMIAL): Likewise.
16653 (TAYLOR_SINCOS): Likewise.
16654 (TAYLOR_SLOW): Likewise.
16655 (__sin): Use TAYLOR_SINCOS.
16657 (slow): Use TAYLOR_SLOW.
16659 (bsloww): Likewise.
16660 (csloww): Likewise.
16662 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16664 * stdlib/strtod_l.c: Fix buffer overrun.
16666 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16668 * benchtests/Makefile (bench): Add sincos.
16669 * benchtests/bench-sincos.c: New file.
16671 * math/libm-test.inc (cos_test_data): New test inputs.
16672 (sin_test_data): Likewise.
16674 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16680 (sloww1): Likewise.
16681 (sloww2): Likewise.
16682 (bsloww1): Likewise.
16683 (bsloww2): Likewise.
16684 (cslow2): Likewise.
16685 (csloww1): Likewise.
16686 (csloww2): Likewise.
16688 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16693 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16697 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16699 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16700 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16701 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16702 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16703 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16704 * elf/cache.c (print_entry): Handle the new cache flags.
16706 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16707 Aldy Hernandez <aldyh@redhat.com>
16709 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16710 Change condition to [_SOFT_FLOAT].
16711 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16712 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16713 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16714 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16716 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16717 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16719 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16723 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16726 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16729 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16731 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16732 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16733 (__longjmp): Use LOAD_GP to load saved GPRs.
16734 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16735 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16736 (__sigsetjmp): Use SAVE_GP to save GPRs.
16738 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16739 Do not append -msoft-float.
16740 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16742 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16744 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16746 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16749 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16750 (_FPU_GETCW): Use initial "__" on variable and field names but not
16751 on macro parameter name.
16752 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16753 parentheses around reference to macro parameter.
16755 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16757 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16759 (ctype_startup): Use uint32_t in cast and sizeof for
16762 2013-09-11 Jia Liu <proljc@gmail.com>
16764 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16766 [__FreeBSD__]: Likewise.
16768 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16770 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16771 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16772 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16773 (strchr): Remove __strchr_sse42 ifunc selection.
16774 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16775 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16777 2013-09-11 Will Newton <will.newton@linaro.org>
16779 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16780 parameter to RES. Remove hardcoded 1000 value.
16781 * benchtests/bench-skeleton.c (main): Pass RES parameter
16782 to TIMING_INIT and multiply result by 1000.
16784 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16788 2013-09-11 Andreas Schwab <schwab@suse.de>
16790 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16792 (O_TMPFILE) [__USE_GNU]: Define.
16793 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16796 2013-09-11 Will Newton <will.newton@linaro.org>
16799 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16802 2013-09-11 Will Newton <will.newton@linaro.org>
16805 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16808 2013-09-11 Will Newton <will.newton@linaro.org>
16811 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16814 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16816 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16817 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16818 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16819 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16820 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16822 2013-09-10 Allan McRae <allan@archlinux.org>
16825 * manual/arith.texi (Parsing of Floats): Clarify
16829 * manual/install.texi (Running make install): Mention
16831 * INSTALL: Regenerated.
16833 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16835 * csu/init-first.c (_init): Remove the !SHARED condition around
16836 FPU control word initialization.
16837 * elf/dl-support.c (_dl_fpu_control): New variable.
16838 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16839 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16840 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16841 * math/test-fpucw-static.c: New file.
16842 * math/test-fpucw-ieee.c: New file.
16843 * math/test-fpucw-ieee-static.c: New file.
16844 * math/Makefile (tests): Add `test-fpucw-ieee' and
16846 (tests-static): New variable.
16847 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16849 [($(build-shared),yes)]
16850 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16852 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16855 2013-09-09 Allan McRae <allan@archlinux.org>
16858 * manual/string.texi (Collation Functions): Fix typo in
16860 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16863 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16866 * libio/memstream.c (open_memstream): Fix memory leak.
16867 * libio/wmemstream.c (open_wmemstream): Likewise.
16870 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16872 2013-09-09 Will Newton <will.newton@linaro.org>
16874 * malloc/Makefile: Add tst-realloc to tests.
16875 * malloc/tst-realloc.c: New file.
16877 2013-09-09 Allan McRae <allan@archlinux.org>
16880 * COPYING: Update from GNU website to fix FSF address.
16881 * COPYING.LIB: Likewise.
16883 2013-09-06 David S. Miller <davem@davemloft.net>
16885 * po/zh_TW.po: Update Chinese (traditional) translation from
16886 translation project.
16888 2013-09-06 Richard Sandiford <richard@codesourcery.com>
16889 Joseph Myers <joseph@codesourcery.com>
16891 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16893 (obstack_chunk_alloc): New macro.
16894 (obstack_chunk_free): Likewise.
16895 (record_offset): New function.
16896 (init_locale_data): Likewise.
16897 (align_locale_data): Likewise.
16898 (add_locale_empty): Likewise.
16899 (add_locale_raw_data): Likewise.
16900 (add_locale_raw_obstack): Likewise.
16901 (add_locale_string): Likewise.
16902 (add_locale_wstring): Likewise.
16903 (add_locale_uint32): Likewise.
16904 (add_locale_uint32_array): Likewise.
16905 (add_locale_char): Likewise.
16906 (start_locale_structure): Likewise.
16907 (end_locale_structure): Likewise.
16908 (start_locale_prelude): Likewise.
16909 (end_locale_prelude): Likewise.
16910 (write_locale_data): Take locale_file structure rather than an
16912 * locale/programs/locfile.h: Include "obstack.h".
16913 (struct locale_file): Change to store locale file contents instead
16915 (init_locale_data): New prototype.
16916 (align_locale_data): Likewise.
16917 (add_locale_empty): Likewise.
16918 (add_locale_raw_data): Likewise.
16919 (add_locale_raw_obstack): Likewise.
16920 (add_locale_string): Likewise.
16921 (add_locale_wstring): Likewise.
16922 (add_locale_uint32): Likewise.
16923 (add_locale_uint32_array): Likewise.
16924 (add_locale_char): Likewise.
16925 (start_locale_structure): Likewise.
16926 (end_locale_structure): Likewise.
16927 (start_locale_prelude): Likewise.
16928 (end_locale_prelude): Likewise.
16929 (write_locale_data): Update prototype.
16930 * locale/programs/3level.h (struct TABLE): Remove result field.
16931 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16932 Use new locale_file interface.
16933 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16934 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16935 * locale/programs/ld-address.c (address_output): Use new
16936 locale_file interface.
16937 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16939 (collate_finish): Don't call collseq_table_finalize.
16940 (collate_output): Use new locale_file interface.
16941 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16943 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16944 (TABLE): Move defines earlier in file.
16945 (ELEMENT): Likewise.
16946 (DEFAULT): Likewise.
16947 (wctrans_table_add): Move macro and inline function earlier in
16949 (struct wctype_table): Move type earlier in file.
16950 (add_locale_wctype_table): New static prototype.
16951 (struct locale_ctype_t): Use logical types instead of struct iovec
16952 pointers for members.
16953 (ctype_output): Use new locale_file interface.
16954 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16955 new locale_file interface.
16956 (allocate_arrays): Update for use of new locale_file interface.
16957 * locale/programs/ld-identification.c (identification_output): Use
16958 new locale_file interface.
16959 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16960 * locale/programs/ld-messages.c (messages_output): Likewise.
16961 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16962 * locale/programs/ld-name.c (name_output): Likewise.
16963 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16964 * locale/programs/ld-paper.c (paper_output): Likewise.
16965 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16966 * locale/programs/ld-time.c (time_output): Likewise.
16968 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16970 * benchtests/Makefile: Add memrchr benchmark.
16971 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16972 benchmark as memrchr.
16973 * benchtests/bench-memrchr-ifunc.c: New file.
16974 * benchtests/bench-memrchr.c: New file.
16976 2013-09-06 Will Newton <will.newton@linaro.org>
16978 * benchtests/Makefile (string-bench): Add memcpy.
16980 2013-09-05 Carlos O'Donell <carlos@redhat.com>
16981 Cong Wang <amwang@redhat.com>
16984 * sysdeps/unix/sysv/linux/bits/in.h
16985 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16986 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16987 before __USE_KERNEL_IPV6_DEFS uses.
16988 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16990 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16991 sockaddr_in6, or ipv6_mreq.
16993 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16995 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16996 memory access for final bytes in some large inputs.
16997 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16999 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17001 * string/test-memrchr.c: New file.
17002 * string/test-memrchr-ifunc.c: New file.
17003 * string/Makefile: Add new memrchr testcase.
17005 2013-09-05 Mike Frysinger <vapier@gentoo.org>
17007 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17008 fanotify_init returns EPERM.
17010 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17012 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17014 (top level): Treat second token from macro or constant entries for
17015 allowed headers as allowed.
17016 * include/complex.h: Condition internal declarations on
17018 * include/fenv.h: Condition include of <stdbool.h> and internal
17019 declarations on [!_ISOMAC].
17021 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17024 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17026 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17028 * configure.in (--enable-versioning): Remove configure option.
17029 (libc_cv_asm_symver_directive): Remove configure test.
17030 (libc_cv_ld_version_script_option): Likewise.
17031 (VERSIONING): Remove variable and AC_SUBST.
17032 (DO_VERSIONING): Remove AC_DEFINE.
17033 * configure: Regenerated.
17034 * config.h.in (DO_VERSIONING): Remove macro.
17035 * Makerules [$(versioning) = yes]: Change conditionals to
17036 [$(build-shared) = yes].
17037 * config.make.in (versioning): Remove variable.
17038 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17039 [$(build-shared) = yes].
17040 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17041 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17042 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17043 [$(build-shared) = yes].
17044 * extra-lib.mk [$(versioning) = yes]: Likewise.
17045 * hurd/Makefile [$(versioning) = yes]: Likewise.
17046 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17048 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17050 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17051 [SHARED && !NO_HIDDEN].
17052 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17054 [SHARED && DO_VERSIONING]: Likewise..
17055 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17056 [$(build-shared) = yes].
17057 * manual/install.texi (--disable-versioning): Remove
17059 * INSTALL: Regenerated.
17060 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17062 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17063 [$(build-shared) = yes].
17064 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17065 * sysdeps/i386/i686/multiarch/strstr-c.c
17066 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17067 [SHARED && !NO_HIDDEN].
17068 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17069 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17070 * sysdeps/powerpc/powerpc32/dl-machine.c
17071 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17072 * sysdeps/powerpc/powerpc32/sysdep.h
17073 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17074 to [SHARED && PIC && !NO_HIDDEN].
17075 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17076 conditional to [SHARED].
17078 2013-09-04 Will Newton <will.newton@linaro.org>
17080 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17081 * benchtests/bench-string.h: Include bench-timing.h instead
17082 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17083 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17084 call to HP_TIMING_DIFF_INIT.
17085 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17086 instead of hp-timing.h macros.
17087 * benchtests/bench-memchr.c: Likewise.
17088 * benchtests/bench-memcmp.c: Likewise.
17089 * benchtests/bench-memcpy.c: Likewise.
17090 * benchtests/bench-memmem.c: Likewise.
17091 * benchtests/bench-memmove.c: Likewise.
17092 * benchtests/bench-memset.c: Likewise.
17093 * benchtests/bench-rawmemchr.c: Likewise.
17094 * benchtests/bench-strcasecmp.c: Likewise.
17095 * benchtests/bench-strcasestr.c: Likewise.
17096 * benchtests/bench-strcat.c: Likewise.
17097 * benchtests/bench-strchr.c: Likewise.
17098 * benchtests/bench-strcmp.c: Likewise.
17099 * benchtests/bench-strcpy.c: Likewise.
17100 * benchtests/bench-strcpy_chk.c: Likewise.
17101 * benchtests/bench-strlen.c: Likewise.
17102 * benchtests/bench-strncasecmp.c: Likewise.
17103 * benchtests/bench-strncat.c: Likewise.
17104 * benchtests/bench-strncmp.c: Likewise.
17105 * benchtests/bench-strncpy.c: Likewise.
17106 * benchtests/bench-strnlen.c: Likewise.
17107 * benchtests/bench-strpbrk.c: Likewise.
17108 * benchtests/bench-strrchr.c: Likewise.
17109 * benchtests/bench-strspn.c: Likewise.
17110 * benchtests/bench-strstr.c: Likewise.
17112 2013-09-04 Will Newton <will.newton@linaro.org>
17114 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17116 2013-09-03 Joseph Myers <joseph@codesourcery.com>
17119 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17120 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17121 * math/libm-test.inc (lgamma_test_data): Add more tests.
17122 * sysdeps/i386/fpu/libm-test-ulps: Update.
17123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17125 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17127 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17128 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17130 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17131 Add strcmp-sse2-unaligned
17132 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17134 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17136 * Versions.def (libc): Add GLIBC_2.19.
17138 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17140 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17141 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17143 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17146 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17147 intermediate calculations in recurrence.
17148 (__ieee754_ynf): Likewise.
17149 * math/libm-test.inc (jn_test_data): Do not allow spurious
17150 underflow exception. Add more tests.
17151 (yn_test_data): Add more tests.
17152 * sysdeps/i386/fpu/libm-test-ulps: Update.
17153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17155 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17157 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17159 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17161 * csu/init-first.c: Fix then/than typos.
17162 * locale/programs/ld-collate.c: Likewise.
17163 * locale/programs/linereader.h: Likewise.
17164 * manual/charset.texi: Likewise.
17165 * manual/filesys.texi: Likewise.
17166 * manual/stdio.texi: Likewise.
17167 * manual/string.texi: Likewise.
17168 * stdlib/fmtmsg.c: Likewise.
17169 * sysdeps/i386/stpncpy.S: Likewise.
17170 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17171 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17172 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17173 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17175 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17177 * elf/dl-open.c: Fix typos.
17178 * iconvdata/gbbig5.c: Likewise.
17179 * iconvdata/iso-2022-jp.c: Likewise.
17180 * iconv/gconv_int.h: Likewise.
17181 * iconv/loop.c: Likewise.
17182 * nis/rpcsvc/nis.h: Likewise.
17183 * resolv/ns_name.c: Likewise.
17184 * stdio-common/vfscanf.c: Likewise.
17185 * streams/stropts.h: Likewise.
17186 * sunrpc/rpc_thread.c: Likewise.
17187 * sysdeps/i386/strpbrk.S: Likewise.
17188 * sysdeps/ieee754/k_standard.c: Likewise.
17189 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17190 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17191 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17192 * sysdeps/mach/hurd/profil.c: Likewise.
17193 * sysdeps/s390/dl-procinfo.h: Likewise.
17194 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17195 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17196 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17197 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17198 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17200 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17202 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17203 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17205 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17207 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17208 aix specific files.
17209 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17210 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17211 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17212 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17213 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17214 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17215 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17216 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17218 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17219 Roland McGrath <roland@hack.frob.com>
17221 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17222 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17224 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17226 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17227 __executable_start symbol instead of _start.
17229 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17231 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17232 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17234 * sysdeps/gnu/ldsodefs.h: ... this new file.
17236 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17237 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17238 instead of ELFOSABI_LINUX.
17240 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17241 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17242 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17243 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17245 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17246 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17247 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17249 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17250 (ibm_extended_long_double): Add ieee_nan member.
17251 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17252 (do_test): New function.
17254 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17256 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17257 functions, renamed from truncdfsf_test, trunctfsf_test,
17259 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17261 (do_test): Run all these.
17263 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17265 * argp/argp-help.c: Fix typos.
17266 * argp/argp-parse.c: Likewise.
17267 * debug/backtracesyms.c: Likewise.
17268 * elf/elf.h: Likewise.
17269 * malloc/malloc.c: Likewise.
17270 * nis/nis_print.c: Likewise.
17271 * resolv/res_comp.c: Likewise.
17272 * stdlib/stdlib.h: Likewise.
17273 * sunrpc/clnt_tcp.c: Likewise.
17274 * sunrpc/clnt_udp.c: Likewise.
17275 * sunrpc/clnt_unix.c: Likewise.
17276 * sysdeps/unix/bsd/ptsname.c: Likewise.
17277 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17278 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17285 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17287 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17289 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17290 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17292 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17295 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17296 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17297 ($(objpfx)bug-dl-leaf): New rule.
17298 ($(objpfx)bug-dl-leaf.so): Likewise.
17299 ($(objpfx)bug-dl-leaf.out): Likewise.
17300 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17301 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17302 * dlfcn/bug-dl-leaf.c: New test.
17303 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17304 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17305 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17306 (dlclose): Likewise.
17307 (dlmopen): Likewise.
17309 2013-08-27 Roland McGrath <roland@hack.frob.com>
17311 * include/netdb.h [!_ISOMAC]:
17312 Don't include <tls.h>.
17313 (h_errno, __libc_h_errno): Move declaration and macros out of
17316 * include/resolv.h [_RESOLV_H_]:
17317 Don't include <tls.h>.
17318 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17319 * resolv/res_libc.c: Don't include <tls.h>.
17320 (_res): Use __attribute__ ((nocommon)) in place of
17321 __attribute__ ((section (".bss"))).
17323 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17324 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17326 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17328 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17329 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17331 * resolv/res_mkquery.c: Include <sys/time.h>.
17333 * inet/ifreq.c: Moved to ...
17334 * sysdeps/unix/ifreq.c: ... here.
17335 * inet/ifreq.c: New file, true stub version.
17337 * socket/sa_len.c: New file.
17338 * socket/Makefile (aux): Add it.
17339 * sysdeps/unix/sysv/linux/Makefile
17340 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17341 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17342 and #include <socket/sa_len.c>.
17343 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17344 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17346 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17347 * bits/socket.h: ... here.
17349 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17350 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17351 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17353 2013-08-27 Andreas Schwab <schwab@suse.de>
17356 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17357 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17358 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17359 * string/test-strcasecmp.c (test_main): Run tests in several
17361 * string/test-strncasecmp.c (test_main): Likewise.
17363 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17364 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17365 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17366 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17367 (__strncasecmp_ssse3) [PIC]: Likewise.
17369 2013-08-26 Roland McGrath <roland@hack.frob.com>
17371 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17373 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17374 instead of explicitly declaring xdecrypt.
17375 * nis/nss_nis/nis-publickey.c: Likewise.
17377 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17380 * nscd/aicache.c: Include res_hconf.h.
17381 (addhstaiX): Initialize res_hconf.
17383 2013-08-26 Andreas Schwab <schwab@suse.de>
17385 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17386 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17388 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17390 * nscd/aicache.c (addhstaiX): Fix indentation.
17392 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17394 * configure.ac: Quote $build_pt_chown test.
17395 * configure: Regenerated.
17397 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17400 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17401 * math/s_cexpf.c (__cexpf): Likewise.
17402 * math/s_cexpl.c (__cexpl): Likewise.
17403 * math/libm-test.inc (cexp_test_data): Correct expected return
17404 value for NaN + i0. Add another test.
17406 2013-08-22 David S. Miller <davem@davemloft.net>
17408 * po/ca.po: Update Catalan translation from translation project.
17409 * po/uk.po: Add Ukrainian translations from translation project.
17411 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17414 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17415 is infinite, not alongside NaN test.
17416 * math/s_fdimf.c (__fdimf): Likewise.
17417 * math/s_fdiml.c (__fdiml): Likewise.
17418 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17419 errno is unchanged.
17421 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17423 * argp/argp-help.c: Fix typos.
17424 * crypt/speeds.c: Likewise.
17425 * csu/check_fds.c: Likewise.
17426 * elf/dl-load.c: Likewise.
17427 * elf/dl-open.c: Likewise.
17428 * elf/reldep3.c: Likewise.
17429 * elf/reldep.c: Likewise.
17430 * elf/sprof.c: Likewise.
17431 * iconv/iconv_charmap.c: Likewise.
17432 * iconv/skeleton.c: Likewise.
17433 * iconv/strtab.c: Likewise.
17434 * io/lockf64.c: Likewise.
17435 * libio/libioP.h: Likewise.
17436 * resolv/gai_notify.c: Likewise.
17437 * resolv/ns_name.c: Likewise.
17438 * resolv/ns_samedomain.c: Likewise.
17439 * resolv/res_send.c: Likewise.
17440 * stdlib/random.c: Likewise.
17441 * sunrpc/rpc/xdr.h: Likewise.
17442 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17443 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17444 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17445 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17446 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17447 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17448 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17449 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17450 * sysdeps/mach/hurd/check_fds.c: Likewise.
17451 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17452 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17453 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17454 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17455 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17456 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17457 * sysdeps/pthread/aio_notify.c: Likewise.
17458 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17459 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17460 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17461 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17462 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17464 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17466 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17467 version if bit_Slow_SSE4_2 is set.
17468 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17469 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17471 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17474 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17475 trampoline stack frame information.
17476 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17477 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17478 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17479 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17480 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17481 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17482 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17483 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17485 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17486 interrupting a syscall and set with option SA_SIGINFO.
17488 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17491 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17492 argument is infinite.
17493 * math/s_cprojf.c (__cprojf): Likewise.
17494 * math/s_cprojl.c (__cprojl): Likewise.
17495 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17496 * math/libm-test.inc (cproj_test_data): Add more tests.
17498 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17500 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17501 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17502 size. Use __ffs to determine corresponding shift.
17504 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17505 Roland McGrath <roland@hack.frob.com>
17507 * Makefile (INSTALL): Remove trailing blank lines from output of
17510 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17512 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17513 Align 32 bit compat elf_greg to 8 bytes.
17515 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17517 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17519 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17521 * string/strcoll_l.c (coll_seq): New structure.
17522 (get_next_seq_cached): New function.
17523 (get_next_seq): New function.
17524 (do_compare): New function.
17525 (STRCOLL): Use GNU style definition. Simplify implementation
17526 by using get_next_seq, get_next_seq_cached and do_compare.
17528 2013-08-16 Florian Weimer <fweimer@redhat.com>
17532 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17534 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17536 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17537 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17538 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17540 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17541 GETDENTS_64BIT_ALIGNED.
17542 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17543 * manual/filesys.texi (Reading/Closing Directory): Document
17544 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17546 * manual/conf.texi (Limits for Files): Add portability note to
17547 NAME_MAX, PATH_MAX.
17548 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17550 2013-08-13 Andreas Schwab <schwab@suse.de>
17553 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17555 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17556 LDBL_MAX_EXP >= 16384]: Add tests for it.
17558 2013-08-12 David S. Miller <davem@davemloft.net>
17560 * version.h (RELEASE): Set to "development".
17561 (VERSION): Set to "2.18.90".
17562 * NEWS: Add 2.19 section.
17564 2013-08-03 David S. Miller <davem@davemloft.net>
17566 * po/ko.po: Update Korean translation from translation project.
17568 2013-08-01 David S. Miller <davem@davemloft.net>
17570 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17571 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17574 2013-07-30 David S. Miller <davem@davemloft.net>
17576 * po/fr.po: Update French translation from translation project.
17578 2013-07-28 David S. Miller <davem@davemloft.net>
17580 * po/cs.po: Update Czech translation from translation project.
17582 * po/sv.po: Update Swedish translation from translation project.
17584 2013-07-27 David S. Miller <davem@davemloft.net>
17586 * po/eo.po: Update Esperanto translation from translation project.
17588 * po/vi.po: Update Vietnamese translation from translation project.
17590 * po/de.po: Update German translation from translation project.
17592 2013-07-26 David S. Miller <davem@davemloft.net>
17594 * po/bg.po: Update Bulgarian translation from translation project.
17596 * po/nl.po: Update Dutch translation from translation project.
17597 * po/pl.po: Update Polish translation from translation project.
17598 * po/ru.po: Update Russian translation from translation project.
17600 2013-07-24 David S. Miller <davem@davemloft.net>
17602 * po/libc.pot: Update.
17604 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17606 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17607 variable page size.
17608 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17609 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17610 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17612 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17614 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17616 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17617 Andreas Schwab <schwab@suse.de>
17618 Roland McGrath <roland@hack.frob.com>
17619 Joseph Myers <joseph@codesourcery.com>
17620 Carlos O'Donell <carlos@redhat.com>
17623 * config.h.in: Define HAVE_PT_CHOWN.
17624 * config.make.in (build-pt-chown): New variable.
17625 * configure.in (--enable-pt_chown): New configure option.
17626 * configure: Regenerate.
17627 * login/Makefile: Include Makeconfig. Build pt_chown only if
17628 build-pt-chown is enabled.
17629 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17630 pt_chown to fix pty ownership.
17631 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17633 * manual/install.texi (Configuring and compiling): Mention
17634 --enable-pt_chown. Add @findex for grantpt.
17635 * INSTALL: Regenerate.
17637 2013-07-20 David S. Miller <davem@davemloft.net>
17639 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17640 difference between 32-bit and 64-bit.
17642 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17645 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17646 Avoid system header dependency with -ffreestanding.
17647 ($(objpfx)bits/syscall%d): Likewise.
17649 2013-07-13 David S. Miller <davem@davemloft.net>
17651 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17652 underflows from atanl/atan2l due to bug 15319.
17653 (casinh_test_data): Likewise.
17655 2013-07-07 David S. Miller <davem@davemloft.net>
17657 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17659 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17661 * sysdeps/i386/fpu/libm-test-ulps: Update.
17662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17664 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17666 * configure.in (--enable-lock-elision): Fix message text.
17667 * INSTALL: Regenerate.
17668 * configure: Regenerate.
17670 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17674 2013-07-03 Andreas Jaeger <aj@suse.de>
17676 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17678 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17679 (ptrace_peeksiginfo_args): Add.
17680 (__ptrace_peeksiginfo_flags): Add.
17681 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17682 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17683 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17685 2013-07-03 Allan McRae <allan@archlinux.org>
17687 * sysdeps/i386/fpu/libm-test-ulps: Update.
17689 2013-07-02 David S. Miller <davem@davemloft.net>
17691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17693 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17697 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17699 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17702 2013-07-02 Andi Kleen <ak@linux.intel.com>
17704 * config.h.in (ENABLE_LOCK_ELISION): Add.
17705 * configure.in (--enable-lock-elision): Add option.
17706 * manual/install.texi: Document --enable lock elision.
17707 * configure: Regenerate
17708 * INSTALL: Regenerate.
17710 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17712 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17713 SSE4.2 strcasecmp for libc.a.
17714 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17716 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17719 * soft-fp/op-common.h (_FP_FMA): New macro.
17720 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17721 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17722 (_FP_MUL_MEAT_1_imm): ... here.
17723 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17724 (_FP_MUL_MEAT_1_wide): ... here.
17725 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17726 (_FP_MUL_MEAT_1_hard): ... here.
17727 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17728 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17729 (_FP_MUL_MEAT_2_wide): ... here.
17730 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17731 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17732 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17733 (_FP_MUL_MEAT_2_gmp): ... here.
17734 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17735 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17736 (_FP_MUL_MEAT_4_wide): ... here.
17737 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17738 (_FP_MUL_MEAT_4_gmp): ... here.
17739 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17740 (_FP_WFRACBITS_DW_S): Likewise.
17741 (_FP_WFRACXBITS_DW_S): Likewise.
17742 (_FP_HIGHBIT_DW_S): Likewise.
17743 (FP_FMA_S): Likewise.
17744 (_FP_FRAC_HIGH_DW_S): Likewise.
17745 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17746 (_FP_WFRACBITS_DW_D): Likewise.
17747 (_FP_WFRACXBITS_DW_D): Likewise.
17748 (_FP_HIGHBIT_DW_D): Likewise.
17749 (FP_FMA_D): Likewise.
17750 (_FP_FRAC_HIGH_DW_D): Likewise.
17751 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17752 (_FP_WFRACBITS_DW_E): Likewise.
17753 (_FP_WFRACXBITS_DW_E): Likewise.
17754 (_FP_HIGHBIT_DW_E): Likewise.
17755 (FP_FMA_E): Likewise.
17756 (_FP_FRAC_HIGH_DW_E): Likewise.
17757 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17758 (_FP_WFRACBITS_DW_Q): Likewise.
17759 (_FP_WFRACXBITS_DW_Q): Likewise.
17760 (_FP_HIGHBIT_DW_Q): Likewise.
17761 (FP_FMA_Q): Likewise.
17762 (_FP_FRAC_HIGH_DW_Q): Likewise.
17763 * soft-fp/fmasf4.c: New file.
17764 * soft-fp/fmadf4.c: Likewise.
17765 * soft-fp/fmatf4.c: Likewise.
17767 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17769 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17770 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17772 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17774 (index_Slow_SSE4_2): Likewise.
17775 (index_Prefer_PMINUB_for_stringop): Likewise.
17776 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17777 bit_Slow_SSE4_2 is set.
17778 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17779 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17781 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17783 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17784 rtld_global._dl_hwcap2.
17785 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17787 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17788 POWER8 feature descriptions defined in _dl_hwcap2.
17789 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17790 string handling for POWER8 feature bits.
17791 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17792 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17793 _dl_powerpc_cap_flags.
17794 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17795 * sysdeps/powerpc/rtld-global-offsets.sym
17796 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17797 _dl_hwcap2 in the rtld_global_ro structure.
17799 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17801 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17802 hardware capabilities in support of AT_HWCAP2.
17803 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17804 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17806 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17807 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17808 explicitly the unknown a_type display mechanism is used.
17809 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17810 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17812 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17813 to macro prototype for AT_HWCAP2 support.
17814 * sysdeps/i386/dl-procinfo.h: Likewise.
17815 * sysdeps/s390/dl-procinfo.h: Likewise.
17816 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17817 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17818 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17819 return -1 for unknown a_type display fallback.
17820 * sysdeps/sparc/dl-procinfo.h: Likewise.
17821 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17822 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17824 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17826 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17827 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17829 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17832 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17833 mprotect making __stack_prot writable.
17835 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17836 Joseph Myers <joseph@codesourcery.com>
17838 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17839 as being properly aligned.
17841 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17843 * dlfcn/modstatic5.c: New file.
17844 * dlfcn/tststatic5.c: New file.
17845 * dlfcn/Makefile (tests): Add tststatic5.
17846 (tests-static): Likewise.
17847 (modules-names): Add modstatic5.
17848 (tststatic5-ENV): New variable.
17849 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17852 * elf/dl-support.c (_dl_main_map): New variable.
17853 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17854 (_dl_nns, _dl_load_adds): Set to 1.
17855 (_dl_initial_searchlist): Refer to _dl_main_map.
17856 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17857 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17858 call to _dl_get_origin.
17859 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17861 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17862 * dlfcn/modstatic3.c: New file.
17863 * dlfcn/tststatic3.c: New file.
17864 * dlfcn/tststatic4.c: New file.
17865 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17866 (tests-static): Likewise.
17867 (modules-names): Add modstatic3.
17868 (tststatic3-ENV, tststatic4-ENV): New variables.
17869 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17870 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17872 2013-06-26 Joseph Myers <joseph@codesourcery.com>
17874 * configure.in (CC): Require GCC version 4.4 or later.
17875 * configure: Regenerated.
17876 * manual/install.texi (Tools for Compilation): Update GCC version
17878 * INSTALL: Regenerated.
17880 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17883 * string/test-memcmp.c (check2): New.
17884 (main): Call check2.
17886 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17888 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17891 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17893 (dl_open_worker) [!SHARED]: ... here.
17895 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17897 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17899 2013-06-25 Richard Henderson <rth@redhat.com>
17901 * locale/programs/locarchive.c: Include <libc-internal.h>
17903 2013-06-25 Joseph Myers <joseph@codesourcery.com>
17905 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17906 trailing whitespace removed.
17908 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17911 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17912 * locale/programs/locarchive.c: Include libc-mmap.h.
17913 (prepare_address_space): Take two new outputs (the mmap base and len).
17914 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17916 (create_archive): Declare new mmap base and len values for
17917 prepare_address_space, and store the result in ah.
17918 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17919 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17920 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17921 Declare new mmap base and len values for
17922 prepare_address_space, and store the result in new_ah.
17923 (open_archive): Declare new mmap base and len values for
17924 prepare_address_space, and store the result in ah.
17925 (close_archive): If ah->mmap_base is not NULL, use that and
17926 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17927 * sysdeps/generic/libc-mmap.h: New file.
17929 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17931 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17932 (ALIGN_UP): Likewise.
17933 (PTR_ALIGN_DOWN): Likewise.
17934 (PTR_ALIGN_UP): Likewise.
17936 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17938 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17939 entry mapped to PPC_PLATFORM_POWER8.
17940 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17942 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17943 (_dl_string_platform): Add case for exporting platform position for
17945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17946 search path to sysdeps/powerpc/powerpc32/power8 directory.
17947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17948 search path to sysdeps/powerpc/powerpc64/power8 directory.
17949 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17950 power7 directories.
17951 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17952 power7 directories.
17954 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17956 * INSTALL: Regenerate.
17958 * nscd/connections.c (nscd_init): Fix comment.
17960 2013-06-22 Joseph Myers <joseph@codesourcery.com>
17962 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17965 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17966 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17968 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17970 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17972 (DL_DST_REQ_STATIC): Remove macro.
17974 2013-06-21 Joseph Myers <joseph@codesourcery.com>
17977 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17978 with a shift of 0 bits.
17980 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17982 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17985 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17988 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17990 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17992 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17993 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17994 accepts -fno-tree-loop-distribute-patterns.
17995 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17996 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17998 * string/memset.c (memset): Likewise.
17999 * string/test-memmove.c (simple_memmove): Disable loop transformation
18001 * string/test-memset.c (simple_memset): Likewise.
18002 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18003 * benchtests/bench-memset.c (simple_memset): Likewise.
18004 * configure: Regenerated.
18006 2013-06-20 Joseph Myers <joseph@codesourcery.com>
18008 * math/test-misc.c (main): Ignore fesetround failure when failures
18009 of subsequent rounding tests would be ignored.
18012 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18013 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18014 * math/fegetenv.c (__fegetenv): Return 0.
18015 * math/fegetexcept.c (fegetexcept): Return 0.
18016 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18018 * math/feholdexcpt.c (feholdexcept): Return 0.
18019 * math/fesetenv.c (__fesetenv): Return 0.
18020 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18021 argument FE_TONEAREST.
18022 * math/feupdateenv.c (__feupdateenv): Return 0.
18023 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18025 2013-06-18 Roland McGrath <roland@hack.frob.com>
18027 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18028 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18029 ($(objpfx)rtld-%.os rules): Use them.
18031 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18033 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18036 2013-06-17 Roland McGrath <roland@hack.frob.com>
18038 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18039 length of target pattern, then descending length of dependency pattern.
18040 * configure.in (AWK): Require gawk 3.1.2 or newer.
18041 * manual/install.texi (Tools for Compilation): Say that we do.
18042 * configure: Regenerated.
18044 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18045 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18046 * scripts/sysd-rules.awk: ... this new script.
18047 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18048 than a glob-style pattern.
18050 2013-06-17 Joseph Myers <joseph@codesourcery.com>
18052 * math/test-misc.c (main): Do not treat incorrectly rounded
18053 conversions as failure unless ROUNDING_TESTS passes.
18055 2013-06-15 Joseph Myers <joseph@codesourcery.com>
18058 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18059 restore exception state around main square root computation, then
18060 check for inexactness explicitly.
18062 * math/libm-test.inc (fma_test_data): Add another test.
18064 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18066 * manual/threads.texi (Non-POSIX Extensions): New document
18067 node. Document pthread_getattr_default_np and
18068 pthread_setattr_default_np.
18070 * Versions.def (libpthread): Add GLIBC_2.18.
18071 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18080 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18091 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18094 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18096 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18097 H.J. Lu <hjl.tools@gmail.com>
18100 * sysdeps/x86_64/rtld-memset.c: Remove file.
18101 * sysdeps/x86_64/rtld-memset.S: New file.
18103 2013-06-14 Joseph Myers <joseph@codesourcery.com>
18105 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18106 (test_in_one_mode): Take arguments for whether the rounding mode
18107 is supported for each floating-point type.
18108 (do_test): Pass new arguments to test_in_one_mode using
18111 2013-06-13 Roland McGrath <roland@hack.frob.com>
18113 * posix/tst-waitid.c (do_test): Distinguish different instances of
18114 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18115 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18116 before entering the kernel for waitpid.
18118 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18120 * NEWS: Fix note on clock function precision. Text by Roland
18123 2013-06-13 Roland McGrath <roland@hack.frob.com>
18125 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18126 it into place only when and if the sanity check passes.
18128 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18130 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18131 output for whether conversion result is exact. Take argument
18132 indicating whether type is IBM long double.
18133 (round_for_all): Change need_exact field to ibm_ld.
18134 * stdlib/tst-strtod-round.c (struct exactness): New type.
18135 (struct test): Change bool ld_ok field to struct exactness exact.
18136 (TEST): Update all definitions for change to field.
18137 (tests): Regenerate array contents.
18138 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18139 field value. Check for IBM long double here.
18140 (do_test): Update calls to test_in_one_mode.
18142 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18145 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18146 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18148 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18151 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18152 generated by the compiler on loop optimizations.
18153 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18154 general definitions.
18156 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18158 * math/bug-nextafter.c: Include <math-tests.h>.
18159 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18161 * math/bug-nexttoward.c: Include <math-tests.h>.
18162 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18164 * math/test-misc.c: Include <math-tests.h>.
18165 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18168 2013-06-12 Andreas Jaeger <aj@suse.de>
18170 * po/ia.po: Update Interlingua translation from translation
18173 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18175 * include/fenv.h: Include stdbool.h.
18176 (struct rm_ctx): New structure.
18177 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18179 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18180 (SET_RESTORE_ROUNDF): Likewise.
18181 (SET_RESTORE_ROUNDL): Likewise.
18182 (SET_RESTORE_ROUND_NOEX): Likewise.
18183 (SET_RESTORE_ROUND_NOEXF): Likewise.
18184 (SET_RESTORE_ROUND_NOEXL): Likewise.
18185 (SET_RESTORE_ROUND_53BIT): Likewise.
18186 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18187 (libc_feresetround_noexf_ctx): Likewise.
18188 (libc_feresetround_noexl_ctx): Likewise.
18189 (libc_feholdsetround_53bit_ctx): Likewise.
18190 (libc_feresetround_53bit_ctx): Likewise.
18191 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18192 (libc_feholdexcept_setround_sse_ctx): New function.
18193 (libc_fesetenv_sse_ctx): Likewise.
18194 (libc_feupdateenv_sse_ctx): Likewise.
18195 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18196 (libc_feholdexcept_setround_387_ctx): Likewise.
18197 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18198 (libc_feholdsetround_387_prec_ctx): Likewise.
18199 (libc_feholdsetround_387_ctx): Likewise.
18200 (libc_feholdsetround_387_53bit_ctx): Likewise.
18201 (libc_feholdsetround_sse_ctx): Likewise.
18202 (libc_feresetround_sse_ctx): Likewise.
18203 (libc_feresetround_387_ctx): Likewise.
18204 (libc_feupdateenv_387_ctx): Likewise.
18205 (libc_feholdexcept_setroundf_ctx): Define macro.
18206 (libc_fesetenvf_ctx): Likewise.
18207 (libc_feupdateenvf_ctx): Likewise.
18208 (libc_feholdsetroundf_ctx): Likewise.
18209 (libc_feresetroundf_ctx): Likewise.
18210 (libc_feholdexcept_setround_ctx): Likewise.
18211 (libc_fesetenv_ctx): Likewise.
18212 (libc_feupdateenv_ctx): Likewise.
18213 (libc_feholdsetround_ctx): Likewise.
18214 (libc_feresetround_ctx): Likewise.
18215 (libc_feholdexcept_setroundl_ctx): Likewise.
18216 (libc_feupdateenvl_ctx): Likewise.
18217 (libc_feholdsetroundl_ctx): Likewise.
18218 (libc_feresetroundl_ctx): Likewise.
18219 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18220 (libc_feresetround_53bit_ctx): Likewise.
18222 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18224 * locale/iso-639.def: Convert to UTF-8.
18226 2013-06-11 Joseph Myers <joseph@codesourcery.com>
18228 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18229 (EXCEPTION_TESTS_double): Likewise.
18230 (EXCEPTION_TESTS_long_double): Likewise.
18231 (EXCEPTION_TESTS): Likewise.
18232 * math/libm-test.inc (test_exceptions): Only test exceptions if
18233 EXCEPTION_TESTS (FLOAT).
18235 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18237 * benchtests/Makefile (string-bench): Add strcpy_chk and
18239 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18240 * benchtests/bench-stpcpy_chk.c: New file.
18241 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18242 * benchtests/bench-strcpy_chk.c: New file.
18243 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18245 (do_test): Likewise.
18247 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18249 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18250 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18251 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18252 with tabs where appropriate.
18253 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18255 [PPC_PLATFORM_PPC440]: Likewise.
18256 [PPC_PLATFORM_PPC464]: Likewise.
18257 [PPC_PLATFORM_PPC476]: Likewise.
18258 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18259 ppc464, and ppc476 platform strings merging from ports/
18262 2013-06-11 Andreas Schwab <schwab@suse.de>
18265 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18266 (from_ucs4_idx): Regenerate.
18267 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18268 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18269 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18270 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18271 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18272 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18273 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18274 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18275 from FROM_LOOP and TO_LOOP specific macros.
18276 (BODY): Handle combining characters.
18277 * iconvdata/BIG5HKSCS.irreversible: Update.
18278 * iconvdata/BIG5HKSCS.precomposed: New file.
18279 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18281 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18283 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18285 * include/sys/time.h: Fix indentation and add copyright header.
18287 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18288 (do_test): Likewise.
18289 * string/test-memchr.c (do_one_test): Likewise.
18290 (do_test): Likewise.
18291 * string/test-memcmp.c (do_one_test): Likewise.
18292 (do_test): Likewise.
18293 * string/test-memcpy.c (do_one_test): Likewise.
18294 (do_test): Likewise.
18295 * string/test-memmem.c (do_one_test): Likewise.
18296 (do_test): Likewise.
18297 (do_random_tests): Likewise.
18298 * string/test-memmove.c (do_one_test): Likewise.
18299 (do_test): Likewise.
18300 * string/test-memset.c (do_one_test): Likewise.
18301 (do_test): Likewise.
18302 * string/test-rawmemchr.c (do_one_test): Likewise.
18303 (do_test): Likewise.
18304 * string/test-strcasecmp.c (do_one_test): Likewise.
18305 (do_test): Likewise.
18306 * string/test-strcasestr.c (do_one_test): Likewise.
18307 (do_test): Likewise.
18308 * string/test-strcat.c (do_one_test): Likewise.
18309 (do_test): Likewise.
18310 * string/test-strchr.c (do_one_test): Likewise.
18311 (do_test): Likewise.
18312 * string/test-strcmp.c (do_one_test): Likewise.
18313 (do_test): Likewise.
18314 * string/test-strcpy.c (do_one_test): Likewise.
18315 (do_test): Likewise.
18316 * string/test-string.h: Likewise.
18317 (test_init): Likewise.
18318 * string/test-strlen.c (do_one_test): Likewise.
18319 (do_test): Likewise.
18320 * string/test-strncasecmp.c (do_one_test): Likewise.
18321 (do_test): Likewise.
18322 * string/test-strncat.c (do_one_test): Likewise.
18323 (do_test): Likewise.
18324 * string/test-strncmp.c (do_one_test): Likewise.
18325 (do_test_limit): Likewise.
18326 (do_test): Likewise.
18327 * string/test-strncpy.c (do_one_test): Likewise.
18328 (do_test): Likewise.
18329 * string/test-strnlen.c (do_one_test): Likewise.
18330 (do_test): Likewise.
18331 * string/test-strpbrk.c (do_one_test): Likewise.
18332 (do_test): Likewise.
18333 * string/test-strrchr.c (do_one_test): Likewise.
18334 (do_test): Likewise.
18335 * string/test-strspn.c (do_one_test): Likewise.
18336 (do_test): Likewise.
18337 * string/test-strstr.c (do_one_test): Likewise.
18338 (do_test): Likewise.
18340 * benchtests/Makefile (string-bench): Add string benchmarks.
18341 * benchtests/bench-bcopy-ifunc.c: New file.
18342 * benchtests/bench-bcopy.c: New file.
18343 * benchtests/bench-bzero-ifunc.c: New file.
18344 * benchtests/bench-bzero.c: New file.
18345 * benchtests/bench-memccpy-ifunc.c: New file.
18346 * benchtests/bench-memccpy.c: New file.
18347 * benchtests/bench-memchr-ifunc.c: New file.
18348 * benchtests/bench-memchr.c: New file.
18349 * benchtests/bench-memcmp-ifunc.c: New file.
18350 * benchtests/bench-memcmp.c: New file.
18351 * benchtests/bench-memmem-ifunc.c: New file.
18352 * benchtests/bench-memmem.c: New file.
18353 * benchtests/bench-memmove-ifunc.c: New file.
18354 * benchtests/bench-memmove.c: New file.
18355 * benchtests/bench-mempcpy-ifunc.c: New file.
18356 * benchtests/bench-mempcpy.c: New file.
18357 * benchtests/bench-memset-ifunc.c: New file.
18358 * benchtests/bench-memset.c: New file.
18359 * benchtests/bench-rawmemchr-ifunc.c: New file.
18360 * benchtests/bench-rawmemchr.c: New file.
18361 * benchtests/bench-stpcpy-ifunc.c: New file.
18362 * benchtests/bench-stpcpy.c: New file.
18363 * benchtests/bench-stpncpy-ifunc.c: New file.
18364 * benchtests/bench-stpncpy.c: New file.
18365 * benchtests/bench-strcasecmp-ifunc.c: New file.
18366 * benchtests/bench-strcasecmp.c: New file.
18367 * benchtests/bench-strcasestr-ifunc.c: New file.
18368 * benchtests/bench-strcasestr.c: New file.
18369 * benchtests/bench-strcat-ifunc.c: New file.
18370 * benchtests/bench-strcat.c: New file.
18371 * benchtests/bench-strchr-ifunc.c: New file.
18372 * benchtests/bench-strchr.c: New file.
18373 * benchtests/bench-strchrnul-ifunc.c: New file.
18374 * benchtests/bench-strchrnul.c: New file.
18375 * benchtests/bench-strcmp-ifunc.c: New file.
18376 * benchtests/bench-strcmp.c: New file.
18377 * benchtests/bench-strcpy-ifunc.c: New file.
18378 * benchtests/bench-strcpy.c: New file.
18379 * benchtests/bench-strcspn-ifunc.c: New file.
18380 * benchtests/bench-strcspn.c: New file.
18381 * benchtests/bench-strlen-ifunc.c: New file.
18382 * benchtests/bench-strlen.c: New file.
18383 * benchtests/bench-strncasecmp-ifunc.c: New file.
18384 * benchtests/bench-strncasecmp.c: New file.
18385 * benchtests/bench-strncat-ifunc.c: New file.
18386 * benchtests/bench-strncat.c: New file.
18387 * benchtests/bench-strncmp-ifunc.c: New file.
18388 * benchtests/bench-strncmp.c: New file.
18389 * benchtests/bench-strncpy-ifunc.c: New file.
18390 * benchtests/bench-strncpy.c: New file.
18391 * benchtests/bench-strnlen-ifunc.c: New file.
18392 * benchtests/bench-strnlen.c: New file.
18393 * benchtests/bench-strpbrk-ifunc.c: New file.
18394 * benchtests/bench-strpbrk.c: New file.
18395 * benchtests/bench-strrchr-ifunc.c: New file.
18396 * benchtests/bench-strrchr.c: New file.
18397 * benchtests/bench-strspn-ifunc.c: New file.
18398 * benchtests/bench-strspn.c: New file.
18399 * benchtests/bench-strstr-ifunc.c: New file.
18400 * benchtests/bench-strstr.c: New file.
18402 * benchtests/Makefile: Disable parallel execution of targets.
18403 (string-bench): Add memcpy.
18404 (benchset): New variable to store a list of benchmark sets.
18405 (bench-func): Renamed from bench.
18406 (bench-set): New target.
18407 (bench): Depend on bench-func and bench-set.
18408 * benchtests/README: Add section on benchmark sets.
18409 * benchtests/bench-memcpy-ifunc.c: New file.
18410 * benchtests/bench-memcpy.c: New file.
18411 * benchtests/bench-string.h: New file.
18413 2013-06-11 Andreas Schwab <schwab@suse.de>
18416 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18417 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18418 values in the triple.
18419 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18420 terminator in the group key.
18422 2013-06-11 Andreas Jaeger <aj@suse.de>
18424 * po/zh_TW.po: Update Chinese (traditional) translation from
18425 translation project.
18427 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18429 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18430 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18431 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18432 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18433 (clock_getcpuclockid): Likewise.
18434 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18435 Add weak_alias and libc_hidden_def.
18436 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18437 * rt/clock_gettime.c (clock_gettime): Rename to
18438 __clock_gettime. Add weak_alias and libc_hidden_def.
18439 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18440 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18441 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18442 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18443 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18445 * rt/clock_settime.c (clock_settime): Rename to
18446 __clock_settime. Add weak_alias and libc_hidden_def.
18447 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18449 2013-06-10 Joseph Myers <joseph@codesourcery.com>
18451 * mach/err_boot.sub: Remove trailing whitespace.
18452 * mach/err_ipc.sub: Likewise.
18453 * mach/err_mach.sub: Likewise.
18455 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18456 (ROUNDING_TESTS_double): Likewise.
18457 (ROUNDING_TESTS_long_double): Likewise.
18458 (ROUNDING_TESTS): Likewise.
18459 * math/libm-test.inc: Include <math-tests.h>.
18460 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18461 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18462 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18463 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18465 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18467 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18470 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18472 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18473 otherwise empty TRANS lines.
18474 * sysdeps/gnu/errlist.c: Regenerated.
18476 * catgets/gencat.c (error_print): Use (void) in function
18478 * crypt/crypt_util.c (__init_des): Likewise.
18479 * crypt/speeds.c (Stop): Likewise.
18481 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18482 * inet/ruserpass.c (token): Likewise.
18483 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18484 * intl/localealias.c (extend_alias_table): Likewise.
18485 * intl/plural-exp.c (init_germanic_plural): Likewise.
18486 * libio/fcloseall.c (__fcloseall): Likewise.
18487 * libio/genops.c (_IO_flush_all): Likewise.
18488 (_IO_flush_all_linebuffered): Likewise.
18489 (_IO_cleanup): Likewise.
18490 (_IO_iter_begin): Likewise.
18491 (_IO_iter_end): Likewise.
18492 (_IO_list_lock): Likewise.
18493 (_IO_list_unlock): Likewise.
18494 (_IO_list_resetlock): Likewise.
18495 * libio/getchar.c (getchar): Likewise.
18496 * libio/getchar_u.c (getchar_unlocked): Likewise.
18497 * libio/getwchar.c (getwchar): Likewise.
18498 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18499 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18500 * login/getpt.c (__getpt): Likewise.
18501 * login/tst-utmp.c (main): Likewise.
18502 * malloc/hooks.c (__malloc_check_init): Likewise.
18503 * malloc/malloc.c (__malloc_stats): Likewise.
18504 * malloc/mtrace.c (tr_break): Likewise.
18505 (mtrace): Likewise.
18506 (muntrace): Likewise.
18507 * misc/fstab.c (endfsent): Likewise.
18508 * misc/getclktck.c (__getclktck): Likewise.
18509 * misc/getdtsz.c (__getdtablesize): Likewise.
18510 * misc/gethostid.c (gethostid): Likewise.
18511 * misc/getpagesize.c (__getpagesize): Likewise.
18512 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18513 (__get_nprocs): Likewise.
18514 (__get_phys_pages): Likewise.
18515 (__get_avphys_pages): Likewise.
18516 * misc/getttyent.c (getttyent): Likewise.
18517 (setttyent): Likewise.
18518 (endttyent): Likewise.
18519 * misc/getusershell.c (getusershell): Likewise.
18520 (endusershell): Likewise.
18521 (setusershell): Likewise.
18522 (initshells): Likewise.
18523 * misc/hsearch.c (__hdestroy): Likewise.
18524 * misc/sync.c (sync): Likewise.
18525 * misc/syslog.c (closelog_internal): Likewise.
18526 (closelog): Likewise.
18527 * misc/ttyslot.c (ttyslot): Likewise.
18528 * misc/vhangup.c (vhangup): Likewise.
18529 * posix/fork.c (__fork): Likewise.
18530 * posix/getegid.c (__getegid): Likewise.
18531 * posix/geteuid.c (__geteuid): Likewise.
18532 * posix/getgid.c (__getgid): Likewise.
18533 * posix/getpid.c (__getpid): Likewise.
18534 * posix/getppid.c (__getppid): Likewise.
18535 * posix/getuid.c (__getuid): Likewise.
18536 * posix/pause.c (pause): Likewise.
18537 * posix/setpgrp.c (setpgrp): Likewise.
18538 * posix/setsid.c (__setsid): Likewise.
18539 * posix/test-vfork.c (noop): Likewise.
18540 * resolv/gethnamaddr.c (_endhtent): Likewise.
18541 (_gethtent): Likewise.
18542 (ht_endhostent): Likewise.
18543 (gethostent): Likewise.
18544 (dns_service): Likewise.
18545 * stdlib/drand48.c (drand48): Likewise.
18546 * stdlib/lrand48.c (lrand48): Likewise.
18547 * stdlib/mrand48.c (mrand48): Likewise.
18548 * stdlib/rand.c (rand): Likewise.
18549 * stdlib/random.c (__random): Likewise.
18550 * stdlib/setenv.c (clearenv): Likewise.
18551 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18552 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18553 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18554 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18555 (__get_nprocs): Likewise.
18556 (__get_phys_pages): Likewise.
18557 (__get_avphys_pages): Likewise.
18558 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18559 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18560 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18561 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18562 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18563 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18564 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18565 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18566 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18567 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18568 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18569 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18570 * sysdeps/posix/clock.c (clock): Likewise.
18571 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18572 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18573 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18574 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18575 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18576 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18577 (__get_nprocs_conf): Likewise.
18578 (__get_phys_pages): Likewise.
18579 (__get_avphys_pages): Likewise.
18580 * time/clock.c (clock): Likewise.
18581 * time/tzset.c (__tzname_max): Likewise.
18583 2013-06-07 Joseph Myers <joseph@codesourcery.com>
18585 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18586 (__bswap_32): Do not use "register".
18587 * crypt/crypt.c (_ufc_doit_r): Likewise.
18588 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18589 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18590 * gmon/gmon.c (__monstartup): Likewise.
18591 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18592 * hurd/hurdmalloc.c (more_memory): Likewise.
18593 (malloc): Likewise.
18595 (realloc): Likewise.
18596 (malloc_fork_prepare): Likewise.
18597 (malloc_fork_parent): Likewise.
18598 (malloc_fork_child): Likewise.
18599 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18600 (_svcauth_des): Likewise.
18601 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18602 * inet/inet_net.c (inet_network): Likewise.
18603 * inet/inet_netof.c (inet_netof): Likewise.
18604 * inet/rcmd.c (__validuser2_sa): Likewise.
18605 * io/fts.c (fts_open): Likewise.
18606 (fts_load): Likewise.
18607 (fts_close): Likewise.
18608 (fts_read): Likewise.
18609 (fts_children): Likewise.
18610 (fts_build): Likewise.
18611 (fts_stat): Likewise.
18612 (fts_sort): Likewise.
18613 (fts_alloc): Likewise.
18614 (fts_lfree): Likewise.
18615 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18616 (_IO_file_xsgetn): Likewise.
18617 (_IO_file_xsgetn_mmap): Likewise.
18618 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18619 (_IO_cookie_write): Likewise.
18620 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18621 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18622 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18623 * malloc/obstack.c (_obstack_begin): Likewise.
18624 (_obstack_begin_1): Likewise.
18625 (_obstack_newchunk): Likewise.
18626 (_obstack_allocated_p): Likewise.
18627 (obstack_free): Likewise.
18628 (_obstack_memory_used): Likewise.
18629 * misc/getttyent.c (getttynam): Likewise.
18630 (getttyent): Likewise.
18633 * misc/getusershell.c (initshells): Likewise.
18634 * misc/syslog.c (__vsyslog_chk): Likewise.
18635 * misc/ttyslot.c (ttyslot): Likewise.
18636 * nis/nis_hash.c (__nis_hash): Likewise.
18637 * posix/fnmatch_loop.c (FCT): Likewise.
18638 * posix/getconf.c (print_all): Likewise.
18640 * posix/getopt.c (exchange): Likewise.
18641 * posix/glob.c (globfree): Likewise.
18642 (prefix_array): Likewise.
18643 (__glob_pattern_type): Likewise.
18644 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18645 (NS_GET32): Likewise.
18646 (NS_PUT16): Likewise.
18647 (NS_PUT32): Likewise.
18648 * resolv/gethnamaddr.c (getanswer): Likewise.
18649 (gethostbyname2): Likewise.
18650 (gethostbyaddr): Likewise.
18651 (_gethtent): Likewise.
18652 (_gethtbyname2): Likewise.
18653 (_gethtbyaddr): Likewise.
18654 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18655 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18656 * resolv/res_init.c (__res_vinit): Likewise.
18657 (net_mask): Likewise.
18658 * resolv/res_mkquery.c (outchar): Likewise.
18660 * stdio-common/printf_fp.c (outchar): Likewise.
18662 * stdio-common/printf_fphex.c (outchar): Likewise.
18664 * stdio-common/printf_size.c (outchar): Likewise.
18666 * stdio-common/test_rdwr.c (main): Likewise.
18667 * stdio-common/tfformat.c (matches): Likewise.
18668 * stdio-common/vfprintf.c (outchar): Likewise.
18669 (printf_unknown): Likewise.
18670 (buffered_vfprintf): Likewise.
18671 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18672 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18673 (ReadFile): Likewise.
18674 * stdlib/qsort.c (SWAP): Likewise.
18675 (_quicksort): Likewise.
18676 * stdlib/setenv.c (__add_to_environ): Likewise.
18677 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18678 * stdlib/strtol_l.c (__strtol_l): Likewise.
18679 * stdlib/tst-strtod.c (main): Likewise.
18680 * stdlib/tst-strtol.c (main): Likewise.
18681 * stdlib/tst-strtoll.c (main): Likewise.
18682 * string/bits/string2.h (__strcmp_cc): Likewise.
18683 (__strcmp_cg): Likewise.
18684 (__strcspn_c1): Likewise.
18685 (__strcspn_c2): Likewise.
18686 (__strcspn_c3): Likewise.
18687 (__strspn_c1): Likewise.
18688 (__strspn_c2): Likewise.
18689 (__strspn_c3): Likewise.
18690 (__strsep_1c): Likewise.
18691 (__strsep_2c): Likewise.
18692 (__strsep_3c): Likewise.
18693 * string/memccpy.c (__memccpy): Likewise.
18694 * string/stpcpy.c (__stpcpy): Likewise.
18695 * string/strcmp.c (strcmp): Likewise.
18696 * string/strrchr.c (strrchr): Likewise.
18697 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18699 * sysdeps/mach/hurd/getcwd.c
18700 (_hurd_canonicalize_directory_name_internal): Likewise.
18701 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18702 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18703 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18704 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18705 Likewise, in both definitions.
18706 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18708 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18709 64] (__bswap_64): Likewise.
18710 * time/test_time.c (main): Likewise.
18711 * time/tzfile.c (__tzfile_read): Likewise.
18712 (__tzfile_compute): Likewise.
18713 * time/tzset.c (__tzset_parse_tz): Likewise.
18714 (tzset_internal): Likewise.
18715 (compute_change): Likewise.
18716 * wcsmbs/wcscat.c (__wcscat): Likewise.
18717 * wcsmbs/wcschr.c (wcschr): Likewise.
18718 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18719 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18720 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18721 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18722 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18723 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18724 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18725 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18726 * wcsmbs/wmemset.c (wmemset): Likewise.
18728 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18730 * scripts/config.guess: Update to version 2013-05-16.
18731 * scripts/config.sub: Update to version 2013-04-24.
18732 * scripts/install-sh: Update to version 2011-11-20.07.
18733 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18734 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18736 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18738 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18739 * elf/sln.c: Likewise.
18740 * hurd/hurd/ioctl.h: Likewise.
18741 * hurd/hurdmalloc.c: Likewise.
18742 * hurd/xattr.c: Likewise.
18743 * include/shlib-compat.h: Likewise.
18744 * inet/ruserpass.c: Likewise.
18745 * libio/iofgets_u.c: Likewise.
18746 * libio/iofgetws_u.c: Likewise.
18747 * locale/programs/ld-identification.c: Likewise.
18748 * locale/programs/ld-time.c: Likewise.
18749 * mach/msg-destroy.c: Likewise.
18750 * nss/nss_files/files-netgrp.c: Likewise.
18751 * resolv/res_data.c: Likewise.
18752 * soft-fp/op-1.h: Likewise.
18753 * soft-fp/op-2.h: Likewise.
18754 * soft-fp/op-4.h: Likewise.
18755 * soft-fp/op-common.h: Likewise.
18756 * stdio-common/printf_fphex.c: Likewise.
18757 * stdlib/strtod_l.c: Likewise.
18758 * sunrpc/rpc/clnt.h: Likewise.
18759 * sysdeps/generic/framestate.c: Likewise.
18760 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18761 * sysdeps/i386/bsd-setjmp.S: Likewise.
18762 * sysdeps/i386/__longjmp.S: Likewise.
18763 * sysdeps/i386/setjmp.S: Likewise.
18764 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18765 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18766 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18767 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18768 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18769 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18770 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18771 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18772 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18773 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18774 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18775 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18776 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18777 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18778 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18779 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18780 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18781 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18782 * sysdeps/ieee754/support.c: Likewise.
18783 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18784 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18785 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18786 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18787 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18788 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18789 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18790 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18791 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18792 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18793 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18794 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18795 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18796 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18797 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18798 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18799 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18802 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18804 * posix/transbug.c: Remove executable mode.
18806 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18808 * crypt/speeds.c: Remove trailing whitespace.
18809 * dlfcn/default.c: Likewise.
18810 * elf/ifuncdep2.c: Likewise.
18811 * elf/ifuncmain1.c: Likewise.
18812 * elf/ifuncmain1vis.c: Likewise.
18813 * elf/testobj.h: Likewise.
18814 * elf/tst-stackguard1.c: Likewise.
18815 * gmon/sys/gmon.h: Likewise.
18816 * hurd/hurdmsg.c: Likewise.
18817 * hurd/new-fd.c: Likewise.
18818 * hurd/ports-get.c: Likewise.
18819 * iconvdata/ibm1008_420.c: Likewise.
18820 * inet/tst-getni1.c: Likewise.
18821 * inet/tst-getni2.c: Likewise.
18822 * libio/ioungetc.c: Likewise.
18823 * libio/wfiledoalloc.c: Likewise.
18824 * manual/libm-err-tab.pl: Likewise.
18825 * math/w_dremf.c: Likewise.
18826 * misc/ftruncate.c: Likewise.
18827 * posix/bug-glob2.c: Likewise.
18828 * posix/tst-pcre.c: Likewise.
18829 * posix/wait4.c: Likewise.
18830 * resolv/README: Likewise.
18831 * resolv/res_debug.h: Likewise.
18832 * resolv/tst-inet_ntop.c: Likewise.
18833 * setjmp/bug269-setjmp.c: Likewise.
18834 * soft-fp/extended.h: Likewise.
18835 * soft-fp/op-1.h: Likewise.
18836 * soft-fp/op-2.h: Likewise.
18837 * soft-fp/op-4.h: Likewise.
18838 * soft-fp/op-8.h: Likewise.
18839 * soft-fp/testit.c: Likewise.
18840 * stdio-common/bug16.c: Likewise.
18841 * stdlib/random.c: Likewise.
18842 * sunrpc/rpcsvc/rquota.x: Likewise.
18843 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18844 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18845 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18846 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18847 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18848 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18849 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18850 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18851 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18852 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18853 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18854 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18855 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18856 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18857 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18858 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18859 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18860 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18861 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18862 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18863 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18864 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18865 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18866 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18867 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18868 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18869 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18870 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18871 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18872 * sysdeps/ieee754/s_lib_version.c: Likewise.
18873 * sysdeps/mach/hurd/check_fds.c: Likewise.
18874 * sysdeps/mach/hurd/getsockname.c: Likewise.
18875 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18876 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18877 * sysdeps/powerpc/bits/link.h: Likewise.
18878 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18879 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18880 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18881 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18882 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18883 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18884 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18885 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18886 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18887 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18888 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18889 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18890 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18891 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18892 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18893 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18894 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18895 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18896 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18897 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18898 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18899 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18900 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18901 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18902 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18903 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18904 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18905 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18906 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18907 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18908 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18909 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18910 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18911 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18912 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18913 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18914 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18915 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18916 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18917 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18918 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18919 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18920 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18921 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18922 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18923 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18924 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18925 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18926 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18927 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18928 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18929 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18930 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18931 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18932 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18933 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18934 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18935 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18936 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18937 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18938 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18939 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18940 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18941 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18942 * sysdeps/powerpc/sysdep.h: Likewise.
18943 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18944 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18945 * sysdeps/sh/dl-trampoline.S: Likewise.
18946 * sysdeps/sh/memset.S: Likewise.
18947 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18948 * sysdeps/sh/strlen.S: Likewise.
18949 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18950 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18951 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18952 * sysdeps/sparc/sparc32/rem.S: Likewise.
18953 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18954 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18955 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18956 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18957 * sysdeps/sparc/sparc32/urem.S: Likewise.
18958 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18959 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18960 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18961 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18962 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18963 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18964 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18965 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18966 * sysdeps/unix/bsd/times.c: Likewise.
18967 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18968 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18972 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18973 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18974 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18975 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18976 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18977 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18978 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18979 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18980 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18981 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18982 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18983 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18984 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18985 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18986 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18987 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18988 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18989 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18990 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18991 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18992 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18993 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18994 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18995 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18996 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18997 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18998 * sysdeps/x86_64/strcspn.S: Likewise.
19000 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19002 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19003 generated file. Regenerate properly from gen-translit.pl.
19004 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19005 locale/C-translit.h.
19007 2013-06-05 Andreas Schwab <schwab@suse.de>
19010 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19011 week as 6 instead of -1.
19012 * time/tst-strptime.c (day_tests): Add test case.
19014 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19016 * sysdeps/generic/math_private.h
19017 (libc_feholdexcept_setround_53bit): Replace with
19018 libc_feholdsetround_53bit.
19019 (libc_feupdateenv_53bit): Replace with
19020 libc_feresetround_53bit.
19021 (SET_RESTORE_ROUND_53BIT): Adjust.
19023 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19025 * string/test-strchrnul.c: Add copyright header.
19027 * posix/tst-getaddrinfo4.c: Increase test timeout.
19029 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19032 * math/libm-test.inc (MAX_EXP): Remove
19034 (ulp): Use MIN_EXP - MANT_DIG.
19035 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19037 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19039 * po/be.po: Revert last change.
19040 * po/zh_CN.po: Likewise.
19041 * po/header.pot: Likewise.
19043 2013-05-31 Joseph Myers <joseph@codesourcery.com>
19045 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19046 link-libc-deps to empty as target-specific variable.
19047 * Makerules (link-libc-args): New variable.
19048 (libc-for-link): Likewise.
19049 (link-libc-deps): Likewise.
19050 (lib%.so): Depend on $(link-libc-deps). Link with
19052 (build-module): Link with $(link-libc-args).
19053 (build-module-asneeded): Likewise.
19054 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19056 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19057 target-specific variable.
19058 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19059 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19060 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19062 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19064 ($(objpfx)libpcprofile.so): Likewise.
19065 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19067 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19068 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19069 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19071 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19072 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19073 * login/Makefile ($(objpfx)libutil.so): Likewise.
19074 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19075 * math/Makefile ($(objpfx)libm.so): Likewise.
19076 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19077 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19078 variable instead of depending directly on libc.
19079 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19080 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19082 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19084 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19085 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19086 ($(objpfx)libanl.so): Likewise.
19087 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19089 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19091 * sysdeps/i386/fpu/Makefile: Remove file.
19092 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19093 ($(objpfx)libm.so): Remove dependency on ld.so.
19095 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
19098 * nis/yp_xdr.c (XDRMAXNAME): Define.
19099 (XDRMAXRECORD): Define.
19100 (xdr_domainname): Use XDRMAXNAME.
19101 (xdr_mapname): Likewise.
19102 (xdr_peername): Likewise.
19103 (xdr_keydat): Use XDRMAXRECORD.
19104 (xdr_valdat): Likewise.
19106 2013-05-30 Jeff Law <law@redhat.com>
19109 * manual/errno.texi (ESTALE): Update to account for more than
19110 just NFS file systems.
19111 * sysdeps/gnu/errlist.c: Regenerated.
19113 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19116 * elf/Makefile (tests): Add tst-null-argv.
19117 (modules-names): Add tst-null-argv-lib.
19118 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19119 (tst-null-argv-ENV): Set environment for tst-null-argv.
19120 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19121 (RTLD_PROGNAME): New macro.
19122 * elf/tst-null-argv.c: New test case.
19123 * elf/tst-null-argv-lib.c: Library for test case.
19124 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19125 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19126 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19127 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19128 * elf/dl-init.c (call_init): Likewise.
19129 (_dl_init): Likewise.
19130 * elf/dl-load.c (print_search_path): Likewise.
19131 (_dl_map_object): Likewise.
19132 * elf/dl-lookup.c (do_lookup_x): Likewise.
19133 (add_dependency): Likewise.
19134 (_dl_lookup_symbol_x): Likewise.
19135 (_dl_debug_bindings): Likewise.
19136 * elf/dl-open.c (_dl_show_scope): Likewise.
19137 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19138 * elf/dl-version.c (match_symbol): Likewise.
19139 (_dl_check_map_versions): Likewise.
19140 * elf/rtld.c (dl_main): Likewise.
19141 (print_unresolved): Use RTLD_PROGNAME.
19142 (print_missing_version): Likewise.
19143 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19144 (elf_machine_rela): Likewise.
19145 * sysdeps/powerpc/powerpc32/dl-machine.c
19146 (__process_machine_rela): Likewise.
19147 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19149 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19151 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19153 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19154 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19156 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19158 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19160 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19162 * po/be.po: Add descriptive title.
19163 * po/zh_CN.po: Likewise.
19164 * po/header.pot: Likewise.
19166 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19168 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19170 (enlarge_archive): Likewise.
19172 2013-05-28 Ben North <ben@redfrontdoor.org>
19174 * manual/arith.texi (frexp): It is the magnitude of the return
19175 value which lies in [0.5, 1), not the return value itself.
19177 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19181 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19183 * stdio-common/bug26.c (main): Correct fscanf template.
19185 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19186 declare _dl_skip_args.
19188 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19191 * manual/platform.texi: Add missing @end deftypefun.
19193 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19196 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19197 bit of mantissa of 2^16382.
19198 * math/libm-test.inc (hypot_test_data): Add more tests.
19200 * math/libm-test.inc: Add drem and pow10 to list of tested
19202 (pow10_test): New function.
19203 (drem_test): Likewise.
19204 (drem_test_tonearest): Likewise.
19205 (drem_test_towardzero): Likewise.
19206 (drem_test_downward): Likewise.
19207 (drem_test_upward): Likewise.
19208 (main): Call the new functions.
19210 * math/libm-test.inc (finite_test_data): Remove.
19211 (finite_test): Run tests from isfinite_test_data.
19212 (gamma_test_data): Remove.
19213 (gamma_test): Run tests from lgamma_test_data.
19214 * sysdeps/i386/fpu/libm-test-ulps: Update.
19215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19217 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19219 * manual/platform.texi: Add PowerPC PPR function set documentation.
19220 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19223 2013-05-24 Carlos O'Donell <carlos@redhat.com>
19225 * math/libm-test.inc (MAX_EXP): Define.
19227 (ulp): New function.
19228 (check_float_internal): Use ULPDIFF.
19229 (cpow_test): Disable failing test.
19230 (check_ulp): Test ulp() implemetnation.
19231 (main): Call check_ulp before starting tests.
19233 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19235 * math/gen-libm-test.pl (generate_testfile): Do not handle
19236 START_DATA and END_DATA.
19237 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19239 (acos_tonearest_test_data): Likewise.
19240 (acos_towardzero_test_data): Likewise.
19241 (acos_downward_test_data): Likewise.
19242 (acos_upward_test_data): Likewise.
19243 (acosh_test_data): Likewise.
19244 (asin_test_data): Likewise.
19245 (asin_tonearest_test_data): Likewise.
19246 (asin_towardzero_test_data): Likewise.
19247 (asin_downward_test_data): Likewise.
19248 (asin_upward_test_data): Likewise.
19249 (asinh_test_data): Likewise.
19250 (atan_test_data): Likewise.
19251 (atanh_test_data): Likewise.
19252 (atan2_test_data): Likewise.
19253 (cabs_test_data): Likewise.
19254 (cacos_test_data): Likewise.
19255 (cacosh_test_data): Likewise.
19256 (carg_test_data): Likewise.
19257 (casin_test_data): Likewise.
19258 (casinh_test_data): Likewise.
19259 (catan_test_data): Likewise.
19260 (catanh_test_data): Likewise.
19261 (cbrt_test_data): Likewise.
19262 (ccos_test_data): Likewise.
19263 (ccosh_test_data): Likewise.
19264 (ceil_test_data): Likewise.
19265 (cexp_test_data): Likewise.
19266 (cimag_test_data): Likewise.
19267 (clog_test_data): Likewise.
19268 (clog10_test_data): Likewise.
19269 (conj_test_data): Likewise.
19270 (copysign_test_data): Likewise.
19271 (cos_test_data): Likewise.
19272 (cos_tonearest_test_data): Likewise.
19273 (cos_towardzero_test_data): Likewise.
19274 (cos_downward_test_data): Likewise.
19275 (cos_upward_test_data): Likewise.
19276 (cosh_test_data): Likewise.
19277 (cosh_tonearest_test_data): Likewise.
19278 (cosh_towardzero_test_data): Likewise.
19279 (cosh_downward_test_data): Likewise.
19280 (cosh_upward_test_data): Likewise.
19281 (cpow_test_data): Likewise.
19282 (cproj_test_data): Likewise.
19283 (creal_test_data): Likewise.
19284 (csin_test_data): Likewise.
19285 (csinh_test_data): Likewise.
19286 (csqrt_test_data): Likewise.
19287 (ctan_test_data): Likewise.
19288 (ctan_tonearest_test_data): Likewise.
19289 (ctan_towardzero_test_data): Likewise.
19290 (ctan_downward_test_data): Likewise.
19291 (ctan_upward_test_data): Likewise.
19292 (ctanh_test_data): Likewise.
19293 (ctanh_tonearest_test_data): Likewise.
19294 (ctanh_towardzero_test_data): Likewise.
19295 (ctanh_downward_test_data): Likewise.
19296 (ctanh_upward_test_data): Likewise.
19297 (erf_test_data): Likewise.
19298 (erfc_test_data): Likewise.
19299 (exp_test_data): Likewise.
19300 (exp_tonearest_test_data): Likewise.
19301 (exp_towardzero_test_data): Likewise.
19302 (exp_downward_test_data): Likewise.
19303 (exp_upward_test_data): Likewise.
19304 (exp10_test_data): Likewise.
19305 (exp2_test_data): Likewise.
19306 (expm1_test_data): Likewise.
19307 (fabs_test_data): Likewise.
19308 (fdim_test_data): Likewise.
19309 (finite_test_data): Likewise.
19310 (floor_test_data): Likewise.
19311 (fma_test_data): Likewise.
19312 (fma_towardzero_test_data): Likewise.
19313 (fma_downward_test_data): Likewise.
19314 (fma_upward_test_data): Likewise.
19315 (fmax_test_data): Likewise.
19316 (fmin_test_data): Likewise.
19317 (fmod_test_data): Likewise.
19318 (fpclassify_test_data): Likewise.
19319 (frexp_test_data): Likewise.
19320 (gamma_test_data): Likewise.
19321 (hypot_test_data): Likewise.
19322 (ilogb_test_data): Likewise.
19323 (isfinite_test_data): Likewise.
19324 (isgreater_test_data): Likewise.
19325 (isgreaterequal_test_data): Likewise.
19326 (isinf_test_data): Likewise.
19327 (isless_test_data): Likewise.
19328 (islessequal_test_data): Likewise.
19329 (islessgreater_test_data): Likewise.
19330 (isnan_test_data): Likewise.
19331 (isnormal_test_data): Likewise.
19332 (issignaling_test_data): Likewise.
19333 (isunordered_test_data): Likewise.
19334 (j0_test_data): Likewise.
19335 (j1_test_data): Likewise.
19336 (jn_test_data): Likewise.
19337 (ldexp_test_data): Likewise.
19338 (lgamma_test_data): Likewise.
19339 (lrint_test_data): Likewise.
19340 (lrint_tonearest_test_data): Likewise.
19341 (lrint_towardzero_test_data): Likewise.
19342 (lrint_downward_test_data): Likewise.
19343 (lrint_upward_test_data): Likewise.
19344 (llrint_test_data): Likewise.
19345 (llrint_tonearest_test_data): Likewise.
19346 (llrint_towardzero_test_data): Likewise.
19347 (llrint_downward_test_data): Likewise.
19348 (llrint_upward_test_data): Likewise.
19349 (log_test_data): Likewise.
19350 (log10_test_data): Likewise.
19351 (log1p_test_data): Likewise.
19352 (log2_test_data): Likewise.
19353 (logb_test_data): Likewise.
19354 (logb_downward_test_data): Likewise.
19355 (lround_test_data): Likewise.
19356 (llround_test_data): Likewise.
19357 (modf_test_data): Likewise.
19358 (nearbyint_test_data): Likewise.
19359 (nextafter_test_data): Likewise.
19360 (nexttoward_test_data): Likewise.
19361 (pow_test_data): Likewise.
19362 (pow_tonearest_test_data): Likewise.
19363 (pow_towardzero_test_data): Likewise.
19364 (pow_downward_test_data): Likewise.
19365 (pow_upward_test_data): Likewise.
19366 (remainder_test_data): Likewise.
19367 (remainder_tonearest_test_data): Likewise.
19368 (remainder_towardzero_test_data): Likewise.
19369 (remainder_downward_test_data): Likewise.
19370 (remainder_upward_test_data): Likewise.
19371 (remquo_test_data): Likewise.
19372 (rint_test_data): Likewise.
19373 (rint_tonearest_test_data): Likewise.
19374 (rint_towardzero_test_data): Likewise.
19375 (rint_downward_test_data): Likewise.
19376 (rint_upward_test_data): Likewise.
19377 (round_test_data): Likewise.
19378 (scalb_test_data): Likewise.
19379 (scalbn_test_data): Likewise.
19380 (scalbln_test_data): Likewise.
19381 (signbit_test_data): Likewise.
19382 (sin_test_data): Likewise.
19383 (sin_tonearest_test_data): Likewise.
19384 (sin_towardzero_test_data): Likewise.
19385 (sin_downward_test_data): Likewise.
19386 (sin_upward_test_data): Likewise.
19387 (sincos_test_data): Likewise.
19388 (sinh_test_data): Likewise.
19389 (sinh_tonearest_test_data): Likewise.
19390 (sinh_towardzero_test_data): Likewise.
19391 (sinh_downward_test_data): Likewise.
19392 (sinh_upward_test_data): Likewise.
19393 (sqrt_test_data): Likewise.
19394 (tan_test_data): Likewise.
19395 (tan_tonearest_test_data): Likewise.
19396 (tan_towardzero_test_data): Likewise.
19397 (tan_downward_test_data): Likewise.
19398 (tan_upward_test_data): Likewise.
19399 (tanh_test_data): Likewise.
19400 (tgamma_test_data): Likewise.
19401 (trunc_test_data): Likewise.
19402 (y0_test_data): Likewise.
19403 (y1_test_data): Likewise.
19404 (yn_test_data): Likewise.
19405 (significand_test_data): Likewise.
19407 * math/gen-libm-test.pl (@functions): Remove variable.
19408 (generate_testfile): Don't handle START and END lines.
19409 * math/libm-test.inc (START): New macro.
19411 (END_COMPLEX): Likewise.
19412 (acos_test): Use END macro without arguments.
19413 (acos_test_tonearest): Likewise.
19414 (acos_test_towardzero): Likewise.
19415 (acos_test_downward): Likewise.
19416 (acos_test_upward): Likewise.
19417 (acosh_test): Likewise.
19418 (asin_test): Likewise.
19419 (asin_test_tonearest): Likewise.
19420 (asin_test_towardzero): Likewise.
19421 (asin_test_downward): Likewise.
19422 (asin_test_upward): Likewise.
19423 (asinh_test): Likewise.
19424 (atan_test): Likewise.
19425 (atanh_test): Likewise.
19426 (atan2_test): Likewise.
19427 (cabs_test): Likewise.
19428 (cacos_test): Use END_COMPLEX macro without arguments.
19429 (cacosh_test): Likewise.
19430 (carg_test): Use END macro without arguments.
19431 (casin_test): Use END_COMPLEX macro without arguments.
19432 (casinh_test): Likewise.
19433 (catan_test): Likewise.
19434 (catanh_test): Likewise.
19435 (cbrt_test): Use END macro without arguments.
19436 (ccos_test): Use END_COMPLEX macro without arguments.
19437 (ccosh_test): Likewise.
19438 (ceil_test): Use END macro without arguments.
19439 (cexp_test): Use END_COMPLEX macro without arguments.
19440 (cimag_test): Use END macro without arguments.
19441 (clog_test): Use END_COMPLEX macro without arguments.
19442 (clog10_test): Likewise.
19443 (conj_test): Likewise.
19444 (copysign_test): Use END macro without arguments.
19445 (cos_test): Likewise.
19446 (cos_test_tonearest): Likewise.
19447 (cos_test_towardzero): Likewise.
19448 (cos_test_downward): Likewise.
19449 (cos_test_upward): Likewise.
19450 (cosh_test): Likewise.
19451 (cosh_test_tonearest): Likewise.
19452 (cosh_test_towardzero): Likewise.
19453 (cosh_test_downward): Likewise.
19454 (cosh_test_upward): Likewise.
19455 (cpow_test): Use END_COMPLEX macro without arguments.
19456 (cproj_test): Likewise.
19457 (creal_test): Use END macro without arguments.
19458 (csin_test): Use END_COMPLEX macro without arguments.
19459 (csinh_test): Likewise.
19460 (csqrt_test): Likewise.
19461 (ctan_test): Likewise.
19462 (ctan_test_tonearest): Likewise.
19463 (ctan_test_towardzero): Likewise.
19464 (ctan_test_downward): Likewise.
19465 (ctan_test_upward): Likewise.
19466 (ctanh_test): Likewise.
19467 (ctanh_test_tonearest): Likewise.
19468 (ctanh_test_towardzero): Likewise.
19469 (ctanh_test_downward): Likewise.
19470 (ctanh_test_upward): Likewise.
19471 (erf_test): Use END macro without arguments.
19472 (erfc_test): Likewise.
19473 (exp_test): Likewise.
19474 (exp_test_tonearest): Likewise.
19475 (exp_test_towardzero): Likewise.
19476 (exp_test_downward): Likewise.
19477 (exp_test_upward): Likewise.
19478 (exp10_test): Likewise.
19479 (exp2_test): Likewise.
19480 (expm1_test): Likewise.
19481 (fabs_test): Likewise.
19482 (fdim_test): Likewise.
19483 (finite_test): Likewise.
19484 (floor_test): Likewise.
19485 (fma_test): Likewise.
19486 (fma_test_towardzero): Likewise.
19487 (fma_test_downward): Likewise.
19488 (fma_test_upward): Likewise.
19489 (fmax_test): Likewise.
19490 (fmin_test): Likewise.
19491 (fmod_test): Likewise.
19492 (fpclassify_test): Likewise.
19493 (frexp_test): Likewise.
19494 (gamma_test): Likewise.
19495 (hypot_test): Likewise.
19496 (ilogb_test): Likewise.
19497 (isfinite_test): Likewise.
19498 (isgreater_test): Likewise.
19499 (isgreaterequal_test): Likewise.
19500 (isinf_test): Likewise.
19501 (isless_test): Likewise.
19502 (islessequal_test): Likewise.
19503 (islessgreater_test): Likewise.
19504 (isnan_test): Likewise.
19505 (isnormal_test): Likewise.
19506 (issignaling_test): Likewise.
19507 (isunordered_test): Likewise.
19508 (j0_test): Likewise.
19509 (j1_test): Likewise.
19510 (jn_test): Likewise.
19511 (ldexp_test): Likewise.
19512 (lgamma_test): Likewise.
19513 (lrint_test): Likewise.
19514 (lrint_test_tonearest): Likewise.
19515 (lrint_test_towardzero): Likewise.
19516 (lrint_test_downward): Likewise.
19517 (lrint_test_upward): Likewise.
19518 (llrint_test): Likewise.
19519 (llrint_test_tonearest): Likewise.
19520 (llrint_test_towardzero): Likewise.
19521 (llrint_test_downward): Likewise.
19522 (llrint_test_upward): Likewise.
19523 (log_test): Likewise.
19524 (log10_test): Likewise.
19525 (log1p_test): Likewise.
19526 (log2_test): Likewise.
19527 (logb_test): Likewise.
19528 (logb_test_downward): Likewise.
19529 (lround_test): Likewise.
19530 (llround_test): Likewise.
19531 (modf_test): Likewise.
19532 (nearbyint_test): Likewise.
19533 (nextafter_test): Likewise.
19534 (nexttoward_test): Likewise.
19535 (pow_test): Likewise.
19536 (pow_test_tonearest): Likewise.
19537 (pow_test_towardzero): Likewise.
19538 (pow_test_downward): Likewise.
19539 (pow_test_upward): Likewise.
19540 (remainder_test): Likewise.
19541 (remainder_test_tonearest): Likewise.
19542 (remainder_test_towardzero): Likewise.
19543 (remainder_test_downward): Likewise.
19544 (remainder_test_upward): Likewise.
19545 (remquo_test): Likewise.
19546 (rint_test): Likewise.
19547 (rint_test_tonearest): Likewise.
19548 (rint_test_towardzero): Likewise.
19549 (rint_test_downward): Likewise.
19550 (rint_test_upward): Likewise.
19551 (round_test): Likewise.
19552 (scalb_test): Likewise.
19553 (scalbn_test): Likewise.
19554 (scalbln_test): Likewise.
19555 (signbit_test): Likewise.
19556 (sin_test): Likewise.
19557 (sin_test_tonearest): Likewise.
19558 (sin_test_towardzero): Likewise.
19559 (sin_test_downward): Likewise.
19560 (sin_test_upward): Likewise.
19561 (sincos_test): Likewise.
19562 (sinh_test): Likewise.
19563 (sinh_test_tonearest): Likewise.
19564 (sinh_test_towardzero): Likewise.
19565 (sinh_test_downward): Likewise.
19566 (sinh_test_upward): Likewise.
19567 (sqrt_test): Likewise.
19568 (tan_test): Likewise.
19569 (tan_test_tonearest): Likewise.
19570 (tan_test_towardzero): Likewise.
19571 (tan_test_downward): Likewise.
19572 (tan_test_upward): Likewise.
19573 (tanh_test): Likewise.
19574 (tgamma_test): Likewise.
19575 (trunc_test): Likewise.
19576 (y0_test): Likewise.
19577 (y1_test): Likewise.
19578 (yn_test): Likewise.
19579 (significand_test): Likewise.
19581 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
19584 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19586 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19589 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19590 __ppc_mdoio and __ppc_mdoom.
19591 * manual/platform.texi: Document new functions __ppc_yield,
19592 __ppc_mdoio and __ppc_mdoom.
19594 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19596 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19597 (main): Mention "tls" pseudo-hwcap is legacy.
19598 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19600 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19602 * math/gen-libm-test.pl (parse_args): Output only string of
19603 arguments as text for test name, not full call or descriptions of
19604 tests for extra outputs.
19605 (generate_testfile): Do not pass function name to parse_args.
19606 Generate this_func variable from START.
19607 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19609 (struct test_ff_f_data): Likewise.
19610 (test_ff_f_data_nexttoward): Likewise.
19611 (struct test_fi_f_data): Likewise.
19612 (struct test_fl_f_data): Likewise.
19613 (struct test_if_f_data): Likewise.
19614 (struct test_fff_f_data): Likewise.
19615 (struct test_c_f_data): Likewise.
19616 (struct test_f_f1_data): Likewise. Remove field extra_name.
19617 (struct test_fF_f1_data): Likewise.
19618 (struct test_ffI_f1_data): Likewise.
19619 (struct test_c_c_data): Rename test_name field to arg_str.
19620 (struct test_cc_c_data): Likewise.
19621 (struct test_f_i_data): Likewise.
19622 (struct test_ff_i_data): Likewise.
19623 (struct test_f_l_data): Likewise.
19624 (struct test_f_L_data): Likewise.
19625 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19627 (COMMON_TEST_SETUP): New macro.
19628 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19629 (COMMON_TEST_CLEANUP): Likewise.
19630 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19631 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19633 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19634 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19636 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19637 (RUN_TEST_fff_f): Take argument string. Call new setup and
19639 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19640 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19642 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19643 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19645 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19646 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19648 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19649 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19651 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19652 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19654 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19655 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19657 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19658 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19660 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19661 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19663 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19664 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19666 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19667 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19669 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19670 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19672 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19673 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19675 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19676 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19678 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19679 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19681 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19682 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19684 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19686 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19688 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19689 to _sifields.sigfault.
19690 (si_addr_lsb): Define new macro.
19691 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19692 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19693 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19695 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19698 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19700 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19702 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19703 loading the domain.
19705 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19707 * math/gen-libm-test.pl (parse_args): Do not include expected
19708 result in test name.
19709 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19710 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19711 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19712 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19713 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19716 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19718 * benchtests/Makefile: Sort function entries.
19720 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19721 tanh, asinh, acosh, atanh.
19722 * benchtests/acos-inputs: New file.
19723 * benchtests/acosh-inputs: New file.
19724 * benchtests/asin-inputs: New file.
19725 * benchtests/asinh-inputs: New file.
19726 * benchtests/atanh-inputs: New file.
19727 * benchtests/cosh-inputs: New file.
19728 * benchtests/log-inputs: New file.
19729 * benchtests/sinh-inputs: New file.
19730 * benchtests/tanh-inputs: New file.
19732 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19735 * posix/tst-getaddrinfo4.c: New test.
19736 * posix/Makefile (tests): Add it.
19738 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19741 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19742 when no services were used.
19743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19744 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19746 2013-05-21 Andreas Schwab <schwab@suse.de>
19749 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19750 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19752 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19753 redundant variable declarations and reallocation of buffer when
19754 parsing as IPv6 address. Always set NSS status when called from
19755 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19756 buffer too small. Correct computation of needed size.
19757 * nss/Makefile (tests): Add test-digits-dots.
19758 * nss/test-digits-dots.c: New test.
19760 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19762 * benchtests/Makefile: Remove instructions for adding
19764 * benchtests/README: New file to explain how to execute and
19765 enhance the benchmark tests.
19767 2013-05-21 Andreas Schwab <schwab@suse.de>
19770 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19771 * setjmp/tst-sigsetjmp.c: New test.
19773 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19775 * sysdeps/x86_64/memset.S (memset): New implementation.
19776 (__bzero): Likewise.
19777 (__memset_tail): New function.
19779 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19781 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19782 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19783 __memcpy_sse2_unaligned ifunc selection.
19784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19785 Add memcpy-sse2-unaligned.S.
19786 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19787 Add: __memcpy_sse2_unaligned.
19789 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19792 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19793 math_force_eval before restoring floating-point envrionment.
19794 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19795 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19797 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19799 (__nearbyintl): Use math_force_eval before restoring
19800 floating-point environment.
19801 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19803 * math/gen-libm-test.pl (special_functions): Remove.
19804 (parse_args): Don't handle TEST_extra. Handle functions with no
19806 * math/libm-test.inc (struct test_sincos_data): Replace with
19807 struct test_fFF_11_data.
19808 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19809 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19810 (sincos_test_data): Change element type to struct
19811 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19812 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19813 RUN_TEST_LOOP_sincos.
19814 * math/README.libm-test: Don't mention special handling of
19815 individual functions.
19816 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19817 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19818 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19819 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19820 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19823 * math/gen-libm-test.pl (get_variable): Remove function.
19824 (parse_args): Don't show pointer parameters to call in test
19825 names. Use "extra output N" in test names for extra outputs
19826 rather than naming variables.
19828 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19831 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19832 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19833 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19835 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19837 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19840 * math/gen-libm-test.pl (@tests): Remove variable.
19841 ($count): Likewise.
19842 (new_test): Remove function.
19843 (show_exceptions): New function.
19844 (special_functions): Use show_exceptions instead of new_test.
19845 (parse_args): Likewise.
19846 (generate_testfile): Pass only function name in generated call to
19847 print_max_error or print_complex_max_error.
19848 (get_ulps): Do not handle complex tests specially.
19849 (output_test): Rename to ...
19850 (get_all_ulps_for_test): ... this. Return a string rather than
19851 printing to a file. Require ulps to be present.
19852 (output_ulps): Generate arrays rather than #defines.
19853 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19854 (struct ulp_data): New type.
19855 (BUILD_COMPLEX_ULP): Remove macro.
19856 (compare_ulp_data): New function.
19857 (find_ulps): Likewise.
19858 (find_test_ulps): Likewise.
19859 (find_function_ulps): Likewise.
19860 (find_complex_function_ulps): Likewise.
19861 (print_max_error): Determine allowed ulps using
19862 find_function_ulps.
19863 (print_complex_max_error): Determine allowed ulps using
19864 find_complex_function_ulps.
19865 (check_float_internal): Determine max ulps using find_test_ulps.
19866 (check_float): Do not take max_ulp parameter. Update call to
19867 check_float_internal.
19868 (check_complex): Likewise.
19869 (check_int): Do not take max_ulp parameter.
19870 (check_long): Likewise.
19871 (check_bool): Likewise.
19872 (check_longlong): Likewise.
19873 (struct test_f_f_data): Remove max_ulp field.
19874 (struct test_ff_f_data): Likewise.
19875 (struct test_ff_f_data_nexttoward): Likewise.
19876 (struct test_fi_f_data): Likewise.
19877 (struct test_fl_f_data): Likewise.
19878 (struct test_if_f_data): Likewise.
19879 (struct test_fff_f_data): Likewise.
19880 (struct test_c_f_data): Likewise.
19881 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19882 (struct test_fF_f1_data): Likewise.
19883 (struct test_ffI_f1_data): Likewise.
19884 (struct test_c_c_data): Remove max_ulp field.
19885 (struct test_cc_c_data): Likewise.
19886 (struct test_f_i_data): Likewise.
19887 (struct test_ff_i_data): Likewise.
19888 (struct test_f_l_data): Likewise.
19889 (struct test_f_L_data): Likewise.
19890 (struct test_sincos_data): Likewise.
19891 (RUN_TEST_f_f): Do not handle ulps.
19892 (RUN_TEST_LOOP_f_f): Likewise.
19893 (RUN_TEST_2_f): Likewise.
19894 (RUN_TEST_LOOP_2_f): Likewise.
19895 (RUN_TEST_fff_f): Likewise.
19896 (RUN_TEST_LOOP_fff_f): Likewise.
19897 (RUN_TEST_c_f): Likewise.
19898 (RUN_TEST_LOOP_c_f): Likewise.
19899 (RUN_TEST_f_f1): Likewise.
19900 (RUN_TEST_LOOP_f_f1): Likewise.
19901 (RUN_TEST_fF_f1): Likewise.
19902 (RUN_TEST_LOOP_fF_f1): Likewise.
19903 (RUN_TEST_fI_f1): Likewise.
19904 (RUN_TEST_LOOP_fI_f1): Likewise.
19905 (RUN_TEST_ffI_f1): Likewise.
19906 (RUN_TEST_LOOP_ffI_f1): Likewise.
19907 (RUN_TEST_c_c): Likewise.
19908 (RUN_TEST_LOOP_c_c): Likewise.
19909 (RUN_TEST_cc_c): Likewise.
19910 (RUN_TEST_LOOP_cc_c): Likewise.
19911 (RUN_TEST_f_i): Likewise.
19912 (RUN_TEST_LOOP_f_i): Likewise.
19913 (RUN_TEST_f_i_tg): Likewise.
19914 (RUN_TEST_LOOP_f_i_tg): Likewise.
19915 (RUN_TEST_ff_i_tg): Likewise.
19916 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19917 (RUN_TEST_f_b): Likewise.
19918 (RUN_TEST_LOOP_f_b): Likewise.
19919 (RUN_TEST_f_b_tg): Likewise.
19920 (RUN_TEST_LOOP_f_b_tg): Likewise.
19921 (RUN_TEST_f_l): Likewise.
19922 (RUN_TEST_LOOP_f_l): Likewise.
19923 (RUN_TEST_f_L): Likewise.
19924 (RUN_TEST_LOOP_f_L): Likewise.
19925 (RUN_TEST_sincos): Likewise.
19926 (RUN_TEST_LOOP_sincos): Likewise.
19928 2013-05-17 Joseph Myers <joseph@codesourcery.com>
19932 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19933 main case of finite arguments, set rounding mode to FE_TONEAREST
19934 and discard exceptions.
19935 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19937 (remainder_tonearest_test_data): New variable.
19938 (remainder_test_tonearest): New function.
19939 (remainder_towardzero_test_data): New variable.
19940 (remainder_test_towardzero): New function.
19941 (remainder_downward_test_data): New variable.
19942 (remainder_test_downward): New function.
19943 (remainder_upward_test_data): New variable.
19944 (remainder_test_upward): New function.
19945 (main): Call the new test functions.
19947 * math/libm-test.inc (struct test_f_f1_data): Remove field
19949 (struct test_fF_f1_data): Likewise.
19950 (struct test_ffI_f1_data): Likewise.
19951 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19952 based on value of EXTRA_EXPECTED.
19953 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19954 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19955 EXTRA_VAR based on value of EXTRA_EXPECTED.
19956 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19957 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19958 EXTRA_VAR based on value of EXTRA_EXPECTED.
19959 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19960 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19961 EXTRA_VAR based on value of EXTRA_EXPECTED.
19962 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19963 * math/gen-libm-test.pl (parse_args): Don't output initializers
19964 for extra output values.
19966 * math/libm-test.inc (check_int): Expect result to be exactly
19967 equal to expected value and do not handle ulps.
19968 (check_long): Likewise.
19969 (check_longlong): Likewise.
19971 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19973 (cimag_test_data): Likewise.
19974 (conj_test_data): Likewise.
19975 (copysign_test_data): Likewise.
19976 (cproj_test_data): Likewise.
19977 (creal_test_data): Likewise.
19978 (fabs_test_data): Likewise.
19979 (fdim_test_data): Likewise.
19980 (finite_test_data): Likewise.
19981 (floor_test_data): Likewise.
19982 (fmax_test_data): Likewise.
19983 (fmin_test_data): Likewise.
19984 (fmod_test_data): Likewise.
19985 (fpclassify_test_data): Likewise.
19986 (frexp_test_data): Likewise.
19987 (ilogb_test_data): Likewise.
19988 (isfinite_test_data): Likewise.
19989 (isgreater_test_data): Likewise.
19990 (isgreaterequal_test_data): Likewise.
19991 (isinf_test_data): Likewise.
19992 (isless_test_data): Likewise.
19993 (islessequal_test_data): Likewise.
19994 (islessgreater_test_data): Likewise.
19995 (isnan_test_data): Likewise.
19996 (isnormal_test_data): Likewise.
19997 (issignaling_test_data): Likewise.
19998 (isunordered_test_data): Likewise.
19999 (ldexp_test_data): Likewise.
20000 (lrint_test_data): Likewise.
20001 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20002 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20003 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20004 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20005 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20006 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20008 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20009 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20010 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20011 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20013 (lrint_downward_test_data): Test for "inexact" exceptions.
20014 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20015 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20016 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20018 (lrint_upward_test_data): Test for "inexact" exceptions.
20019 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20021 (llrint_test_data): Test for "inexact" exceptions.
20022 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20023 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20024 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20025 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20026 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20027 (llrint_downward_test_data): Test for "inexact" exceptions.
20028 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20029 (llrint_upward_test_data): Test for "inexact" exceptions.
20030 (logb_test_data): Likewise.
20031 (logb_downward_test_data): Likewise.
20032 (nextafter_test_data): Likewise.
20033 (nexttoward_test_data): Likewise.
20034 (remainder_test_data): Likewise.
20035 (remquo_test_data): Likewise.
20036 (scalbn_test_data): Likewise.
20037 (scalbln_test_data): Likewise.
20038 (signbit_test_data): Likewise.
20039 (sqrt_test_data): Likewise.
20040 (significand_test_data): Likewise.
20042 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20045 * benchtests/bench-modf.c (struct args): Mark arg0 as
20047 * scripts/bench.pl: Mark members of struct args as volatile.
20049 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20052 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20053 negative infinity on POWER6 or lower.
20054 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20056 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20059 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20060 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20061 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20062 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20063 (_FP_SETQNAN): New macro.
20064 (_FP_SETQNAN_SEMIRAW): Likewise.
20065 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20066 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20067 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20068 (FP_EXTEND): Use _FP_FRAC_SNANP.
20069 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20070 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20072 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20074 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20077 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20079 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20080 with DIVIDE_BY_ZERO_EXCEPTION.
20081 (gamma_test_data): Likewise.
20082 (lgamma_test_data): Likewise.
20083 (log_test_data): Likewise.
20084 (log10_test_data): Likewise.
20085 (log2_test_data): Likewise.
20086 (tgamma_test_data): Likewise.
20088 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20089 (acos_test_tonearest): Likewise.
20090 (acos_test_towardzero): Likewise.
20091 (acos_test_downward): Likewise.
20092 (acos_test_upward): Likewise.
20093 (acosh_test): Likewise.
20094 (asin_test): Likewise.
20095 (asin_test_tonearest): Likewise.
20096 (asin_test_towardzero): Likewise.
20097 (asin_test_downward): Likewise.
20098 (asin_test_upward): Likewise.
20099 (asinh_test): Likewise.
20100 (atan_test): Likewise.
20101 (atanh_test): Likewise.
20102 (atan2_test): Likewise.
20103 (cabs_test): Likewise.
20104 (cacos_test): Likewise.
20105 (cacosh_test): Likewise.
20106 (casin_test): Likewise.
20107 (casinh_test): Likewise.
20108 (catan_test): Likewise.
20109 (catanh_test): Likewise.
20110 (cbrt_test): Likewise.
20111 (ccos_test): Likewise.
20112 (ccosh_test): Likewise.
20113 (cexp_test): Likewise.
20114 (clog_test): Likewise.
20115 (clog10_test): Likewise.
20116 (cos_test): Likewise.
20117 (cos_test_tonearest): Likewise.
20118 (cos_test_towardzero): Likewise.
20119 (cos_test_downward): Likewise.
20120 (cos_test_upward): Likewise.
20121 (cosh_test): Likewise.
20122 (cosh_test_tonearest): Likewise.
20123 (cosh_test_towardzero): Likewise.
20124 (cosh_test_downward): Likewise.
20125 (cosh_test_upward): Likewise.
20126 (cpow_test): Likewise.
20127 (csin_test): Likewise.
20128 (csinh_test): Likewise.
20129 (csqrt_test): Likewise.
20130 (ctan_test): Likewise.
20131 (ctan_test_tonearest): Likewise.
20132 (ctan_test_towardzero): Likewise.
20133 (ctan_test_downward): Likewise.
20134 (ctan_test_upward): Likewise.
20135 (ctanh_test): Likewise.
20136 (ctanh_test_tonearest): Likewise.
20137 (ctanh_test_towardzero): Likewise.
20138 (ctanh_test_downward): Likewise.
20139 (ctanh_test_upward): Likewise.
20140 (erf_test): Likewise.
20141 (erfc_test): Likewise.
20142 (exp_test): Likewise.
20143 (exp_test_tonearest): Likewise.
20144 (exp_test_towardzero): Likewise.
20145 (exp_test_downward): Likewise.
20146 (exp_test_upward): Likewise.
20147 (exp10_test): Likewise.
20148 (exp2_test): Likewise.
20149 (expm1_test): Likewise.
20150 (fmod_test): Likewise.
20151 (gamma_test): Likewise.
20152 (hypot_test): Likewise.
20153 (j0_test): Likewise.
20154 (j1_test): Likewise.
20155 (jn_test): Likewise.
20156 (lgamma_test): Likewise.
20157 (log_test): Likewise.
20158 (log10_test): Likewise.
20159 (log1p_test): Likewise.
20160 (log2_test): Likewise.
20161 (logb_test_downward): Likewise.
20162 (pow_test): Likewise.
20163 (pow_test_tonearest): Likewise.
20164 (pow_test_towardzero): Likewise.
20165 (pow_test_downward): Likewise.
20166 (pow_test_upward): Likewise.
20167 (remainder_test): Likewise.
20168 (remquo_test): Likewise.
20169 (sin_test): Likewise.
20170 (sin_test_tonearest): Likewise.
20171 (sin_test_towardzero): Likewise.
20172 (sin_test_downward): Likewise.
20173 (sin_test_upward): Likewise.
20174 (sincos_test): Likewise.
20175 (sinh_test): Likewise.
20176 (sinh_test_tonearest): Likewise.
20177 (sinh_test_towardzero): Likewise.
20178 (sinh_test_downward): Likewise.
20179 (sinh_test_upward): Likewise.
20180 (sqrt_test): Likewise.
20181 (tan_test): Likewise.
20182 (tan_test_tonearest): Likewise.
20183 (tan_test_towardzero): Likewise.
20184 (tan_test_downward): Likewise.
20185 (tan_test_upward): Likewise.
20186 (tanh_test): Likewise.
20187 (tgamma_test): Likewise.
20188 (y0_test): Likewise.
20189 (y1_test): Likewise.
20190 (yn_test): Likewise.
20192 * math/gen-libm-test.pl (adjust_arg): Remove function.
20193 (special_function): Remove argument $in_func. Only handle
20194 generating output for tables of tests, not inside functions.
20195 (parse_args): Likewise.
20196 (generate_testfile): Remove variable $in_func. Update call to
20198 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20199 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20200 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20201 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20202 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20203 (MAX_VALUE_INIT): Rename macro to max_value.
20204 (MIN_VALUE_INIT): Rename macro to min_value.
20205 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20206 (plus_zero): Remove variable.
20207 (minus_zero): Likewise.
20208 (plus_infty): Likewise.
20209 (minus_infty): Likewise.
20210 (qnan_value): Likewise.
20211 (max_value): Likewise.
20212 (min_value): Likewise.
20213 (min_subnorm_value): Likewise.
20215 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20217 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20218 uint64_t or uint32_t usage.
20219 * crypt/sha256-block.c: Likewise.
20220 * crypt/sha256-crypt.c: Likewise.
20221 * crypt/sha256.c: Likewise.
20222 * crypt/sha512-block.c: Likewise.
20223 * crypt/sha512-crypt.c: Likewise.
20224 * crypt/sha512.c: Likewise.
20225 * debug/backtrace-tst.c: Likewise.
20226 * debug/pcprofiledump.c: Likewise.
20227 * elf/cache.c: Likewise.
20228 * elf/dl-cache.c: Likewise.
20229 * elf/dl-misc.c: Likewise.
20230 * elf/dl-profile.c: Likewise.
20231 * elf/dl-support.c: Likewise.
20232 * elf/ldconfig.c: Likewise.
20233 * elf/sprof.c: Likewise.
20234 * iconv/dummy-repertoire.c: Likewise.
20235 * iconv/iconv_charmap.c: Likewise.
20236 * iconv/skeleton.c: Likewise.
20237 * iconvdata/8bit-generic.c: Likewise.
20238 * iconvdata/cp737.h: Likewise.
20239 * iconvdata/cp775.h: Likewise.
20240 * iconvdata/ibm1008.h: Likewise.
20241 * iconvdata/ibm1025.h: Likewise.
20242 * iconvdata/ibm1046.h: Likewise.
20243 * iconvdata/ibm1097.h: Likewise.
20244 * iconvdata/ibm1112.h: Likewise.
20245 * iconvdata/ibm1122.h: Likewise.
20246 * iconvdata/ibm1123.h: Likewise.
20247 * iconvdata/ibm1124.h: Likewise.
20248 * iconvdata/ibm1129.h: Likewise.
20249 * iconvdata/ibm1130.h: Likewise.
20250 * iconvdata/ibm1132.h: Likewise.
20251 * iconvdata/ibm1133.h: Likewise.
20252 * iconvdata/ibm1137.h: Likewise.
20253 * iconvdata/ibm1140.h: Likewise.
20254 * iconvdata/ibm1141.h: Likewise.
20255 * iconvdata/ibm1142.h: Likewise.
20256 * iconvdata/ibm1143.h: Likewise.
20257 * iconvdata/ibm1144.h: Likewise.
20258 * iconvdata/ibm1145.h: Likewise.
20259 * iconvdata/ibm1146.h: Likewise.
20260 * iconvdata/ibm1147.h: Likewise.
20261 * iconvdata/ibm1148.h: Likewise.
20262 * iconvdata/ibm1149.h: Likewise.
20263 * iconvdata/ibm1153.h: Likewise.
20264 * iconvdata/ibm1154.h: Likewise.
20265 * iconvdata/ibm1155.h: Likewise.
20266 * iconvdata/ibm1156.h: Likewise.
20267 * iconvdata/ibm1157.h: Likewise.
20268 * iconvdata/ibm1158.h: Likewise.
20269 * iconvdata/ibm1160.h: Likewise.
20270 * iconvdata/ibm1161.h: Likewise.
20271 * iconvdata/ibm1162.h: Likewise.
20272 * iconvdata/ibm1163.h: Likewise.
20273 * iconvdata/ibm1164.h: Likewise.
20274 * iconvdata/ibm1166.h: Likewise.
20275 * iconvdata/ibm1167.h: Likewise.
20276 * iconvdata/ibm12712.h: Likewise.
20277 * iconvdata/ibm1390.h: Likewise.
20278 * iconvdata/ibm1399.h: Likewise.
20279 * iconvdata/ibm16804.h: Likewise.
20280 * iconvdata/ibm4517.h: Likewise.
20281 * iconvdata/ibm4899.h: Likewise.
20282 * iconvdata/ibm4909.h: Likewise.
20283 * iconvdata/ibm4971.h: Likewise.
20284 * iconvdata/ibm5347.h: Likewise.
20285 * iconvdata/ibm803.h: Likewise.
20286 * iconvdata/ibm856.h: Likewise.
20287 * iconvdata/ibm901.h: Likewise.
20288 * iconvdata/ibm902.h: Likewise.
20289 * iconvdata/ibm9030.h: Likewise.
20290 * iconvdata/ibm9066.h: Likewise.
20291 * iconvdata/ibm921.h: Likewise.
20292 * iconvdata/ibm922.h: Likewise.
20293 * iconvdata/ibm9448.h: Likewise.
20294 * iconvdata/isiri-3342.h: Likewise.
20295 * iconvdata/jis0201.h: Likewise.
20296 * include/link.h: Likewise.
20297 * include/netdb.h: Likewise.
20298 * inet/check_native.c: Likewise.
20299 * inet/check_pf.c: Likewise.
20300 * inet/getipv4sourcefilter.c: Likewise.
20301 * inet/getnameinfo.c: Likewise.
20302 * inet/getsourcefilter.c: Likewise.
20303 * inet/htonl.c: Likewise.
20304 * inet/setipv4sourcefilter.c: Likewise.
20305 * inet/setsourcefilter.c: Likewise.
20306 * inet/test-inet6_opt.c: Likewise.
20307 * inet/tst-network.c: Likewise.
20308 * locale/C-collate.c: Likewise.
20309 * locale/C-ctype.c: Likewise.
20310 * locale/C-time.c: Likewise.
20311 * locale/C-translit.h: Likewise.
20312 * locale/loadarchive.c: Likewise.
20313 * locale/programs/3level.h: Likewise.
20314 * locale/programs/charmap.c: Likewise.
20315 * locale/programs/charmap.h: Likewise.
20316 * locale/programs/ld-address.c: Likewise.
20317 * locale/programs/ld-collate.c: Likewise.
20318 * locale/programs/ld-ctype.c: Likewise.
20319 * locale/programs/ld-identification.c: Likewise.
20320 * locale/programs/ld-measurement.c: Likewise.
20321 * locale/programs/ld-messages.c: Likewise.
20322 * locale/programs/ld-monetary.c: Likewise.
20323 * locale/programs/ld-name.c: Likewise.
20324 * locale/programs/ld-numeric.c: Likewise.
20325 * locale/programs/ld-paper.c: Likewise.
20326 * locale/programs/ld-telephone.c: Likewise.
20327 * locale/programs/ld-time.c: Likewise.
20328 * locale/programs/linereader.c: Likewise.
20329 * locale/programs/locale.c: Likewise.
20330 * locale/programs/locarchive.c: Likewise.
20331 * locale/programs/locfile.h: Likewise.
20332 * locale/programs/repertoire.c: Likewise.
20333 * locale/programs/simple-hash.c: Likewise.
20334 * locale/programs/simple-hash.h: Likewise.
20335 * malloc/memusage.c: Likewise.
20336 * malloc/memusagestat.c: Likewise.
20337 * nis/nis_defaults.c: Likewise.
20338 * nis/nis_hash.c: Likewise.
20339 * nis/nis_print.c: Likewise.
20340 * nis/nis_xdr.c: Likewise.
20341 * nscd/connections.c: Likewise.
20342 * nscd/hstcache.c: Likewise.
20343 * nscd/nscd_gethst_r.c: Likewise.
20344 * nscd/nscd_getserv_r.c: Likewise.
20345 * nscd/nscd_helper.c: Likewise.
20346 * nscd/servicescache.c: Likewise.
20347 * nss/makedb.c: Likewise.
20348 * nss/nss_db/db-XXX.c: Likewise.
20349 * nss/nss_db/db-initgroups.c: Likewise.
20350 * nss/nss_db/db-netgrp.c: Likewise.
20351 * nss/nss_files/files-network.c: Likewise.
20352 * nss/nss_files/files-parse.c: Likewise.
20353 * posix/bug-regex5.c: Likewise.
20354 * posix/fnmatch_loop.c: Likewise.
20355 * posix/regcomp.c: Likewise.
20356 * posix/regexec.c: Likewise.
20357 * posix/tst-rfc3484-2.c: Likewise.
20358 * posix/tst-rfc3484-3.c: Likewise.
20359 * posix/tst-rfc3484.c: Likewise.
20360 * resolv/nss_dns/dns-canon.c: Likewise.
20361 * resolv/nss_dns/dns-network.c: Likewise.
20362 * resolv/res_init.c: Likewise.
20363 * resolv/res_mkquery.c: Likewise.
20364 * resolv/tst-aton.c: Likewise.
20365 * stdlib/cxa_atexit.c: Likewise.
20366 * stdlib/cxa_finalize.c: Likewise.
20367 * stdlib/gen-fpioconst.c: Likewise.
20368 * stdlib/strtol_l.c: Likewise.
20369 * string/tst-endian.c: Likewise.
20370 * sunrpc/auth_des.c: Likewise.
20371 * sunrpc/clnt_udp.c: Likewise.
20372 * sunrpc/rtime.c: Likewise.
20373 * sunrpc/svcauth_des.c: Likewise.
20374 * sunrpc/xdr.c: Likewise.
20375 * sunrpc/xdr_intXX_t.c: Likewise.
20376 * sunrpc/xdr_rec.c: Likewise.
20377 * sysdeps/generic/ldconfig.h: Likewise.
20378 * sysdeps/generic/ldsodefs.h: Likewise.
20379 * sysdeps/generic/memusage.h: Likewise.
20380 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20381 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20382 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20383 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20384 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20385 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20386 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20387 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20388 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20389 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20390 * sysdeps/posix/getaddrinfo.c: Likewise.
20391 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20392 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20393 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20394 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20395 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20396 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20397 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20398 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20399 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20400 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20401 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20402 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20403 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20404 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20405 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20406 * sysdeps/x86_64/dl-tls.h: Likewise.
20407 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20408 * time/alt_digit.c: Likewise.
20409 * time/era.c: Likewise.
20410 * wcsmbs/tst-c16c32-1.c: Likewise.
20412 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20414 * math/libm-test.inc (struct test_sincos_data): New type.
20415 (RUN_TEST_LOOP_sincos): New macro.
20416 (sincos_test_data): New variable.
20417 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20419 2013-05-16 Richard Henderson <rth@redhat.com>
20421 * math/atest-exp2.c (LIMB64): New macro.
20422 (CONSTSZ): New macro.
20423 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20425 (print_mpn_fp): ... to function scope.
20426 (read_mpn_hex): Remove.
20427 (get_log2): Remove.
20428 (exp2_mpn): Use mp_log2.
20429 (main): Use mp_exp1.
20431 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20433 * math/libm-test.inc: Remove comment about not testing "inexact"
20435 (INEXACT_EXCEPTION): New macro.
20436 (NO_INEXACT_EXCEPTION): Likewise.
20437 (INVALID_EXCEPTION_OK): Update value.
20438 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20439 (OVERFLOW_EXCEPTION_OK): Likewise.
20440 (UNDERFLOW_EXCEPTION_OK): Likewise.
20441 (IGNORE_ZERO_INF_SIGN): Likewise.
20442 (ERRNO_UNCHANGED): Likewise.
20443 (ERRNO_EDOM): Likewise.
20444 (ERRNO_ERANGE): Likewise.
20445 (test_exceptions): Handle testing "inexact" exceptions.
20446 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20447 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20448 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20449 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20451 (rint_towardzero_test_data): Likewise.
20452 (rint_downward_test_data): Likewise.
20453 (rint_upward_test_data): Likewise.
20455 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20456 with OVERFLOW_EXCEPTION.
20457 (exp10_test_data): Likewise.
20458 (exp2_test_data): Likewise.
20459 (expm1_test_data): Likewise.
20460 (lgamma_test_data): Likewise.
20461 (pow_test_data): Likewise.
20462 (tgamma_test_data): Likewise.
20463 (yn_test_data): Remove duplicate test of overflow.
20465 * math/libm-test.inc (struct test_cc_c_data): New type.
20466 (RUN_TEST_LOOP_cc_c): New macro.
20467 (cpow_test_data): New variable.
20468 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20470 * math/libm-test.inc (struct test_f_L_data): New type.
20471 (RUN_TEST_LOOP_f_L): New macro.
20472 (llrint_test_data): New variable.
20473 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20474 (llrint_tonearest_test_data): New variable.
20475 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20476 (llrint_towardzero_test_data): New variable.
20477 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20478 (llrint_downward_test_data): New variable.
20479 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20480 (llrint_upward_test_data): New variable.
20481 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20482 (llround_test_data): New variable.
20483 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20485 2013-05-13 Peter Collingbourne <pcc@google.com>
20487 * math/atest-exp2.c (get_log2): Remove const attribute.
20489 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20491 * math/libm-test.inc (struct test_f_l_data): New type.
20492 (RUN_TEST_LOOP_f_l): New macro.
20493 (lrint_test_data): New variable.
20494 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20495 (lrint_tonearest_test_data): New variable.
20496 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20497 (lrint_towardzero_test_data): New variable.
20498 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20499 (lrint_downward_test_data): New variable.
20500 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20501 (lrint_upward_test_data): New variable.
20502 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20503 (lround_test_data): New variable.
20504 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20506 2013-05-15 Peter Collingbourne <pcc@google.com>
20508 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20509 (EXTRACT_WORDS64) Use where appropriate.
20510 (INSERT_WORDS64) Likewise.
20512 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20513 constraints with x constraints.
20514 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20516 * malloc/obstack.c (_obstack_compat): Add initializer.
20518 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20520 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20521 si_trapno and add si_addr_lsb to _sifields.sigfault.
20522 (si_trapno): Remove macro.
20523 (si_addr_lsb): Define new macro.
20524 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20526 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20528 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20529 instead of TEST_f_l.
20530 (llrint_test_tonearest): Likewise.
20531 (llrint_test_towardzero): Likewise.
20532 (llrint_test_downward): Likewise.
20533 (llrint_test_upward): Likewise.
20534 (llround_test): Likewise.
20536 * math/libm-test.inc (struct test_f_i_data): Add comment.
20537 (RUN_TEST_LOOP_f_b): New macro.
20538 (RUN_TEST_LOOP_f_b_tg): Likewise.
20539 (finite_test_data): New variable.
20540 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20541 (isfinite_test_data): New variable.
20542 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20543 (isinf_test_data): New variable.
20544 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20545 (isnan_test_data): New variable.
20546 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20547 (isnormal_test_data): New variable.
20548 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20549 (issignaling_test_data): New variable.
20550 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20551 (signbit_test_data): New variable.
20552 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20554 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20555 with INVALID_EXCEPTION.
20556 (acosh_test_data): Likewise.
20557 (asin_test_data): Likewise.
20558 (atanh_test_data): Likewise.
20559 (fmod_test_data): Likewise.
20560 (log_test_data): Likewise.
20561 (log10_test_data): Likewise.
20562 (log2_test_data): Likewise.
20563 (pow_test_data): Likewise.
20564 (sqrt_test_data): Likewise.
20565 (y0_test_data): Likewise.
20566 (y1_test_data): Likewise.
20567 (yn_test_data): Likewise.
20569 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20572 * math/libm-test.inc (struct test_ff_i_data): New type.
20573 (RUN_TEST_LOOP_ff_i_tg): New macro.
20574 (isgreater_test_data): New variable.
20575 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20576 (isgreaterequal_test_data): New variable.
20577 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20578 (isless_test_data): New variable.
20579 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20580 (islessequal_test_data): New variable.
20581 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20582 (islessgreater_test_data): New variable.
20583 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20584 (isunordered_test_data): New variable.
20585 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20587 2013-05-14 David S. Miller <davem@davemloft.net>
20589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20591 2013-05-14 Joseph Myers <joseph@codesourcery.com>
20593 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20595 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20597 (struct test_f_i_data): Change type of max_ulp to int.
20599 * math/libm-test.inc (test_ffI_f1_data): New type.
20600 (RUN_TEST_LOOP_ffI_f1): New macro.
20601 (remquo_test_data): New variable.
20602 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20604 * setjmp/tst-setjmp-fp.c: New file.
20605 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20606 (link-libm): New variable.
20607 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20609 * math/libm-test.inc (struct test_f_i_data): New type.
20610 (RUN_TEST_LOOP_f_i): New macro.
20611 (RUN_TEST_LOOP_f_i_tg): Likewise.
20612 (fpclassify_test_data): New variable.
20613 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20614 (ilogb_test_data): New variable.
20615 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20617 * math/libm-test.inc (scalbln_test): Correct function name in END
20620 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20621 (RUN_TEST_LOOP_fI_f1): New macro.
20622 (frexp_test_data): New variable.
20623 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20625 * math/libm-test.inc (struct test_fF_f1_data): New type.
20626 (RUN_TEST_LOOP_fF_f1): New macro.
20627 (modf_test_data): New variable.
20628 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20630 * math/libm-test.inc (struct test_f_f1_data): New type.
20631 (RUN_TEST_LOOP_f_f1): New macro.
20632 (gamma_test_data): New variable.
20633 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20634 (lgamma_test_data): New variable.
20635 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20637 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20639 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20640 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20641 (main): Comment "tls" pseudo-hwcap.
20643 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20645 * math/libm-test.inc (struct test_fl_f_data): New type.
20646 (RUN_TEST_LOOP_fl_f): New variable.
20647 (scalbln_test_data): New variable.
20648 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20650 * math/libm-test.inc (struct test_fi_f_data): New type.
20651 (RUN_TEST_LOOP_fi_f): New macro.
20652 (ldexp_test_data): New variable.
20653 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20654 (scalbn_test_data): New variable.
20655 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20657 * math/libm-test.inc (struct test_c_f_data): New type.
20658 (RUN_TEST_LOOP_c_f): New macro.
20659 (cabs_test_data): New variable.
20660 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20661 (carg_test_data): New variable.
20662 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20663 (cimag_test_data): New variable.
20664 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20665 (creal_test_data): New variable.
20666 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20668 * math/libm-test.inc (struct test_if_f_data): New type.
20669 (RUN_TEST_LOOP_if_f): New macro.
20670 (jn_test_data): New variable.
20671 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20672 (yn_test_data): New variable.
20673 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20675 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20677 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20679 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20680 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20682 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20684 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20685 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20686 (bench-deps): Add bench-timing.h.
20687 * benchtests-bench-skeleton.c: Include bench-timing.h.
20688 (main): Use TIMING_* macros instead of clock_gettime.
20689 * benchtests/bench-timing.h: New file.
20692 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20693 Renamed from _LIB_VERSION.
20694 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20696 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20698 * math/libm-test.inc (struct test_fff_f_data): New type.
20699 (RUN_TEST_LOOP_fff_f): New macro.
20700 (fma_test_data): New variable.
20701 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20702 (fma_towardzero_test_data): New variable.
20703 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20704 (fma_downward_test_data): New variable.
20705 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20706 (fma_upward_test_data): New variable.
20707 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20709 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20710 (struct test_c_c_data): New type.
20711 (RUN_TEST_LOOP_c_c): New macro.
20712 (cacos_test_data): New variable.
20713 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20714 (cacosh_test_data): New variable.
20715 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20716 (casin_test_data): New variable.
20717 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20718 (casinh_test_data): New variable.
20719 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20720 (catan_test_data): New variable.
20721 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20722 (catanh_test_data): New variable.
20723 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20724 (ccos_test_data): New variable.
20725 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20726 (ccosh_test_data): New variable.
20727 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20728 (cexp_test_data): New variable.
20729 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20730 (clog_test_data): New variable.
20731 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20732 (clog10_test_data): New variable.
20733 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20734 (conj_test_data): New variable.
20735 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20736 (cproj_test_data): New variable.
20737 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20738 (csin_test_data): New variable.
20739 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20740 (csinh_test_data): New variable.
20741 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20742 (csqrt_test_data): New variable.
20743 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20744 (ctan_test_data): New variable.
20745 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20746 (ctan_tonearest_test_data): New variable.
20747 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20748 (ctan_towardzero_test_data): New variable.
20749 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20750 (ctan_downward_test_data): New variable.
20751 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20752 (ctan_upward_test_data): New variable.
20753 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20754 (ctanh_test_data): New variable.
20755 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20756 (ctanh_tonearest_test_data): New variable.
20757 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20758 (ctanh_towardzero_test_data): New variable.
20759 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20760 (ctanh_downward_test_data): New variable.
20761 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20762 (ctanh_upward_test_data): New variable.
20763 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20764 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20767 * math/libm-test.inc (struct test_ff_f_data): New type.
20768 (struct test_ff_f_data_nexttoward): Likewise.
20769 (RUN_TEST_LOOP_2_f): New macro.
20770 (RUN_TEST_LOOP_ff_f): Likewise.
20771 (atan2_test_data): New variable.
20772 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20773 (copysign_test_data): New variable.
20774 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20775 (fdim_test_data): New variable.
20776 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20777 (fmax_test_data): New variable.
20778 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20779 (fmin_test_data): New variable.
20780 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20781 (fmod_test_data): New variable.
20782 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20783 (hypot_test_data): New variable.
20784 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20785 (nextafter_test_data): New variable.
20786 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20787 (nexttoward_test_data): New variable.
20788 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20789 (pow_test_data): New variable.
20790 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20791 (pow_tonearest_test_data): New variable.
20792 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20793 (pow_towardzero_test_data): New variable.
20794 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20795 (pow_downward_test_data): New variable.
20796 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20797 (pow_upward_test_data): New variable.
20798 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20799 (remainder_test_data): New variable.
20800 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20801 (scalb_test_data): New variable.
20802 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20803 * sysdeps/i386/fpu/libm-test-ulps: Update.
20805 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20807 * math/libm-test.inc (fma_test): Use max_value instead of local
20809 (nextafter_test): Likewise.
20811 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20812 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20813 (acos_downward_test_data): New variable.
20814 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20815 (acos_upward_test_data): New variable.
20816 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20817 (acosh_test_data): New variable.
20818 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20819 (asin_test_data): New variable.
20820 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20821 (asin_tonearest_test_data): New variable.
20822 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20823 (asin_towardzero_test_data): New variable.
20824 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20825 (asin_downward_test_data): New variable.
20826 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20827 (asin_upward_test_data): New variable.
20828 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20829 (asinh_test_data): New variable.
20830 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20831 (atan_test_data): New variable.
20832 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20833 (atanh_test_data): New variable.
20834 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20835 (cbrt_test_data): New variable.
20836 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20837 (ceil_test_data): New variable.
20838 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20839 (cos_test_data): New variable.
20840 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20841 (cos_tonearest_test_data): New variable.
20842 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20843 (cos_towardzero_test_data): New variable.
20844 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20845 (cos_downward_test_data): New variable.
20846 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20847 (cos_upward_test_data): New variable.
20848 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20849 (cosh_test_data): New variable.
20850 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20851 (cosh_tonearest_test_data): New variable.
20852 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20853 (cosh_towardzero_test_data): New variable.
20854 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20855 (cosh_downward_test_data): New variable.
20856 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20857 (cosh_upward_test_data): New variable.
20858 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20859 (erf_test_data): New variable.
20860 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20861 (erfc_test_data): New variable.
20862 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20863 (exp_test_data): New variable.
20864 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20865 (exp_tonearest_test_data): New variable.
20866 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20867 (exp_towardzero_test_data): New variable.
20868 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20869 (exp_downward_test_data): New variable.
20870 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20871 (exp_upward_test_data): New variable.
20872 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20873 (exp10_test_data): New variable.
20874 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20875 (exp2_test_data): New variable.
20876 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20877 (expm1_test_data): New variable.
20878 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20879 (fabs_test_data): New variable.
20880 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20881 (floor_test_data): New variable.
20882 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20883 (j0_test_data): New variable.
20884 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20885 (j1_test_data): New variable.
20886 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20887 (log_test_data): New variable.
20888 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20889 (log10_test_data): New variable.
20890 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20891 (log1p_test_data): New variable.
20892 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20893 (log2_test_data): New variable.
20894 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20895 (logb_test_data): New variable.
20896 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20897 (logb_downward_test_data): New variable.
20898 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20899 (nearbyint_test_data): New variable.
20900 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20901 (rint_test_data): New variable.
20902 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20903 (rint_tonearest_test_data): New variable.
20904 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20905 (rint_towardzero_test_data): New variable.
20906 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20907 (rint_downward_test_data): New variable.
20908 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20909 (rint_upward_test_data): New variable.
20910 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20911 (round_test_data): New variable.
20912 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20913 (sin_test_data): New variable.
20914 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20915 (sin_tonearest_test_data): New variable.
20916 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20917 (sin_towardzero_test_data): New variable.
20918 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20919 (sin_downward_test_data): New variable.
20920 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20921 (sin_upward_test_data): New variable.
20922 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20923 (sinh_test_data): New variable.
20924 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20925 (sinh_tonearest_test_data): New variable.
20926 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20927 (sinh_towardzero_test_data): New variable.
20928 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20929 (sinh_downward_test_data): New variable.
20930 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20931 (sinh_upward_test_data): New variable.
20932 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20933 (sqrt_test_data): New variable.
20934 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20935 (tan_test_data): New variable.
20936 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20937 (tan_tonearest_test_data): New variable.
20938 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20939 (tan_towardzero_test_data): New variable.
20940 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20941 (tan_downward_test_data): New variable.
20942 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20943 (tan_upward_test_data): New variable.
20944 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20945 (tanh_test_data): New variable.
20946 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20947 (tgamma_test_data): New variable.
20948 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20949 (trunc_test_data): New variable.
20950 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20951 (y0_test_data): New variable.
20952 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20953 (y1_test_data): New variable.
20954 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20955 (significand_test_data): New variable.
20956 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20958 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20961 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20963 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20965 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20967 2013-05-10 Andreas Jaeger <aj@suse.de>
20970 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20971 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20973 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20975 * math/gen-libm-test.pl (adjust_arg): New function.
20976 (special_functions): Handle generating output in both functions
20978 (parse_args): Likewise.
20979 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20980 $in_func argument to parse_args.
20981 * math/libm-test.inc (struct test_f_f_data): New type.
20982 (IF_ROUND_INIT_): New macro.
20983 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20984 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20985 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20986 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20987 (ROUND_RESTORE_): Likewise.
20988 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20989 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20990 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20991 (ROUND_RESTORE_FE_UPWARD): Likewise.
20992 (RUN_TEST_LOOP_f_f): New macro.
20993 (acos_test_data): New variable.
20994 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20995 (acos_tonearest_test_data): New variable.
20996 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20998 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21000 * benchtests/bench-skeleton.c (startup): Fix coding style.
21002 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21005 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21006 negative infinity argument.
21007 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21008 negative infinity argument.
21009 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21010 negative infinity argument.
21011 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21014 2013-05-10 Florian Weimer <fweimer@redhat.com>
21016 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21017 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21018 * iconv/iconv_prog.c (main): Likewise.
21019 * locale/programs/charmap-dir.c (charmap_readdir)
21020 (fopen_uncompressed): Likewise.
21021 * locale/programs/locfile.c (siblings_uncached)
21022 (write_locale_data): Use lstat64 instead of lstat.
21023 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21026 2013-05-10 Andreas Jaeger <aj@suse.de>
21029 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21031 Include <locale.h>.
21033 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21035 * elf/dl-close.c (_dl_close_worker): Add comments.
21037 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21040 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21042 (__ieee754_rem_pio2l): Update comments.
21045 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21047 (__ieee754_rem_pio2l): Update comments.
21049 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21050 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21052 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21055 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21056 (M_PI_34_LOG10El): Likewise.
21057 (M_PI2_LOG10El): Likewise.
21058 (M_PI4_LOG10El): Likewise.
21059 (M_PI_LOG10El): Likewise.
21061 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21065 2013-05-08 Joseph Myers <joseph@codesourcery.com>
21067 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21068 (MINUS_ZERO_INIT): Likewise.
21069 (PLUS_INFTY_INIT): Likewise.
21070 (MINUS_INFTY_INIT): Likewise.
21071 (QNAN_VALUE_INIT): Likewise.
21072 (MAX_VALUE_INIT): Likewise.
21073 (MIN_VALUE_INIT): Likewise.
21074 (MIN_SUBNORM_VALUE_INIT): Likewise.
21075 (plus_zero): Initialize with PLUS_ZERO_INIT.
21076 (minus_zero): Initialize with MINUS_ZERO_INIT.
21077 (plus_infty): Initialize with PLUS_INFTY_INIT.
21078 (minus_infty): Initialize with MINUS_INFTY_INIT.
21079 (qnan_value): Initialize with QNAN_VALUE_INIT.
21080 (max_value): Initialize with MAX_VALUE_INIT.
21081 (min_value): Initialize with MIN_VALUE_INIT.
21082 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21084 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21085 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21086 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21087 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21089 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21090 (RUN_TEST_2_f): Likewise.
21091 (RUN_TEST_ff_f): Likewise.
21092 (RUN_TEST_fi_f): Likewise.
21093 (RUN_TEST_fl_f): Likewise.
21094 (RUN_TEST_fff_f): Likewise.
21095 (RUN_TEST_c_f): Likewise.
21096 (RUN_TEST_f_f1): Likewise.
21097 (RUN_TEST_fF_f1): Likewise.
21098 (RUN_TEST_fI_f1): Likewise.
21099 (RUN_TEST_ffI_f1): Likewise.
21100 (RUN_TEST_c_c): Likewise.
21101 (RUN_TEST_cc_c): Likewise.
21102 (RUN_TEST_f_i): Likewise.
21103 (RUN_TEST_f_i_tg): Likewise.
21104 (RUN_TEST_ff_i_tg): Likewise.
21105 (RUN_TEST_f_b): Likewise.
21106 (RUN_TEST_f_b_tg): Likewise.
21107 (RUN_TEST_f_l): Likewise.
21108 (RUN_TEST_f_L): Likewise.
21109 (RUN_TEST_sincos): Likewise.
21110 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21111 whether to show exceptions. Do not include ");\n" in return
21113 (special_functions): Output call to RUN_TEST_sincos instead of
21114 check_float calls. Update calls to new_test.
21115 (parse_args): Output call to single RUN_TEST_* macro instead of
21116 check_* calls and other assignments. Update calls to new_test.
21122 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21123 input to result for tgamma overflow.
21124 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21125 (gamma_coeff): New variable.
21126 (NCOEFF): New macro.
21127 (gamma_positive): New function.
21128 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21129 underflow here. Use gamma_positive instead of exp (lgamma) for
21131 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21132 (gamma_coeff): New variable.
21133 (NCOEFF): New macro.
21134 (gammaf_positive): New function.
21135 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21136 underflow here. Use gamma_positive instead of exp (lgamma) for
21138 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21139 (gamma_coeff): New variable.
21140 (NCOEFF): New macro.
21141 (gammal_positive): New function.
21142 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21143 underflow here. Use gamma_positive instead of exp (lgamma) for
21145 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21146 (gamma_coeff): New variable.
21147 (NCOEFF): New macro.
21148 (gammal_positive): New function.
21149 (__ieee754_gammal_r): Handle positive infinity, overflow and
21150 underflow here. Handle NaN the same as positive infinity. Remove
21151 check x < 0xffffffff for negative integers. Use gamma_positive
21152 instead of exp (lgamma) for other arguments.
21153 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21154 (gamma_coeff): New variable.
21155 (NCOEFF): New macro.
21156 (gammal_positive): New function.
21157 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21158 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21159 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21160 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21161 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21162 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21163 * sysdeps/generic/math_private.h (__gamma_productf): New
21165 (__gamma_product): Likewise.
21166 (__gamma_productl): Likewise.
21167 * math/Makefile (libm-calls): Add gamma_product.
21168 * math/libm-test.inc (tgamma_test): Add more tests.
21169 * sysdeps/i386/fpu/libm-test-ulps: Update.
21170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21172 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21174 * benchtests/bench-skeleton.c (main): Preheat CPU.
21176 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21178 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21180 2013-05-07 Roland McGrath <roland@hack.frob.com>
21182 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21183 and _dl_skip_args_internal.
21185 2013-05-07 Carlos O'Donell <carlos@redhat.com>
21187 * manual/message.texi (Message Translation): Talk about users.
21188 Message to key mapping impacts design.
21190 2013-05-06 Roland McGrath <roland@hack.frob.com>
21192 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21194 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21196 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21197 * sysdeps/wordsize-64/glob64.c: ... here.
21199 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21200 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21203 * debug/getlogin_r_chk.c: Moved to ...
21204 * login/getlogin_r_chk.c: ... here.
21205 * debug/Makefile (routines): Move getlogin_r_chk to ...
21206 * login/Makefile (routines): ... here.
21207 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21208 * login/Versions (libc: GLIBC_2.4): ... here.
21210 * io/poll.c (__poll): Renamed from poll.
21211 Add libc_hidden_def.
21212 (poll): Define as weak alias.
21214 * debug/ptsname_r_chk.c: Moved to ...
21215 * login/ptsname_r_chk.c: ... here.
21216 * debug/Makefile (routines): Move ptsname_r_chk to ...
21217 * login/Makefile (routines): ... here.
21218 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21219 * login/Versions (libc: GLIBC_2.4): ... here.
21221 * posix/getlogin.c: Moved to ...
21222 * login/getlogin.c: ... here.
21223 * posix/getlogin_r.c: Moved to ...
21224 * login/getlogin_r.c: ... here.
21225 * posix/getlogin_r.c: Moved to ...
21226 * login/getlogin_r.c: ... here.
21227 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21228 * login/Makefile (routines): ... here.
21229 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21230 * login/Versions (libc: GLIBC_2.0): ... here.
21232 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21233 (setrlimit): Define as weak alias.
21235 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21236 Call __ names for open, ftruncate, and close.
21237 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21238 (truncate): Define as weak alias.
21240 2013-05-06 Joseph Myers <joseph@codesourcery.com>
21242 * math/gen-libm-test.pl (parse_args): Initialize x before each
21243 test of frexp, modf and remquo.
21245 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21246 test signgam value.
21248 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21252 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21254 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21256 2013-05-06 Roland McGrath <roland@hack.frob.com>
21258 * elf/dl-writev.h: New file.
21259 * elf/dl-misc.c: Include it.
21260 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21261 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21263 2013-05-04 Joseph Myers <joseph@codesourcery.com>
21265 * math/libm-test.inc (noXFails): Remove variable.
21266 (noXPasses): Likewise.
21267 (BUILD_COMPLEX_INT): Remove macro.
21268 (print_screen): Remove xfail argument.
21269 (print_screen_max_error): Likewise.
21270 (update_stats): Likewise.
21271 (print_max_error): Likewise. Update calls to other affected
21273 (print_complex_max_error): Likewise.
21274 (test_single_exception): Update calls to print_screen.
21275 (test_single_errno): Likewise.
21276 (check_float_internal): Remove xfail argument. Update calls to
21277 other affected functions.
21278 (check_float): Likewise.
21279 (check_complex): Likewise.
21280 (check_int): Likewise.
21281 (check_long): Likewise.
21282 (check_bool): Likewise.
21283 (check_longlong): Likewise.
21284 (main): Don't print noXFails and noXPasses.
21285 * math/gen-libm-test.pl (top level): Don't mention expected
21286 failure handling in comment.
21287 (new_test): Don't handle expected failures.
21288 (parse_args): Don't mention expected failure handling in comment.
21289 (generate_testfile): Don't handle expected failures.
21290 (parse_ulps): Likewise.
21291 (print_ulps_file): Likewise.
21292 (get_failure): Remove function.
21293 (output_test): Don't handle expected failures.
21294 * make/README.libm-test: Don't mention expected failure handling.
21296 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21297 (minus_zero): Likewise.
21298 (plus_infty): Likewise.
21299 (minus_infty): Likewise.
21300 (qnan_value): Likewise.
21301 (max_value): Likewise.
21302 (min_value): Likewise.
21303 (min_subnorm_value): Likewise.
21304 (initialize): Do not initialize those variables dynamically.
21306 2013-05-03 Roland McGrath <roland@hack.frob.com>
21308 * io/open.c (__open_2): Moved to ...
21309 * io/open_2.c: ... this new file.
21310 * io/open64.c (__open64_2): Moved to ...
21311 * io/open64_2.c: ... this new file.
21312 * io/openat.c (__openat_2): Moved to ...
21313 * io/openat_2.c: ... this new file.
21314 * io/openat64.c (__openat64_2): Moved to ...
21315 * io/openat64_2.c: ... this new file.
21316 * io/Makefile (routines): Add them.
21317 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21318 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21319 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21320 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21321 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21322 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21323 (__openat64): Add hidden_ver.
21324 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21325 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21327 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21328 Separately conditionalize setting of GLRO(dl_sysinfo) so
21329 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21330 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21332 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21334 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21335 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21337 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21338 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21339 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21340 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21341 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21343 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21345 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21346 test signgam value.
21348 * math/libm-test.inc (hypot_test): Do not use
21349 IGNORE_ZERO_INF_SIGN.
21351 2013-05-03 Andreas Jaeger <aj@suse.de>
21353 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21355 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21356 (PF_MAX): Adjust for VSOCK change.
21358 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21362 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21365 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21366 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21367 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21369 2013-05-02 David S. Miller <davem@davemloft.net>
21371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21373 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21375 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21377 2013-05-01 Roland McGrath <roland@hack.frob.com>
21379 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21381 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21384 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21385 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21386 Use __attribute__ ((__gnu_inline__)).
21387 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21388 Don't use __attribute__ ((__gnu_inline__)).
21390 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21393 * math/s_catan.c (__catan): Handle small real or imaginary part of
21394 input specially to avoid spurious underflow.
21395 * math/s_catanf.c (__catanf): Likewise.
21396 * math/s_catanh.c (__catanh): Likewise.
21397 * math/s_catanhf.c (__catanhf): Likewise.
21398 * math/s_catanhl.c (__catanhl): Likewise.
21399 * math/s_catanl.c (__catanl): Likewise.
21400 * math/libm-test.inc (catan_test): Add more tests.
21401 (catanh_test): Likewise.
21402 * sysdeps/i386/fpu/libm-test-ulps: Update.
21403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21405 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21409 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21412 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21413 accurately for denominator in atan2.
21414 * math/s_catanf.c (__catanf): Likewise.
21415 * math/s_catanh.c (__catanh): Likewise.
21416 * math/s_catanhf.c (__catanhf): Likewise.
21417 * math/s_catanhl.c (__catanhl): Likewise.
21418 * math/s_catanl.c (__catanl): Likewise.
21419 * math/libm-test.inc (catan_test): Add more tests.
21420 (catanh_test): Likewise.
21421 * sysdeps/i386/fpu/libm-test-ulps: Update.
21422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21424 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21426 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21428 * benchtests/Makefile (bench): Remove slow benchmarks.
21429 * benchtests/atan-inputs: Add slow benchmark inputs.
21430 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21431 (BENCH_FUNC): Accept variant offset.
21433 * benchtests/bench-skeleton.c (main): Run benchmark for each
21435 * benchtests/cos-inputs: Add slow benchmark inputs.
21436 * benchtests/exp-inputs: Likewise.
21437 * benchtests/pow-inputs: Likewise.
21438 * benchtests/sin-inputs: Likewise.
21439 * benchtests/slowatan-inputs: Remove.
21440 * benchtests/slowatan.c: Remove.
21441 * benchtests/slowcos-inputs: Remove.
21442 * benchtests/slowcos.c: Remove.
21443 * benchtests/slowexp-inputs: Remove.
21444 * benchtests/slowexp.c: Remove.
21445 * benchtests/slowpow-inputs: Remove.
21446 * benchtests/slowpow.c: Remove.
21447 * benchtests/slowsin-inputs: Remove.
21448 * benchtests/slowsin.c: Remove.
21449 * benchtests/slowtan-inputs: Remove.
21450 * benchtests/slowtan.c: Remove.
21451 * benchtests/tan-inputs: Add slow benchmark inputs.
21452 * scripts/bench.pl: Parse comments and directives.
21454 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21456 ($(objpfx)bench-%.c): Remove *-ITER.
21457 * benchtests/bench-modf.c: Remove definition of ITER.
21458 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21459 (main): Loop for DURATION seconds instead of fixed number of
21461 * scripts/bench.pl: Don't expect iterations in parameters.
21463 2013-04-29 Roland McGrath <roland@hack.frob.com>
21465 * io/fchdir.c (__fchdir): Renamed from fchdir.
21466 (fchdir): Define as weak alias.
21468 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21470 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21471 (ERRNO_EDOM): Likewise.
21472 (ERRNO_ERANGE): Likewise.
21473 (noErrnoTests): New variable.
21474 (init_max_error): Set errno to 0.
21475 (test_single_errno): New function.
21476 (test_errno): Likewise.
21477 (check_float_internal): Call test_errno. Set errno to 0.
21478 (check_complex): Refer to errno tests in comment.
21479 (check_int): Call test_errno. Set errno to 0.
21480 (check_long): Likewise.
21481 (check_bool): Likewise.
21482 (check_longlong): Likewise.
21483 (cos_test): Use ERRNO_* flags for errno tests instead of
21485 (expm1_test): Likewise.
21486 (fmod_test): Likewise.
21487 (ilogb_test): Likewise.
21488 (lgamma_test): Likewise.
21489 (pow_test): Likewise.
21490 (remainder_test): Likewise.
21491 (sin_test): Likewise.
21492 (tan_test): Likewise.
21493 (yn_test): Likewise.
21494 (initialize): Set errno to 0.
21495 (main): Print number of errno tests.
21496 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21498 2013-04-29 Andreas Jaeger <aj@suse.de>
21501 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21505 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21506 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21510 * stdlib/random.c (__initstate): Return NULL if
21514 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21515 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21518 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21522 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21524 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21525 of individual tests.
21526 (casin_test): Likewise.
21527 (casinh_test): Likewise.
21529 2013-04-27 Joseph Myers <joseph@codesourcery.com>
21532 * math/s_catan.c (__catan): Handle arguments with large real or
21533 imaginary part separately without squaring.
21534 * math/s_catanf.c (__catanf): Likewise.
21535 * math/s_catanh.c (__catanh): Likewise.
21536 * math/s_catanhf.c (__catanhf): Likewise.
21537 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21539 (__catanhl): Handle arguments with large real or imaginary part
21540 separately without squaring.
21541 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21543 (__catanl): Handle arguments with large real or imaginary part
21544 separately without squaring.
21545 * math/libm-test.inc (catan_test): Add more tests.
21546 (catanh_test): Likewise.
21547 * sysdeps/i386/fpu/libm-test-ulps: Update.
21548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21550 2013-04-27 Andreas Jaeger <aj@suse.de>
21553 * stdlib/stdlib.h: Update guards for qecvt.
21554 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21557 2013-04-27 Allan McRae <allan@archlinux.org>
21559 * sysdeps/i386/fpu/libm-test-ulps: Update.
21561 2013-04-26 Joseph Myers <joseph@codesourcery.com>
21564 * math/s_catan.c: Include <float.h>.
21565 (__catan): Ensure underflow exception occurs for underflowed
21567 * math/s_catanf.c: Include <float.h>.
21568 (__catanf): Ensure underflow exception occurs for underflowed
21570 * math/s_catanh.c: Include <float.h>.
21571 (__catanh): Ensure underflow exception occurs for underflowed
21573 * math/s_catanhf.c: Include <float.h>.
21574 (__catanhf): Ensure underflow exception occurs for underflowed
21576 * math/s_catanhl.c: Include <float.h>.
21577 (__catanhl): Ensure underflow exception occurs for underflowed
21579 * math/s_catanl.c: Include <float.h>.
21580 (__catanl): Ensure underflow exception occurs for underflowed
21582 * math/libm-test.inc (catan_test): Add more tests.
21583 (catanh_test): Likewise.
21586 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21587 underflowed result.
21588 * math/s_ccoshf.c (__ccoshf): Likewise.
21589 * math/s_ccoshl.c (__ccoshl): Likewise.
21590 * math/s_csin.c (__csin): Likewise.
21591 * math/s_csinf.c (__csinf): Likewise.
21592 * math/s_csinh.c (__csinh): Likewise.
21593 * math/s_csinhf.c (__csinhf): Likewise.
21594 * math/s_csinhl.c (__csinhl): Likewise.
21595 * math/s_csinl.c (__csinl): Likewise.
21596 * math/libm-test.inc (ccos_test): Add more tests.
21597 (ccosh_test): Likewise.
21598 (csin_test): Likewise.
21599 (csinh_test): Likewise.
21601 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21603 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21604 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21605 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21606 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21607 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21608 powerpc/power5+/fpu folders.
21609 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21612 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21614 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21616 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21618 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21619 additions to variable.
21620 [$(config-machine) = x86_64] (modules-names): Likewise.
21621 ($(objpfx)tst-audit3): Remove dependency.
21622 ($(objpfx)tst-audit3.out): Likewise.
21623 ($(objpfx)tst-audit4): Likewise.
21624 ($(objpfx)tst-audit4.out): Likewise.
21625 ($(objpfx)tst-audit5): Likewise.
21626 ($(objpfx)tst-audit5.out): Likewise.
21627 ($(objpfx)tst-audit6): Likewise.
21628 ($(objpfx)tst-audit6.out): Likewise.
21629 ($(objpfx)tst-audit7): Likewise.
21630 ($(objpfx)tst-audit7.out): Likewise.
21631 (tst-audit3-ENV): Remove variable.
21632 (tst-audit4-ENV): Likewise.
21633 (tst-audit5-ENV): Likewise.
21634 (tst-audit6-ENV): Likewise.
21635 (tst-audit7-ENV): Likewise.
21636 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21637 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21638 addition to variable.
21639 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21640 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21641 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21642 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21643 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21644 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21645 tst-audit3, tst-audit4 and tst-audit5.
21646 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21647 tst-audit6 and tst-audit7.
21648 [$(subdir) = elf] (modules-names): Add audit modules for those
21650 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21651 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21652 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21653 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21654 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21655 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21656 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21657 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21658 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21659 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21660 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21661 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21662 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21663 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21664 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21665 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21667 [$(subdir) = elf && $(config-cflags-avx) = yes]
21668 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21669 [$(subdir) = elf && $(config-cflags-avx) = yes]
21670 (CFLAGS-tst-auditmod4a.c): Likewise.
21671 [$(subdir) = elf && $(config-cflags-avx) = yes]
21672 (CFLAGS-tst-auditmod4b.c): Likewise.
21673 [$(subdir) = elf && $(config-cflags-avx) = yes]
21674 (CFLAGS-tst-auditmod6b.c): Likewise.
21675 [$(subdir) = elf && $(config-cflags-avx) = yes]
21676 (CFLAGS-tst-auditmod6c.c): Likewise.
21677 [$(subdir) = elf && $(config-cflags-avx) = yes]
21678 (CFLAGS-tst-auditmod7b.c): Likewise.
21679 * elf/tst-audit3.c: Move to ...
21680 * sysdeps/x86_64/tst-audit3.c: ... here.
21681 * elf/tst-audit4.c: Move to ...
21682 * sysdeps/x86_64/tst-audit4.c: ... here.
21683 * elf/tst-audit5.c: Move to ...
21684 * sysdeps/x86_64/tst-audit5.c: ... here.
21685 * elf/tst-audit6.c: Move to ...
21686 * sysdeps/x86_64/tst-audit6.c: ... here.
21687 * elf/tst-audit7.c: Move to ...
21688 * sysdeps/x86_64/tst-audit7.c: ... here.
21689 * elf/tst-auditmod3a.c: Move to ...
21690 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21691 * elf/tst-auditmod3b.c: Move to ...
21692 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21693 * elf/tst-auditmod4a.c: Move to ...
21694 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21695 * elf/tst-auditmod4b.c: Move to ...
21696 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21697 * elf/tst-auditmod5a.c: Move to ...
21698 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21699 * elf/tst-auditmod5b.c: Move to ...
21700 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21701 * elf/tst-auditmod6a.c: Move to ...
21702 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21703 * elf/tst-auditmod6b.c: Move to ...
21704 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21705 * elf/tst-auditmod6c.c: Move to ...
21706 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21707 * elf/tst-auditmod7a.c: Move to ...
21708 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21709 * elf/tst-auditmod7b.c: Move to ...
21710 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21712 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21715 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21716 define unconditionally.
21717 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21718 define unconditionally.
21719 (INT8_C, INT16_C, etc.): Likewise.
21721 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21723 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21724 __ehdr_start with hidden visibility.
21726 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21728 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21730 * math/libm-test.inc (cos_test): Use accurate hex constants.
21731 (sincost_test): Likewise.
21733 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21735 * math/libm-test.inc (catan_test): Add more tests.
21736 (catanh_test): Likewise.
21738 * math/s_catanf.c (__catanf): Use suffixed floating-point
21740 * math/s_catanhf.c (__catanhf): Likewise.
21741 * math/s_catanhl.c (__catanhl): Likewise.
21742 * math/s_catanl.c (__catanl): Likewise.
21745 * math/s_catan.c (__catan): Calculate imaginary part of result
21746 with log1p not log unless computing log of number close to 0.
21747 * math/s_catanf.c (__catanf): Likewise.
21748 * math/s_catanl.c (__catanl): Likewise.
21749 * math/s_catanh.c (__catanh): Calculate real part of result with
21750 log1p not log unless computing log of number close to 0.
21751 * math/s_catanhf.c (__catanhf): Likewise.
21752 * math/s_catanhl.c (__catanhl): Likewise.
21753 * math/libm-test.inc (catan_test): Add more tests.
21754 (catanh_test): Likewise.
21755 * sysdeps/i386/fpu/libm-test-ulps: Update.
21756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21758 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21760 * benchtests/Makefile: Mention files in which fast and slow
21761 paths of math functions are implemented.
21763 2013-04-23 Roland McGrath <roland@hack.frob.com>
21765 * sysdeps/posix/timespec_get.c: New file.
21767 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21769 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21771 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21773 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21774 powerpc/power5/fpu folders.
21775 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21776 * benchtests/Makefile: Add modf testcase.
21777 * benchtests/bench-modf.c: New file: Benchmark test for mo
21779 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21782 * time/Makefile (tests): Add tst-strptime-whitespace.
21783 * time/strptime_l.c (get_number): Use ISSPACE.
21784 (__strptime_internal): Likewise.
21785 * time/tst-strptime-whitespace.c: New test case.
21787 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21789 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21791 (_nss_files_init): Set it here.
21793 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21795 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21796 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21799 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21801 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21803 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21805 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21808 2013-04-21 David S. Miller <davem@davemloft.net>
21810 * po/ru.po: Update Russion translation from translation project.
21812 2013-04-17 Adam Conrad <adconrad@0c3.net>
21814 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21817 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21819 * configure.in: Remove i386 configure warning. Remove i386 case.
21820 * configure: Regenerate.
21821 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21822 Add example to error message.
21823 * sysdeps/i386/configure: Regenerate.
21825 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21827 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21829 * benchtests/cos-inputs: New file.
21830 * benchtests/slowcos-inputs: New file.
21831 * benchtests/slowcos.c: New file.
21832 * benchtests/slowtan-inputs: New file.
21833 * benchtests/slowtan.c: New file.
21834 * benchtests/tan-inputs: New file.
21836 2013-04-16 Roland McGrath <roland@hack.frob.com>
21838 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21841 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21843 * benchtests/Makefile: Include cppflags-iterator.mk to add
21844 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21846 * Makefile.in (bench-clean): New target.
21847 * benchtests/Makefile (bench-clean): Likewise.
21849 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21851 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21853 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21855 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21857 2013-04-15 Andreas Schwab <schwab@suse.de>
21859 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21860 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21861 * nscd/pwdcache.c (cache_addpw): Likewise.
21862 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21865 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21867 * benchtests/Makefile (bench): Write all output to
21868 bench-out.tmp together.
21870 2013-04-15 Andreas Schwab <schwab@suse.de>
21872 * nscd/nscd.c (main): Don't fork again after closing files.
21874 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21876 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21878 * benchtests/Rules (bench-deps): Collect dependencies into a
21879 single variable. Add Makefile to dependencies.
21880 ($(objpfx)bench-%.c): Depend on bench-deps.
21882 2013-04-12 Roland McGrath <roland@hack.frob.com>
21883 Xavier Roche <roche+kml2@exalead.com>
21886 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21887 just that it's a file descriptor.
21888 * manual/llio.texi (Synchronizing AIO Operations): Update description
21889 for EBADF error from aio_fsync.
21891 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21893 * Rules (bench): Move target definition...
21894 * benchtests/Makefile: ... here.
21896 2013-04-11 Carlos O'Donell <carlos@redhat.com>
21898 * math/libm-test.inc (cos_test): Fix PI/2 test.
21899 (sincos_test): Likewise.
21900 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21901 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21903 2013-04-11 Andreas Schwab <schwab@suse.de>
21906 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21907 accept exponent character only when digits were seen.
21908 * stdio-common/Makefile (tests): Add bug26.
21909 * stdio-common/bug26.c: New file.
21912 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21915 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21917 * Makeconfig (rtld-prefix): Define built linker prefix.
21918 * Rules (run-bench): Use it.
21919 * math/Makefile (run-regen-ulps): Likewise.
21921 * Rules (bench): Remove eval.
21923 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21924 Roland McGrath <roland@hack.frob.com>
21925 Ondrej Bilka <neleai@seznam.cz>
21928 * time/getdate.c: Include ctype.h and alloca.h.
21929 (__getdate_r): Trim leading and trailing spaces of input.
21930 * time/tst-getdate.c (tests): Add tests with leading and
21933 2013-04-08 Roland McGrath <roland@hack.frob.com>
21936 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21937 when computing value.
21939 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21941 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21942 Use testrun.sh to run libm tests.
21945 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21947 2013-04-06 Marko Myllynen <myllynen@redhat.com>
21950 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21952 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21954 * Makefile.in (regen-ulps): New target.
21955 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21956 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21957 [ifneq (no,$(PERL)] (regen-ulps): New target.
21958 [ifeq (no,$(PERL)] (regen-ulps): New target.
21959 * math/libm-test.inc (ulps_file_name): Define.
21960 (output_dir): New variable.
21961 (options): Add "output-dir" option.
21962 (parse_opt): Handle 'o' case.
21963 (main): If output_dir is non-NULL use it as a prefix
21965 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21967 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21969 [BZ #10060, #10062]
21970 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21971 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21972 fail configure if __sync_val_compare_and_swap is not inlined.
21973 * sysdeps/i386/configure: Regenerate.
21974 * configure.in: Build for i686 when configured for i386.
21975 * configure: Regenerate.
21976 * README: Remove i386 reference.
21978 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21980 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21981 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21983 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21985 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21986 (lmsnanval): New variables.
21987 (F): Add conversion tests.
21988 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21989 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21991 * stdio-common/tstdiomisc.c (F): Properly collect individual
21994 [BZ #14686, #15336]
21995 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21996 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21997 Instead, use input NaN values or generate a qNaN by arithmetic
21998 operation. Also fix bugs to comply with the standard.
21999 * math/libm-test.inc (remainder_test): Add more tests.
22001 [BZ #15335, #15342]
22002 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22003 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22004 input NaN values or generate a qNaN by arithmetic operation.
22006 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22009 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22012 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22015 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22016 underflowed result.
22017 * math/s_cexpf.c (__cexpf): Likewise.
22018 * math/s_cexpl.c (__cexpl): Likewise.
22019 * math/libm-test.inc (cexp_test): Add more tests.
22021 2013-04-03 Andreas Schwab <schwab@suse.de>
22024 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22025 order arrays from heap if bigger than alloca cutoff.
22027 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22029 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22030 (SNAN_TESTS_double): Refer to GCC PR56831.
22031 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22034 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22036 * Rules (bench): Move bench.out after the run is complete.
22038 * Rules (bench): Echo currently running benchmark.
22040 * benchtests/Makefile (bench): Add atan and slowatan.
22041 * benchtests/atan-inputs: New file.
22042 * benchtests/slowatan-inputs: New file.
22043 * benchtests/slowatan.c: New file.
22045 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22046 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22050 * sysdeps/unix/sysv/linux/kernel-features.h
22051 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22052 __ASSUME_XFS_RESTRICTED_CHOWN.
22053 * sysdeps/unix/sysv/linux/pathconf.c
22054 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22055 Save and restore errno.
22057 2013-04-02 Joseph Myers <joseph@codesourcery.com>
22060 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22061 arguments using __kernel_casinh.
22062 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22063 arguments using __kernel_casinhf.
22064 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22065 arguments using __kernel_casinhl.
22066 * math/libm-test.inc (cacosh_test): Add more tests.
22067 * sysdeps/i386/fpu/libm-test-ulps: Update.
22068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22070 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22072 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22073 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22075 * bench/Makefile (bench): Add sin and slowsin.
22076 * benchtests/sin-inputs: New file.
22077 * benchtests/slowsin-inputs: New file.
22078 * benchtests/slowsin.c: New file.
22080 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22081 (bench): Add slowexp and slowpow.
22082 (exp-ITER): Increase iterations.
22083 (pow-ITER): Likewise.
22084 * benchtests/exp-inputs: Change input.
22085 * benchtests/pow-inputs: Likewise.
22086 * benchtests/slowexp-inputs: New file.
22087 * benchtests/slowexp.c: New file.
22088 * benchtests/slowpow-inputs: New file.
22089 * benchtests/slowpow.c: New file.
22091 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22093 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22095 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22096 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22097 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22098 * benchtests/Makefile: Add rint benchtest.
22099 * benchtests/rint-inputs: Input for rint benchtest.
22101 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22103 * Versions.def (libm): Add GLIBC_2.18.
22104 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22105 hidden libm prototypes.
22106 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22107 * math/Makefile (libm-calls): Add s_issignaling.
22108 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22109 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22110 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22112 * math/math.h [__USE_GNU] (issignaling): New macro.
22113 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22114 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22115 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22116 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22117 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22118 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22119 * manual/arith.texi (issignaling): New section.
22120 * manual/libm-err-tab.pl (@all_functions): Update comment.
22121 * math/gen-libm-test.pl (parse_args): Apply special handling for
22123 * math/libm-test.inc (print_float, issignaling_test): New
22125 (check_float_internal): Add issignaling checks.
22126 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22127 default definition.
22128 * sysdeps/powerpc/math-tests.h: New file.
22129 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22131 * math/test-snan.c (TEST_FUNC): Likewise.
22133 2013-03-30 David S. Miller <davem@davemloft.net>
22135 * po/de.po: Update from translation team.
22137 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22140 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22141 imaginary part less than 1.0 and real part less than 0.5
22143 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22144 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22145 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22146 (cacos_test): Add more tests.
22147 (casin_test): Likewise.
22148 (casinh_test): Likewise.
22149 * sysdeps/i386/fpu/libm-test-ulps: Update.
22150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22152 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22154 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22155 ONE with its value.
22157 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22158 (__pow_mp): Replace ONE and MONE with their values.
22159 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22160 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22161 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22162 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22163 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22164 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22166 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22168 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22169 (__pow_mp): Replace ZERO and MZERO with their values.
22170 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22171 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22172 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22173 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22174 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22175 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22178 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22180 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22182 2013-03-28 Roland McGrath <roland@hack.frob.com>
22184 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22185 Declare with __attribute__ ((weak)).
22186 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22187 Call __call_tls_dtors only if it's not NULL.
22189 2013-03-28 Roland McGrath <roland@hack.frob.com>
22191 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22192 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22193 magic __ehdr_start linker symbol if it's defined.
22194 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22195 them up here if it was already done.
22197 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22198 (_dl_aux_init): Use const in cast when setting it.
22199 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22200 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22201 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22203 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22205 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22206 * csu/libc-tls.c: Nor here.
22207 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22209 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22210 (__libc_message): Never call vsyslog.
22212 2013-03-28 Alan Modra <amodra@gmail.com>
22214 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22216 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22219 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22222 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22226 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22229 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22230 Don't add gid passed as argument.
22232 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22234 2013-03-27 Joseph Myers <joseph@codesourcery.com>
22237 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22238 imaginary part between 1.0 and 1.5 and real part less than 0.5
22240 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22241 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22242 * math/libm-test.inc (cacos_test): Add more tests.
22243 (casin_test): Likewise.
22244 (casinh_test): Likewise.
22245 * sysdeps/i386/fpu/libm-test-ulps: Update.
22246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22248 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22250 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22253 (denorm): Likewise.
22254 (__dbl_mp): Likewise.
22255 (add_magnitudes): Likewise.
22256 (sub_magnitudes): Likewise.
22264 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22266 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22267 (__dubcos): Likewise.
22268 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22269 (__ieee754_acos): Likewise.
22270 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22271 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22272 (__exp1): Likewise.
22273 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22274 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22276 (my_log2): Likewise.
22277 (checkint): Likewise.
22278 * sysdeps/ieee754/dbl-64/e_remainder.c
22279 (__ieee754_remainder): Likewise.
22280 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22281 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22282 (bsloww): Likewise.
22283 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22285 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22286 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22287 MANTISSA_STORE_T to store computations on mantissa. Use
22288 macros for rounding and division.
22289 (denorm): Likewise.
22290 (__dbl_mp): Likewise.
22291 (add_magnitudes): Likewise.
22292 (sub_magnitudes): Likewise.
22295 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22296 powers of two in terms of TWOPOW macro.
22297 (mp_no): Make type of mantissa as MANTISSA_T.
22298 [!RADIXI]: Define RADIXI.
22299 [!TWO52]: Define TWO52.
22300 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22302 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22304 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22305 llroundl symbol when building for PPC32.
22307 2013-03-24 Mark H Weaver <mhw@netris.org>
22309 * manual/arith.texi (Normalization Functions): Fix prototypes for
22310 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22312 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22315 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22316 high value to check if expl overflow.
22317 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22318 to check for underflow and overflow.
22319 * math/libm-test.inc: Add exp test.
22321 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22324 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22327 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22329 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22332 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22334 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22335 wrap blocks consisting of several statements.
22337 * sysdeps/generic/math-tests.h: New file.
22338 * sysdeps/i386/fpu/math-tests.h: Likewise.
22339 * math/test-snan.c: Include it.
22340 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22342 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22345 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22346 (__ieee754_j0l): Do not improve calculations using cos of twice
22347 input for inputs above LDBL_MAX / 2.0L.
22348 (__ieee754_y0l): Likewise.
22349 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22350 (__ieee754_j1l): Do not improve calculations using cos of twice
22351 input for inputs above LDBL_MAX / 2.0L.
22352 (__ieee754_y1l): Likewise.
22353 * math/libm-test.inc (j0_test): Add another test.
22354 (j1_test): Likewise.
22355 (y0_test): Likewise.
22356 (y1_test): Likewise.
22357 * sysdeps/i386/fpu/libm-test-ulps: Update.
22359 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22361 * Rules ($(objpfx)bench-%.c): Include code from a C source
22364 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22367 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22368 imaginary part 1.0 and real part less than 0.5 specially.
22369 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22370 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22371 * math/libm-test.inc (cacos_test): Add more tests.
22372 (casin_test): Likewise.
22373 (casinh_test): Likewise.
22374 * sysdeps/i386/fpu/libm-test-ulps: Update.
22375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22377 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22379 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22380 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22382 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22384 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22385 * config.make.in (config-cflags-sse4): Remove variable.
22386 (config-cflags-avx): Likewise.
22387 (config-cflags-sse2avx): Likewise.
22388 (config-cflags-novzeroupper): Likewise.
22389 (config-asflags-i686): Likewise.
22390 (have-mfma4): Likewise.
22391 (have-as-vis3): Likewise.
22393 * configure.in (MIG): Do not AC_SUBST.
22394 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22395 (libc_cv_cc_sse4): Do not AC_SUBST.
22396 (libc_cv_cc_avx): Likewise.
22397 (libc_cv_cc_sse2avx): Likewise.
22398 (libc_cv_cc_novzeroupper): Likewise.
22399 (libc_cv_cc_fma4): Likewise.
22400 (libc_cv_as_i686): Likewise.
22401 (libc_cv_sparc_as_vis3): Likewise.
22402 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22404 (config-asflags-i686): Likewise.
22405 (config-cflags-avx): Likewise.
22406 (config-cflags-sse2avx): Likewise.
22407 (have-mfma4): Likewise.
22408 (config-cflags-novzeroupper): Likewise.
22409 * sysdeps/mach/configure.in (MIG): Likewise.
22410 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22411 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22413 (config-cflags-avx): Likewise.
22414 (config-cflags-sse2avx): Likewise.
22415 (have-mfma4): Likewise.
22416 (config-cflags-novzeroupper): Likewise.
22417 * configure: Regenerated.
22418 * sysdeps/i386/configure: Likewise.
22419 * sysdeps/mach/configure: Likewise.
22420 * sysdeps/sparc/configure: Likewise.
22421 * sysdeps/x86_64/configure: Likewise.
22423 2013-03-20 Roland McGrath <roland@hack.frob.com>
22426 * locale/programs/localedef.c (options): Put N_ translation marker
22427 on argument names, not just descriptions.
22429 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22431 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22433 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
22436 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22438 2013-03-19 Roland McGrath <roland@hack.frob.com>
22440 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22441 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22442 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22443 [!BEFORE_ABORT] (before_abort): New function.
22444 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22445 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22446 (writev_for_fatal): New function.
22447 (WRITEV_FOR_FATAL): New macro; call that.
22448 (backtrace_and_maps): New function.
22449 (BEFORE_ABORT): New macro; call that.
22450 (struct str_list): Type removed.
22451 (__libc_message, __libc_fatal): Functions removed.
22452 Include <sysdeps/posix/libc_fatal.c> instead.
22454 2013-03-19 Joseph Myers <joseph@codesourcery.com>
22456 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22458 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22461 2013-03-19 Andreas Schwab <schwab@suse.de>
22463 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22464 * sysdeps/gnu/configure: Regenerate.
22466 * configure.in: Substitute libc_cv_rtlddir.
22467 * configure: Regenerate.
22468 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22469 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22470 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22471 * elf/Makefile (install-others, CFLAGS-interp.c)
22472 (ldso_install, common-ldd-rewrite): Likewise.
22473 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22474 $(inst_slibdir)/$(rtld-installed-name).
22475 * scripts/rellns-sh: Add -p option.
22476 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22479 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22481 * manual/nptl.texi: Renamed to ...
22482 * manual/threads.texi: ... this.
22483 * manual/Makefile (chapters): Update.
22485 2013-03-18 Roland McGrath <roland@hack.frob.com>
22488 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22489 on argument names, not just descriptions.
22490 * malloc/memusagestat.c (options): Likewise.
22491 * nss/getent.c (options): Likewise.
22493 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
22496 * iconv/iconv_prog.c (options): Put N_ translation marker
22497 on argument names, not just descriptions.
22498 * iconv/iconvconfig.c (options): Likewise.
22500 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
22502 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22503 implementation which is faster on all x86_64 architectures.
22504 Tested on AMD, Intel Nehalem, SNB, IVB.
22505 * sysdeps/x86_64/strnlen.S: Likewise.
22507 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22508 Remove all multiarch strlen and strnlen versions.
22509 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22510 Remove strlen and strnlen related parts.
22512 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22513 Inline strlen part.
22514 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22516 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22517 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22518 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22519 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22520 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22521 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22523 2013-03-17 Carlos O'Donell <carlos@redhat.com>
22525 * manual/memory.texi (Malloc Tunable Parameters):
22526 Sort parameters alphabetically. Add comments for missing entries.
22528 2013-03-17 David S. Miller <davem@davemloft.net>
22530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22532 2013-03-16 Joseph Myers <joseph@codesourcery.com>
22535 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22536 for arguments at most half maximum finite value.
22537 * math/libm-test.inc (j0_test): Add more tests.
22538 (j1_test): Likewise.
22539 (y0_test): Likewise.
22540 (y1_test): Likewise.
22541 * sysdeps/i386/fpu/libm-test-ulps: Update.
22542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22545 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22546 1 / x and functions P and Q for arguments above 0x1p256L.
22547 (__ieee754_y0l): Likewise.
22548 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22549 (__ieee754_y1l): Likewise.
22550 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22551 (j1_test): Likewise.
22552 (y0_test): Likewise.
22553 (y1_test): Likewise.
22555 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22557 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22560 2013-03-15 Roland McGrath <roland@hack.frob.com>
22562 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22563 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22564 zero since it's initialized to EXEC_PAGESIZE.
22566 * sysdeps/unix/sysv/linux/ldsodefs.h
22567 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22568 * sysdeps/generic/ldsodefs.h: ... here.
22570 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22572 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22574 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22576 * math/test-snan.c: Renamed from
22577 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22578 * math/Makefile (tests): Add test-snan.
22579 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22582 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22583 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22585 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22586 __builtin_nan family of functions.
22587 * math/libm-test.inc (initialize): Initialize qnan_value with
22588 __builtin_nan family of functions.
22589 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22591 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22593 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22594 storage class. Initialize qNaN_var and sNaN_var with
22595 __builtin_nan and __builtin_nans families of functions,
22598 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22599 (sqrt_test): Remove duplicate test with qNaN input.
22600 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22601 (round_test, signbit_test, significand_test): Note missing +/-Inf
22602 as well as qNaN tests.
22604 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22605 qNaN_var. Fix a few strings, too.
22606 * math/libm-test.inc (nan_value): Rename to qnan_value.
22607 * math/gen-libm-test.pl (%beautify): Adjust to that.
22608 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22609 * math/test-misc.c (main): Likewise.
22610 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22611 to __qnan_bytes, and __qnan_union, respectively.
22612 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22614 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22615 and lqnanval, respectively.
22616 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22617 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22618 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22619 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22621 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22622 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22625 * math/test-misc.c (main): Fix copy'n'pastos.
22626 * misc/tst-efgcvt.c (special): Likewise.
22628 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22629 Remove declarations.
22631 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22633 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22634 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22635 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22636 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22638 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22640 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22641 macro to return vdso values correctly in IFUNC implementations.
22642 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22643 Optimization by using IFUNC.
22645 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22646 Richard Henderson <rth@redhat.com>
22647 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22649 * Makefile.in (bench): New target.
22650 * NEWS: Mention the benchmark framework.
22651 * Rules (bench): Likewise.
22652 (binaries-bench): Generate binaries for functions to
22654 * benchtests/Makefile: New makefile for benchmark tests.
22655 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22657 * benchtests/exp-inputs: New input file for EXP function.
22658 * benchtests/pow-inputs: New input file for POW function.
22659 * scripts/bench.pl: New script to generate source files for
22660 benchmark programs.
22662 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22664 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22665 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22666 computations on mantissa. Use macros for rounding and
22668 (denorm): Likewise.
22669 (__dbl_mp): Likewise.
22670 (add_magnitudes): Likewise.
22671 (sub_magnitudes): Likewise.
22674 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22675 powers of two in terms of TWOPOW macro.
22676 (mp_no): Make type of mantissa as MANTISSA_T.
22677 [!RADIXI]: Define RADIXI.
22678 [!TWO52]: Define TWO52.
22679 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22681 * manual/nptl.texi (cindex): Modify threads to pthreads.
22683 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22685 * sysdeps/x86_64/preconfigure: Regenerated.
22687 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22690 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22692 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22693 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22695 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22696 * math/libm-test.inc (j0_test): Do not allow one spurious
22697 underflow exception.
22698 (y1_test): Likewise.
22700 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22702 * manual/Makefile (chapters): Add nptl.
22703 * manual/debug.texi (Debugging Support): Add link to Threads
22705 * manual/nptl.texi: New file.
22707 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22709 2013-03-14 Petr Baudis <pasky@ucw.cz>
22711 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22712 for non-NULL pointer before the memory validity test. Pointed
22713 out by Holger Brunck <holger.brunck@keymile.com>.
22715 2013-03-13 Andreas Schwab <schwab@suse.de>
22717 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22720 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22722 * timezone/zic.c: Update from tzcode 2013b.
22724 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22726 * manual/install.texi (Configuring and compiling):
22727 Mention i686 and i586.
22728 * INSTALL: Regenerate.
22730 2013-03-12 Roland McGrath <roland@hack.frob.com>
22732 * sysdeps/init_array/elf-init.c: New file.
22734 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22735 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22737 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22738 __gmon_start__ as global, but as static with a .preinit_array pointer.
22739 * sysdeps/init_array/gmon-start.c: New file. Use that.
22740 * sysdeps/init_array/crti.S: New file, empty except for comments.
22741 * sysdeps/init_array/crtn.S: Likewise.
22743 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22745 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22748 Remove Prefer_SSE_for_memop.
22749 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22750 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22751 HAS_PREFER_SSE_FOR_MEMOP.
22752 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22754 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22755 Remove bzero, memset ifunc support.
22756 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22757 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22758 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22759 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22761 2013-03-11 Andreas Schwab <schwab@suse.de>
22764 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22767 (GLIBC_2.16): Remove pthread_atfork.
22769 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22771 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22772 (ptestcases.h): Likewise.
22774 2013-03-08 Roland McGrath <roland@hack.frob.com>
22776 * Makeconfig ($(common-objpfx)config.status): Depend on
22777 sysdeps/*/preconfigure{,.in} too.
22779 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22781 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22782 (__free_hook): Use void * instead of __malloc_ptr_t.
22783 (__malloc_hook): Likewise.
22784 (__realloc_hook): Likewise.
22785 (__memalign_hook): Likewise.
22786 (__after_morecore_hook): Likewise.
22787 * malloc/arena.c (save_malloc_hook): Likewise.
22788 (save_free_hook): Likewise.
22789 * malloc/hooks.c (malloc_hook_ini): Likewise.
22790 (realloc_hook_ini): Likewise.
22791 (memalign_hook_ini): Likewise.
22792 * malloc/malloc.c (malloc_hook_ini): Likewise.
22793 (realloc_hook_ini): Likewise.
22794 (memalign_hook_ini): Likewise.
22795 (__free_hook): Likewise.
22796 (__malloc_hook): Likewise.
22797 (__realloc_hook): Likewise.
22798 (__memalign_hook): Likewise.
22799 (__libc_malloc): Likewise.
22800 (__libc_free): Likewise.
22801 (__libc_realloc): Likewise.
22802 (__libc_memalign): Likewise.
22803 (__libc_valloc): Likewise.
22804 (__libc_pvalloc): Likewise.
22805 (__libc_calloc): Likewise.
22806 (__posix_memalign): Likewise.
22807 * malloc/morecore.c (__sbrk): Likewise.
22808 (__default_morecore): Likewise.
22810 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22812 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22813 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22814 __malloc_ptrdiff_t.
22816 * malloc/malloc.h (__malloc_size_t): Remove macro.
22817 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22819 (old_memalign_hook): Likewise.
22820 (old_realloc_hook): Likewise.
22821 (struct hdr): Likewise.
22823 (mallochook): Likewise.
22824 (memalignhook): Likewise.
22825 (reallochook): Likewise.
22826 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22827 (tr_old_realloc_hook): Likewise.
22828 (tr_old_memalign_hook): Likewise.
22829 (tr_mallochook): Likewise.
22830 (tr_reallochook): Likewise.
22831 (tr_memalignhook): Likewise.
22833 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22835 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22836 default_ldbl_pack and using as default implementation.
22837 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22839 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22840 redundant definition.
22841 (ldbl_insert_mantissa): Likewise.
22842 (ldbl_canonicalize): Likewise.
22843 (ldbl_nearbyint): Likewise.
22844 (ldbl_pack): Rename to ldbl_pack_ppc.
22845 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22846 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22847 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22849 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22852 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22853 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22854 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22856 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22857 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22858 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22860 2013-03-07 Andreas Jaeger <aj@suse.de>
22862 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22865 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22867 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22868 Include mpa.h and declare __MPEXP.
22869 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22870 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22871 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22872 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22873 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22874 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22875 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22877 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22878 (__slowpow): Use long double EXPL and LOGL functions to
22880 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22881 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22882 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22883 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22884 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22885 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22888 intermediate variable to calculate exponent.
22890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22894 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22895 [!NO__SQR]: Define __sqr.
22896 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22897 and NO__SQR. Remove all code except __mul and __sqr. Include
22898 sysdeps/ieee754/dbl-64/mpa.c.
22899 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22902 * posix/Makefile (tests): Add tst-pathconf.
22903 * posix/tst-pathconf.c: New test case.
22904 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22906 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22908 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
22910 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22912 2013-03-06 Andreas Jaeger <aj@suse.de>
22914 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22915 definition via __MAP_ANONYMOUS.
22917 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22918 it's not part of Linux headers.
22920 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22921 (MAP_HUGE_MASK): Define.
22923 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22925 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22926 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22928 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22929 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22931 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22932 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22934 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22936 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22937 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22938 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22939 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22940 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22941 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22943 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22946 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22947 Handle f2fs and efivarfs.
22949 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22952 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22953 (EFIVARFS_MAGIC): Add.
22954 (F2FS_LINK_MAX): Add.
22956 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22958 * stdio-common/vfprintf.c: Replace __builtin_expect with
22961 2013-03-06 Joseph Myers <joseph@codesourcery.com>
22964 * sysdeps/generic/bp-sym.h: Remove file.
22965 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22966 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22967 <bp-sym.h> and <bp-asm.h>.
22968 (__longjmp): Don't use BP_SYM.
22969 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22971 (memcpy): Don't use BP_SYM.
22972 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22973 <bp-sym.h> and <bp-asm.h>.
22974 (memcpy): Don't use BP_SYM.
22975 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22977 (memcpy): Don't use BP_SYM.
22978 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22980 (memset): Don't use BP_SYM.
22981 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22982 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22983 (__bzero): Don't use BP_SYM.
22984 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22985 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22986 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22987 <bp-sym.h> and <bp-asm.h>.
22988 (memcmp): Don't use BP_SYM. Remove comment about bounded
22990 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22991 <bp-sym.h> and <bp-asm.h>.
22992 (memcpy): Don't use BP_SYM.
22993 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22994 <bp-sym.h> and <bp-asm.h>.
22995 (memset): Don't use BP_SYM.
22996 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22997 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22998 (__bzero): Don't use BP_SYM.
22999 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23000 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23001 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23002 <bp-sym.h> and <bp-asm.h>.
23003 (strncmp): Don't use BP_SYM. Remove comment about bounded
23005 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23006 <bp-sym.h> and <bp-asm.h>.
23007 (memcpy): Don't use BP_SYM.
23008 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23009 <bp-sym.h> and <bp-asm.h>.
23010 (memset): Don't use BP_SYM.
23011 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23012 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23013 (__bzero): Don't use BP_SYM.
23014 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23015 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23016 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23017 <bp-sym.h> and <bp-asm.h>.
23018 (__memchr): Don't use BP_SYM.
23019 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23020 <bp-sym.h> and <bp-asm.h>.
23021 (memcmp): Don't use BP_SYM. Remove comment about bounded
23023 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23024 <bp-sym.h> and <bp-asm.h>.
23025 (memcpy): Don't use BP_SYM.
23026 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23027 <bp-sym.h> and <bp-asm.h>.
23028 (__mempcpy): Don't use BP_SYM.
23029 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23030 <bp-sym.h> and <bp-asm.h>.
23031 (__memrchr): Don't use BP_SYM.
23032 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23033 <bp-sym.h> and <bp-asm.h>.
23034 (memset): Don't use BP_SYM.
23035 (__bzero): Likewise.
23036 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23037 <bp-sym.h> and <bp-asm.h>.
23038 (__rawmemchr): Don't use BP_SYM.
23039 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23040 <bp-sym.h> and <bp-asm.h>.
23041 (__STRCMP): Don't use BP_SYM.
23042 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23043 <bp-sym.h> and <bp-asm.h>.
23044 (strchr): Don't use BP_SYM.
23045 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23046 <bp-sym.h> and <bp-asm.h>.
23047 (__strchrnul): Don't use BP_SYM.
23048 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23049 <bp-sym.h> and <bp-asm.h>.
23050 (strlen): Don't use BP_SYM.
23051 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23052 <bp-sym.h> and <bp-asm.h>.
23053 (strncmp): Don't use BP_SYM. Remove comment about bounded
23055 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23056 <bp-sym.h> and <bp-asm.h>.
23057 (__strnlen): Don't use BP_SYM.
23058 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23059 <bp-sym.h> and <bp-asm.h>.
23060 (__GI__setjmp): Don't use BP_SYM.
23061 (_setjmp): Likewise.
23062 (__sigsetjmp): Likewise.
23063 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23064 (L(start_addresses)): Don't use BP_SYM.
23065 (_start): Likewise.
23066 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23068 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23069 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23070 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23071 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23072 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23074 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23075 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23076 about bounded pointers.
23077 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23078 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23079 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23081 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23082 about bounded pointers. Remove GKM FIXME comments.
23083 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23084 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23086 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23087 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23088 Remove GKM FIXME comments.
23089 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23090 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23091 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23093 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23094 about bounded pointers. Remove GKM FIXME comment.
23095 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23097 (strncmp): Don't use BP_SYM. Remove comment about bounded
23099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23100 <bp-sym.h> and <bp-asm.h>.
23101 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23103 <bp-sym.h> and <bp-asm.h>.
23104 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23107 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23109 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23112 2013-03-05 David S. Miller <davem@davemloft.net>
23114 * po/es.po: Update from translation team.
23116 2013-03-05 Andreas Jaeger <aj@suse.de>
23118 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23119 <bits/mman-linux.h>.
23120 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23122 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23123 <bits/mman-linux.h> to end of file.
23124 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23126 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23127 <bits/mman-linux.h> to end of file.
23128 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23130 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23131 <bits/mman-linux.h> to end of file.
23133 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23134 (MCL_CURRENT, MCL_FUTURE): Define here.
23136 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23139 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23141 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23143 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23145 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23146 fourth parameter needed for rt_sigprocmask syscall.
23147 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23148 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23149 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23150 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23151 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23152 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23154 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23157 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23158 comment about bounded pointers.
23159 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23160 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23162 2013-03-04 Andreas Jaeger <aj@suse.de>
23164 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23165 common definitions.
23167 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23168 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23169 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23170 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23171 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23172 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23174 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23177 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23178 __ieee754_sqrl instead of __sqrl.
23180 2013-03-01 Joseph Myers <joseph@codesourcery.com>
23182 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23183 * sysdeps/powerpc/fpu_control.h: ... here.
23184 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23185 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23186 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23187 * sysdeps/powerpc/bits/mathinline.h: ... here.
23189 2013-03-01 Roland McGrath <roland@hack.frob.com>
23191 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23192 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23193 to just [NEED_DL_SYSINFO_DSO].
23194 * elf/dl-support.c: Likewise.
23195 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23196 * elf/rtld.c (dl_main): Likewise.
23197 * elf/setup-vdso.h (setup_vdso): Likewise.
23198 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23199 * sysdeps/unix/sysv/linux/dl-sysdep.c
23200 (_dl_discover_osversion): Likewise.
23202 2013-03-01 Carlos O'Donell <carlos@redhat.com>
23204 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23205 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23207 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23209 * NEWS: Mention libm performance improvements and non-x86 PI
23212 * csu/libc-start.c (__pthread_initialize_minimal): Change
23213 function arguments.
23214 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23216 2013-02-28 Joseph Myers <joseph@codesourcery.com>
23219 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23220 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23221 <bp-sym.h> and <bp-asm.h>.
23222 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23223 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23225 (memcpy): Don't use BP_SYM.
23226 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23228 (__mpn_add_n): Don't use BP_SYM.
23229 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23230 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23232 (__mpn_addmul_1): Don't use BP_SYM.
23233 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23234 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23236 (_setjmp): Don't use BP_SYM.
23237 (__novmx_setjmp): Likewise.
23238 (__GI__setjmp): Likewise.
23239 (__vmx_setjmp): Likewise.
23240 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23242 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23243 (__bzero): Don't use BP_SYM.
23244 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23245 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23246 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23247 <bp-sym.h> and <bp-asm.h>.
23248 (memcpy): Don't use BP_SYM.
23249 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23250 <bp-sym.h> and <bp-asm.h>.
23251 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23252 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23253 <bp-sym.h> and <bp-asm.h>.
23254 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23255 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23257 (__mpn_lshift): Don't use BP_SYM.
23258 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23259 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23261 (memset): Don't use BP_SYM.
23262 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23263 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23264 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23266 (__mpn_mul_1): Don't use BP_SYM.
23267 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23268 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23269 <bp-sym.h> and <bp-asm.h>.
23270 (memcmp): Don't use BP_SYM.
23271 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23272 <bp-sym.h> and <bp-asm.h>.
23273 (memcpy): Don't use BP_SYM.
23274 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23275 <bp-sym.h> and <bp-asm.h>.
23276 (memset): Don't use BP_SYM.
23277 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23278 <bp-sym.h> and <bp-asm.h>.
23279 (strncmp): Don't use BP_SYM.
23280 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23281 <bp-sym.h> and <bp-asm.h>.
23282 (memcpy): Don't use BP_SYM.
23283 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23284 <bp-sym.h> and <bp-asm.h>.
23285 (memset): Don't use BP_SYM.
23286 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23287 <bp-sym.h> and <bp-asm.h>.
23288 (__memchr): Don't use BP_SYM.
23289 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23290 <bp-sym.h> and <bp-asm.h>.
23291 (memcmp): Don't use BP_SYM.
23292 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23293 <bp-sym.h> and <bp-asm.h>.
23294 (memcpy): Don't use BP_SYM.
23295 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23296 <bp-sym.h> and <bp-asm.h>.
23297 (__mempcpy): Don't use BP_SYM.
23298 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23299 <bp-sym.h> and <bp-asm.h>.
23300 (__memrchr): Don't use BP_SYM.
23301 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23302 <bp-sym.h> and <bp-asm.h>.
23303 (memset): Don't use BP_SYM.
23304 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23305 <bp-sym.h> and <bp-asm.h>.
23306 (__rawmemchr): Don't use BP_SYM.
23307 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23308 <bp-sym.h> and <bp-asm.h>.
23309 (__STRCMP): Don't use BP_SYM.
23310 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23311 <bp-sym.h> and <bp-asm.h>.
23312 (strchr): Don't use BP_SYM.
23313 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23314 <bp-sym.h> and <bp-asm.h>.
23315 (__strchrnul): Don't use BP_SYM.
23316 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23317 <bp-sym.h> and <bp-asm.h>.
23318 (strlen): Don't use BP_SYM.
23319 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23320 <bp-sym.h> and <bp-asm.h>.
23321 (strncmp): Don't use BP_SYM.
23322 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23323 <bp-sym.h> and <bp-asm.h>.
23324 (__strnlen): Don't use BP_SYM.
23325 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23327 (__mpn_rshift): Don't use BP_SYM.
23328 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23329 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23330 <bp-sym.h> and <bp-asm.h>.
23331 (__sigsetjmp): Don't use BP_SYM.
23332 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23333 (L(start_addresses)): Don't use BP_SYM.
23334 (_start): Likewise.
23335 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23337 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23338 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23339 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23340 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23342 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23343 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23344 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23345 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23347 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23349 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23350 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23352 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23354 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23355 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23356 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23358 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23360 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23362 (strncmp): Don't use BP_SYM,
23363 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23365 (__mpn_sub_n): Don't use BP_SYM.
23366 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23367 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23369 (__mpn_submul_1): Don't use BP_SYM.
23370 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23372 <bp-sym.h> and <bp-asm.h>.
23373 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23375 <bp-sym.h> and <bp-asm.h>.
23376 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23379 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23382 Use ZK to minimize writes to Z.
23383 (sub_magnitudes): Simplify code a bit.
23384 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23385 Use ZK to minimize writes to Z.
23386 (sub_magnitudes): Simplify code a bit.
23388 2013-02-27 Roland McGrath <roland@hack.frob.com>
23390 * csu/gmon-start.c: Add special exception to license text.
23392 2013-02-27 Richard Henderson <rth@redhat.com>
23394 * scripts/config.guess: Update from config.git.
23395 * scripts/config.sub: Likewise.
23397 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23399 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23401 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23403 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23405 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23407 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23409 2013-02-26 Roland McGrath <roland@hack.frob.com>
23411 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23412 [$(build-shared = yes].
23414 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23416 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23417 (__mul): Reduce iterations for calculating mantissa.
23419 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23421 (__mpranred): Likewise.
23424 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23425 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23427 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23429 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23430 Define __attribute__.
23432 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23434 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23436 * posix/regex_internal.h (__attribute): Remove.
23437 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23438 (re_string_context_at): Likewise.
23439 (bitset_not): Use __attribute__ and mark function as possibly
23441 (bitset_merge): Likewise.
23442 (bitset_mask): Likewise.
23443 (re_string_char_size_at): Likewise.
23444 (re_string_wchar_at): Likewise.
23445 (re_string_elem_size_at): Likewise.
23447 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23449 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23453 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23457 (denorm): Likewise.
23458 (__dbl_mp): Likewise.
23459 (add_magnitudes): Likewise.
23460 (sub_magnitudes): Likewise.
23464 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23467 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23470 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23474 up changes with default code.
23475 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23478 2013-02-24 Allan McRae <allan@archlinux.org>
23480 * manual/socket.texi (The Internet Namespace): Order menu items
23481 to match that in the file.
23483 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23484 node listing of the info page menu.
23486 2013-02-21 Joseph Myers <joseph@codesourcery.com>
23489 * sysdeps/i386/bp-asm.h: Remove file.
23490 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23491 (PARMS): Do not use macros from bp-asm.h.
23495 (__mpn_add_n): Do not use BP_SYM
23496 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23498 (PARMS): Do not use macros from bp-asm.h.
23501 (__mpn_addmul_1): Do not use BP_SYM
23502 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23504 (PARMS): Do not use macros from bp-asm.h.
23505 (SIGMSK): Likewise.
23506 (_setjmp): Likewise. Do not use BP_SYM.
23507 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23509 (PARMS): Do not use macros from bp-asm.h.
23510 (SIGMSK): Likewise.
23511 (setjmp): Likewise. Do not use BP_SYM.
23512 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23514 (PARMS): Do not use macros from bp-asm.h.
23515 (__frexp): Do not use BP_SYM.
23517 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23519 (PARMS): Do not use macros from bp-asm.h.
23520 (__frexpf): Do not use BP_SYM.
23521 (frexpf): Likewise.
23522 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23524 (PARMS): Do not use macros from bp-asm.h.
23525 (__frexpl): Do not use BP_SYM.
23526 (frexpl): Likewise.
23527 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23529 (PARMS): Do not use macros from bp-asm.h.
23530 (__remquo): Do not use BP_SYM.
23531 (remquo): Likewise.
23532 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23534 (PARMS): Do not use macros from bp-asm.h.
23535 (__remquof): Do not use BP_SYM.
23536 (remquof): Likewise.
23537 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23539 (PARMS): Do not use macros from bp-asm.h.
23540 (__remquol): Do not use BP_SYM.
23541 (remquol): Likewise.
23542 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23544 (PARMS): Do not use macros from bp-asm.h.
23547 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23548 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23550 (PARMS): Do not use macros from bp-asm.h.
23551 (strlen): Do not use BP_SYM.
23552 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23554 (PARMS): Do not use macros from bp-asm.h.
23558 (__mpn_add_n): Do not use BP_SYM.
23559 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23561 (PARMS): Do not use macros from bp-asm.h.
23564 (__mpn_addmul_1): Do not use BP_SYM.
23565 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23568 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23570 (PARMS): Do not use macros from bp-asm.h.
23573 (__mpn_lshift): Do not use BP_SYM.
23574 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23576 (PARMS): Do not use macros from bp-asm.h.
23580 (memcpy): Likewise. Do not use BP_SYM.
23581 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23582 libc_hidden_def and weak_alias.
23583 (mempcpy): Do not use BP_SYM in weak_alias.
23584 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23586 (PARMS): Do not use macros from bp-asm.h.
23589 [!BZERO_P] (CHR): Likewise.
23590 (memset): Likewise. Do not use BP_SYM.
23591 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23593 (PARMS): Do not use macros from bp-asm.h.
23596 (__mpn_mul_1): Do not use BP_SYM.
23597 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23599 (PARMS): Do not use macros from bp-asm.h.
23602 (__mpn_rshift): Do not use BP_SYM.
23603 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23605 (PARMS): Do not use macros from bp-asm.h.
23608 (strchr): Likewise. Do not use BP_SYM.
23609 (index): Do not use BP_SYM in weak_alias.
23610 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23612 (PARMS): Do not use macros from bp-asm.h.
23615 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23616 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23618 (PARMS): Do not use macros from bp-asm.h.
23619 (strlen): Do not use BP_SYM.
23620 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23622 (PARMS): Do not use macros from bp-asm.h.
23626 (__mpn_sub_n): Do not use BP_SYM.
23627 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23629 (PARMS): Do not use macros from bp-asm.h.
23632 (__mpn_submul_1): Do not use BP_SYM.
23633 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23635 (PARMS): Do not use macros from bp-asm.h.
23639 (__mpn_add_n): Do not use BP_SYM.
23640 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23643 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23645 (PARMS): Do not use macros from bp-asm.h.
23648 (memcmp): Do not use BP_SYM.
23649 (bcmp): Do not use BP_SYM in weak_alias.
23650 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23652 (PARMS): Do not use macros from bp-asm.h.
23656 (memcpy): Likewise. Do not use BP_SYM.
23657 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23659 (PARMS): Do not use macros from bp-asm.h.
23663 (memmove): Likewise. Do not use BP_SYM.
23664 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23666 (PARMS): Do not use macros from bp-asm.h.
23670 (__mempcpy): Likewise. Do not use BP_SYM.
23671 (mempcpy): Do not use BP_SYM in weak_alias.
23672 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23674 (PARMS): Do not use macros from bp-asm.h.
23677 [!BZERO_P] (CHR): Likewise.
23678 (memset): Likewise. Do not use BP_SYM.
23679 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23681 (PARMS): Do not use macros from bp-asm.h.
23683 (strcmp): Do not use BP_SYM.
23684 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23686 (PARMS): Do not use macros from bp-asm.h.
23689 [USE_AS_STRTOK_R] (SAVE): Likewise.
23690 (FUNCTION): Likewise. Do not use BP_SYM.
23691 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23693 (strtok_r): Likewise.
23694 (__GI___strtok_r): Likewise.
23695 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23696 (PARMS): Do not use macros from bp-asm.h.
23699 (__mpn_lshift): Do not use BP_SYM.
23700 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23701 (PARMS): Do not use macros from bp-asm.h.
23704 (__memchr): Do not use BP_SYM.
23705 (memchr): Do not use BP_SYM in weak_alias.
23706 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23707 (PARMS): Do not use macros from bp-asm.h.
23710 (memcmp): Do not use BP_SYM.
23711 (bcmp): Do not use BP_SYM in weak_alias.
23712 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23713 (PARMS): Do not use macros from bp-asm.h.
23716 (__mpn_mul_1): Do not use BP_SYM.
23717 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23719 (PARMS): Do not use macros from bp-asm.h.
23722 (__rawmemchr): Do not use BP_SYM.
23723 (rawmemchr): Do not use BP_SYM in weak_alias.
23724 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23725 (PARMS): Do not use macros from bp-asm.h.
23728 (__mpn_rshift): Do not use BP_SYM.
23729 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23730 (PARMS): Do not use macros from bp-asm.h.
23731 (SIGMSK): Likewise.
23732 (__sigsetjmp): Likewise. Do not use BP_SYM.
23733 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23734 (_start): Do not use BP_SYM.
23735 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23736 (PARMS): Do not use macros from bp-asm.h.
23739 (__stpcpy): Likewise. Do not use BP_SYM.
23740 (stpcpy): Do not use BP_SYM in weak_alias.
23741 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23743 (PARMS): Do not use macros from bp-asm.h.
23747 (__stpncpy): Likewise. Do not use BP_SYM.
23748 (stpncpy): Do not use BP_SYM in weak_alias.
23749 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23750 (PARMS): Do not use macros from bp-asm.h.
23753 (strchr): Likewise. Do not use BP_SYM.
23754 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23756 (PARMS): Do not use macros from bp-asm.h.
23759 (__strchrnul): Likewise. Do not use BP_SYM.
23760 (strchrnul): Do not use BP_SYM in weak_alias.
23761 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23763 (PARMS): Do not use macros from bp-asm.h.
23765 (strcspn): Do not use BP_SYM.
23766 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23768 (PARMS): Do not use macros from bp-asm.h.
23771 (strpbrk): Likewise. Do not use BP_SYM.
23772 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23774 (PARMS): Do not use macros from bp-asm.h.
23777 (strrchr): Likewise. Do not use BP_SYM.
23778 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23779 (PARMS): Do not use macros from bp-asm.h.
23781 (strspn): Do not use BP_SYM.
23782 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23783 (PARMS): Do not use macros from bp-asm.h.
23787 (FUNCTION): Likewise. Do not use BP_SYM.
23788 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23790 (strtok_r): Likewise.
23791 (__GI___strtok_r): Likewise.
23792 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23793 (PARMS): Do not use macros from bp-asm.h.
23797 (__mpn_sub_n): Do not use BP_SYM.
23798 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23800 (PARMS): Do not use macros from bp-asm.h.
23803 (__mpn_submul_1): Do not use BP_SYM.
23804 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23806 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23808 (PARMS): Do not use macros from bp-asm.h.
23813 (__clone): Do not use BP_SYM.
23814 (clone): Do not use BP_SYM in weak_alias.
23815 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23817 (PARMS): Do not use macros from bp-asm.h.
23819 (__mmap64): Do not use BP_SYM.
23820 (mmap64): Do not use BP_SYM in weak_alias.
23821 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23822 <bp-sym.h> and <bp-asm.h>.
23823 (PARMS): Do not use macros from bp-asm.h.
23824 (__posix_fadvise64_l64): Do not use BP_SYM.
23825 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23826 (PARMS): Do not use macros from bp-asm.h.
23828 (semtimedop): Do not use BP_SYM.
23829 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23832 2013-02-21 Allan McRae <allan@archlinux.org>
23834 * manual/message.texi (Charset conversion in gettext):
23835 Move @end statement to beginning of line.
23837 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23839 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23841 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23844 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23845 (denorm): Likewise.
23846 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23847 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23849 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23851 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23852 tail-call to the resolved function if pltexit isn't needed.
23854 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23857 or Y being zero as being unlikely.
23858 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23861 2013-02-20 Carlos O'Donell <carlos@redhat.com>
23863 * manual/nss.texi (System Databases and Name Service Switch):
23864 Remove frobnicate @pxref.
23866 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23868 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23869 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23871 2013-02-20 Petr Machata <pmachata@redhat.com>
23873 * elf/elf.h (R_ARM_TARGET1): New macro.
23874 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23875 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23876 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23877 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23878 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23879 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23880 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23881 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23882 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23883 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23884 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23885 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23886 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23887 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23888 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23889 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23890 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23891 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23892 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23893 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23894 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23895 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23896 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23897 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23898 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23899 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23900 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23901 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23902 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23903 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23904 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23905 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23906 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23907 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23908 (R_ARM_THM_GOT_BREL12): Likewise.
23909 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23910 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23911 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23912 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23913 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23914 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23915 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23916 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23917 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23919 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23921 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23922 __attribute_used__ to __attribute__ ((unused)).
23924 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23926 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23928 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23929 comment formatting.
23930 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23932 2013-02-19 Joseph Myers <joseph@codesourcery.com>
23935 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23937 (ENTER): Remove both macro definitions.
23939 (CHECK_BOUNDS_LOW): Likewise.
23940 (CHECK_BOUNDS_HIGH): Likewise.
23941 (CHECK_BOUNDS_BOTH): Likewise.
23942 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23943 (RETURN_BOUNDED_POINTER): Likewise.
23944 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23945 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23946 (POP_ERRNO_LOCATION_RETURN): Likewise.
23947 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23948 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23949 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23951 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23952 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23953 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23954 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23955 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23956 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23957 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23958 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23959 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23960 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23961 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23962 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23963 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23964 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23966 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23967 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23969 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23970 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23971 * sysdeps/i386/i586/memset.S (memset): Likewise.
23972 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23973 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23974 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23976 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23977 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23978 Change uses of L(2) to L(out).
23979 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23980 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23981 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23982 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23983 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23985 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23986 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23988 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23989 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23990 (RETURN): Do not use macro LEAVE.
23991 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23992 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23993 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23994 * sysdeps/i386/i686/memset.S (memset): Likewise.
23995 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23996 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23997 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23998 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24000 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24001 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24002 L(1_2) and L(1_3) into L(1).
24003 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24004 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24005 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24006 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24007 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24008 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24009 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24010 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24011 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24013 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24014 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24015 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24016 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24017 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24018 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24019 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24020 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24021 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24022 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24023 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24024 * sysdeps/i386/strspn.S (strspn): Likewise.
24025 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24027 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24028 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24029 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24030 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24031 L(1_3) into L(1_1).
24032 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24033 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24034 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24036 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24038 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24040 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24043 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24045 * math/atest-exp.c (exp_mpn): Remove ROUND.
24046 * math/atest-exp2.c (exp_mpn): Likewise.
24047 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24049 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24050 * stdlib/tst-tls-atexit-lib.c: Likewise.
24051 * stdlib/tst-tls-atexit.c: Likewise.
24053 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24055 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24056 and __attribute_alloc_size__.
24058 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24060 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24061 __attribute_alloc_size__.
24062 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24063 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24065 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24067 * include/programs/xmalloc.h: New file.
24068 * catgets/gencat.c: Include it.
24069 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24070 * elf/pldd.c: Likewise.
24071 * iconv/iconv_charmap.c: Likewise.
24072 * iconv/iconvconfig.c: Likewise.
24073 * iconv/strtab.c: Likewise.
24074 * locale/programs/locale.c: Likewise.
24075 * locale/programs/localedef.h: Likewise.
24076 * locale/programs/simple-hash.c: Likewise.
24077 * nscd/nscd.h: Likewise.
24078 * nss/makedb.c: Likewise.
24079 * sysdeps/generic/ldconfig.h: Likewise.
24081 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24083 * Versions.def: Add GLIBC_2.18.
24084 * include/link.h (struct link_map): New member l_tls_dtor_count.
24085 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24086 (__call_tls_dtors): Likewise.
24087 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24088 __cxa_thread_atexit_impl.
24089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24097 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24105 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24106 (tests): Add test case tst-tls-atexit.
24107 (modules-names): Add shared library for tst-tls-atexit.
24108 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24109 (GLIBC_PRIVATE): Add __call_tls_dtors.
24110 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24112 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24113 * stdlib/tst-tls-atexit.c: New test case.
24114 * stdlib/tst-tls-atexit-lib.c: New test case.
24116 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24118 * elf/Versions (ld): Add _dl_find_dso_for_object.
24119 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24120 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24121 (dl_open_worker): Use _dl_find_dso_for_object.
24122 * elf/dl-sym.c (do_sym): Likewise.
24123 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24125 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24127 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24128 Syntactic changes only.
24129 (_dl_runtime_profile): Do a tail-call to the resolved function.
24131 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24134 * sysdeps/x86_64/bp-asm.h: Remove file.
24135 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24136 <bp-sym.h> and <bp-asm.h>.
24137 (__clone): Do not use BP_SYM.
24138 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24139 <bp-sym.h> and <bp-asm.h>.
24140 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24141 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24143 (_setjmp): Do not use BP_SYM.
24144 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24146 (setjmp): Do not use BP_SYM.
24147 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24149 (mempcpy): Do not use BP_SYM in weak_alias.
24150 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24152 (strchr): Do not use BP_SYM.
24153 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24155 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24156 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24157 (_start): Do not use BP_SYM.
24158 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24160 (strcat): Do not use BP_SYM.
24161 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24163 (STRCMP): Do not use BP_SYM.
24164 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24166 (STRCPY): Do not use BP_SYM.
24167 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24169 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24171 (FUNCTION): Do not use BP_SYM.
24172 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24174 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24176 2013-02-17 Andreas Jaeger <aj@suse.de>
24178 * time/Versions: Sort entries.
24179 * string/Versions: Likewise.
24180 * resolv/Versions: Likewise.
24181 * posix/Versions: Likewise.
24182 * iconv/Versions: Likewise.
24183 * elf/Versions: Likewise.
24184 * wcsmbs/Versions: Likewise.
24186 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24188 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24189 loop termination condition.
24191 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24192 variable to calculate EZ.
24195 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24196 the lower precision input.
24198 2013-02-15 Joseph Myers <joseph@codesourcery.com>
24201 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24202 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24203 (run-via-rtld-prefix): Do not handle %-bp tests.
24204 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24205 (all-object-suffixes): Remove .ob.
24206 (bppfx): Remove variable.
24207 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24208 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24209 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24210 [$(build-bounded) = yes] (libtype.ob): Likewise.
24211 * Makerules (elide-routines.ob): Remove variable.
24212 (do-tests-clean): Do not handle *-bp.out.
24213 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24214 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24215 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24216 (tests): Do not include $(tests-bp.out).
24217 (xtests): Do not include $(xtests-bp.out).
24218 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24219 [$(build-bounded) = yes] ($(addprefix
24220 $(objpfx),$(binaries-bounded))): Remove rule.
24221 ($(objpfx)%-bp.out): Remove rule.
24222 * config.make.in (build-bounded): Remove variable.
24223 * crypt/Makefile [$(build-bounded) = yes]
24224 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24225 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24226 append to variable.
24227 [$(build-bounded) = yes] (install-lib): Likewise.
24228 [$(build-bounded) = yes] (generated): Likewise.
24229 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24231 * intl/Makefile [$(build-bounded) = yes]
24232 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24233 * math/Makefile [$(build-bounded) = yes]
24234 ($(tests:%=$(objpfx)%-bp): Likewise.
24235 * misc/Makefile [$(build-bounded) = yes]
24236 ($(objpfx)tst-tsearch-bp): Likewise.
24237 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24238 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24240 * string/Makefile (o-objects.ob): Remove variable.
24241 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24242 (CFLAGS-.ob): Remove variable.
24243 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24244 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24245 both definitions of variable.
24246 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24247 (ASFLAGS-.ob): Remove variable.
24249 2013-02-14 Joseph Myers <joseph@codesourcery.com>
24252 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24253 Remove __BOUNDED_POINTERS__ from condition.
24254 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24255 * string/bits/string2.h [!__NO_STRING_INLINES &&
24256 !__BOUNDED_POINTERS__]: Likewise.
24257 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24259 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24260 Remove conditional code.
24261 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24262 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24263 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24267 * csu/libc-start.c: Do not include <bp-sym.h>.
24268 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24269 * elf/dl-open.c: Do not include <bp-sym.h>.
24270 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24271 * math/fegetenv.c: Do not include <bp-sym.h>.
24272 (fegetenv): Do not use BP_SYM in versioned symbols.
24273 * nptl/sysdeps/pthread/bits/libc-lockP.h
24274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24277 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24279 (__pthread_mutex_destroy): Likewise.
24280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24281 (__pthread_mutex_lock): Likewise.
24282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24283 (__pthread_mutex_trylock): Likewise.
24284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24285 (__pthread_mutex_unlock): Likewise.
24286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24287 (__pthread_mutexattr_init): Likewise.
24288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24289 (__pthread_mutexattr_destroy): Likewise.
24290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24291 (__pthread_mutexattr_settype): Likewise.
24292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24293 (__pthread_rwlock_init): Likewise.
24294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24295 (__pthread_rwlock_destroy): Likewise.
24296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24297 (__pthread_rwlock_rdlock): Likewise.
24298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24299 (__pthread_rwlock_tryrdlock): Likewise.
24300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24301 (__pthread_rwlock_wrlock): Likewise.
24302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24303 (__pthread_rwlock_trywrlock): Likewise.
24304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24305 (__pthread_rwlock_unlock): Likewise.
24306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24307 (__pthread_key_create): Likewise.
24308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24309 (__pthread_setspecific): Likewise.
24310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24311 (__pthread_getspecific): Likewise.
24312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24315 (_pthread_cleanup_push_defer): Likewise.
24316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24317 (_pthread_cleanup_pop_restore): Likewise.
24318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24319 (pthread_setcancelstate): Likewise.
24320 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24322 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24323 (memchr): Do not use BP_SYM in weak_alias.
24324 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24325 (fegetenv): Do not use BP_SYM in versioned symbols.
24326 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24327 (fesetenv): Do not use BP_SYM in versioned symbols.
24328 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24329 (feupdateenv): Do not use BP_SYM in versioned symbols.
24330 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24331 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24332 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24333 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24334 (open64): Do not use BP_SYM in weak_alias.
24335 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24336 (fegetenv): Do not use BP_SYM in versioned symbols.
24337 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24338 (fesetenv): Do not use BP_SYM in versioned symbols.
24339 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24340 (feupdateenv): Do not use BP_SYM in versioned symbols.
24341 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24342 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24343 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24344 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24345 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24346 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24347 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24349 (__libc_start_main): Do not use BP_SYM.
24351 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24353 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24354 redundant return line.
24356 (denorm): Likewise.
24357 (dbl_mp): Likewise.
24358 (sub_magnitudes): Likewise.
24364 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24366 (denorm): Likewise.
24367 (dbl_mp): Likewise.
24368 (sub_magnitudes): Likewise.
24375 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24377 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24378 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24381 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24382 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24383 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24384 of __mul for squares.
24385 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24389 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24390 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24392 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24395 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24397 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24398 prototype or function definition. Rename ubp_* variables and
24399 parameters. Remove argv definitions conditional on
24400 [__BOUNDED_POINTERS__].
24401 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24402 * elf/dl-runtime.c (_dl_fixup): Likewise.
24403 * include/set-hooks.h (RUN_HOOK): Likewise.
24404 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24406 * string/strcpy.c (strcpy): Do not use __unbounded.
24407 * sysdeps/generic/frame.h (struct layout): Likewise.
24408 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24409 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24410 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24411 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24412 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24413 (__backtrace): Likewise.
24414 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24416 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24417 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24418 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24420 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24421 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24422 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24423 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24424 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24425 Do not use __unbounded.
24426 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24427 Rename __unboundedrlimits parameter to rlimits in prototype.
24428 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24429 Do not use __unbounded.
24430 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24431 not use __ptrvalue.
24432 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24433 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24434 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24435 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24436 __ptrvalue or __unbounded.
24437 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24438 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24440 (__new_msgctl): Do not use __ptrvalue.
24441 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24443 (__libc_msgrcv): Do not use __ptrvalue.
24444 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24445 startup_info): Do not use __unbounded.
24446 (__libc_start_main): Likewise. Rename ubp_* variables and
24447 parameters. Remove argv definitions conditional on
24448 [__BOUNDED_POINTERS__].
24449 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24451 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24453 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24455 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24457 (__new_shmctl): Do not use __ptrvalue.
24458 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24459 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24461 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24462 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24463 (__libc_sigaction): Likewise.
24464 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24465 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24467 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24469 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24471 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24473 * string/mempcpy.c: Implement by calling memcpy.
24475 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24477 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24479 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24482 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24483 values in the mantissa.
24485 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24486 minimize writes to Z.
24487 (sub_magnitudes): Simplify code a bit.
24489 2013-02-12 Roland McGrath <roland@hack.frob.com>
24491 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24492 from the message. The linker prefixes all warnings with that already.
24494 2013-02-12 Andreas Schwab <schwab@suse.de>
24497 * posix/regexec.c (extend_buffers): Add parameter min_len.
24498 (check_matching): Pass minimum needed length.
24499 (clean_state_log_if_needed): Likewise.
24500 (get_subexp): Likewise.
24501 * posix/Makefile (tests): Add bug-regex34.
24502 (bug-regex34-ENV): Define.
24503 * posix/bug-regex34.c: New file.
24506 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24507 elements compare against the byte sequence of it, not its name.
24508 * posix/Makefile (tests): Add bug-regex35.
24509 (bug-regex35-ENV): Define.
24510 * posix/bug-regex35.c: New file.
24512 2013-02-11 Tom de Vries <tom@codesourcery.com>
24514 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24516 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24517 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24518 (CHECK_EOL): Add undef.
24520 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
24522 * bits/stdlib-bsearch.h: New file.
24523 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24524 * stdlib/stdlib.h: Likewise.
24526 2013-02-11 Roland McGrath <roland@hack.frob.com>
24528 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24529 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24531 * manual/search.texi (Array Search Function): Add missing const in
24533 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24534 declaration to use rlim_t.
24535 (Basic Scheduling Functions): Remove erroneous const from
24536 sched_getparam prototype. Remove erroneous * from
24537 sched_get_priority_max and sched_get_priority_min prototypes.
24538 (Resource Usage): Fix summary @comment on vtimes to refer to
24539 sys/vtimes.h rather than vtimes.h.
24540 Add missing *s in vtimes prototype.
24541 (Limits on Resources): Fix ulimit prototype to return long int.
24542 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24543 prototypes to use long int rather than double.
24544 (BSD Random): Fix initstate and setstate to use char *, not void *.
24545 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24546 prototype to make second argument 'struct aiocb64 *const[]'.
24547 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24548 (Status of AIO Operations): Remove erroneous const in aio_return and
24549 aio_return64 prototypes.
24550 (Synchronizing I/O): Fix sync prototype to return void.
24551 * manual/startup.texi (Suboptions): Remove an erroneous const in
24552 getsubopt prototype.
24553 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24554 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24555 use size_t rather than int.
24556 (Scanning All Users): Likewise for getpwent_r.
24557 (Setting Groups): Add missing const to setgroups prototype.
24558 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24559 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24560 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24561 'const void *' rather than 'const char *'.
24562 (Host Address Functions): Likewise for inet_ntop.
24563 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24564 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24565 ssize_t for return value.
24566 (Sending Data): Likewise for send, sendto, sendmsg.
24567 (Socket Option Functions): Add a missing const in setsockopt prototype.
24568 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24569 use wchar_t for the argument.
24570 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24571 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24573 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24574 double/float/long double for second argument.
24575 Fix return types of significand, significandf, significandl.
24576 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24577 argument in fchmod prototype.
24578 (File Owner): Use uid_t and gid_t in fchown prototype.
24579 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24580 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24581 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24582 use 'const struct dirent **' as argument types to CMP function pointer
24584 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24585 (File Times): Fix summary magic @comment for struct utimbuf and utime
24586 to refer to utime.h, not time.h.
24587 * manual/string.texi (Argz Functions): Add missing const in
24588 argz_extract and argz_next prototypes.
24589 (Finding Tokens in a String): Likewise for basename.
24590 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24591 (Copying and Concatenation): Fix typo in wmemmove prototype.
24592 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24593 (Signal Stack): Remove erroneous const in sigstack prototype.
24594 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24596 (Simple Calendar Time): Likewise for stime.
24597 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24599 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24600 say sys/sysctl.h instead.
24601 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24602 and vsyslog prototypes.
24604 2013-02-11 Tom de Vries <tom@codesourcery.com>
24606 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24609 2013-02-11 Roland McGrath <roland@hack.frob.com>
24611 * misc/sys/mman.h: Fix typo in mremap comment.
24613 2013-02-08 Roland McGrath <roland@hack.frob.com>
24615 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24616 the '\0' terminator.
24618 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24621 * debug/segfault.c: Don't include <bp-checks.h>.
24622 * sysdeps/generic/bp-checks.h: Remove file.
24623 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24624 (__GETDENTS): Don't use CHECK_N.
24625 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24626 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24627 (__getgroups): Don't use CHECK_N.
24628 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24629 (setgroups): Don't use CHECK_N.
24630 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24631 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24632 (__libc_msgrcv): Don't use CHECK_N.
24633 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24634 (__libc_msgsnd): Don't use CHECK_N.
24635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24637 (__libc_pread): Don't use CHECK_N.
24638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24639 include <bp-checks.h>.
24640 (__libc_pread64): Don't use CHECK_N.
24641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24642 include <bp-checks.h>.
24643 (__libc_pwrite): Don't use CHECK_N.
24644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24645 include <bp-checks.h>.
24646 (__libc_pwrite64): Don't use CHECK_N.
24647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24649 (__libc_pread): Don't use CHECK_N.
24650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24651 include <bp-checks.h>.
24652 (__libc_pread64): Don't use CHECK_N.
24653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24654 include <bp-checks.h>.
24655 (__libc_pwrite): Don't use CHECK_N.
24656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24657 include <bp-checks.h>.
24658 (__libc_pwrite64): Don't use CHECK_N.
24659 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24660 (do_pread): Don't use CHECK_N.
24661 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24662 (do_pread64): Don't use CHECK_N.
24663 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24664 (do_pwrite): Don't use CHECK_N.
24665 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24666 (do_pwrite64): Don't use CHECK_N.
24667 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24668 (__libc_readv): Don't use CHECK_N.
24669 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24670 (semop): Don't use CHECK_N.
24671 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24673 (semtimedop): Don't use CHECK_N.
24674 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24675 (__libc_pread): Don't use CHECK_N.
24676 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24678 (__libc_pread64): Don't use CHECK_N.
24679 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24681 (__libc_pwrite): Don't use CHECK_N.
24682 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24684 (__libc_pwrite64): Don't use CHECK_N.
24685 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24687 (__libc_msgrcv): Don't use CHECK_N.
24688 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24689 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24690 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24691 (__libc_writev): Don't use CHECK_N.
24693 2013-02-08 Roland McGrath <roland@hack.frob.com>
24695 * string/strcpy.c: Removed unused variable.
24697 * Makeconfig (+sysdep-includes): Define with := rather than =.
24698 Use an existing include/ subdir of each sysdeps dir before it.
24700 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24702 * nscd/connection.c (register_traced_file): Comment function.
24703 [HAVE_INOTIFY] (union __inev): Define.
24704 [HAVE_INOTIFY] (inotify_check_files): New function.
24705 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24706 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24708 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24710 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24712 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24713 loaded if not already and that a failure is permanent.
24715 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24718 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24719 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24721 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24724 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24725 (CHECK_1_NULL_OK): Likewise.
24726 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24727 (__fxstat): Do not use CHECK_1.
24728 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24730 (___fxstat64): Do not use CHECK_1.
24731 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24733 (__fxstatat): Do not use CHECK_1.
24734 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24736 (__fxstatat64): Do not use CHECK_1.
24737 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24739 (__fxstat): Do not use CHECK_1.
24740 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24742 (__fxstatat): Do not use CHECK_1.
24743 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24745 (__getresgid): Do not use CHECK_1.
24746 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24748 (__getresuid): Do not use CHECK_1.
24749 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24751 (__lxstat): Do not use CHECK_1.
24752 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24754 (__old_msgctl): Do not use CHECK_1.
24755 (__new_msgctl): Likewise.
24756 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24758 (__new_setrlimit): Do not use CHECK_1.
24759 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24761 (__old_shmctl): Do not use CHECK_1.
24762 (__new_shmctl): Likewise.
24763 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24765 (__xstat): Do not use CHECK_1.
24766 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24767 (__lxstat): Do not use CHECK_1.
24768 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24770 (___lxstat64): Do not use CHECK_1.
24771 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24772 (__old_msgctl): Do not use CHECK_1.
24773 (__new_msgctl): Likewise.
24774 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24776 (__gettimeofday): Do not use CHECK_1.
24777 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24778 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24779 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24781 (__gettimeofday): Do not use CHECK_1.
24782 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24783 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24784 (__new_shmctl): Do not use CHECK_1.
24785 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24787 (do_sigtimedwait): Do not use CHECK_1.
24788 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24790 (do_sigwaitinfo): Do not use CHECK_1.
24791 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24793 (msgctl): Do not use CHECK_1.
24794 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24796 (shmctl): Do not use CHECK_1.
24797 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24798 (ustat): Do not use CHECK_1.
24799 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24801 (__fxstat): Do not use CHECK_1.
24802 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24804 (__fxstatat): Do not use CHECK_1.
24805 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24807 (__lxstat): Do not use CHECK_1.
24808 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24810 (__xstat): Do not use CHECK_1.
24811 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24812 (__xstat): Do not use CHECK_1.
24813 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24814 (___xstat64): Do not use CHECK_1.
24817 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24819 (CHECK_BOUNDS_HIGH): Likewise.
24820 * string/strcpy.c: Do not include <bp-checks.h>.
24821 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24823 2013-02-07 Roland McGrath <roland@hack.frob.com>
24825 * nscd/nscd-client.h (__nscd_drop_map_ref):
24826 Add __attribute__ ((unused)).
24827 * nis/nss-nisplus.h (niserr2nss): Likewise.
24829 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24830 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24832 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24833 Remove inline keyword.
24834 * include/rounding-mode.h (round_away): Likewise.
24835 * libio/wfileops.c (adjust_wide_data): Likewise.
24836 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24837 (__m128i_strloadu_tolower): Likewise.
24838 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24839 (__m128i_strloadu_tolower): Likewise.
24840 * time/mktime.c (ydhms_diff): Likewise.
24841 * locale/elem-hash.h (elem_hash): Likewise.
24842 * locale/setlocale.c (setdata): Likewise.
24843 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24844 (re_string_wchar_at): Likewise.
24845 (bitset_not, bitset_merge, bitset_mask): Likewise.
24846 [!(__GNUC__ > 3)] (inline): Remove macro.
24847 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24848 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24849 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24850 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24851 * string/memcmp.c (memcmp_bytes): Likewise.
24852 * locale/programs/locarchive.c (compute_hashval): Likewise.
24853 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24854 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24855 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24856 * nss/getent.c (print_rpc, print_protocols): Likewise.
24857 (print_passwd, print_group, print_aliases): Likewise.
24858 * nis/nss-nisplus.h (niserr2nss): Likewise.
24859 * nscd/connections.c (restart_p): Likewise.
24860 Change return type to bool.
24862 2013-02-05 Roland McGrath <roland@hack.frob.com>
24864 * Makeconfig (all-Depend-files): Add existing
24865 $(sorted-subdirs:=/Depend) files.
24866 (all-subdirs): Remove nss.
24867 * sysdeps/unix/inet/Subdirs: Add it here instead.
24868 * hesiod/Depend: New file.
24870 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24871 instead of calling alloca.
24873 * io/lseek.c (__lseek): Rename to __libc_lseek.
24874 Define __lseek as an alias.
24876 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24878 2013-02-04 Carlos O'Donell <carlos@redhat.com>
24880 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24881 else clause and remove check for non-standard endianness.
24883 2013-02-04 David S. Miller <davem@davemloft.net>
24885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24887 2013-02-04 Joseph Myers <joseph@codesourcery.com>
24890 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24891 (__ubp_memchr): Remove prototype.
24892 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24893 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24894 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24895 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24896 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24898 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24899 (__ubp_memchr): Likewise.
24900 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24901 (__ubp_memchr): Likewise.
24902 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24903 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24904 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24905 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24907 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24908 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24909 (__getcwd): Do not use CHECK_STRING.
24910 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24912 (__real_chown): Do not use CHECK_STRING.
24913 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24915 (fchownat): Do not use CHECK_STRING.
24916 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24918 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24920 (__lchown): Do not use CHECK_STRING.
24921 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24922 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24923 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24924 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24926 include <bp-checks.h>.
24927 (truncate64): Do not use CHECK_STRING.
24928 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24930 (__real_chown): Do not use CHECK_STRING.
24931 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24933 (__lchown): Do not use CHECK_STRING.
24934 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24936 (__chown): Do not use CHECK_STRING.
24937 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24939 (truncate64): Do not use CHECK_STRING.
24940 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24942 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24943 (__xmknod): Do not use CHECK_STRING.
24944 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24946 (__xmknodat): Do not use CHECK_STRING.
24947 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24948 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24950 2013-02-04 Andreas Schwab <schwab@suse.de>
24953 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24954 * include/netdb.h: Likewise for h_errno.
24955 * elf/tst-stackguard1.c: Include <tls.h>.
24957 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24959 * elf/link.h (struct link_map): Extend the l_addr comment.
24960 * include/link.h (struct link_map): Likewise.
24962 2013-02-01 Joseph Myers <joseph@codesourcery.com>
24965 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24966 (BOUNDED_1): Remove macro.
24967 * debug/backtrace.c: Don't include <bp-checks.h>.
24968 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24969 (__backtrace): Likewise.
24970 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24972 (__backtrace): Don't use BOUNDED_1.
24973 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24975 (__backtrace): Don't use BOUNDED_1.
24976 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24977 (__backtrace): Don't use BOUNDED_1.
24978 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24979 (shmat): Don't use BOUNDED_N.
24981 2013-01-31 Joseph Myers <joseph@codesourcery.com>
24984 * sysdeps/generic/bp-start.h: Remove file.
24985 * csu/libc-start.c: Don't include <bp-start.h>.
24986 (LIBC_START_MAIN): Set up __environ directly instead of using
24987 INIT_ARGV_and_ENVIRON.
24988 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24992 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24994 (CHECK_FCNTL): Likewise.
24995 (CHECK_N_PAGES): Likewise.
24998 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25000 (CHECK_SIGSET_NULL_OK): Likewise.
25001 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25003 (sigpending): Don't use CHECK_SIGSET.
25004 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25006 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25007 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25009 (do_sigsuspend): Don't use CHECK_SIGSET.
25010 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25012 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25013 (do_sigwait): Don't use CHECK_SIGSET.
25014 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25016 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25017 include <bp-checks.h>.
25018 (sigpending): Don't use CHECK_SIGSET.
25019 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25020 include <bp-checks.h>.
25021 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25022 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25024 (sigpending): Don't use CHECK_SIGSET.
25025 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25027 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25030 * sysdeps/generic/bp-semctl.h: Remove file.
25031 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25032 <bp-checks.h> and <bp-semctl.h>.
25033 (__old_semctl): Don't use CHECK_SEMCTL.
25034 (__new_semctl): Likewise.
25035 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25037 (__old_semctl): Don't use CHECK_SEMCTL.
25038 (__new_semctl): Likewise.
25039 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25040 <bp-checks.h> and <bp-semctl.h>.
25041 (__old_semctl): Don't use CHECK_SEMCTL.
25042 (__new_semctl): Likewise.
25043 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25044 <bp-checks.h> and <bp-semctl.h>.
25045 (semctl): Don't use CHECK_SEMCTL.
25048 * Makerules (elide-bp-thunks): Remove variable.
25049 (elide-routines.oS): Don't use $(elide-bp-thunks).
25050 (elide-routines.os): Likewise.
25051 (elide-routines.o): Likewise.
25052 (elide-routines.op): Likewise.
25053 (elide-routines.og): Likewise.
25054 (objects): Don't use $(bp-thunks).
25055 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25057 (common-generated): Do not add s-proto-bp.d.
25058 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25061 Do not generate makefile rules for bounded-pointer thunks.
25062 * sysdeps/generic/bp-thunks.h: Remove file.
25063 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25064 * sysdeps/unix/s-proto-bp.S: Likewise.
25067 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25068 parts of result separately when argument is not close to line from
25069 -i to i and one part of argument is small.
25070 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25071 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25072 * math/libm-test.inc (cacos_test): Add more tests.
25073 (casin_test): Likewise.
25074 (casinh_test): Likewise.
25075 * sysdeps/i386/fpu/libm-test-ulps: Update.
25076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25078 2013-01-31 David S. Miller <davem@davemloft.net>
25080 * po/de.po: Update from translation team.
25082 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25084 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25086 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25088 * configure.in (_AC_PROG_CC_C89): New definition.
25089 * configure: Regenerate.
25091 * configure.in (AC_PROG_CPP): New definition.
25092 * configure: Regenerate.
25094 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25096 * debug/tst-backtrace.h: New file.
25097 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25098 (ret): Remove variable.
25100 (FAIL): Remove macro.
25101 (NO_INLINE): Likewise.
25102 (fn1): Use match function instead of strstr.
25103 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25104 (ret): Remove variable.
25106 (FAIL): Remove macro.
25107 (NO_INLINE): Likewise.
25108 (fn): Use match function instead of strstr.
25109 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25110 (ret): Remove variable.
25112 (FAIL): Remove macro.
25113 (NO_INLINE): Likewise.
25114 (handle_signal): Use match function instead of strstr.
25115 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25116 (ret): Remove variable.
25118 (FAIL): Remove macro.
25119 (NO_INLINE): Likewise.
25120 (handle_signal): Use match function instead of strstr.
25122 2013-01-23 Roland McGrath <roland@hack.frob.com>
25124 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25126 2013-01-23 David S. Miller <davem@davemloft.net>
25128 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25129 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25130 argument of CAS if possible.
25131 * sysdeps/sparc/sparc64/bits/atomic.h
25132 (__arch_compare_and_exchange_val_32_acq): Likewise.
25133 (__arch_compare_and_exchange_val_64_acq): Likewise.
25135 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25137 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25138 * sysdeps/posix/ulimit.c: ... this.
25139 Include <limits.h>.
25140 * sysdeps/unix/bsd/ulimit.c: Remove file.
25142 2013-01-23 Adam Conrad <adconrad@0c3.net>
25144 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25145 (LDFLAGS-tst-array5): Likewise.
25147 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25150 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25151 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25152 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25153 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25155 2013-01-21 David S. Miller <davem@davemloft.net>
25157 * sysdeps/sparc/backtrace.c: New file.
25158 * sysdeps/sparc/sparc32/backtrace.h: New file.
25159 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25160 * sysdeps/sparc/sparc64/backtrace.h: New file.
25161 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25162 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25165 2013-01-21 Andreas Schwab <schwab@suse.de>
25168 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25171 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25173 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25175 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25177 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25178 Mark Mitchell <mark@codesourcery.com>
25179 Tom de Vries <tom@codesourcery.com>
25180 Paul Pluzhnikov <ppluzhnikov@google.com>
25182 * debug/tst-backtrace2.c: New file.
25183 * debug/tst-backtrace3.c: Likewise.
25184 * debug/tst-backtrace4.c: Likewise.
25185 * debug/tst-backtrace5.c: Likewise.
25186 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25187 (CFLAGS-tst-backtrace3.c): Likewise.
25188 (CFLAGS-tst-backtrace4.c): Likewise.
25189 (CFLAGS-tst-backtrace5.c): Likewise.
25190 (LDFLAGS-tst-backtrace2): Likewise.
25191 (LDFLAGS-tst-backtrace3): Likewise.
25192 (LDFLAGS-tst-backtrace4): Likewise.
25193 (LDFLAGS-tst-backtrace5): Likewise.
25194 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25195 tst-backtrace4 and tst-backtrace5.
25197 2013-01-18 Anton Blanchard <anton@samba.org>
25198 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25200 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25201 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25202 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25203 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25205 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25206 "+r" and remove output regs list as redundant. Add explicit inline
25207 asm to specify register of return val to work around compiler codegen
25208 bug. Remove (int) cast on return value. Add return type parameter to
25209 use in macro so that this macro does not truncate return value for
25211 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25212 pass to INTERNAL_VSYSCALL_NCS.
25213 (INLINE_VSYSCALL): Add 'long int' as return type to
25214 INTERNAL_VSYSCALL_NCS macro invocation.
25215 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25216 INTERNAL_VSYSCALL_NCS macro invocation.
25217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25219 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25222 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25223 Fix application of SIMD FP exception mask.
25225 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25226 mp_no from a power of two.
25227 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25228 __mpexp_twomm1. Use __pow_mp.
25230 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25233 2013-01-17 David S. Miller <davem@davemloft.net>
25235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25237 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25240 * include/complex.h: Condition contents on [!_COMPLEX_H].
25241 (__kernel_casinhf): New prototype.
25242 (__kernel_casinh): Likewise.
25243 (__kernel_casinhl): Likewise.
25244 * math/Makefile (libm_calls): Add k_casinh.
25245 * math/k_casinh.c: New file.
25246 * math/k_casinhf.c: Likewise.
25247 * math/k_casinhl.c: Likewise.
25248 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25249 finite nonzero arguments.
25250 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25251 finite nonzero arguments.
25252 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25253 finite nonzero arguments.
25254 * math/s_casinh.c: Do not include <float.h>.
25255 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25256 * math/s_casinhf.c: Do not include <float.h>.
25257 (__casinhf): Move code for finite nonzero arguments to
25259 * math/s_casinhl.c: Do not include <float.h>.
25260 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25262 (__casinhl): Move code for finite nonzero arguments to
25264 * math/libm-test.inc (cacos_test): Add more tests.
25265 * sysdeps/i386/fpu/libm-test-ulps: Update.
25266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25268 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25270 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25271 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25272 [!HAVE_MREMAP]: Remove [defined linux] case.
25273 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25275 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25277 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25279 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
25281 * elf/elf.h (R_386_SIZE32): New relocation.
25282 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25284 (elf_machine_rela): Likewise.
25285 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25286 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25288 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25290 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25291 (FP_FAST_FMA): Do not define.
25292 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25293 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25294 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25295 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25296 !_SOFT_FLOAT]: Likewise.
25297 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25298 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25300 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25301 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25302 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25303 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25304 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25305 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25308 2013-01-16 Andreas Schwab <schwab@suse.de>
25311 * include/stdlib.h (__mktemp): Add declaration.
25312 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25313 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25315 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25317 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25319 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25320 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25321 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25323 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25324 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25326 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25328 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25329 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25330 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25332 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25333 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25335 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25337 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25339 2013-01-15 David S. Miller <davem@davemloft.net>
25341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25342 trunc{,f} to libm-sysdep_routes.
25343 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25353 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25354 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25355 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25356 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25357 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25358 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25361 nearbyint{,f} to libm-sysdep_routes.
25362 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25373 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25375 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25376 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25378 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25379 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25380 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25382 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25383 libc_feholdexcept and libc_fesetenv.
25385 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25387 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25389 2013-01-14 David S. Miller <davem@davemloft.net>
25391 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25392 (SPARC_ASM_VIS2_IFUNC): Likewise.
25393 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25395 use of 'siam' instruction.
25396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25402 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25403 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25404 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25405 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25414 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25415 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25416 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25417 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25425 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25429 routines to libm-sysdep_routines.
25430 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25433 fdim/fdimf to libm-sysdep_routines.
25434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25442 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25443 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25444 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25445 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25447 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25449 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25450 to optimize copies.
25452 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25453 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25454 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25457 local variable MPTWO.
25458 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25461 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25463 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25466 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25468 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25470 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25472 * manual/pattern.texi (glob_t): Document gl_flags.
25473 (glob64_t): Likewise.
25475 2013-01-11 David S. Miller <davem@davemloft.net>
25477 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25478 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25479 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25480 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25481 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25482 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25483 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25484 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25485 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25486 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25487 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25488 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25489 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25491 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25492 sparc V9 rather than using V8 code.
25493 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25494 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25496 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25498 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25501 2013-01-11 Roland McGrath <roland@hack.frob.com>
25503 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25504 not in the main loop.
25505 * configure: Regenerated.
25507 2013-01-11 Joseph Myers <joseph@codesourcery.com>
25509 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25510 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25512 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25513 [!__GLIBC_HAVE_LONG_LONG] case.
25514 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25515 condition to just #else.
25516 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25517 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25518 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25519 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25521 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25522 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25523 #elif condition to just #else.
25524 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25525 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25526 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25527 #elif condition to just #else.
25529 2013-01-11 Steve Ellcey <sellcey@mips.com>
25531 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25532 (EF_MIPS_ARCH_64): Fix value.
25533 (EF_MIPS_ARCH_32R2): New.
25534 (EF_MIPS_ARCH_64R2): New.
25536 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25538 * Makeconfig (+link-pie-before-libc): New.
25539 (+link-pie-after-libc): Likewise.
25540 (+link-pie-tests): Likewise.
25541 (+link-pie): Rewritten.
25542 (link-before-libc): Remove $(config-LDFLAGS).
25543 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25544 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25545 (config-LDFLAGS): Renamed to ...
25546 (rtld-LDFLAGS): This.
25547 (rtld-tests-LDFLAGS): New macro.
25548 (link-libc-rpath-link): Likewise.
25549 (link-libc-tests-rpath-link): Likewise.
25550 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25551 (link-libc): Prepand $(link-libc-rpath-link).
25552 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25553 (test-program-prefix): New macro.
25554 (test-via-rtld-prefix): Likewise.
25555 (test-program-cmd): Likewise.
25556 (host-test-program-cmd): Likewise.
25557 * Makefile ($(common-objpfx)testrun.sh): Replace
25558 $(run-program-prefix) with $(test-program-prefix).
25559 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25561 ($(common-objpfx)shlib.lds): Likewise.
25562 (build-module-helper): Likewise.
25563 ($(common-objpfx)format.lds): Likewise.
25564 * Rules (binaries-pie-tests): New.
25565 (binaries-pie-notests): Likewise.
25566 (binaries-pie): Rewritten.
25567 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25568 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25569 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25570 (make-test-out): Replace $(host-built-program-cmd) with
25571 $(host-test-program-cmd).
25572 * config.make.in (build-hardcoded-path-in-tests): New variable.
25573 * configure.in (--enable-hardcoded-path-in-tests): New configure
25575 (hardcoded_path_in_tests): New AC_SUBST.
25576 * configure: Regenerated.
25577 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25578 $(built-program-cmd) with $(test-program-cmd).
25579 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25580 (test_program_cmd): This.
25581 * elf/Makefile ($(objpfx)order.out): Run test with
25582 $(test-program-prefix).
25583 ($(objpfx)order2.out): Likewise.
25584 ($(objpfx)tst-initorder.out): Likewise.
25585 ($(objpfx)tst-initorder2.out): Likewise.
25586 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25587 $(test-program-cmd).
25588 ($(objpfx)tst-array1-static.out): Likewise.
25589 ($(objpfx)tst-array2.out): Likewise.
25590 ($(objpfx)tst-array3.out): Likewise.
25591 ($(objpfx)tst-array4.out): Likewise.
25592 ($(objpfx)tst-array5.out): Likewise.
25593 ($(objpfx)tst-array5-static.out): Likewise.
25594 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25595 $(test-program-cmd).
25596 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25597 $(run-program-prefix) with $(test-program-prefix).
25598 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25599 (test_program_prefix): This.
25600 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25601 $(run-program-prefix) with $(test-program-prefix).
25602 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25603 (test_program_prefix): This.
25604 * iconvdata/tst-tables.sh: Likewise.
25605 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25606 $(run-program-prefix) with $(test-program-prefix).
25607 ($(objpfx)tst-translit.out): Likewise.
25608 ($(objpfx)tst-gettext2.out): Likewise.
25609 ($(objpfx)tst-gettext4.out): Likewise.
25610 ($(objpfx)tst-gettext6.out): Likewise.
25611 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25612 (test_program_prefix): This.
25613 * intl/tst-gettext2.sh: Likewise.
25614 * intl/tst-gettext4.sh Likewise.
25615 * intl/tst-gettext6.sh: Likewise.
25616 * intl/tst-translit.sh: Likewise.
25617 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25618 with $(test-program-cmd).
25619 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25620 $(run-program-prefix) with $(test-program-prefix).
25621 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25622 (test_program_prefix): This.
25623 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25624 $(run-program-prefix) with $(test-program-prefix).
25625 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25626 (test_program_prefix): This.
25627 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25628 * posix/Makefile ($(objpfx)globtest.out): Replace
25629 $(run-via-rtld-prefix) and $(test-wrapper) with
25630 $(test-program-prefix) and $(test-via-rtld-prefix).
25631 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25632 $(test-program-prefix).
25633 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25634 $(host-test-program-cmd).
25635 (tst-spawn-ARGS): Likewise.
25636 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25637 $(test-program-prefix).
25638 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25639 (test_via_rtld_prefix): This.
25640 (test_wrapper): Renamed to ...
25641 (test_program_prefix): This.
25642 (run_program_prefix): Replaced by test_program_prefix.
25643 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25644 (test_program_prefix): This.
25645 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25646 with $(host-test-program-cmd).
25647 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25648 $(run-program-prefix) with $(test-program-prefix).
25649 ($(objpfx)tst-printf.out): Likewise.
25650 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25651 $(test-program-cmd).
25652 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25653 (test_program_prefix): This.
25654 * stdio-common/tst-unbputc.sh: Likewise.
25655 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25656 $(run-program-prefix) with $(test-program-prefix).
25657 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25658 (test_program_prefix): This.
25659 * string/Makefile ($(objpfx)tst-svc.out): Replace
25660 $(built-program-cmd) with $(test-program-cmd).
25662 2013-01-11 Andreas Jaeger <aj@suse.de>
25665 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25666 value. Sync with Linux 3.7.
25668 2013-01-10 David S. Miller <davem@davemloft.net>
25670 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25671 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25672 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25674 2013-01-10 Roland McGrath <roland@hack.frob.com>
25676 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25678 * configure: Regenerated.
25680 2013-01-10 David S. Miller <davem@davemloft.net>
25682 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25683 sparc V9 rather than using V8 code.
25684 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25685 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25687 2013-01-10 Roland McGrath <roland@hack.frob.com>
25689 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25690 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25691 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25692 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25693 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25694 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25695 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25696 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25697 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25698 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25699 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25700 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25701 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25702 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25703 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25704 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25705 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25706 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25707 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25708 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25709 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25710 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25711 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25712 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25713 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25714 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25715 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25717 2013-01-10 David S. Miller <davem@davemloft.net>
25719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25721 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25723 * posix/Makefile (tests-static): New variable.
25724 (tests): Add $(tests-static).
25725 (tst-exec-static-ARGS): New variable.
25726 (tst-spawn-static-ARGS): Likewise.
25727 * posix/tst-exec-static.c: New file.
25728 * posix/tst-spawn-static.c: Likewise.
25729 * posix/tst-exec.c: Support run directly.
25730 * posix/tst-spawn.c: Likewise.
25732 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25734 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25736 * math/bits/mathcalls.h (llrint): Likewise.
25737 (llround): Likewise.
25738 * stdlib/stdlib.h (struct drand48_data): Likewise.
25739 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25740 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25741 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25743 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25745 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25746 (elf_greg_t): Likewise.
25747 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25748 (__jmp_buf): Likewise.
25749 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25751 (llrint): Likewise, for all definitions.
25752 (llrintl): Likewise.
25754 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25755 Remove [__GNUC__] condition.
25756 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25757 condition to just [__USE_ISOC99].
25758 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25760 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25763 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25764 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25766 (_POSIX_V6_ILP32_OFF32): Likewise.
25767 (_XBS5_ILP32_OFF32): Likewise.
25768 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25769 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25771 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25773 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25775 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25776 doubles __mpexp_twomm1. Adjust usage.
25777 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25780 2013-01-10 Andreas Schwab <schwab@suse.de>
25783 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25784 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25786 2013-01-09 David S. Miller <davem@davemloft.net>
25789 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25790 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25791 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25792 (TCP_FASTOPEN): Define.
25793 (tcp_repair_opt): New structure.
25794 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25796 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25797 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25798 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25799 (tcp_cookie_transactions): New structure.
25801 2013-01-09 Anton Blanchard <anton@samba.org>
25803 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25804 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25805 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25806 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25808 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25810 * include/features.h (__USE_ANSI): Remove.
25812 2013-01-09 Roland McGrath <roland@hack.frob.com>
25814 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25816 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25818 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25820 * sysdeps/s390/fpu/libm-test-ulps: Update.
25822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25824 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25828 (denorm): Likewise.
25829 (__mp_dbl): Likewise.
25830 (__dbl_mp): Likewise.
25831 (add_magnitudes): Likewise.
25832 (sub_magnitudes): Likewise.
25838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25842 (denorm): Likewise.
25843 (__mp_dbl): Likewise.
25844 (__dbl_mp): Likewise.
25845 (add_magnitudes): Likewise.
25846 (sub_magnitudes): Likewise.
25852 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25856 (denorm): Likewise.
25857 (__mp_dbl): Likewise.
25858 (__dbl_mp): Likewise.
25859 (add_magnitudes): Likewise.
25860 (sub_magnitudes): Likewise.
25867 2013-01-08 Joseph Myers <joseph@codesourcery.com>
25869 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25870 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25871 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25872 2 && __USE_EXTERN_INLINES]: Likewise.
25874 2013-01-08 Andreas Jaeger <aj@suse.de>
25877 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25879 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25880 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25882 2013-01-07 Anton Blanchard <anton@samba.org>
25884 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25885 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25886 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25887 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25888 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25889 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25890 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25891 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25892 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25893 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25894 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25895 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25896 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25897 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25898 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25899 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25900 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25901 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25902 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25903 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25904 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25905 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25906 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25907 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25908 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25909 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25910 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25911 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25912 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25913 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25914 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25915 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25916 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25917 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25918 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25919 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25920 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25921 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25922 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25923 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25924 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25925 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25926 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25928 2013-01-07 Joseph Myers <joseph@codesourcery.com>
25930 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25931 (__MALLOC_PMT): Likewise.
25932 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25933 [__GNUC__], only on [_LIBC].
25934 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25935 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25936 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25937 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25938 forward declaration.
25939 (realloc_hook_ini): Likewise.
25940 (memalign_hook_ini): Likewise.
25941 (__libc_memalign): Do not use __MALLOC_PMT in variable
25943 (__libc_valloc): Likewise.
25944 (__libc_pvalloc): Likewise.
25945 (__libc_calloc): Likewise.
25946 (__posix_memalign): Likewise.
25949 * math/s_casinh.c: Include <float.h>.
25950 (__casinh): Do not do computation with squaring and square root
25951 for large arguments.
25952 * math/s_casinhf.c: Include <float.h>.
25953 (__casinhf): Do not do computation with squaring and square root
25954 for large arguments.
25955 * math/s_casinhl.c: Include <float.h>.
25956 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25957 (__casinhl): Do not do computation with squaring and square root
25958 for large arguments.
25959 * math/libm-test.inc (casin_test): Add more tests.
25960 (casinh_test): Likewise.
25961 * sysdeps/i386/fpu/libm-test-ulps: Update.
25962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25964 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25966 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25967 (__x86_64_raw_data_cache_size): Likewise.
25968 (__x86_64_data_cache_size_half): Likewise.
25969 (__x86_64_raw_data_cache_size_half): Likewise.
25970 (__x86_64_shared_cache_size): Likewise.
25971 (__x86_64_raw_shared_cache_size): Likewise.
25972 (__x86_64_shared_cache_size_half): Likewise.
25973 (__x86_64_raw_shared_cache_size_half): Likewise.
25974 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25976 (__x86_data_cache_size): This.
25977 (__x86_64_raw_data_cache_size): Renamed to ...
25978 (__x86_raw_data_cache_size): This.
25979 (__x86_64_data_cache_size_half): Renamed to ...
25980 (__x86_data_cache_size_half): This.
25981 (__x86_64_raw_data_cache_size_half): Renamed to ...
25982 (__x86_raw_data_cache_size_half): This.
25983 (__x86_64_shared_cache_size): Renamed to ...
25984 (__x86_shared_cache_size): This.
25985 (__x86_64_raw_shared_cache_size): Renamed to ...
25986 (__x86_raw_shared_cache_size): This.
25987 (__x86_64_shared_cache_size_half): Renamed to ...
25988 (__x86_shared_cache_size_half): This.
25989 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25990 (__x86_raw_shared_cache_size_half): This.
25991 * sysdeps/x86_64/memcpy.S: Updated.
25992 * sysdeps/x86_64/memset.S: Likewise.
25993 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25994 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25995 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25997 2013-01-04 David S. Miller <davem@davemloft.net>
25999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26001 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26003 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26004 1 to avoid redefinition warning.
26005 (__USE_GNU): Don't define.
26006 (init_signaling_nan): Protoize.
26008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26010 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26012 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26013 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26014 (__cpymn): Likewise.
26015 (norm): Remove commented code.
26016 (denorm): Likewise.
26017 (__mp_dbl): Likewise.
26019 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26020 (__cpymn): Likewise.
26021 (norm): Remove commented code.
26022 (denorm): Likewise.
26023 (__mp_dbl): Likewise.
26026 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26027 mp_no value for 1.0 and 2.0.
26028 (norm): Use RADIXI instead of radixi.d.
26029 (denorm): Likewise.
26030 (__mul): Use 0.0 instead of zero.d.
26031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26032 mp_no value for 1.0 and 2.0.
26033 (norm): Use RADIXI instead of radixi.d.
26034 (denorm): Likewise.
26035 (__mul): Use 0.0 instead of zero.d.
26037 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26040 * math/s_casinh.c (__casinh): Reduce finite argument to first
26041 quadrant then set signs of results at the end.
26042 * math/s_casinhf.c (__casinhf): Likewise.
26043 * math/s_casinhl.c (__casinhl): Likewise.
26044 * math/libm-test.inc (casin_test): Add more tests.
26045 (casinh_test): Likewise.
26046 * sysdeps/i386/fpu/libm-test-ulps: Update.
26047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26049 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26051 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26053 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26055 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26057 (denorm): Likewise.
26058 (__mp_dbl): Likewise.
26061 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26062 and adjust the header comment.
26064 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26065 variable name from declaration.
26067 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26069 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26070 Initialize COMMON_CPUID_INDEX_7 element.
26071 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26072 (CPUID_RTM): Likewise.
26073 (HAS_RTM): Likewise.
26074 (COMMON_CPUID_INDEX_7): New enum.
26076 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26079 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26080 size is zero, record memory as freed.
26082 2013-01-03 Andreas Jaeger <aj@suse.de>
26084 * po/ia.po: Add new Interlingua translation.
26086 2012-01-03 Allan McRae <allan@archlinux.org>
26088 * locale/programs/localedef.c: Fix description of '--posix' flag.
26090 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26092 * NEWS: Update dates in second copyright notice.
26093 * README: Update copyright dates in example.
26094 * manual/libc.texinfo: Update copyright dates.
26095 * scripts/test-installation.pl: Update copyright date in --version
26098 * hurd/ctty-input.c: Fix copyright notice formatting.
26099 * hurd/ctty-output.c: Likewise.
26100 * hurd/dtable.c: Likewise.
26101 * hurd/hurd-raise.c: Likewise.
26102 * hurd/hurdprio.c: Likewise.
26103 * hurd/msgportdemux.c: Likewise.
26104 * misc/sys/file.h: Likewise.
26105 * misc/sys/ioctl.h: Likewise.
26106 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26107 * sysdeps/mach/hurd/chdir.c: Likewise.
26108 * sysdeps/mach/hurd/fchdir.c: Likewise.
26109 * sysdeps/mach/hurd/rename.c: Likewise.
26110 * sysdeps/mach/hurd/rmdir.c: Likewise.
26111 * sysdeps/mach/hurd/seekdir.c: Likewise.
26112 * sysdeps/mach/hurd/setsid.c: Likewise.
26113 * sysdeps/posix/wait3.c: Likewise.
26115 * All files with FSF copyright notices: Update copyright dates
26116 using scripts/update-copyrights.
26117 * intl/plural.c: Regenerated.
26118 * locale/programs/charmap-kw.h: Likewise.
26119 * locale/programs/locfile-kw.h: Likewise.
26121 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26123 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26126 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26127 calculation loop and add branch prediction.
26129 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26130 check access beyond bounds of m1np.
26132 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26134 (__inv): Remove local variable MPTWO to use the global
26136 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26137 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26139 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26140 MP3HALFS static const.
26142 2013-01-01 David S. Miller <davem@davemloft.net>
26144 * po/ca.po: Update from translation team.
26146 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26148 * scripts/update-copyrights: New file.
26149 * Makeconfig: Reformat copyright notice.
26150 * ctype/ctype.h: Likewise.
26151 * debug/swprintf_chk.c: Likewise.
26152 * elf/dl-cache.c: Likewise.
26153 * elf/dl-debug.c: Likewise.
26154 * elf/dl-object.c: Likewise.
26155 * grp/initgroups.c: Likewise.
26156 * hurd/Makefile: Likewise.
26157 * hurd/hurd/signal.h: Likewise.
26158 * hurd/hurdfault.c: Likewise.
26159 * hurd/hurdioctl.c: Likewise.
26160 * hurd/hurdlookup.c: Likewise.
26161 * hurd/intr-msg.c: Likewise.
26162 * iconv/gconv_open.c: Likewise.
26163 * libio/swprintf.c: Likewise.
26164 * locale/lc-ctype.c: Likewise.
26165 * locale/nl_langinfo.c: Likewise.
26166 * mach/Machrules: Likewise.
26167 * mach/Makefile: Likewise.
26168 * malloc/obstack.h: Likewise.
26169 * manual/Makefile: Likewise.
26170 * manual/tsort.awk: Likewise.
26171 * misc/bits/stab.def: Likewise.
26172 * nis/nis_print_group_entry.c: Likewise.
26173 * nis/nis_table.c: Likewise.
26174 * nis/nss_compat/compat-pwd.c: Likewise.
26175 * nis/nss_compat/compat-spwd.c: Likewise.
26176 * po/Makefile: Likewise.
26177 * posix/fnmatch.c: Likewise.
26178 * posix/regex.h: Likewise.
26179 * resolv/Makefile: Likewise.
26180 * resolv/nss_dns/dns-network.c: Likewise.
26181 * resolv/res_hconf.c: Likewise.
26182 * scripts/gen-sorted.awk: Likewise.
26183 * soft-fp/soft-fp.h: Likewise.
26184 * stdio-common/printf.h: Likewise.
26185 * stdlib/monetary.h: Likewise.
26186 * stdlib/random.c: Likewise.
26187 * stdlib/random_r.c: Likewise.
26188 * sysdeps/generic/Makefile: Likewise.
26189 * sysdeps/gnu/Makefile: Likewise.
26190 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26191 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26192 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26193 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26194 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26195 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26196 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26197 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26198 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26199 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26200 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26201 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26202 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26203 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26204 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26205 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26206 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26207 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26208 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26209 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26210 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26211 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26212 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26213 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26214 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26215 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26216 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26217 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26218 * sysdeps/mach/hurd/errnos.awk: Likewise.
26219 * sysdeps/mach/hurd/fork.c: Likewise.
26220 * sysdeps/mach/hurd/getcwd.c: Likewise.
26221 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26222 * sysdeps/mach/hurd/mmap.c: Likewise.
26223 * sysdeps/mach/hurd/utimes.c: Likewise.
26224 * sysdeps/mach/hurd/xmknod.c: Likewise.
26225 * sysdeps/posix/profil.c: Likewise.
26226 * sysdeps/posix/readdir_r.c: Likewise.
26227 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26228 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26229 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26230 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26231 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26232 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26233 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26234 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26235 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26236 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26237 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26238 * sysdeps/pthread/lio_listio.c: Likewise.
26239 * sysdeps/sparc/dl-procinfo.h: Likewise.
26240 * sysdeps/unix/i386/sysdep.S: Likewise.
26241 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26242 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26243 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26244 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26246 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26247 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26248 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26249 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26250 * sysdeps/wordsize-32/divdi3.c: Likewise.
26251 * time/sys/time.h: Likewise.
26252 * wcsmbs/Makefile: Likewise.
26254 2013-01-01 David S. Miller <davem@davemloft.net>
26256 * po/fr.po: Update from translation team.
26258 * catgets/gencat.c: Update copyright year.
26259 * csu/version.c: Likewise.
26260 * debug/catchsegv.sh: Likewise.
26261 * debug/pcprofiledump.c: Likewise.
26262 * debug/xtrace.sh: Likewise.
26263 * elf/ldconfig.c: Likewise.
26264 * elf/ldd.bash.in: Likewise.
26265 * elf/pldd.c: Likewise.
26266 * elf/sotruss.ksh: Likewise.
26267 * elf/sprof.c: Likewise.
26268 * iconv/iconv_prog.c: Likewise.
26269 * iconv/iconvconfig.c: Likewise.
26270 * locale/programs/locale.c: Likewise.
26271 * locale/programs/localedef.c: Likewise.
26272 * login/programs/pt_chown.c: Likewise.
26273 * malloc/memusage.sh: Likewise.
26274 * malloc/memusagestat.c: Likewise.
26275 * malloc/mtrace.pl: Likewise.
26276 * nscd/nscd.c: Likewise.
26277 * nss/getent.c: Likewise.
26278 * nss/makedb.c: Likewise.
26279 * posix/getconf.c: Likewise.
26281 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26283 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26286 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26288 * math/bits/mathcalls.h (modf): Use __nonnull.
26290 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26292 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26293 (split): Use macro CN instead of the bare value.
26294 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26296 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26297 instead of the bare value.
26298 (power1): Likewise.
26300 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26302 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26304 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26306 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26308 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26309 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26310 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26311 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26313 2012-12-28 Andreas Jaeger <aj@suse.de>
26315 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26316 values are from Linux 3.7.
26318 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26319 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26321 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26323 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26326 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26328 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26329 variables with preprocessor constants.
26330 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26331 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26332 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26334 2012-12-27 Bruno Haible <bruno@clisp.org>
26337 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26340 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26342 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26343 and use variable directly.
26344 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26346 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26348 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26349 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26351 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26352 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26353 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26354 include directive. Remove local variable MPONE.
26355 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26356 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26357 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26359 2012-12-25 David S. Miller <davem@davemloft.net>
26361 * version.h (RELEASE): Set to "development".
26362 (VERSION): Set to "2.17.90".
26363 * NEWS: Add 2.18 section.
26365 2012-12-21 David S. Miller <davem@davemloft.net>
26367 * po/hr.po: Update from translation team.
26369 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26371 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26373 2012-12-19 Steve Ellcey <sellcey@mips.com>
26375 * NEWS: Mention new memcpy for MIPS.
26377 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26379 * manual/contrib.texi (Contributors): Spelling correction.
26381 2012-12-15 David S. Miller <davem@davemloft.net>
26383 * po/ru.po: Update from translation team.
26385 2012-12-13 David S. Miller <davem@davemloft.net>
26387 * NEWS: Mention IFUNC testsuite enhancements.
26389 * po/pl.po: Update from translation team.
26390 * po/bg.po: Likewise.
26392 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26393 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26395 2012-12-11 David S. Miller <davem@davemloft.net>
26397 * po/sv.po: Update from translation team.
26399 * po/vi.po: Update from translation team.
26401 * po/cs.po: Update from translation team.
26403 * po/de.po: Update from translation team.
26404 * po/eo.po: Likewise.
26405 * po/nl.po: Likewise.
26407 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26410 * manual/argp.texi (Argp Helper Functions): Move node to follow
26411 Argp Parsing State.
26414 * manual/conf.texi (Limits on File System Capacity): Mention if
26415 terminating null is included in the max size.
26417 2012-12-10 Andreas Jaeger <aj@suse.de>
26419 * po/cs.po: Update from translation team.
26421 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26423 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26424 void pointer and cast to uintptr_t.
26425 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26427 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26428 * sysdeps/s390/s390-64/memset.S: Likewise.
26430 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
26433 * menual/message.texi (Message Translation): Fix typos.
26434 (Helper programs for gettext): Likewise.
26436 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26439 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26442 2012-12-07 David S. Miller <davem@davemloft.net>
26444 * po/libc.pot: Update.
26446 2012-12-07 Richard Henderson <rth@redhat.com>
26449 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26450 normal/normal case to before the switch.
26451 (_FP_DIV): Likewise.
26453 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26454 Mike Frysinger <vapier@gentoo.org>
26456 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26457 check for __NR_fadvise64_64.
26459 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26461 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26462 0, not just to plain "0" as a statement.
26463 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26466 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26468 * NEWS: Use sourceware.org in Bugzilla URL.
26470 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26473 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26475 * stdio-common/tst-put-error.c (do_test): Add newline to the
26476 padded test to ensure flush.
26478 2012-12-05 Jeff Law <law@redhat.com>
26480 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26482 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26484 * README: Don't refer to ports add-on as distributed separately.
26485 Mention AArch64 in list of systems supported in the ports add-on.
26487 * LICENSES: Add more non-FSF copyright and license notices.
26489 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26492 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26494 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26495 10000 as width of padded output.
26497 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26499 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26501 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26502 variable LX with __attribute__ ((unused)).
26503 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26505 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26506 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26507 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26508 with __attribute__ ((unused)).
26510 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
26512 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26514 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26516 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26517 (CFLAGS-nldbl-acos.c): New variable.
26518 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26519 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26520 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26521 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26522 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26523 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26524 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26525 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26526 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26527 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26528 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26529 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26530 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26531 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26532 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26533 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26534 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26535 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26536 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26537 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26538 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26539 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26540 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26541 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26542 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26543 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26544 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26545 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26546 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26547 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26548 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26549 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26550 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26551 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26552 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26553 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26554 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26555 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26556 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26557 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26558 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26559 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26560 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26561 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26562 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26563 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26564 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26565 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26566 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26567 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26568 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26569 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26570 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26571 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26572 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26573 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26574 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26575 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26576 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26577 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26578 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26579 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26580 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26581 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26582 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26583 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26584 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26585 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26586 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26587 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26588 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26589 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26590 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26591 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26592 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26593 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26594 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26595 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26596 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26597 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26598 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26599 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26600 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26601 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26602 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26603 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26604 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26605 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26606 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26607 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26608 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26609 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26610 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26611 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26612 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26613 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26614 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26617 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26620 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26621 whole low double instead of just low 47 bits when splitting values
26624 2012-12-03 Allan McRae <allan@archlinux.org>
26626 * manual/stdio.texi (Predefined Printf Handlers): Remove
26627 @hsep and @vsep usage.
26629 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26631 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26632 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26634 2012-12-03 Jeff Law <law@redhat.com>
26636 * time/sys/time.h (settimeofday): Do not mark TV argument
26639 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26641 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26642 when currently writing and seek to current position when not.
26643 * libio/Makefile (tests): Remove bug-fclose1.
26644 * libio/bug-fclose1.c: Delete.
26646 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26648 * manual/arith.texi (feenableexcept): Fix typo.
26649 (fedisableexcept): Likewise.
26651 2012-11-30 Roland McGrath <roland@hack.frob.com>
26653 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26654 second, differently-typed declaration, rather than a cast.
26656 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26658 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26659 * include/rpc/svc.h: ... here.
26661 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26664 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26665 depending n and resplen2 to catch cases where answer
26668 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26670 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26671 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26673 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26675 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26677 2012-11-29 Roland McGrath <roland@hack.frob.com>
26679 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26681 2012-11-28 Jeff Law <law@redhat.com>
26684 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26685 dataset_temporary. Track alloca usage into alloca_used.
26686 If dataset is large allocate and release it via malloc/free.
26688 2012-06-04 Florian Weimer <fweimer@redhat.com>
26691 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26693 2012-11-28 David S. Miller <davem@davemloft.net>
26695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26697 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26700 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26701 of pi/2 rounded to nearest to 64 bits.
26702 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26703 nearest to 64 bits.
26704 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26707 2012-11-28 Jeff Law <law@redhat.com>
26708 Martin Osvald <mosvald@redhat.com>
26711 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26712 * sunrpc/svc.c: Include time.h.
26713 (__svc_accept_failed): New function.
26714 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26715 any reason other than EINTR, call __svc_accept_failed.
26716 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26717 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26719 2012-11-28 Andreas Schwab <schwab@suse.de>
26721 * scripts/abilist.awk: Also handle indirect functions in .opd
26724 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26727 * sysdeps/x86/fpu/powl_helper.c: New file.
26728 * sysdeps/x86/fpu/Makefile: Likewise.
26729 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26731 (__ieee754_powl): Use __powl_helper for finite arguments except
26732 integer exponents below 8.
26733 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26735 (__ieee754_powl): Use __powl_helper for finite arguments except
26736 integer exponents below 8.
26737 * math/libm-test.inc (pow_test): Add more tests and enable some
26738 previously disabled tests.
26739 * sysdeps/i386/fpu/libm-test-ulps: Update.
26740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26742 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26743 Carlos O'Donell <carlos_odonell@mentor.com>
26745 * nss/makedb.c (is_prime): Assert that input is odd and greater
26746 than 4. Note that fact in a comment too.
26747 (next_prime): Add 4 to input.
26749 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26752 * libio/Makefile (tests): Add test case tst-fwrite-error.
26753 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26754 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26755 * libio/tst-fwrite-error.c: New test case.
26757 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26759 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26760 before casting to void *.
26761 * include/libc-internal.h (__pointer_type): New macro.
26762 (__integer_if_pointer_type_sub): Likewise.
26763 (__integer_if_pointer_type): Likewise.
26764 (cast_to_integer): Likewise.
26765 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26766 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26767 before casting to atomic64_t.
26768 (atomic_exchange_acq): Likewise.
26769 (__arch_exchange_and_add_body): Likewise.
26770 (__arch_add_body): Likewise.
26771 (atomic_add_negative): Likewise.
26772 (atomic_add_zero): Likewise.
26774 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26776 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26777 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26778 (add_fdes): Likewise.
26779 (linear_search_fdes): Likewise.
26780 (binary_search_unencoded_fdes): Likewise.
26782 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26784 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26786 2012-11-24 Adam Conrad <adconrad@0c3.net>
26788 * configure.in: Autodetect C++ header directories.
26789 * configure: Regenerated.
26791 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26793 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26795 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26799 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26801 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26802 LDBL_MANT_DIG == 106]: Disable some tests.
26803 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26805 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26809 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26810 input for small inputs. Return +/- pi/2 for large inputs.
26811 * math/libm-test.inc (atan_test): Add more tests.
26813 * sysdeps/generic/unwind-dw2-fde-glibc.c
26814 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26815 __attribute__ ((unused)).
26818 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26819 x * y if x and y are nonzero and z is zero.
26822 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26823 nonzero exponents with absolute value below 0x1p-117 to +/-
26827 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26828 up arguments below 2**-450, not just those below 2**-500.
26829 * math/libm-test.inc (hypot_test): Add another test.
26832 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26833 Return a+b for ratio over 2**120, not 2**60.
26834 * math/libm-test.inc (hypot_test): Add another test.
26836 * math/libm-test.inc (clog_test): Use
26837 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26838 (clog10_test): Likewise.
26841 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26843 2012-11-22 Andreas Schwab <schwab@suse.de>
26845 * sysdeps/i386/fpu/libm-test-ulps: Update.
26847 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26849 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26850 printf output with newline.
26852 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26855 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26856 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26857 -z nodlopen, -z initfirst and -z execstack support.
26858 * configure: Regenerated.
26860 * elf/elf.h (DF_1_NODIRECT): New macro.
26861 (DF_1_IGNMULDEF): Likewise.
26862 (DF_1_NOKSYMS): Likewise.
26863 (DF_1_NOHDR): Likewise.
26864 (DF_1_EDITED): Likewise.
26865 (DF_1_NORELOC): Likewise.
26866 (DF_1_SYMINTPOSE): Likewise.
26867 (DF_1_GLOBAUDIT): Likewise.
26868 (DF_1_SINGLETON): Likewise.
26869 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26870 DT_1_SUPPORTED_MASK bits.
26871 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26873 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26875 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26877 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26879 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26882 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26883 (sendmmsg): Move declarations...
26884 * socket/sys/socket.h: ... here.
26885 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26886 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26888 * socket/recvmmsg.c: ... this new file.
26889 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26890 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26891 definition of __sendmmsg hidden.
26892 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26893 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26894 Move ENOSYS stub into and include it from...
26895 * socket/sendmmsg.c: ... this new file.
26896 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26897 (sysdep_routines): Move recvmmsg and sendmmsg...
26898 * socket/Makefile (routines): ... here.
26899 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26900 (GLIBC_PRIVATE): Add __sendmmsg.
26901 * include/sys/socket.h (__sendmmsg): Add declarations.
26902 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26905 2012-11-20 Joseph Myers <joseph@codesourcery.com>
26907 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26908 variable I1 with __attribute__ ((unused)).
26909 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26911 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26913 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26914 DUMMY variables with __attribute__ ((unused)).
26916 * bits/byteswap.h: Include <bits/types.h>.
26917 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26919 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26921 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26922 string_t. Do not manually set errno.
26923 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26924 length with __strnlen. Make sure to both set errno and return it on
26927 2012-11-19 David S. Miller <davem@davemloft.net>
26929 With help from Joseph Myers.
26930 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26931 very large arguments properly.
26932 * math/libm-test.inc (atan_test): New tests.
26933 (atan2_test): New tests.
26934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26935 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26937 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26940 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26943 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26944 [POSIX] (EADDRNOTAVAIL): Likewise.
26945 [POSIX] (EAFNOSUPPORT): Likewise.
26946 [POSIX] (EALREADY): Likewise.
26947 [POSIX] (ECONNABORTED): Likewise.
26948 [POSIX] (ECONNREFUSED): Likewise.
26949 [POSIX] (ECONNRESET): Likewise.
26950 [POSIX] (EDESTADDRREQ): Likewise.
26951 [POSIX] (EDQUOT): Likewise.
26952 [POSIX] (EHOSTUNREACH): Likewise.
26953 [POSIX] (EIDRM): Likewise.
26954 [POSIX] (EISCONN): Likewise.
26955 [POSIX] (ELOOP): Likewise.
26956 [POSIX] (EMULTIHOP): Likewise.
26957 [POSIX] (ENETDOWN): Likewise.
26958 [POSIX] (ENETUNREACH): Likewise.
26959 [POSIX] (ENOBUFS): Likewise.
26960 [POSIX] (ENODATA): Likewise.
26961 [POSIX] (ENOLINK): Likewise.
26962 [POSIX] (ENOMSG): Likewise.
26963 [POSIX] (ENOPROTOOPT): Likewise.
26964 [POSIX] (ENOSR): Likewise.
26965 [POSIX] (ENOSTR): Likewise.
26966 [POSIX] (ENOTCONN): Likewise.
26967 [POSIX] (ENOTSOCK): Likewise.
26968 [POSIX] (EOPNOTSUPP): Likewise.
26969 [POSIX] (EOVERFLOW): Likewise.
26970 [POSIX] (EPROTO): Likewise.
26971 [POSIX] (EPROTONOSUPPORT): Likewise.
26972 [POSIX] (EPROTOTYPE): Likewise.
26973 [POSIX] (ESTALE): Likewise.
26974 [POSIX] (ETIME): Likewise.
26975 [POSIX] (ETXTBSY): Likewise.
26976 [POSIX] (EWOULDBLOCK): Likewise.
26977 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26978 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26979 [POSIX] (SEEK_CUR): Likewise.
26980 [POSIX] (SEEK_END): Likewise.
26981 [POSIX || UNIX98] (mode_t): Do not require.
26982 [POSIX] (off_t): Likewise.
26983 [POSIX] (pid_t): Likewise.
26984 [POSIX] (sys/stat.h): Do not allow header.
26985 [POSIX] (unistd.h): Likewise.
26986 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26987 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26988 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26989 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26991 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26992 sigevent): Specify elements.
26993 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26995 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26996 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26998 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26999 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27000 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27001 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27002 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27003 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27004 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27005 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27006 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27007 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27008 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27009 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27010 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27011 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27013 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27015 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27017 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27019 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27020 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27021 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27022 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27023 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27024 Specify lower bound on value.
27025 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27026 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27027 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27028 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27029 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27030 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27031 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27032 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27034 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27036 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27037 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27038 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27039 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27040 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27041 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27042 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27043 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27044 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27045 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27046 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27047 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27048 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27049 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27050 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27051 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27053 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27055 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27056 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27057 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27058 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27059 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27060 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27062 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27063 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27064 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27065 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27066 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27067 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27068 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27070 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27071 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27072 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27073 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27074 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27075 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27076 specify as optional.
27077 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27078 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27079 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27080 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27081 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27082 [XPG3] (NL_LANGMAX): Likewise.
27083 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27084 [POSIX || XPG3] (NL_NMAX): Likewise.
27085 [POSIX || XPG3] (NL_SETMAX): Likewise.
27086 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27087 [XPG3] (NZERO): Likewise.
27088 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27089 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27090 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27091 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27092 (REG_ERANGE): Expect.
27093 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27095 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27096 Use (void) in prototype.
27097 [POSIX] (*_t): Allow.
27098 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27099 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27100 (WRDE_BADVAL): Expect.
27102 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27104 [XPG3 || XPG4] (O_RSYNC): Likewise.
27105 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27107 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27108 [XPG3 || XPG4] (sigqueue): Likewise.
27109 [XPG3 || XPG4] (sigtimedwait): Likewise.
27110 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27111 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27112 [XPG3 || XPG4] (vsnprintf): Likewise.
27113 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27115 [XPG3 || XPG4] (blksize_t): Likewise.
27116 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27118 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27119 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27120 [XPG3 || XPG4] (struct itimerspec): Likewise.
27121 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27122 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27123 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27124 [XPG3 || XPG4] (clockid_t): Likewise.
27125 [XPG3 || XPG4] (timer_t): Likewise.
27126 [XPG3 || XPG4] (clock_getres): Likewise.
27127 [XPG3 || XPG4] (clock_gettime): Likewise.
27128 [XPG3 || XPG4] (clock_settime): Likewise.
27129 [XPG3 || XPG4] (nanosleep): Likewise.
27130 [XPG3 || XPG4] (timer_create): Likewise.
27131 [XPG3 || XPG4] (timer_delete): Likewise.
27132 [XPG3 || XPG4] (timer_gettime): Likewise.
27133 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27134 [XPG3 || XPG4] (timer_settime): Likewise.
27135 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27136 [XPG3 || XPG4] (getlogin_r): Likewise.
27137 [XPG3 || XPG4] (pread): Likewise.
27138 [XPG3 || XPG4] (pthread_atfork): Likewise.
27139 [XPG3 || XPG4] (pwrite): Likewise.
27142 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27145 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27147 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27148 finalizing MALLSTREAM.
27150 * sysdeps/mach/hurd/syncfs.c: New file.
27152 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27155 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27156 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27157 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27158 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27159 (_nss_dns_gethostbyname4_r): Likewise.
27160 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27161 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27163 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27166 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27168 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27170 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27171 * elf/cache.c (print_entry): Print ",AArch64" for
27174 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27175 * elf/cache.c (print_entry): Print ",hard-float" for
27178 2012-11-18 David S. Miller <davem@davemloft.net>
27180 With help from Joseph Myers.
27181 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27183 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27185 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27186 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27188 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27189 * math/libm-test.inc (y0_test): New tests.
27190 (y1_test): New tests.
27191 * sysdeps/i386/fpu/libm-test-ulps: Update.
27192 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27195 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27197 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27199 * configure: Regenerated.
27201 2012-11-17 David S. Miller <davem@davemloft.net>
27204 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27205 nonzero exponents with absolute value below 0x1p-128 to +/-
27208 2012-11-17 Joseph Myers <joseph@codesourcery.com>
27210 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27212 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27214 * posix/getconf-speclist.c: New file.
27215 * posix/posix-envs.def: Likewise.
27216 * posix/confstr.c (START_ENV_GROUP): New macro.
27217 (END_ENV_GROUP): Likewise.
27218 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27219 (KNOWN_PRESENT_ENV_STRING): Likewise.
27220 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27221 (UNKNOWN_ENVIRONMENT): Likewise.
27222 (confstr): Include posix-envs.def instead of handling
27223 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27224 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27225 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27226 (END_ENV_GROUP): Likewise.
27227 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27228 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27229 (UNKNOWN_ENVIRONMENT): Likewise.
27230 (__sysconf): Include posix-envs.def instead of handling associated
27231 cases directly here.
27232 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27233 preprocessing getconf-speclist.c rather than running getconf or
27234 generating empty file.
27236 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27238 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27240 2012-11-16 Andrej Lajovic <natrij@gmail.com>
27243 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27245 2012-11-16 David S. Miller <davem@davemloft.net>
27247 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27248 smaller than LDBL_EPSILON/2.0L, just return xm1.
27250 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27252 * elf/tst-array1.c (init): Set constructor priority to 1000.
27253 (fini): Set destructor priority to 1000.
27254 * elf/tst-array2dep.c: Likewise.
27256 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27259 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27260 (_IO_new_file_xsputn): Also return EOF if none of the input
27261 data was written when overflow failed.
27262 * libio/iopadn.c (_IO_padn): Likewise.
27263 * libio/iowpadn.c (_IO_wpadn): Likewise.
27264 * stdio-common/tst-put-error.c: Add copyright notice.
27265 (do_test): Add case for printing padded string.
27266 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27267 _IO_padn returned error.
27268 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27269 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27272 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27274 * libio/libioP.h: Add comment note that the references to C++
27275 bits are now obsolete.
27277 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27279 * math/libm-test.inc (check_complex): Use asprintf.
27281 2012-11-14 Joseph Myers <joseph@codesourcery.com>
27283 * debug/pcprofiledump.c (print_version): Update copyright year.
27284 * malloc/memusagestat.c (print_version): Likewise.
27286 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27289 * elf/Makefile (tests): Add tst-audit8.
27290 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27291 ($(objpfx)tst-audit8.out): New target.
27292 (tst-audit8-ENV): New variable.
27293 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27294 audit if l_reloc_result is NULL.
27295 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27296 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27297 * elf/tst-audit8.c: New file.
27299 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27301 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27302 * misc/Makefile (CFLAGS-select.c): Define.
27303 * posix/Makefile (CFLAGS-pause.c): Define.
27305 2012-11-13 David S. Miller <davem@davemloft.net>
27307 * crypt/Makefile: Move test targets after toplevel Rules
27308 inclusion. Grab any necessary sysdep routines when linking.
27309 * crypt/md5.c (md5_process_block): Remove define, we will always
27310 name it __md5_process_block.
27311 (md5_finish_ctx): Update md5_process_block call.
27312 (md5_stream): Likewise.
27313 (md5_process_bytes): Likewise.
27314 (md5_process_block): Rename to __md5_process_block and move to ...
27315 * crypt/md5-block.c: ... here.
27316 * crypt/sha256.c (sha256_process_block): Move to ...
27317 * crypt/sha256-block.c: ... here.
27318 * crypt/sha512.c (sha512_process_block): Move to ...
27319 * crypt/sha512-block.c: ... here.
27320 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27322 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27323 * sysdeps/sparc/sparc64/multiarch/Makefile
27324 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27326 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27327 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27329 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27330 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27331 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27332 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27333 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27334 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27335 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27336 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27337 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27339 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27340 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27342 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27344 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27346 * timezone/tzselect.ksh: Update from tzcode git revision
27347 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27348 * timezone/zdump.c: Likewise.
27349 * timezone/zic.c: Likewise.
27350 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27351 in TZVERSION setting, not $(PKGVERSION).
27352 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27353 REPORT_BUGS_TO settings.
27356 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27359 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27361 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27362 detection to immediately after _FP_ROUND().
27363 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27366 2012-11-11 David S. Miller <davem@davemloft.net>
27368 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27370 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27371 __close rather than their public counterparts.
27373 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27375 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27377 [UNIX98] (sem_timedwait): Do not expect.
27378 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27379 [XPG4 || UNIX98] (sockatmark): Do not expect.
27380 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27381 (clock_getcpuclockid): Do not expect.
27382 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27383 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27385 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27386 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27387 [UNIX98] (vwscanf): Likewise.
27388 [UNIX98] (vswscanf): Likewise.
27390 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27392 * timezone/version.h: Remove file.
27393 * timezone/README: Do not refer to version.h.
27394 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27395 $(objpfx)version.h.
27396 ($(objpfx)zdump.o): Likewise.
27397 ($(objpfx)version.h): New target.
27399 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27401 * timezone/README: Don't mention modification to tzselect.ksh.
27402 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27403 work on unmodified tzselect.ksh. Substitute version numbers in
27406 * Makefile (format-me): Remove.
27407 (INSTALL): Adjust indentation. Use commands directly instead of
27408 using $(format-me).
27410 * aclocal.m4 (ACX_PKGVERSION): New macro.
27411 (ACX_BUGURL): Likewise.
27412 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27413 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27414 (REPORT_BUGS_TO): Likewise.
27415 * configure: Regenerated.
27416 * config.h.in (PKGVERSION): New macro.
27417 (REPORT_BUGS_TO): Likewise.
27418 * config.make.in (PKGVERSION): New variable.
27419 (PKGVERSION_TEXI): Likewise.
27420 (REPORT_BUGS_TO): Likewise.
27421 (REPORT_BUGS_TEXI): Likewise.
27422 * Makefile (format-me): Use -I$(common-objpfx)manual.
27423 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27424 ($(common-objpfx)manual/%): New target.
27425 (manual/%): Remove target.
27426 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27427 (print_version): Use PKGVERSION.
27428 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27429 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27430 and REPORT_BUGS_TO.
27431 ($(objpfx)xtrace): Likewise.
27432 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27433 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27434 (print_version): Use PKGVERSION.
27435 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27436 (do_version): Use PKGVERSION.
27437 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27439 (common-ldd-rewrite): Likewise.
27440 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27441 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27442 (print_version): Use PKGVERSION.
27443 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27444 * elf/pldd.c (argp_program_bug_address): Remove variable.
27445 (more_help): New function.
27446 (argp): Use more_help.
27447 (print_version): Use PKGVERSION.
27448 * elf/sln.c (main): Use PKGVERSION.
27449 (usage): Use REPORT_BUGS_TO.
27450 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27451 (top level): Use PKGVERSION.
27452 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27453 (print_version): Use PKGVERSION.
27454 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27455 (print_version): Use PKGVERSION.
27456 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27457 (print_version): Use PKGVERSION.
27458 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27459 (print_version): Use PKGVERSION.
27460 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27461 (print_version): Use PKGVERSION.
27462 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27463 (print_version): Use PKGVERSION.
27464 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27466 ($(objpfx)memusage): Likewise.
27467 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27468 (do_version): Use PKGVERSION.
27469 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27470 (print_version): Use PKGVERSION.
27471 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27472 ($PKGVERSION): New variable.
27473 ($REPORT_BUGS_TO): Likewise.
27474 (usage): Use $REPORT_BUGS_TO.
27475 (top level): Use $PKGVERSION.
27476 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27477 ($(objpfx)pkgvers.texi): New rule.
27478 ($(objpfx)stamp-pkgvers): Likewise.
27479 * manual/install.texi: Include pkgvers.texi.
27480 (--with-pkgversion): Document new configure option.
27481 (--with-bugurl): Likewise.
27482 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27483 than necessarily for this particular distribution. Use
27484 REPORT_BUGS_TO for where to report bugs.
27485 * INSTALL: Regenerated.
27486 * manual/libc.texinfo: Include pkgvers.texi.
27487 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27488 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27489 (print_version): Use PKGVERSION.
27490 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27491 (print_version): Use PKGVERSION.
27492 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27493 (print_version): Use PKGVERSION.
27494 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27495 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27497 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27498 (print_version): Use PKGVERSION.
27499 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27500 (print_version): Use PKGVERSION.
27501 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27504 * timezone/checktab.awk: Update from tzcode 2012i.
27505 * timezone/ialloc.c: Likewise.
27506 * timezone/private.h: Likewise.
27507 * timezone/scheck.c: Likewise.
27508 * timezone/tzfile.h: Likewise.
27509 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27510 (TZVERSION): Hardcode tzcode version number.
27511 * timezone/zdump.c: Update from tzcode 2012i.
27512 * timezone/zic.c: Likewise.
27513 * timezone/version.h: New file.
27514 * timezone/README: Describe version.h. Update upstream location.
27517 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27518 (mktemp): Enable declaration.
27519 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27520 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27521 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27522 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27524 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27526 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27528 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27530 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27532 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27536 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27537 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27538 for copies of such integer values.
27539 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27540 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27542 2012-11-09 Andreas Jaeger <aj@suse.de>
27544 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27545 definitions and declarations that are provided by
27546 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27548 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27550 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27551 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27552 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27555 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27557 * elf/elf.h: Update comment before AArch64 relocations.
27559 2012-11-07 David S. Miller <davem@davemloft.net>
27561 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27562 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27563 (__start_context): Declare.
27564 (__makecontext_ret): Delete.
27565 (__makecontext): Hook up __start_context instead of
27567 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27568 (sysdep_routines): Add __start_context when in stdlib.
27570 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27572 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27573 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27574 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27576 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27577 (READELF): New variable. Use it instead of hardcoded "readelf".
27579 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27581 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27582 * sysdeps/x86/Makefile: Here.
27583 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27584 * sysdeps/x86/tst-xmmymm.sh: This.
27586 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27588 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27590 [UNIX98] (pthread_barrier_t): Do not expect.
27591 [UNIX98] (pthread_barrierattr_t): Likewise.
27592 [UNIX98] (pthread_spinlock_t): Likewise.
27593 [UNIX98] (pthread_barrier_destroy): Likewise.
27594 [UNIX98] (pthread_barrier_init): Likewise.
27595 [UNIX98] (pthread_barrier_wait): Likewise.
27596 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27597 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27598 [UNIX98] (pthread_barrierattr_init): Likewise.
27599 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27600 [UNIX98] (pthread_getcpuclockid): Likewise.
27601 [UNIX98] (pthread_mutex_timedlock): Likewise.
27602 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27603 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27604 [UNIX98] (pthread_sigmask): Likewise.
27605 [UNIX98] (pthread_spin_destroy): Likewise.
27606 [UNIX98] (pthread_spin_init): Likewise.
27607 [UNIX98] (pthread_spin_lock): Likewise.
27608 [UNIX98] (pthread_spin_trylock): Likewise.
27609 [UNIX98] (pthread_spin_unlock): Likewise.
27610 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27612 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27613 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27614 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27615 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27616 [XPG3 || XPG4] (pthread_key_t): Likewise.
27617 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27618 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27619 [XPG3 || XPG4] (pthread_once_t): Likewise.
27620 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27621 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27622 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27623 [XPG3 || XPG4] (pthread_t): Likewise.
27625 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27627 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27629 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27630 Change function return type to int.
27632 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27633 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27634 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27635 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27636 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27637 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27638 [!POSIX] (posix_madvise): Likewise.
27639 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27641 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27642 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27643 (mode_t): Likewise.
27644 (posix_mem_offset): Likewise.
27645 (posix_typed_mem_get_info): Likewise.
27646 (posix_typed_mem_open): Likewise.
27648 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27649 Change condition to [XOPEN2K8].
27651 * conform/conformtest.pl: Preprocess allow-header data with -x c
27652 instead of from stdin.
27653 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27654 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27655 [C99-based standards] (cerfc): Likewise.
27656 [C99-based standards] (cexp2): Likewise.
27657 [C99-based standards] (cexpm1): Likewise.
27658 [C99-based standards] (clog10): Likewise.
27659 [C99-based standards] (clog1p): Likewise.
27660 [C99-based standards] (clog2): Likewise.
27661 [C99-based standards] (clgamma): Likewise.
27662 [C99-based standards] (ctgamma): Likewise.
27663 [C99-based standards] (cerff): Likewise.
27664 [C99-based standards] (cerfcf): Likewise.
27665 [C99-based standards] (cexp2f): Likewise.
27666 [C99-based standards] (cexpm1f): Likewise.
27667 [C99-based standards] (clog10f): Likewise.
27668 [C99-based standards] (clog1pf): Likewise.
27669 [C99-based standards] (clog2f): Likewise.
27670 [C99-based standards] (clgammaf): Likewise.
27671 [C99-based standards] (ctgammaf): Likewise.
27672 [C99-based standards] (cerfl): Likewise.
27673 [C99-based standards] (cerfcl): Likewise.
27674 [C99-based standards] (cexp2l): Likewise.
27675 [C99-based standards] (cexpm1l): Likewise.
27676 [C99-based standards] (clog10l): Likewise.
27677 [C99-based standards] (clog1pl): Likewise.
27678 [C99-based standards] (clog2l): Likewise.
27679 [C99-based standards] (clgammal): Likewise.
27680 [C99-based standards] (ctgammal): Likewise.
27681 * conform/data/inttypes.h-data [C99-based standards]: Include
27682 stdint.h-data. Remove all expectations for stdint.h contents.
27683 [C99-based standards] (PRI*): Do not allow.
27684 [C99-based standards] (SCN*): Likewise.
27685 [C99-based standards] (*_t): Likewise.
27686 [C99-based-standards] (PRId8): Expect macro.
27687 [C99-based-standards] (PRIi8): Likewise.
27688 [C99-based-standards] (PRIo8): Likewise.
27689 [C99-based-standards] (PRIu8): Likewise.
27690 [C99-based-standards] (PRIx8): Likewise.
27691 [C99-based-standards] (PRIX8): Likewise.
27692 [C99-based-standards] (SCNd8): Likewise.
27693 [C99-based-standards] (SCNi8): Likewise.
27694 [C99-based-standards] (SCNo8): Likewise.
27695 [C99-based-standards] (SCNu8): Likewise.
27696 [C99-based-standards] (SCNx8): Likewise.
27697 [C99-based-standards] (PRIdLEAST8): Likewise.
27698 [C99-based-standards] (PRIiLEAST8): Likewise.
27699 [C99-based-standards] (PRIoLEAST8): Likewise.
27700 [C99-based-standards] (PRIuLEAST8): Likewise.
27701 [C99-based-standards] (PRIxLEAST8): Likewise.
27702 [C99-based-standards] (PRIXLEAST8): Likewise.
27703 [C99-based-standards] (SCNdLEAST8): Likewise.
27704 [C99-based-standards] (SCNiLEAST8): Likewise.
27705 [C99-based-standards] (SCNoLEAST8): Likewise.
27706 [C99-based-standards] (SCNuLEAST8): Likewise.
27707 [C99-based-standards] (SCNxLEAST8): Likewise.
27708 [C99-based-standards] (PRIdFAST8): Likewise.
27709 [C99-based-standards] (PRIiFAST8): Likewise.
27710 [C99-based-standards] (PRIoFAST8): Likewise.
27711 [C99-based-standards] (PRIuFAST8): Likewise.
27712 [C99-based-standards] (PRIxFAST8): Likewise.
27713 [C99-based-standards] (PRIXFAST8): Likewise.
27714 [C99-based-standards] (SCNdFAST8): Likewise.
27715 [C99-based-standards] (SCNiFAST8): Likewise.
27716 [C99-based-standards] (SCNoFAST8): Likewise.
27717 [C99-based-standards] (SCNuFAST8): Likewise.
27718 [C99-based-standards] (SCNxFAST8): Likewise.
27719 [C99-based-standards] (PRId16): Likewise.
27720 [C99-based-standards] (PRIi16): Likewise.
27721 [C99-based-standards] (PRIo16): Likewise.
27722 [C99-based-standards] (PRIu16): Likewise.
27723 [C99-based-standards] (PRIx16): Likewise.
27724 [C99-based-standards] (PRIX16): Likewise.
27725 [C99-based-standards] (SCNd16): Likewise.
27726 [C99-based-standards] (SCNi16): Likewise.
27727 [C99-based-standards] (SCNo16): Likewise.
27728 [C99-based-standards] (SCNu16): Likewise.
27729 [C99-based-standards] (SCNx16): Likewise.
27730 [C99-based-standards] (PRIdLEAST16): Likewise.
27731 [C99-based-standards] (PRIiLEAST16): Likewise.
27732 [C99-based-standards] (PRIoLEAST16): Likewise.
27733 [C99-based-standards] (PRIuLEAST16): Likewise.
27734 [C99-based-standards] (PRIxLEAST16): Likewise.
27735 [C99-based-standards] (PRIXLEAST16): Likewise.
27736 [C99-based-standards] (SCNdLEAST16): Likewise.
27737 [C99-based-standards] (SCNiLEAST16): Likewise.
27738 [C99-based-standards] (SCNoLEAST16): Likewise.
27739 [C99-based-standards] (SCNuLEAST16): Likewise.
27740 [C99-based-standards] (SCNxLEAST16): Likewise.
27741 [C99-based-standards] (PRIdFAST16): Likewise.
27742 [C99-based-standards] (PRIiFAST16): Likewise.
27743 [C99-based-standards] (PRIoFAST16): Likewise.
27744 [C99-based-standards] (PRIuFAST16): Likewise.
27745 [C99-based-standards] (PRIxFAST16): Likewise.
27746 [C99-based-standards] (PRIXFAST16): Likewise.
27747 [C99-based-standards] (SCNdFAST16): Likewise.
27748 [C99-based-standards] (SCNiFAST16): Likewise.
27749 [C99-based-standards] (SCNoFAST16): Likewise.
27750 [C99-based-standards] (SCNuFAST16): Likewise.
27751 [C99-based-standards] (SCNxFAST16): Likewise.
27752 [C99-based-standards] (PRId32): Likewise.
27753 [C99-based-standards] (PRIi32): Likewise.
27754 [C99-based-standards] (PRIo32): Likewise.
27755 [C99-based-standards] (PRIu32): Likewise.
27756 [C99-based-standards] (PRIx32): Likewise.
27757 [C99-based-standards] (PRIX32): Likewise.
27758 [C99-based-standards] (SCNd32): Likewise.
27759 [C99-based-standards] (SCNi32): Likewise.
27760 [C99-based-standards] (SCNo32): Likewise.
27761 [C99-based-standards] (SCNu32): Likewise.
27762 [C99-based-standards] (SCNx32): Likewise.
27763 [C99-based-standards] (PRIdLEAST32): Likewise.
27764 [C99-based-standards] (PRIiLEAST32): Likewise.
27765 [C99-based-standards] (PRIoLEAST32): Likewise.
27766 [C99-based-standards] (PRIuLEAST32): Likewise.
27767 [C99-based-standards] (PRIxLEAST32): Likewise.
27768 [C99-based-standards] (PRIXLEAST32): Likewise.
27769 [C99-based-standards] (SCNdLEAST32): Likewise.
27770 [C99-based-standards] (SCNiLEAST32): Likewise.
27771 [C99-based-standards] (SCNoLEAST32): Likewise.
27772 [C99-based-standards] (SCNuLEAST32): Likewise.
27773 [C99-based-standards] (SCNxLEAST32): Likewise.
27774 [C99-based-standards] (PRIdFAST32): Likewise.
27775 [C99-based-standards] (PRIiFAST32): Likewise.
27776 [C99-based-standards] (PRIoFAST32): Likewise.
27777 [C99-based-standards] (PRIuFAST32): Likewise.
27778 [C99-based-standards] (PRIxFAST32): Likewise.
27779 [C99-based-standards] (PRIXFAST32): Likewise.
27780 [C99-based-standards] (SCNdFAST32): Likewise.
27781 [C99-based-standards] (SCNiFAST32): Likewise.
27782 [C99-based-standards] (SCNoFAST32): Likewise.
27783 [C99-based-standards] (SCNuFAST32): Likewise.
27784 [C99-based-standards] (SCNxFAST32): Likewise.
27785 [C99-based-standards] (PRId64): Likewise.
27786 [C99-based-standards] (PRIi64): Likewise.
27787 [C99-based-standards] (PRIo64): Likewise.
27788 [C99-based-standards] (PRIu64): Likewise.
27789 [C99-based-standards] (PRIx64): Likewise.
27790 [C99-based-standards] (PRIX64): Likewise.
27791 [C99-based-standards] (SCNd64): Likewise.
27792 [C99-based-standards] (SCNi64): Likewise.
27793 [C99-based-standards] (SCNo64): Likewise.
27794 [C99-based-standards] (SCNu64): Likewise.
27795 [C99-based-standards] (SCNx64): Likewise.
27796 [C99-based-standards] (PRIdLEAST64): Likewise.
27797 [C99-based-standards] (PRIiLEAST64): Likewise.
27798 [C99-based-standards] (PRIoLEAST64): Likewise.
27799 [C99-based-standards] (PRIuLEAST64): Likewise.
27800 [C99-based-standards] (PRIxLEAST64): Likewise.
27801 [C99-based-standards] (PRIXLEAST64): Likewise.
27802 [C99-based-standards] (SCNdLEAST64): Likewise.
27803 [C99-based-standards] (SCNiLEAST64): Likewise.
27804 [C99-based-standards] (SCNoLEAST64): Likewise.
27805 [C99-based-standards] (SCNuLEAST64): Likewise.
27806 [C99-based-standards] (SCNxLEAST64): Likewise.
27807 [C99-based-standards] (PRIdFAST64): Likewise.
27808 [C99-based-standards] (PRIiFAST64): Likewise.
27809 [C99-based-standards] (PRIoFAST64): Likewise.
27810 [C99-based-standards] (PRIuFAST64): Likewise.
27811 [C99-based-standards] (PRIxFAST64): Likewise.
27812 [C99-based-standards] (PRIXFAST64): Likewise.
27813 [C99-based-standards] (SCNdFAST64): Likewise.
27814 [C99-based-standards] (SCNiFAST64): Likewise.
27815 [C99-based-standards] (SCNoFAST64): Likewise.
27816 [C99-based-standards] (SCNuFAST64): Likewise.
27817 [C99-based-standards] (SCNxFAST64): Likewise.
27818 [C99-based-standards] (PRIdMAX): Likewise.
27819 [C99-based-standards] (PRIiMAX): Likewise.
27820 [C99-based-standards] (PRIoMAX): Likewise.
27821 [C99-based-standards] (PRIuMAX): Likewise.
27822 [C99-based-standards] (PRIxMAX): Likewise.
27823 [C99-based-standards] (PRIXMAX): Likewise.
27824 [C99-based-standards] (SCNdMAX): Likewise.
27825 [C99-based-standards] (SCNiMAX): Likewise.
27826 [C99-based-standards] (SCNoMAX): Likewise.
27827 [C99-based-standards] (SCNuMAX): Likewise.
27828 [C99-based-standards] (SCNxMAX): Likewise.
27829 [C99-based-standards] (PRIdPTR): Likewise.
27830 [C99-based-standards] (PRIiPTR): Likewise.
27831 [C99-based-standards] (PRIoPTR): Likewise.
27832 [C99-based-standards] (PRIuPTR): Likewise.
27833 [C99-based-standards] (PRIxPTR): Likewise.
27834 [C99-based-standards] (PRIXPTR): Likewise.
27835 [C99-based-standards] (SCNdPTR): Likewise.
27836 [C99-based-standards] (SCNiPTR): Likewise.
27837 [C99-based-standards] (SCNoPTR): Likewise.
27838 [C99-based-standards] (SCNuPTR): Likewise.
27839 [C99-based-standards] (SCNxPTR): Likewise.
27840 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27842 * conform/data/stdint.h-data: Update comments to clarify
27844 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27846 [C99-based standards] (INT8_MAX): Likewise.
27847 [C99-based standards] (INT16_MIN): Likewise.
27848 [C99-based standards] (INT16_MAX): Likewise.
27849 [C99-based standards] (INT32_MIN): Likewise.
27850 [C99-based standards] (INT32_MAX): Likewise.
27851 [C99-based standards] (INT64_MIN): Likewise.
27852 [C99-based standards] (INT64_MAX): Likewise.
27853 [C99-based standards] (UINT8_MAX): Likewise.
27854 [C99-based standards] (UINT16_MAX): Likewise.
27855 [C99-based standards] (UINT32_MAX): Likewise.
27856 [C99-based standards] (UINT64_MAX): Likewise.
27857 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27858 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27859 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27860 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27861 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27862 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27863 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27864 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27865 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27866 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27867 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27868 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27869 [C99-based standards] (INT_FAST8_MIN): Likewise.
27870 [C99-based standards] (INT_FAST8_MAX): Likewise.
27871 [C99-based standards] (INT_FAST16_MIN): Likewise.
27872 [C99-based standards] (INT_FAST16_MAX): Likewise.
27873 [C99-based standards] (INT_FAST32_MIN): Likewise.
27874 [C99-based standards] (INT_FAST32_MAX): Likewise.
27875 [C99-based standards] (INT_FAST64_MIN): Likewise.
27876 [C99-based standards] (INT_FAST64_MAX): Likewise.
27877 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27878 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27879 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27880 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27881 [C99-based standards] (INTPTR_MIN): Likewise.
27882 [C99-based standards] (INTPTR_MAX): Likewise.
27883 [C99-based standards] (UINTPTR_MAX): Likewise.
27884 [C99-based standards] (INTMAX_MIN): Likewise.
27885 [C99-based standards] (INTMAX_MAX): Likewise.
27886 [C99-based standards] (UINTMAX_MAX): Likewise.
27887 [C99-based standards] (PTRDIFF_MIN): Likewise.
27888 [C99-based standards] (PTRDIFF_MAX): Likewise.
27889 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27890 [C99-based standards] (SIZE_MAX): Likewise.
27891 [C99-based standards] (WCHAR_MAX): Likewise.
27892 [C99-based standards] (WINT_MAX): Likewise.
27893 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27894 constraint on value.
27895 [C99-based standards] (WCHAR_MIN): Likewise.
27896 [C99-based standards] (WINT_MIN): Likewise.
27897 [C99-based standards] (*_t): Allow.
27898 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27899 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27900 Include math.h-data and complex.h-data. Remove all expectations
27901 of math.h and complex.h contents.
27902 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27904 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27905 (struct tm): Expect tag.
27906 [C99-based-standards] (wcstof): Expect function.
27907 [C99-based-standards] (wcstold): Likewise.
27908 [C99-based-standards] (wcstoll): Likewise.
27909 [C99-based-standards] (wcstoull): Likewise.
27910 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27911 macro-int-constant. Specify type.
27912 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27913 constraint on value.
27914 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27916 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27918 [ISO C standards]: Do not allow headers.
27919 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27920 wcs[abcdefghijklmnopqrstuvwxyz]*.
27921 [ISO C standards] (*_t): Do not allow.
27922 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27924 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27925 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27927 [ISO C standards]: Do not allow headers.
27928 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27929 is[abcdefghijklmnopqrstuvwxyz]*.
27930 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27931 to[abcdefghijklmnopqrstuvwxyz]*.
27932 [ISO C standards] (*_t): Do not allow.
27933 * conform/data/stdalign.h-data: New file.
27934 * conform/data/stdbool.h-data: Likewise.
27935 * conform/data/stdnoreturn.h-data: Likewise.
27937 2012-11-07 Roland McGrath <roland@hack.frob.com>
27940 * manual/filesys.texi (Directory Entries): Typo fix.
27941 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27943 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27945 * elf/elf.h (EM_AARCH64): New macro.
27946 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27947 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27948 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27949 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27950 (R_AARCH64_TLSDESC): Likewise.
27951 (NT_ARM_TLS): Likewise.
27952 (NT_ARM_HW_BREAK): Likewise.
27953 (NT_ARM_HW_WATCH): Likewise.
27955 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27958 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27959 (__ieee754_powl): Saturate nonzero exponents with absolute value
27960 below 0x1p-79 to +/- 0x1p-79.
27961 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27962 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27963 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27964 nonzero exponents with absolute value below 0x1p-32 to +/-
27966 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27967 (__ieee754_powl): Saturate nonzero exponents with absolute value
27968 below 0x1p-79 to +/- 0x1p-79.
27969 * math/libm-test.inc (pow_test): Add more tests.
27971 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27973 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27974 _dl_s390_cap_flags with kernel. Increase string length.
27975 (_dl_s390_platforms): Add z196 and zEC12.
27977 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27979 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27980 Change XOPEN21K to XOPEN2K.
27982 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27984 * string/memmove.c: Use memcpy when possible.
27986 2012-11-06 Andreas Jaeger <aj@suse.de>
27988 * po/eo.po: Update from translation team.
27990 2012-11-06 Joseph Myers <joseph@codesourcery.com>
27993 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27994 exponent and small x and y exponents, scale x or y up. Increase
27995 by 2 the exponent used in scaling up.
27996 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27997 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27998 * math/libm-test.inc (fma_test): Add more tests.
27999 (fma_test_towardzero): Likewise.
28000 (fma_test_downward): Likewise.
28001 (fma_test_upward): Likewise.
28003 2012-11-05 Joseph Myers <joseph@codesourcery.com>
28006 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28010 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28011 namespace for names of struct fields.
28012 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28014 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28015 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28017 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28020 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28022 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28024 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28028 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28031 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28034 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28035 definitely overflow as x * y not x * y + z.
28036 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28037 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28038 * math/libm-test.inc (fma_test): Add more tests.
28039 (fma_test_towardzero): Likewise.
28040 (fma_test_downward): Likewise.
28041 (fma_test_upward): Likewise.
28043 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28047 * include/stub-tag.h: Remove file.
28048 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28050 * manual/maint.texi (Porting): Don't reference it.
28051 * Makerules ($(objpfx)stubs): Likewise.
28052 * dirent/closedir.c: Don't include <stub-tag.h>.
28053 * dirent/dirfd.c: Likewise.
28054 * dirent/fdopendir.c: Likewise.
28055 * dirent/getdents.c: Likewise.
28056 * dirent/getdents64.c: Likewise.
28057 * dirent/opendir.c: Likewise.
28058 * dirent/readdir.c: Likewise.
28059 * dirent/readdir64.c: Likewise.
28060 * dirent/readdir64_r.c: Likewise.
28061 * dirent/readdir_r.c: Likewise.
28062 * dirent/rewinddir.c: Likewise.
28063 * dirent/seekdir.c: Likewise.
28064 * dirent/telldir.c: Likewise.
28065 * gmon/profil.c: Likewise.
28066 * grp/setgroups.c: Likewise.
28067 * inet/if_index.c: Likewise.
28068 * io/access.c: Likewise.
28069 * io/chdir.c: Likewise.
28070 * io/chmod.c: Likewise.
28071 * io/chown.c: Likewise.
28072 * io/close.c: Likewise.
28073 * io/dup.c: Likewise.
28074 * io/dup2.c: Likewise.
28075 * io/dup3.c: Likewise.
28076 * io/euidaccess.c: Likewise.
28077 * io/faccessat.c: Likewise.
28078 * io/fchdir.c: Likewise.
28079 * io/fchmod.c: Likewise.
28080 * io/fchmodat.c: Likewise.
28081 * io/fchown.c: Likewise.
28082 * io/fchownat.c: Likewise.
28083 * io/fcntl.c: Likewise.
28084 * io/flock.c: Likewise.
28085 * io/fstatfs.c: Likewise.
28086 * io/fstatfs64.c: Likewise.
28087 * io/fstatvfs.c: Likewise.
28088 * io/fstatvfs64.c: Likewise.
28089 * io/futimens.c: Likewise.
28090 * io/fxstat.c: Likewise.
28091 * io/fxstat64.c: Likewise.
28092 * io/fxstatat.c: Likewise.
28093 * io/fxstatat64.c: Likewise.
28094 * io/getcwd.c: Likewise.
28095 * io/isatty.c: Likewise.
28096 * io/lchmod.c: Likewise.
28097 * io/lchown.c: Likewise.
28098 * io/link.c: Likewise.
28099 * io/linkat.c: Likewise.
28100 * io/lseek.c: Likewise.
28101 * io/lseek64.c: Likewise.
28102 * io/lxstat64.c: Likewise.
28103 * io/mkdir.c: Likewise.
28104 * io/mkdirat.c: Likewise.
28105 * io/mkfifo.c: Likewise.
28106 * io/mkfifoat.c: Likewise.
28107 * io/open.c: Likewise.
28108 * io/open64.c: Likewise.
28109 * io/openat.c: Likewise.
28110 * io/openat64.c: Likewise.
28111 * io/pipe.c: Likewise.
28112 * io/pipe2.c: Likewise.
28113 * io/poll.c: Likewise.
28114 * io/posix_fadvise.c: Likewise.
28115 * io/posix_fadvise64.c: Likewise.
28116 * io/posix_fallocate.c: Likewise.
28117 * io/posix_fallocate64.c: Likewise.
28118 * io/read.c: Likewise.
28119 * io/readlink.c: Likewise.
28120 * io/readlinkat.c: Likewise.
28121 * io/rmdir.c: Likewise.
28122 * io/sendfile.c: Likewise.
28123 * io/sendfile64.c: Likewise.
28124 * io/statfs.c: Likewise.
28125 * io/statfs64.c: Likewise.
28126 * io/statvfs.c: Likewise.
28127 * io/statvfs64.c: Likewise.
28128 * io/symlink.c: Likewise.
28129 * io/symlinkat.c: Likewise.
28130 * io/ttyname.c: Likewise.
28131 * io/ttyname_r.c: Likewise.
28132 * io/umask.c: Likewise.
28133 * io/unlink.c: Likewise.
28134 * io/unlinkat.c: Likewise.
28135 * io/utime.c: Likewise.
28136 * io/utimensat.c: Likewise.
28137 * io/write.c: Likewise.
28138 * io/xmknod.c: Likewise.
28139 * io/xmknodat.c: Likewise.
28140 * io/xstat.c: Likewise.
28141 * io/xstat64.c: Likewise.
28142 * login/getpt.c: Likewise.
28143 * login/grantpt.c: Likewise.
28144 * login/unlockpt.c: Likewise.
28145 * math/e_acoshl.c: Likewise.
28146 * math/e_acosl.c: Likewise.
28147 * math/e_asinl.c: Likewise.
28148 * math/e_atan2l.c: Likewise.
28149 * math/e_atanhl.c: Likewise.
28150 * math/e_coshl.c: Likewise.
28151 * math/e_expl.c: Likewise.
28152 * math/e_fmodl.c: Likewise.
28153 * math/e_gammal_r.c: Likewise.
28154 * math/e_hypotl.c: Likewise.
28155 * math/e_j0l.c: Likewise.
28156 * math/e_j1l.c: Likewise.
28157 * math/e_jnl.c: Likewise.
28158 * math/e_lgammal_r.c: Likewise.
28159 * math/e_log10l.c: Likewise.
28160 * math/e_log2l.c: Likewise.
28161 * math/e_logl.c: Likewise.
28162 * math/e_powl.c: Likewise.
28163 * math/e_rem_pio2l.c: Likewise.
28164 * math/e_sinhl.c: Likewise.
28165 * math/e_sqrtl.c: Likewise.
28166 * math/fclrexcpt.c: Likewise.
28167 * math/fedisblxcpt.c: Likewise.
28168 * math/feenablxcpt.c: Likewise.
28169 * math/fegetenv.c: Likewise.
28170 * math/fegetexcept.c: Likewise.
28171 * math/fegetround.c: Likewise.
28172 * math/feholdexcpt.c: Likewise.
28173 * math/fesetenv.c: Likewise.
28174 * math/fesetround.c: Likewise.
28175 * math/feupdateenv.c: Likewise.
28176 * math/fgetexcptflg.c: Likewise.
28177 * math/fraiseexcpt.c: Likewise.
28178 * math/fsetexcptflg.c: Likewise.
28179 * math/ftestexcept.c: Likewise.
28180 * math/k_cosl.c: Likewise.
28181 * math/k_rem_pio2l.c: Likewise.
28182 * math/k_sinl.c: Likewise.
28183 * math/k_tanl.c: Likewise.
28184 * math/s_asinhl.c: Likewise.
28185 * math/s_atanl.c: Likewise.
28186 * math/s_cbrtl.c: Likewise.
28187 * math/s_erfl.c: Likewise.
28188 * math/s_expm1l.c: Likewise.
28189 * math/s_log1pl.c: Likewise.
28190 * math/s_tanhl.c: Likewise.
28191 * misc/acct.c: Likewise.
28192 * misc/brk.c: Likewise.
28193 * misc/chflags.c: Likewise.
28194 * misc/chroot.c: Likewise.
28195 * misc/fchflags.c: Likewise.
28196 * misc/fgetxattr.c: Likewise.
28197 * misc/flistxattr.c: Likewise.
28198 * misc/fremovexattr.c: Likewise.
28199 * misc/fsetxattr.c: Likewise.
28200 * misc/fsync.c: Likewise.
28201 * misc/ftruncate.c: Likewise.
28202 * misc/futimes.c: Likewise.
28203 * misc/futimesat.c: Likewise.
28204 * misc/getdomain.c: Likewise.
28205 * misc/getdtsz.c: Likewise.
28206 * misc/gethostid.c: Likewise.
28207 * misc/gethostname.c: Likewise.
28208 * misc/getloadavg.c: Likewise.
28209 * misc/getpagesize.c: Likewise.
28210 * misc/getsysstats.c: Likewise.
28211 * misc/getxattr.c: Likewise.
28212 * misc/gtty.c: Likewise.
28213 * misc/ioctl.c: Likewise.
28214 * misc/lgetxattr.c: Likewise.
28215 * misc/listxattr.c: Likewise.
28216 * misc/llistxattr.c: Likewise.
28217 * misc/lremovexattr.c: Likewise.
28218 * misc/lsetxattr.c: Likewise.
28219 * misc/lutimes.c: Likewise.
28220 * misc/madvise.c: Likewise.
28221 * misc/mincore.c: Likewise.
28222 * misc/mlock.c: Likewise.
28223 * misc/mlockall.c: Likewise.
28224 * misc/mmap.c: Likewise.
28225 * misc/mprotect.c: Likewise.
28226 * misc/msync.c: Likewise.
28227 * misc/munlock.c: Likewise.
28228 * misc/munlockall.c: Likewise.
28229 * misc/munmap.c: Likewise.
28230 * misc/preadv.c: Likewise.
28231 * misc/preadv64.c: Likewise.
28232 * misc/ptrace.c: Likewise.
28233 * misc/pwritev.c: Likewise.
28234 * misc/pwritev64.c: Likewise.
28235 * misc/readv.c: Likewise.
28236 * misc/reboot.c: Likewise.
28237 * misc/remap_file_pages.c: Likewise.
28238 * misc/removexattr.c: Likewise.
28239 * misc/revoke.c: Likewise.
28240 * misc/select.c: Likewise.
28241 * misc/setdomain.c: Likewise.
28242 * misc/setegid.c: Likewise.
28243 * misc/seteuid.c: Likewise.
28244 * misc/sethostid.c: Likewise.
28245 * misc/sethostname.c: Likewise.
28246 * misc/setregid.c: Likewise.
28247 * misc/setreuid.c: Likewise.
28248 * misc/setxattr.c: Likewise.
28249 * misc/sstk.c: Likewise.
28250 * misc/stty.c: Likewise.
28251 * misc/swapoff.c: Likewise.
28252 * misc/swapon.c: Likewise.
28253 * misc/sync.c: Likewise.
28254 * misc/syncfs.c: Likewise.
28255 * misc/syscall.c: Likewise.
28256 * misc/truncate.c: Likewise.
28257 * misc/ualarm.c: Likewise.
28258 * misc/usleep.c: Likewise.
28259 * misc/ustat.c: Likewise.
28260 * misc/utimes.c: Likewise.
28261 * misc/vhangup.c: Likewise.
28262 * misc/writev.c: Likewise.
28263 * posix/_exit.c: Likewise.
28264 * posix/alarm.c: Likewise.
28265 * posix/execve.c: Likewise.
28266 * posix/fexecve.c: Likewise.
28267 * posix/fork.c: Likewise.
28268 * posix/fpathconf.c: Likewise.
28269 * posix/getaddrinfo.c: Likewise.
28270 * posix/getegid.c: Likewise.
28271 * posix/geteuid.c: Likewise.
28272 * posix/getgid.c: Likewise.
28273 * posix/getgroups.c: Likewise.
28274 * posix/getlogin.c: Likewise.
28275 * posix/getlogin_r.c: Likewise.
28276 * posix/getpgid.c: Likewise.
28277 * posix/getpid.c: Likewise.
28278 * posix/getppid.c: Likewise.
28279 * posix/getresgid.c: Likewise.
28280 * posix/getresuid.c: Likewise.
28281 * posix/getsid.c: Likewise.
28282 * posix/getuid.c: Likewise.
28283 * posix/glob64.c: Likewise.
28284 * posix/nanosleep.c: Likewise.
28285 * posix/pathconf.c: Likewise.
28286 * posix/pause.c: Likewise.
28287 * posix/posix_madvise.c: Likewise.
28288 * posix/pread.c: Likewise.
28289 * posix/pread64.c: Likewise.
28290 * posix/pwrite.c: Likewise.
28291 * posix/pwrite64.c: Likewise.
28292 * posix/sched_getaffinity.c: Likewise.
28293 * posix/sched_getp.c: Likewise.
28294 * posix/sched_gets.c: Likewise.
28295 * posix/sched_primax.c: Likewise.
28296 * posix/sched_primin.c: Likewise.
28297 * posix/sched_rr_gi.c: Likewise.
28298 * posix/sched_setaffinity.c: Likewise.
28299 * posix/sched_setp.c: Likewise.
28300 * posix/sched_sets.c: Likewise.
28301 * posix/sched_yield.c: Likewise.
28302 * posix/setgid.c: Likewise.
28303 * posix/setlogin.c: Likewise.
28304 * posix/setpgid.c: Likewise.
28305 * posix/setresgid.c: Likewise.
28306 * posix/setresuid.c: Likewise.
28307 * posix/setsid.c: Likewise.
28308 * posix/setuid.c: Likewise.
28309 * posix/sleep.c: Likewise.
28310 * posix/spawni.c: Likewise.
28311 * posix/sysconf.c: Likewise.
28312 * posix/times.c: Likewise.
28313 * posix/wait.c: Likewise.
28314 * posix/wait3.c: Likewise.
28315 * posix/wait4.c: Likewise.
28316 * posix/waitpid.c: Likewise.
28317 * resolv/gai_sigqueue.c: Likewise.
28318 * resource/getpriority.c: Likewise.
28319 * resource/getrlimit.c: Likewise.
28320 * resource/getrusage.c: Likewise.
28321 * resource/nice.c: Likewise.
28322 * resource/setpriority.c: Likewise.
28323 * resource/setrlimit.c: Likewise.
28324 * resource/ulimit.c: Likewise.
28325 * rt/aio_cancel.c: Likewise.
28326 * rt/aio_fsync.c: Likewise.
28327 * rt/aio_read.c: Likewise.
28328 * rt/aio_sigqueue.c: Likewise.
28329 * rt/aio_suspend.c: Likewise.
28330 * rt/aio_write.c: Likewise.
28331 * rt/clock_getres.c: Likewise.
28332 * rt/clock_gettime.c: Likewise.
28333 * rt/clock_nanosleep.c: Likewise.
28334 * rt/clock_settime.c: Likewise.
28335 * rt/lio_listio.c: Likewise.
28336 * rt/mq_close.c: Likewise.
28337 * rt/mq_getattr.c: Likewise.
28338 * rt/mq_notify.c: Likewise.
28339 * rt/mq_open.c: Likewise.
28340 * rt/mq_receive.c: Likewise.
28341 * rt/mq_send.c: Likewise.
28342 * rt/mq_setattr.c: Likewise.
28343 * rt/mq_timedreceive.c: Likewise.
28344 * rt/mq_timedsend.c: Likewise.
28345 * rt/mq_unlink.c: Likewise.
28346 * rt/shm_open.c: Likewise.
28347 * rt/shm_unlink.c: Likewise.
28348 * rt/timer_create.c: Likewise.
28349 * rt/timer_delete.c: Likewise.
28350 * rt/timer_getoverr.c: Likewise.
28351 * rt/timer_gettime.c: Likewise.
28352 * rt/timer_settime.c: Likewise.
28353 * setjmp/__longjmp.c: Likewise.
28354 * setjmp/setjmp.c: Likewise.
28355 * signal/kill.c: Likewise.
28356 * signal/killpg.c: Likewise.
28357 * signal/raise.c: Likewise.
28358 * signal/sigaction.c: Likewise.
28359 * signal/sigaltstack.c: Likewise.
28360 * signal/sigblock.c: Likewise.
28361 * signal/sigignore.c: Likewise.
28362 * signal/sigintr.c: Likewise.
28363 * signal/signal.c: Likewise.
28364 * signal/sigpause.c: Likewise.
28365 * signal/sigpending.c: Likewise.
28366 * signal/sigqueue.c: Likewise.
28367 * signal/sigreturn.c: Likewise.
28368 * signal/sigset.c: Likewise.
28369 * signal/sigsetmask.c: Likewise.
28370 * signal/sigstack.c: Likewise.
28371 * signal/sigsuspend.c: Likewise.
28372 * signal/sigtimedwait.c: Likewise.
28373 * signal/sigvec.c: Likewise.
28374 * signal/sigwait.c: Likewise.
28375 * signal/sigwaitinfo.c: Likewise.
28376 * signal/sysv_signal.c: Likewise.
28377 * socket/accept.c: Likewise.
28378 * socket/accept4.c: Likewise.
28379 * socket/bind.c: Likewise.
28380 * socket/connect.c: Likewise.
28381 * socket/getpeername.c: Likewise.
28382 * socket/getsockname.c: Likewise.
28383 * socket/getsockopt.c: Likewise.
28384 * socket/isfdtype.c: Likewise.
28385 * socket/listen.c: Likewise.
28386 * socket/recv.c: Likewise.
28387 * socket/recvfrom.c: Likewise.
28388 * socket/recvmsg.c: Likewise.
28389 * socket/send.c: Likewise.
28390 * socket/sendmsg.c: Likewise.
28391 * socket/sendto.c: Likewise.
28392 * socket/setsockopt.c: Likewise.
28393 * socket/shutdown.c: Likewise.
28394 * socket/sockatmark.c: Likewise.
28395 * socket/socket.c: Likewise.
28396 * socket/socketpair.c: Likewise.
28397 * stdio-common/ctermid.c: Likewise.
28398 * stdio-common/cuserid.c: Likewise.
28399 * stdio-common/remove.c: Likewise.
28400 * stdio-common/rename.c: Likewise.
28401 * stdio-common/renameat.c: Likewise.
28402 * stdio-common/tempname.c: Likewise.
28403 * stdlib/getcontext.c: Likewise.
28404 * stdlib/makecontext.c: Likewise.
28405 * stdlib/setcontext.c: Likewise.
28406 * stdlib/swapcontext.c: Likewise.
28407 * stdlib/system.c: Likewise.
28408 * streams/fattach.c: Likewise.
28409 * streams/fdetach.c: Likewise.
28410 * streams/getmsg.c: Likewise.
28411 * streams/getpmsg.c: Likewise.
28412 * streams/putmsg.c: Likewise.
28413 * streams/putpmsg.c: Likewise.
28414 * sysdeps/unix/bsd/getpt.c: Likewise.
28415 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28416 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28417 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28420 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28421 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28422 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28423 * sysvipc/msgctl.c: Likewise.
28424 * sysvipc/msgget.c: Likewise.
28425 * sysvipc/msgrcv.c: Likewise.
28426 * sysvipc/msgsnd.c: Likewise.
28427 * sysvipc/semctl.c: Likewise.
28428 * sysvipc/semget.c: Likewise.
28429 * sysvipc/semop.c: Likewise.
28430 * sysvipc/semtimedop.c: Likewise.
28431 * sysvipc/shmat.c: Likewise.
28432 * sysvipc/shmctl.c: Likewise.
28433 * sysvipc/shmdt.c: Likewise.
28434 * sysvipc/shmget.c: Likewise.
28435 * termios/tcdrain.c: Likewise.
28436 * termios/tcflow.c: Likewise.
28437 * termios/tcflush.c: Likewise.
28438 * termios/tcgetattr.c: Likewise.
28439 * termios/tcgetpgrp.c: Likewise.
28440 * termios/tcsendbrk.c: Likewise.
28441 * termios/tcsetattr.c: Likewise.
28442 * termios/tcsetpgrp.c: Likewise.
28443 * time/adjtime.c: Likewise.
28444 * time/clock.c: Likewise.
28445 * time/getitimer.c: Likewise.
28446 * time/gettimeofday.c: Likewise.
28447 * time/setitimer.c: Likewise.
28448 * time/settimeofday.c: Likewise.
28449 * time/stime.c: Likewise.
28450 * time/time.c: Likewise.
28452 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
28454 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28457 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28459 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28461 2012-11-03 Joseph Myers <joseph@codesourcery.com>
28464 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28465 FE_TONEAREST before applying Dekker multiplication and Knuth
28466 addition. Clear inexact exceptions and check for exact zero
28467 results afterwards.
28468 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28469 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28470 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28471 * math/libm-test.inc (fma_test): Add more tests.
28472 (fma_test_towardzero): Likewise.
28473 (fma_test_downward): Likewise.
28474 (fma_test_upward): Likewise.
28475 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28477 (libc_fesetround): New macro.
28478 (libc_fesetroundf): Likewise.
28479 (libc_fesetroundl): Likewise.
28480 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28482 (libc_fesetround_387): Likewise.
28483 (libc_fesetroundf): New macro.
28484 (libc_fesetround): Likewise.
28485 (libc_fesetroundl): Likewise.
28486 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28488 (libc_fesetroundf): New macro.
28489 (libc_fesetround): Likewise.
28490 (libc_fesetroundl): Likewise.
28491 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28492 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28493 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28495 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28496 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28498 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28499 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28501 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28505 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28506 integer constant usable in #if and use that to give value to enum
28508 (FE_DIVBYZERO): Likewise.
28509 (FE_UNDERFLOW): Likewise.
28510 (FE_OVERFLOW): Likewise.
28511 (FE_INVALID): Likewise.
28512 (FE_INVALID_SNAN): Likewise.
28513 (FE_INVALID_ISI): Likewise.
28514 (FE_INVALID_IDI): Likewise.
28515 (FE_INVALID_ZDZ): Likewise.
28516 (FE_INVALID_IMZ): Likewise.
28517 (FE_INVALID_COMPARE): Likewise.
28518 (FE_INVALID_SOFTWARE): Likewise.
28519 (FE_INVALID_SQRT): Likewise.
28520 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28521 (FE_TONEAREST): Likewise.
28522 (FE_TOWARDZERO): Likewise.
28523 (FE_UPWARD): Likewise.
28524 (FE_DOWNWARD): Likewise.
28525 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28526 (FE_DIVBYZERO): Likewise.
28527 (FE_OVERFLOW): Likewise.
28528 (FE_UNDERFLOW): Likewise.
28529 (FE_INEXACT): Likewise.
28530 (FE_TONEAREST): Likewise.
28531 (FE_DOWNWARD): Likewise.
28532 (FE_UPWARD): Likewise.
28533 (FE_TOWARDZERO): Likewise.
28534 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28535 (FE_UNDERFLOW): Likewise.
28536 (FE_OVERFLOW): Likewise.
28537 (FE_DIVBYZERO): Likewise.
28538 (FE_INVALID): Likewise.
28539 (FE_TONEAREST): Likewise.
28540 (FE_TOWARDZERO): Likewise.
28541 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28542 (FE_OVERFLOW): Likewise.
28543 (FE_UNDERFLOW): Likewise.
28544 (FE_DIVBYZERO): Likewise.
28545 (FE_INEXACT): Likewise.
28546 (FE_TONEAREST): Likewise.
28547 (FE_TOWARDZERO): Likewise.
28548 (FE_UPWARD): Likewise.
28549 (FE_DOWNWARD): Likewise.
28550 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28551 (FE_DIVBYZERO): Likewise.
28552 (FE_OVERFLOW): Likewise.
28553 (FE_UNDERFLOW): Likewise.
28554 (FE_INEXACT): Likewise.
28555 (FE_TONEAREST): Likewise.
28556 (FE_DOWNWARD): Likewise.
28557 (FE_UPWARD): Likewise.
28558 (FE_TOWARDZERO): Likewise.
28560 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28562 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28564 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28566 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28567 commands. Quote $PWD.
28568 (blacklist_exports): Don't use remove_newlines. Replace "declare
28570 (remove_newlines): Remove.
28572 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28574 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28575 * stdlib/stdlib.h (atof): Moved to ...
28576 * include/bits/stdlib-float.h: Here. New file.
28577 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28578 * stdlib/bits/stdlib-float.h: New file.
28579 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28581 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28584 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28586 * conform/conformtest.pl (@headers): Add fenv.h.
28587 * conform/data/fenv.h-data: New file.
28588 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28589 include of <math/fenv.h>.
28591 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28592 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28593 && !UNIX98]. Enables tests for XOPEN2K8.
28594 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28595 POSIX2008]: Likewise.
28597 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28598 (struct rusage): Do not expect type or its members.
28601 * math/math.h (FP_NAN): Define macro to integer constant usable in
28602 #if and use that to give value to enum constant.
28603 (FP_INFINITE): Likewise.
28604 (FP_ZERO): Likewise.
28605 (FP_SUBNORMAL): Likewise.
28606 (FP_NORMAL): Likewise.
28608 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28610 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28611 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28614 2012-11-02 Roland McGrath <roland@hack.frob.com>
28616 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28617 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28618 autoconf-time if not.
28619 * configure.in: Remove AC_PREREQ.
28621 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28623 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28624 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28625 of the internal implementation.
28627 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28629 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28630 except include of <misc/sys/syslog.h>.
28632 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28635 function returns with a NULL context exit with zero.
28637 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28639 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28641 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28643 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28644 (run_program_cmd): This.
28645 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28646 (tst_langinfo): New variable. Use it.
28648 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28650 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28651 floating point opcodes.
28653 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28655 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28658 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28660 * sysdeps/mach/hurd/powerpc: Remove directory.
28661 * sysdeps/mach/powerpc: Likewise.
28663 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28665 * scripts/check-local-headers.sh: Ignore c++ headers.
28667 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28669 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28670 __libc_cleanup_region_start argument.
28672 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28676 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28677 x * y using scaling, not as x * y + z.
28678 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28679 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28680 * math/libm-test.inc (fma_test): Add more tests.
28681 (fma_test_towardzero): Likewise.
28682 (fma_test_downward): Likewise.
28683 (fma_test_upward): Likewise.
28685 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28687 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28689 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28691 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28694 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28696 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28698 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28705 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28708 Fix the order of the list for glibc 2.17.
28709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28712 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28716 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28719 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28720 for low part of x being zero before using __atanl (y).
28721 * math/libm-test.inc (atan2_test): Add another test.
28723 * manual/install.texi (Configuring and compiling): Document
28724 general use of test-wrapper and test-wrapper-env.
28725 * INSTALL: Regenerated.
28727 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28728 (__fma): Do not extract and scale down low bits on after-rounding
28729 systems when result rounded to normal precision would have normal
28731 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28732 (__fmal): Do not extract and scale down low bits on after-rounding
28733 systems when result rounded to normal precision would have normal
28735 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28736 (__fmal): Do not extract and scale down low bits on after-rounding
28737 systems when result rounded to normal precision would have normal
28739 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28741 (fma_test): Add more tests.
28742 (fma_test_towardzero): Likewise.
28743 (fma_test_downward): Likewise.
28744 (fma_test_upward): Likewise.
28746 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28748 * sysdeps/i386/tininess.h: Renamed to ...
28749 * sysdeps/x86/tininess.h: This.
28750 * sysdeps/x86_64/tininess.h: Removed.
28752 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28754 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28755 input. Use $(build-program-cmd).
28756 ($(objpfx)tst-array1-static.out): Likewise.
28757 ($(objpfx)tst-array2.out): Likewise.
28758 ($(objpfx)tst-array3.out): Likewise.
28759 ($(objpfx)tst-array4.out): Likewise.
28760 ($(objpfx)tst-array5.out): Likewise.
28761 ($(objpfx)tst-array5-static.out): Likewise.
28763 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28765 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28768 * nss/nsswitch.h (nss_interface_function): Provide new
28769 macro for use with NSS functions.
28770 * grp/initgroups.c: Use new macro.
28771 * nss/getXXbyYY.c: Likewise.
28772 * nss/getXXbyYY_r.c: Likewise.
28773 * nss/getXXent.c: Likewise.
28774 * nss/getXXent_r.c: Likewise.
28775 * sysdeps/posix/getaddrinfo.c: Likewise.
28777 2012-10-30 Andreas Jaeger <aj@suse.de>
28779 * po/ru.po: Update Russion translation from translation project.
28781 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28785 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28786 result and shift together with sticky bit instead of replicating
28787 round-to-nearest rounding.
28788 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28789 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28790 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28791 missing underflow exceptions.
28792 (fma_test_towardzero): Add more tests.
28793 (fma_test_downward): Likewise.
28794 (fma_test_upward): Likewise.
28797 * sysdeps/generic/tininess.h: New file.
28798 * sysdeps/i386/tininess.h: Likewise.
28799 * sysdeps/sh/tininess.h: Likewise.
28800 * sysdeps/x86_64/tininess.h: Likewise.
28801 * stdlib/tst-strtod-underflow.c: Likewise.
28802 * stdlib/tst-tininess.c: Likewise.
28803 * stdlib/strtod_l.c: Include <tininess.h>.
28804 (round_and_return): Do not set errno for exact underflow cases.
28805 Force an underflow exception when setting errno for underflow.
28806 Determine underflow based on rounding to normal precision if
28807 TININESS_AFTER_ROUNDING.
28808 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28809 ERANGE for exact underflow cases.
28810 * stdlib/Makefile (tests): Add tst-tininess and
28811 tst-strtod-underflow.
28812 ($(objpfx)tst-tininess): Use $(link-libm).
28813 ($(objpfx)tst-strtod-underflow): Likewise.
28815 2012-10-30 Andreas Jaeger <aj@suse.de>
28818 * elf/Makefile (tests): Remove conditional for have-initfini-array
28819 since this is now always required and the variable does not exist
28821 (tests-static): Likewise.
28822 (modules-names): Likewise.
28824 * po/eo.po: Add Esperanto translation from translation project.
28826 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28827 merged with constructor/destructor.
28828 (init_array): Likewise.
28829 * elf/tst-array2dep.c (fini_array): Likewise.
28830 (init_array): Likewise.
28832 2012-10-29 Mike Frysinger <vapier@gentoo.org>
28834 * manual/message.texi: Delete @cartouche tags.
28836 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28838 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28840 * sysdeps/mach/hurd/fsync.c: Likewise.
28842 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28843 [_POSIX_REALTIME_SIGNALS]: Change condition to
28844 [_POSIX_REALTIME_SIGNALS > 0].
28846 2012-10-27 Andreas Jaeger <aj@suse.de>
28848 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28849 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28850 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28851 [__WORDSIZE != 64]: Likewise.
28853 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28855 * iconvdata/tst-table.sh: Remove ${SHELL}.
28856 * iconvdata/tst-tables.sh: Likewise.
28858 2012-10-25 David S. Miller <davem@davemloft.net>
28860 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28861 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28864 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28866 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28867 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28868 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28871 2012-10-25 Roland McGrath <roland@hack.frob.com>
28873 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28874 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28877 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28878 Jim Blandy <jimb@codesourcery.com>
28880 * scripts/cross-test-ssh.sh: New file.
28881 * manual/install.texi (Configuring and compiling): Document use of
28883 * INSTALL: Regenerated.
28885 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28887 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28890 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28892 * Makeconfig (run-program-prefix): Fix comment.
28894 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28895 Jim Blandy <jimb@codesourcery.com>
28897 * Makeconfig (test-wrapper): New variable,
28898 (test-wrapper-env): Likewise.
28899 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28900 (run-built-tests): Define to yes.
28901 (run-program-prefix): Use $(test-wrapper).
28902 (built-program-cmd): Likewise.
28903 * Rules (make-test-out): Use $(test-wrapper-env) and
28904 $(host-built-program-cmd).
28905 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28906 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28908 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28909 $(test-wrapper-env) to tst-rtld-load-self.sh.
28910 ($(objpfx)order2.out): Use $(test-wrapper).
28911 ($(objpfx)tst-initorder.out): Likewise.
28912 ($(objpfx)tst-initorder2.out): Likewise.
28913 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28914 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28915 (test_wrapper_env): New variable. Use it to run ld.so.
28916 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28917 Use it to run ld.so.
28918 (test_wrapper_env): Likewise.
28919 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28920 $(test-wrapper) to run-iconv-test.sh.
28921 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28922 (ICONV): Use $test_wrapper.
28923 * posix/Makefile ($(objpfx)globtest.out): Pass
28924 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28925 globtest.sh, not $(run-program-prefix).
28926 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28927 (test_wrapper): Likewise.
28928 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28929 set together with run_via_rtld_prefix.
28930 (run_program_prefix): Define in terms of test_wrapper and
28931 run_via_rtld_prefix.
28933 2012-10-24 Roland McGrath <roland@hack.frob.com>
28935 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28936 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28940 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28941 Declare __clock_getres, __clock_gettime, __clock_settime,
28942 __clock_nanosleep, and __clock_getcpuclockid.
28943 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28944 Remove librt_hidden_def (clock_gettime).
28945 * sysdeps/unix/clock_gettime.c: Likewise.
28946 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28947 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28948 * rt/clock_getres.c: Define __clock_getres as an alias.
28949 * sysdeps/posix/clock_getres.c: Likewise.
28950 * rt/clock_settime.c: Define __clock_settime as an alias.
28951 * sysdeps/unix/clock_settime.c: Likewise.
28952 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28953 * sysdeps/unix/clock_nanosleep.c: Likewise.
28954 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28955 * rt/clock-compat.c: New file.
28956 * rt/Makefile (librt-routines): Add clock-compat and move
28957 $(clock-routines) to ...
28958 (routines): ... here, new variable.
28959 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28960 Don't add get_clockfreq here.
28961 * rt/Versions (libc: GLIBC_2.17): New version set.
28962 Add clock_* symbols here.
28963 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28964 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28965 (GLIBC_2.17): Add clock_* symbols.
28966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28968 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28977 * NEWS: Mention the move.
28979 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28980 Use __open, __read, __close rather than their public counterparts.
28981 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28982 (__get_clockfreq_via_cpuinfo): Likewise.
28983 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28984 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28986 * config.h.in (HAVE_IFUNC): New #undef.
28987 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28989 * configure: Regenerated.
28991 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28993 * configure.in: Move READELF check to start of file.
28994 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28995 libc_cv_asm_gnu_indirect_function in the process.
28996 * configure: Regenerated.
28998 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29000 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29001 send the output to /dev/null.
29002 (libc_cv_cc_with_libunwind): Likewise.
29003 (libc_cv_as_noexecstack): Likewise.
29004 * configure: Regenerate.
29006 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29008 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29010 * posix/globtest.sh (TMPDIR): Do not set.
29011 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29012 (testout): Likewise.
29014 2012-10-24 Andreas Jaeger <aj@suse.de>
29016 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29017 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29018 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29019 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29020 posix_fadvise64, posix_fallocate64.
29022 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29023 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29024 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29026 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29028 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29030 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29031 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29032 <bits/fcntl-linux.h>.
29033 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29035 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29036 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29037 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29038 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29039 [__WORDSIZE != 64]: Likewise.
29041 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29043 * Makeconfig (run-built-tests): New variable.
29044 * Rules [$(cross-compiling) = yes]: Change condition to
29045 [$(run-built-tests) = no].
29046 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29047 to [$(run-built-tests) = yes].
29048 * elf/Makefile [$(cross-compiling) = no]: Likewise
29049 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29050 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29051 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29052 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29053 * io/Makefile [$(cross-compiling) = no]: Likewise.
29054 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29055 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29056 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29057 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29058 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29059 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29060 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29061 * string/Makefile [$(cross-compiling) = no]: Likewise.
29063 * posix/Makefile ($(objpfx)globtest.out): Pass
29064 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29065 $(rtld-installed-name).
29066 * posix/globtest.sh (elf_objpfx): Remove variable.
29067 (rtld_installed_name): Likewise.
29068 (library_path): Likewise.
29069 (run_program_prefix): New variable. Use for running globtest
29072 2012-10-23 Jim Blandy <jimb@codesourcery.com>
29073 Joseph Myers <joseph@codesourcery.com>
29075 * Makeconfig (host-built-program-cmd): New variable.
29076 * elf/Makefile (tst-stackguard1-ARGS): Use
29077 $(host-built-program-cmd).
29078 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29079 (tst-spawn-ARGS): Likewise.
29080 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29082 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29083 Jim Blandy <jimb@codesourcery.com>
29085 * Makeconfig (run-via-rtld-prefix): New variable.
29086 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29087 (built-program-cmd): Likewise.
29089 2012-10-22 Andreas Jaeger <aj@suse.de>
29091 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29092 __O_RSYNC if it exists, otherwise to O_SYNC.
29094 2012-10-22 Jim Blandy <jimb@codesourcery.com>
29095 Joseph Myers <joseph@codesourcery.com>
29097 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29099 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29101 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29104 2012-10-22 Andreas Jaeger <aj@suse.de>
29106 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29108 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29110 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29111 bits/fcntl-linux.h.
29113 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29114 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29116 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29118 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29121 2012-10-21 Jim Blandy <jimb@codesourcery.com>
29122 Joseph Myers <joseph@codesourcery.com>
29124 * config.make.in (NM): New variable.
29126 2012-10-21 Andreas Jaeger <aj@suse.de>
29128 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29129 definitions and declarations that are provided by
29130 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29132 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29135 * elf/Makefile (tests-static): Add tst-leaks1-static.
29136 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29137 ($(objpfx)tst-leaks1-static): New rule.
29138 ($(objpfx)tst-leaks1-static-mem): Likewise.
29139 (tst-leaks1-static-ENV): New macro.
29140 * elf/dl-open.c (dl_open_worker): Check the main application
29141 only if SHARED is defined.
29142 * elf/tst-leaks1-static.c: New file.
29144 2012-10-20 Andreas Jaeger <aj@suse.de>
29146 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29147 generic values for Linux.
29148 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29149 and declarations that are provided by <bits/fcntl-linux.h> and
29150 include <bits/fcntl-linux.h>.
29151 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29152 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29154 2012-10-20 Roland McGrath <roland@hack.frob.com>
29156 * io/fcntl.h: Move include of <bits/types.h> to the top and
29157 include it unconditionally.
29159 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29161 * wcsmbs/Makefile (tests-ifunc): New variable.
29162 (tests): Add $(tests-ifunc).
29163 * wcsmbs/test-wcschr-ifunc.c: New file.
29164 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29165 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29166 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29167 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29168 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29170 * string/Makefile (tests-ifunc): New variable.
29171 (tests): Add $(tests-ifunc).
29172 * string/test-memccpy.c (TEST_NAME): New macro.
29173 * string/test-memchr.c (TEST_NAME): Likewise.
29174 * string/test-memcmp.c (TEST_NAME): Likewise.
29175 * string/test-memcpy.c (TEST_NAME): Likewise.
29176 * string/test-memmem.c (TEST_NAME): Likewise.
29177 * string/test-memmove.c (TEST_NAME): Likewise.
29178 * string/test-memset.c (TEST_NAME): Likewise.
29179 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29180 * string/test-stpcpy.c (TEST_NAME): Likewise.
29181 * string/test-stpncpy.c (TEST_NAME): Likewise.
29182 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29183 * string/test-strcasestr.c (TEST_NAME): Likewise.
29184 * string/test-strcat.c (TEST_NAME): Likewise.
29185 * string/test-strchr.c (TEST_NAME): Likewise.
29186 * string/test-strcmp.c(TEST_NAME): Likewise.
29187 * string/test-strcpy.c (TEST_NAME): Likewise.
29188 * string/test-strcspn.c (TEST_NAME): Likewise.
29189 * string/test-strlen.c (TEST_NAME): Likewise.
29190 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29191 * string/test-strncmp.c (TEST_NAME): Likewise.
29192 * string/test-strncpy.c (TEST_NAME): Likewise.
29193 * string/test-strnlen.c (TEST_NAME): Likewise.
29194 * string/test-strpbrk.c (TEST_NAME): Likewise.
29195 * string/test-strrchr.c (TEST_NAME): Likewise.
29196 * string/test-strspn.c (TEST_NAME): Likewise.
29197 * string/test-strstr.c (TEST_NAME): Likewise.
29198 * string/test-bcopy-ifunc.c: New file.
29199 * string/test-bzero-ifunc.c: Likewise.
29200 * string/test-memccpy-ifunc.c: Likewise.
29201 * string/test-memchr-ifunc.c: Likewise.
29202 * string/test-memcmp-ifunc.c: Likewise.
29203 * string/test-memcpy-ifunc.c: Likewise.
29204 * string/test-memmem-ifunc.c: Likewise.
29205 * string/test-memmove-ifunc.c: Likewise.
29206 * string/test-mempcpy-ifunc.c: Likewise.
29207 * string/test-memset-ifunc.c: Likewise.
29208 * string/test-rawmemchr-ifunc.c: Likewise.
29209 * string/test-stpcpy-ifunc.c: Likewise.
29210 * string/test-stpncpy-ifunc.c: Likewise.
29211 * string/test-strcasecmp-ifunc.c: Likewise.
29212 * string/test-strcasestr-ifunc.c: Likewise.
29213 * string/test-strcat-ifunc.c: Likewise.
29214 * string/test-strchr-ifunc.c: Likewise.
29215 * string/test-strchrnul-ifunc.c: Likewise.
29216 * string/test-strcmp-ifunc.c: Likewise.
29217 * string/test-strcpy-ifunc.c: Likewise.
29218 * string/test-strcspn-ifunc.c: Likewise.
29219 * string/test-strlen-ifunc.c: Likewise.
29220 * string/test-strncasecmp-ifunc.c: Likewise.
29221 * string/test-strncat-ifunc.c: Likewise.
29222 * string/test-strncmp-ifunc.c: Likewise.
29223 * string/test-strncpy-ifunc.c: Likewise.
29224 * string/test-strnlen-ifunc.c: Likewise.
29225 * string/test-strpbrk-ifunc.c: Likewise.
29226 * string/test-strrchr-ifunc.c: Likewise.
29227 * string/test-strspn-ifunc.c: Likewise.
29228 * string/test-strstr-ifunc.c: Likewise.
29230 * debug/Makefile (tests-ifunc): New variable.
29231 (tests): Add $(tests-ifunc).
29232 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29233 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29234 * debug/test-stpcpy_chk-ifunc.c: New file.
29235 * debug/test-strcpy_chk-ifunc.c: Likewise.
29237 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29240 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29241 header is not read in.
29243 2012-10-19 Joseph Myers <joseph@codesourcery.com>
29245 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29246 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29247 directly. Pass built executable to script as
29248 $(built-program-cmd).
29249 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29250 $testprogram without using LD_LIBRARY_PATH and $ldso.
29252 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29253 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29254 $(rtld-installed-name).
29255 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29256 (rtld_installed_name): Likewise.
29257 (library_path): Likewise.
29258 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29259 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29260 $(run-program-prefix) to tst-tables.sh.
29261 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29262 it to run tst-table-from and tst-table-to.
29263 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29264 Pass it to tst-table.sh.
29265 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29266 $(run-program-prefix) to tst-gettext.sh.
29267 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29269 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29271 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29272 to run tst-gettext.
29273 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29274 to run tst-gettext2.
29275 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29276 to run tst-translit.
29277 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29278 $(run-program-prefix) to tst-mtrace.sh.
29279 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29281 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29282 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29283 $(rtld-installed-name).
29284 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29285 (rtld_installed_name): Likewise.
29286 (run_program_prefix): New variable. Use it to run wordexp-test.
29288 * Makeconfig (ARCH): Remove all definitions.
29289 (machine): Likewise.
29290 [ARCH]: Remove conditional code.
29291 [!objdir]: Give error.
29292 [!objdir] (objpfx): Remove.
29293 [!objdir] (common-objpfx): Likewise.
29294 [!objdir] (common-objdir): Likewise.
29295 * configure.in (config_makefile): Remove. Hardcode Makefile in
29296 AC_CONFIG_FILES call.
29297 * configure: Regenerated.
29300 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29302 (testout): Likewise.
29304 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29305 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29306 $(rtld-installed-name).
29307 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29308 (rtld_installed_name): Likwise.
29309 (runit): Remove function.
29310 (run_getconf): New variable, Use it for running getconf binary.
29312 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29315 * string/test-memmem.c (check_result): New function.
29316 (do_one_test): Use it.
29317 (check1): New function.
29318 (test_main): Use it.
29320 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29322 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29324 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29326 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29327 (_G_LSEEK64): Likewise.
29328 (_G_MMAP64): Likewise.
29329 (_G_FSTAT64): Likewise.
29330 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29331 (_G_LSEEK64): Likewise.
29332 (_G_MMAP64): Likewise.
29333 (_G_FSTAT64): Likewise.
29334 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29335 unconditional. Call __mmap64 directly.
29336 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29337 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29338 __lseek64 directly.
29339 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29340 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29342 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29343 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29344 __lseek64 directly.
29345 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29346 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29347 __lseek64 directly.
29348 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29349 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29350 __lseek64 directly.
29351 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29352 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29353 __fxstat64 directly.
29354 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29355 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29357 (freopen64) [!_G_OPEN64]: Remove conditional code.
29358 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29360 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29361 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29363 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29364 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29366 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29367 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29369 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29370 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29372 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29373 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29375 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29376 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29378 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29380 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29383 * manual/memory.texi (Malloc Tunable Parameters): Add note
29384 about free list pointers overwriting some perturb bytes.
29385 Wording suggested by Roland McGrath.
29387 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29389 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29390 (lgamma_test): Likewise.
29391 (tgamma_test): Likewise.
29393 2012-10-16 Florian Weimer <fweimer@redhat.com>
29396 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29397 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29399 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29401 * NEWS: Mention BZ #14716.
29402 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29403 when removing AVAILABLE1_USES_J macro.
29405 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29407 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29408 (__bswap_64): __uint64_t for unsigned 64-bit int.
29410 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29412 * include/string.h (memmem): Declare libc hidden alias.
29413 * string/memmem.c (memmem): Define libc hidden alias.
29414 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29415 __read, __close instead of open, read, close.
29417 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29419 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29420 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29422 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29423 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29424 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29426 (__rawmemchr_sse2): Likewise.
29427 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29428 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29429 (__strchr_sse2): Likewise.
29430 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29431 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29432 (__strcasecmp_sse2): Likewise.
29433 (__strncasecmp_sse2): Likewise.
29434 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29435 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29436 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29437 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29438 (__strrchr_sse2): Likewise.
29439 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29441 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29442 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29443 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29444 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29445 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29446 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29447 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29448 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29449 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29450 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29451 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29452 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29453 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29454 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29455 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29456 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29457 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29458 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29459 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29460 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29461 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29462 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29463 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29464 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29465 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29466 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29467 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29468 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29469 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29470 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29472 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29474 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29475 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29476 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29477 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29479 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29481 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29482 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29483 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29484 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29486 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29487 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29488 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29489 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29490 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29491 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29492 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29493 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29494 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29495 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29496 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29497 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29498 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29499 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29500 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29501 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29502 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29503 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29504 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29505 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29506 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29507 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29508 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29509 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29510 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29511 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29512 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29513 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29514 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29515 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29516 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29517 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29518 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29519 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29520 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29521 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29522 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29523 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29524 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29525 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29526 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29528 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29529 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29530 * include/ifunc-impl-list.h: New file.
29531 * misc/ifunc-impl-list.c: Likewise.
29532 * misc/Makefile (routines): Add ifunc-impl-list.
29533 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29534 * string/test-string.h: Include <ifunc-impl-list.h>.
29535 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29536 TEST_NAME]: New variables.
29537 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29539 (test_init): Call __libc_ifunc_impl_list to initialize
29540 func_list if TEST_IFUNC and TEST_NAME are defined.
29542 * string/Makefile (strop-tests): Add bcopy and bzero.
29543 * string/test-bcopy.c: New file.
29544 * string/test-bzero.c: Likewise.
29545 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29547 * string/test-memset.c: Support bzero test if TEST_BZERO is
29549 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29551 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29553 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29556 2012-10-10 Joseph Myers <joseph@codesourcery.com>
29558 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29559 * configure: Regenerated.
29561 * Makeconfig (+link-static-before-libc): Don't include
29562 $(link-static-libc).
29564 * libio/libio.h (_IO_pos_t): Remove.
29566 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29568 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29571 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29573 * crypt/crypt-entry.c: Include fips-private.h.
29574 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29575 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29576 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29577 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29579 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29581 * crypt/crypt-private.h: Include stdbool.h.
29582 (_ufc_setup_salt_r): Return bool.
29583 * crypt/crypt-entry.c: Include errno.h.
29584 (__crypt_r): Return NULL with EINVAL for bad salt.
29585 * crypt/crypt_util.c (bad_for_salt): New.
29586 (_ufc_setup_salt_r): Check that salt is long enough and within
29587 the specified alphabet.
29588 * crypt/badsalttest.c: New file.
29589 * crypt/Makefile (tests): Add it.
29590 ($(objpfx)badsalttest): New.
29592 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29594 * NEWS: Add entry for BZ #14602.
29596 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29598 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29600 * math/libm-test.inc: Update comment listing what functions and
29602 (isgreater_test): New function.
29603 (isgreaterequal_test): Likewise.
29604 (isless_test): Likewise.
29605 (islessequal_test): Likewise.
29606 (islessgreater_test): Likewise.
29607 (isunordered_test): Likewise.
29608 (main): Call the new functions.
29610 2012-10-09 Roland McGrath <roland@hack.frob.com>
29612 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29613 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29614 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29615 * sysdeps/i386/configure: Regenerated.
29616 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29617 * sysdeps/mach/configure: Regenerated.
29618 * sysdeps/mach/hurd/configure: Regenerated.
29619 * sysdeps/powerpc/configure: Regenerated.
29620 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29621 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29622 * sysdeps/s390/s390-32/configure: Regenerated.
29623 * sysdeps/s390/s390-64/configure: Regenerated.
29624 * sysdeps/sh/configure: Regenerated.
29625 * sysdeps/sparc/configure: Regenerated.
29626 * sysdeps/unix/sysv/linux/configure: Regenerated.
29627 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29628 * sysdeps/x86_64/configure: Regenerated.
29630 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29631 defined. Don't check if MAP is NULL.
29633 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29635 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29636 (_G_stat64): Likewise.
29637 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29638 (_G_stat64): Likewise.
29639 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29640 instead of struct _G_stat64.
29641 * libio/fileops.c (mmap_remap_check): Likewise.
29642 (decide_maybe_mmap): Likewise.
29643 (_IO_new_file_seekoff): Likewise.
29644 (_IO_file_stat): Likewise.
29645 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29647 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29648 instead of struct _G_stat64.
29649 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29651 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29654 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29656 (CHECK_EOL): New macro.
29657 (two_way_short_needle): Check beginning of haystack for EOL. Use
29659 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29660 Replace with CHECK_EOL.
29661 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29662 Replace with CHECK_EOL.
29664 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29666 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29668 * math/libm-test.inc: Update comment listing what functions and
29670 (finite_test): New function.
29671 (isinf_test): Likewise.
29672 (isnan_test): Likewise.
29673 (fpclassify_test): Test subnormal input.
29674 (isfinite_test): Likewise.
29675 (isnormal_test): Likewise.
29676 (main): Call the new functions.
29678 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29681 * Makerules (%.dynsym): Force C locale when running
29682 $(OBJDUMP) --dynamic-syms.
29684 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29686 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29689 2012-10-06 David S. Miller <davem@davemloft.net>
29691 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29692 upper 32-bits of the length value in %o2 since we use branch-on-register
29693 tests which consider the entire 64-bit register.
29695 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29697 * string/test-strstr.c (check2): Add a test for page boundary.
29699 2012-10-05 David S. Miller <davem@davemloft.net>
29701 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29702 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29704 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29706 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29707 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29708 and bzero when HWCAP_SPARC_CRYPTO is present.
29710 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29713 * string/test-strstr.c (check2): New function.
29714 (test_main): Call check2.
29716 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29718 * string/bug-strcasestr1.c (do_test): Moved to ...
29719 * string/test-strcasestr.c (check1): Here. New function.
29720 (do_one_test): Break out result checking code into ...
29721 (check_result): This. New function.
29722 (do_one_test): Call check_result.
29723 (test_main): Call check1.
29724 * string/bug-strchr1.c (do_test): Moved to ...
29725 * string/test-strchr.c (check1): Here. New function.
29726 (do_one_test): Break out result checking code into ...
29727 (check_result): This. New function.
29728 (do_one_test): Call check_result.
29729 (test_main): Call check1.
29730 * string/bug-strstr1.c (main): Moved to ...
29731 * string/test-strstr.c (check1): Here. New function.
29732 (do_one_test): Break out result checking code into ...
29733 (check_result): This. New function.
29734 (do_one_test): Call check_result.
29735 (test_main): Call check1.
29736 * string/bug-strcasestr1.c: Removed.
29737 * string/bug-strchr1.c: Likewise.
29738 * string/bug-strstr1.c: Likewise.
29740 * elf/Makefile (dl-routines): Add hwcaps.
29741 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29742 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29743 (_dl_important_hwcaps): Moved to ...
29744 * elf/dl-hwcaps.c: Here. New file.
29745 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29748 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29749 if IS_IN_rtld isn't defined.
29751 * elf/dl-support.c (_dl_sysinfo_map): New.
29752 Include "get-dynamic-info.h" and "setup-vdso.h".
29753 (_dl_non_dynamic_init): Call setup_vdso.
29754 * elf/dynamic-link.h: Don't include <assert.h>.
29755 (elf_get_dynamic_info): Moved to ...
29756 * elf/get-dynamic-info.h: Here. New file.
29757 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29758 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29759 * elf/setup-vdso.h: Here. New file.
29760 * elf/rtld.c: Include "setup-vdso.h".
29761 (dl_main): Call setup_vdso.
29763 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29765 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29766 creal in comment listing functions tested. List finite, isinf,
29767 isnan, isless, islessequal, isgreater, isgreaterequal,
29768 islessgreater, isunordered, lgamma_r and pow10 as functions and
29769 macros not tested. Mention which functions not tested are aliases
29770 for other functions. Fix typo. Note that signs of NaNs are not
29773 * scripts/config.guess: Update from config.git.
29774 * scripts/config.sub: Likewise.
29776 2012-10-04 Roland McGrath <roland@hack.frob.com>
29778 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29779 * misc/madvise.c (madvise): Renamed to __madvise.
29780 Make madvise a weak alias.
29781 * include/sys/mman.h: Declare __madvise.
29782 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29783 * sysdeps/unix/syscalls.list
29784 (madvise): Make __madvise the strong name, and madvise a weak alias.
29785 * sysdeps/unix/sysv/linux/syscalls.list
29786 (madvise, mmap): Remove redundant entries.
29787 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29788 * malloc/malloc.c (mtrim): Likewise.
29789 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29791 2012-10-03 Roland McGrath <roland@hack.frob.com>
29793 * sysdeps/mach/hurd/dl-cache.c: File removed.
29794 * config.h.in (USE_LDCONFIG): New #undef.
29795 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29796 * configure: Regenerated.
29797 * elf/Makefile (dl-routines): Add dl-cache only under
29798 [$(use-ldconfig) = yes].
29799 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29800 cache on [USE_LDCONFIG].
29801 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29803 * elf/rtld.c (dl_main): Likewise.
29805 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29807 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29808 _SC_LEVEL4_CACHE_LINESIZE.
29810 2012-10-03 Roland McGrath <roland@hack.frob.com>
29812 * sysdeps/unix/bsd/confstr.h: File removed.
29814 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29816 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29819 2012-10-02 Roland McGrath <roland@hack.frob.com>
29821 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29822 Make 'mapoff' field ElfW(Off) rather than off_t.
29824 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29826 * nscd/Makefile: Remove nscd-cflags and all its users.
29827 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29828 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29831 * malloc.c (malloc_printerr): Clarify error message.
29833 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29836 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29837 Set bit_FMA_Usable if FMA is supported.
29838 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29840 (bit_FMA4_Usable): Updated.
29841 (index_FMA_Usable): New macro.
29842 (CPUID_FMA): Likewise
29843 (HAS_FMA): Defined with bit_FMA_Usable.
29845 2012-10-01 Roland McGrath <roland@hack.frob.com>
29847 * bits/types.h (__swblk_t): Type removed.
29848 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29849 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29850 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29851 (__SWBLK_T_TYPE): Likewise.
29852 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29853 (__SWBLK_T_TYPE): Likewise.
29854 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29855 (__SWBLK_T_TYPE): Likewise.
29856 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29857 (__SWBLK_T_TYPE): Likewise.
29859 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
29860 Honza Horak <hhorak@redhat.com>
29862 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29863 (xdr_mapname): Use YPMAXMAP as maxsize.
29864 (xdr_peername): Use YPMAXPEER as maxsize.
29865 (xdr_keydat): Use YPAXRECORD as maxsize.
29866 (xdr_valdat): Use YPMAXRECORD as maxsize.
29868 2012-10-01 Roland McGrath <roland@hack.frob.com>
29870 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29872 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29873 * csu/init-first.c: ... here.
29874 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29875 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29876 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29877 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29878 * sysdeps/i386/init-first.c: File removed.
29879 * sysdeps/sh/init-first.c: File removed.
29881 2012-10-01 Joseph Myers <joseph@codesourcery.com>
29884 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29885 if x * y might underflow to zero and z is zero.
29886 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29887 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29888 * math/libm-test.inc (min_subnorm_value): New variable.
29889 (fma_test): Add more tests.
29890 (fma_test_towardzero): Likewise.
29891 (fma_test_downward): Likewise
29892 (fma_test_upward): Likewise.
29893 (initialize): Set min_subnorm_value.
29895 2012-09-29 Joseph Myers <joseph@codesourcery.com>
29898 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29900 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29901 mode for addition resulting in exact zero.
29902 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29903 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29905 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29906 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29907 * math/libm-test.inc (fma_test): Add more tests.
29908 (fma_test_towardzero): New function.
29909 (fma_test_downward): Likewise.
29910 (fma_test_upward): Likewise.
29911 (main): Call the new functions.
29913 2012-09-28 David S. Miller <davem@davemloft.net>
29915 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29917 2012-09-28 Roland McGrath <roland@hack.frob.com>
29919 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29920 instead of SIGALRM.
29922 * sysdeps/gnu/_G_config.h: Moved to ...
29923 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29924 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29925 * sysdeps/generic/_G_config.h: ... here.
29927 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29929 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29931 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29932 Conditionalize target on [libnss_test1.so-version].
29934 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29936 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29937 (elfobjdir): Move out of conditionals.
29939 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29940 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29941 (__nss_lookup_function): Conditionalize label remove_from_tree on
29942 [!DO_STATIC_NSS || SHARED], matching its only use.
29944 2012-09-28 David S. Miller <davem@davemloft.net>
29946 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29947 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29949 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29951 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29952 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29953 when HWCAP_SPARC_CRYPTO is present.
29955 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29957 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29959 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29962 * stdio-common/vfprintf.c (process_string_arg): Revert
29965 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29967 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29969 * stdio-common/tst-sprintf.c: Include <locale.h>
29970 (main): Test sprintf's handling of incomplete multibyte
29973 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29975 * elf/dl-runtime.c (VERSYMIDX): Removed.
29976 * elf/dl-version.c (VERSYMIDX): Likewise.
29977 * elf/do-rel.h (VERSYMIDX): Likewise.
29978 (VALIDX): Likewise.
29979 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29980 * elf/rtld.c (VALIDX): Likewise.
29981 (ADDRIDX): Likewise.
29982 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29983 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29984 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29985 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29986 (VALIDX): Likewise.
29987 (ADDRIDX): Likewise.
29989 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29991 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29993 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29996 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29998 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29999 addresses are in the same scope as 192.0.2/24.
30000 * posix/gai.conf: Document new scope table defaults.
30002 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30005 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30006 for ftell. Compute offsets from write pointers instead.
30007 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30009 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30012 * libio/Makefile (tests): New test case tst-fseek.
30013 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30014 combination works in wide mode.
30015 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30016 state when the external buffer state changes.
30018 2012-09-27 David S. Miller <davem@davemloft.net>
30021 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30022 pass reloc->r_addend in as the 'high' argument to
30023 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30027 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30029 * rt/tst-aio2.c: Include <pthread.h>.
30030 * rt/tst-aio3.c: Likewise.
30032 2012-09-27 Steve Ellcey <sellcey@mips.com>
30034 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30036 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30038 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30039 contents on [SHARED].
30041 2012-09-26 Marek Polacek <polacek@redhat.com>
30045 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30046 for C++ and GCC <4.3 as well as for non GCC compilers.
30048 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30050 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30052 2012-09-25 Roland McGrath <roland@hack.frob.com>
30054 * Makefile.in (all, install): Declare with .PHONY.
30055 Reported by Michael Hope <michael.hope@linaro.org>.
30057 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30059 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30060 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30062 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30064 (sydep_routines): Add the new and the internal functions.
30065 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30066 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30068 (GLIBC_2.17): Add the new function.
30069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30070 (GLIBC_2.17): Likewise.
30071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30072 (GLIBC_2.17): Likewise.
30073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30074 (GLIBC_2.17): Likewise.
30075 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30077 2012-09-25 Alan Modra <amodra@gmail.com>
30079 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30080 Add release barrier before setting once_control to say
30081 initialisation is done. Add hints on lwarx. Use macro in
30083 (clear_once_control): Add release barrier.
30085 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30088 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30090 * math/s_clog10.c (__clog10): Likewise.
30091 * math/s_clog10f.c (__clog10f): Likewise.
30092 * math/s_clog10l.c (__clog10l): Likewise.
30093 * math/s_clogf.c (__clogf): Likewise.
30094 * math/s_clogl.c (__clogl): Likewise.
30095 * math/Makefile (libm-calls): Add x2y2m1.
30096 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30097 (__x2y2m1): Likewise.
30098 (__x2y2m1l): Likewise.
30099 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30100 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30101 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30102 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30103 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30104 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30105 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30106 * sysdeps/i386/fpu/libm-test-ulps: Update.
30107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30110 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30111 int as type of variable DEPTH.
30112 (glob): Use size_t instead of int as type of variables NEWCOUNT
30115 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30117 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30118 Add s_sincosf-sse2.
30119 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30120 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30121 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30122 macros for using routine as __sincosf_ia32.
30123 Use macro for function declaration and weak_alias.
30124 * sysdeps/i386/fpu/libm-test-ulps: Update.
30126 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30127 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30129 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30130 subnormal argument.
30131 * math/s_cexpf.c (__cexpf): Likewise.
30132 * math/s_csinf.c (__csinf): Likewise.
30133 * math/s_csinhf.c (__csinhf): Likewise.
30134 * math/s_ctanf.c (__ctanf): Likewise.
30135 * math/s_ctanhf.c (__ctanhf): Likewise.
30136 * math/s_ccosh.c (__ccoshf): Likewise.
30137 * math/s_cexp.c (__cexpl): Likewise.
30138 * math/s_csin.c (__csin): Likewise.
30139 * math/s_csinh.c (__csinh): Likewise.
30140 * math/s_ctan.c (__ctan): Likewise.
30141 * math/s_ctanh.c (ctanh): Likewise.
30142 * math/s_ccoshl.c (__ccoshl): Likewise.
30143 * math/s_cexpl.c (__cexpl): Likewise.
30144 * math/s_csinl.c (__csinl): Likewise.
30145 * math/s_csinhl.c (__csinhl): Likewise.
30146 * math/s_ctanl.c (__ctanl): Likewise.
30147 * math/s_ctanhl.c (__ctanhl): Likewise.
30149 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30151 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30152 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30153 (_IO_off_t): Define to __off_t, not _G_off_t.
30154 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30155 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30156 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30157 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30158 type of __dummy and __dummy2 fields.
30159 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30160 (_G_ssize_t): Likewise.
30161 (_G_off_t): Likewise.
30162 (_G_pid_t): Likewise.
30163 (_G_uid_t): Likewise.
30164 (_G_wchar_t): Likewise.
30165 (_G_wint_t): Likewise.
30166 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30167 (_G_ssize_t): Likewise.
30168 (_G_off_t): Likewise.
30169 (_G_pid_t): Likewise.
30170 (_G_uid_t): Likewise.
30171 (_G_wchar_t): Likewise.
30172 (_G_wint_t): Likewise.
30173 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30174 (_G_ssize_t): Likewise.
30175 (_G_off_t): Likewise.
30176 (_G_pid_t): Likewise.
30177 (_G_uid_t): Likewise.
30178 (_G_wchar_t): Likewise.
30179 (_G_wint_t): Likewise.
30181 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30183 * malloc/arena.c: Include malloc-sysdep.h.
30184 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30185 is sufficient to shrink the heap or an unmap is needed.
30186 * sysdeps/generic/malloc-sysdep.h: New file. Define
30187 new function check_may_shrink_heap.
30188 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30189 new function check_may_shrink_heap.
30191 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30193 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30196 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30198 * catgets/test-gencat.sh: Add "set -e".
30199 * elf/tst-pathopt.sh: Likewise.
30200 * grp/tst_fgetgrent.sh: Likewise.
30201 * iconvdata/run-iconv-test.sh: Likewise.
30202 * intl/tst-gettext.sh: Likewise.
30203 * intl/tst-gettext2.sh: Likewise.
30204 * intl/tst-gettext4.sh: Likewise.
30205 * intl/tst-gettext6.sh: Likewise.
30206 * intl/tst-translit.sh: Likewise.
30207 * io/ftwtest-sh: Likewise.
30208 * libio/test-freopen.sh: Likewise.
30209 * malloc/tst-mtrace.sh: Likewise.
30210 * posix/globtest.sh: Likewise.
30211 * posix/tst-getconf.sh: Likewise.
30212 * posix/wordexp-tst.sh: Likewise.
30213 * stdio-common/tst-printf.sh: Likewise.
30214 * stdio-common/tst-unbputc.sh: Likewise.
30215 * stdlib/tst-fmtmsg.sh: Likewise.
30216 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30217 * catgets/Makefile: Do not specify -e option when running
30218 testsuite shell scripts.
30219 * elf/Makefile: Likewise.
30220 * grp/Makefile: Likewise.
30221 * iconvdata/Makefile: Likewise.
30222 * intl/Makefile: Likewise.
30223 * io/Makefile: Likewise.
30224 * libio/Makefile: Likewise.
30225 * malloc/Makefile: Likewise.
30226 * posix/Makefile: Likewise.
30227 * stdio-common/Makefile: Likewise.
30228 * stdlib/Makefile: Likewise.
30229 * sysdeps/x86_64/Makefile: Likewise.
30231 * io/ftwtest-sh: Add copyright header.
30232 * posix/globtest.sh: Likewise.
30233 * posix/tst-getconf.sh: Likewise.
30234 * posix/wordexp-tst.sh: Likewise.
30235 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30237 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30240 * Makeconfig (+link): Defined as $(+link-static) if
30241 $(build-shared) isn't yes.
30242 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30244 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30246 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30249 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30250 new chunk size with MALLOC_ALIGN_MASK.
30252 2012-09-24 Joseph Myers <joseph@codesourcery.com>
30255 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30257 (__printf_fphex): Determine rounding using get_rounding_mode and
30259 * stdio-common/tst-printf-round.c (struct hex_test): New
30261 (hex_tests): New variable.
30262 (test_hex_in_one_mode): New function.
30263 (do_test): Also run tests for hex float output.
30265 2012-09-21 Joseph Myers <joseph@codesourcery.com>
30267 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30268 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30269 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30270 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30271 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30272 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30273 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30274 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30276 2012-09-20 Joseph Myers <joseph@codesourcery.com>
30278 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30279 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30280 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30281 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30283 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30286 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30288 * elf/tst-rtld-load-self.sh: New test.
30289 * elf/Makefile: Run it.
30291 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30293 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30294 (tst-writev-ENV): Remove.
30295 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30297 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30299 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30301 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30303 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30305 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30307 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30308 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30309 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30312 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30315 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30316 * config.make.in (have-cpp-asm-debuginfo): Removed.
30317 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30318 * configure: Regenerated.
30320 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30323 * stdio-common/printf_fp.c: Include <stdbool.h> and
30325 (___printf_fp): Determine rounding using get_rounding_mode and
30327 * stdio-common/tst-printf-round.c: New file.
30328 * stdio-common/Makefile (tests): Add tst-printf-round.
30329 (link-libm): New variable.
30330 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30332 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30335 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30336 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30338 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30341 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30343 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30344 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30345 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30346 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30348 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30351 * include/rounding-mode.h: New file.
30352 * sysdeps/generic/get-rounding-mode.h: Likewise.
30353 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30354 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30355 (MAX_VALUE): New macro.
30356 (MIN_VALUE): Likewise.
30357 (overflow_value): New function.
30358 (underflow_value): Likewise.
30359 (round_and_return): Use overflow_value and underflow_value to
30360 determine return values in overflow and underflow cases. Use
30361 round_away to determine rounding depending on rounding mode.
30362 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30363 determine return values in overflow and underflow cases.
30364 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30365 (struct test_results): New structure.
30366 (struct test): Use struct test_results to store expected results
30367 for all rounding modes.
30368 (TEST): Include expected results for all rounding modes.
30369 (test_in_one_mode): New function.
30370 (do_test): Use test_in_one_mode to compute and check results.
30371 Check results for all rounding modes.
30372 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30375 2012-12-09 Allan McRae <allan@archlinux.org>
30377 * sysdeps/i386/fpu/libm-test-ulps: Update
30379 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30381 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30382 (_G_int32_t): Likewise.
30383 (_G_uint16_t): Likewise.
30384 (_G_uint32_t): Likewise.
30385 (_G_HAVE_BOOL): Likewise.
30386 (_G_HAVE_ATEXIT): Likewise.
30387 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30388 (_G_HAVE_IO_FILE_OPEN): Likewise.
30389 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30390 (_G_int32_t): Likewise.
30391 (_G_uint16_t): Likewise.
30392 (_G_uint32_t): Likewise.
30393 (_G_HAVE_BOOL): Likewise.
30394 (_G_HAVE_ATEXIT): Likewise.
30395 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30396 (_G_HAVE_IO_FILE_OPEN): Likewise.
30397 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30398 (_G_int32_t): Likewise.
30399 (_G_uint16_t): Likewise.
30400 (_G_uint32_t): Likewise.
30401 (_G_HAVE_BOOL): Likewise.
30402 (_G_HAVE_ATEXIT): Likewise.
30403 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30404 (_G_HAVE_IO_FILE_OPEN): Likewise.
30406 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30408 * csu/libc-tls.c: Update copyright years.
30410 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30412 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30413 [!_G_USING_THUNKS]: Remove conditional code.
30414 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30415 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30417 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30418 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30419 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30420 (_G_VTABLE_LABEL_PREFIX): Likewise.
30421 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30422 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30423 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30424 (_G_VTABLE_LABEL_PREFIX): Likewise.
30425 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30426 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30427 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30428 (_G_VTABLE_LABEL_PREFIX): Likewise.
30429 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30431 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30433 * libio/Makefile: Include ../Makeconfig before tests.
30434 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30435 only if $(build-shared) is yes.
30437 * iconv/gconv_db.c: Update copyright years.
30439 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30441 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30442 unwind info if defined PIC. Fix special cases description.
30443 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30445 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30447 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30449 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30451 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30453 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30456 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30457 (LDLIBS-tst-chk4): This.
30458 (LDFLAGS-tst-chk5): Renamed to ...
30459 (LDLIBS-tst-chk5): This.
30460 (LDFLAGS-tst-chk6): Renamed to ...
30461 (LDLIBS-tst-chk6): This.
30462 (LDFLAGS-tst-lfschk4): Renamed to ...
30463 (LDLIBS-tst-lfschk4): This.
30464 (LDFLAGS-tst-lfschk5): Renamed to ...
30465 (LDLIBS-tst-lfschk5): This.
30466 (LDFLAGS-tst-lfschk6): Renamed to ...
30467 (LDLIBS-tst-lfschk6): This.
30469 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30470 on $(common-objpfx)soversions.mk.
30472 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30475 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30478 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30480 * malloc/arena.c (arena_get_retry): New function that gets
30481 another arena for the caller to try its request on.
30482 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30483 current arena cannot fulfill the request.
30484 (__libc_memalign): Likewise.
30485 (__libc_memalign): Likewise.
30486 (__libc_pvalloc): Likewise.
30487 (__libc_calloc): Likewise.
30489 2012-09-05 John Tobey <john.tobey@gmail.com>
30492 * manual/arith.texi (Operations on Complex): Fix description
30493 of carg branch cut.
30495 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30498 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30502 * manual/memory.texi (Memory): Make order of menu items match
30505 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30507 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30508 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30509 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30511 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30513 * csu/libc-tls.c (static_dtv): Renamed to ...
30514 (_dl_static_dtv): This. Make it global.
30515 (_dl_initial_dtv): Removed.
30516 (__libc_setup_tls): Updated.
30517 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30518 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30521 2012-09-06 Petr Machata <pmachata@redhat.com>
30523 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30524 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30525 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30526 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30528 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30531 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30532 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30535 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30538 * Makeconfig (link-static-before-libc): Replace $(+prector)
30540 (link-static-after-libc): Replace $(+postctor) with
30542 (link-bounded): Replace $(+prector)/$(+postctor) with
30543 $(+prectorT)/$(+postctorT).
30544 (+prectorT): New macro.
30545 (+postctorT): Likewise.
30547 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30549 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30550 (round_str): Handle values above the maximum for IBM long double
30552 * stdlib/tst-strtod-round.c (tests): Regenerated.
30554 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30556 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30558 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30559 zarch_nohighgprs around the zarch optimized routines.
30560 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30561 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30562 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30565 2012-09-05 David S. Miller <davem@davemloft.net>
30567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30569 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30570 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30571 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30572 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30575 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30577 * malloc/arena.c: Fold copyright years.
30578 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30580 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30582 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30584 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30586 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30588 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30590 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30591 change internal state upon failure.
30593 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30595 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30596 * malloc/memusage.c (mmap): Likewise.
30597 (mmap64, mremap): Likewise. Adjust name in comment.
30599 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30601 * libio/fileops.c: Fix typos in comments.
30602 * libio/oldfileops.c: Likewise.
30603 * libio/wfileops.c: Likewise.
30605 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30608 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30609 (tst-malloc-usable-ENV): Set environment for test case.
30610 * malloc/hooks.c (malloc_check_get_size): New function to get
30612 * malloc/malloc.c (musable): Use malloc_check_get_size.
30613 * malloc/tst-malloc-usable.c: New test case.
30615 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30617 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30619 2012-09-05 Allan McRae <allan@archlinux.org>
30622 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30623 determine header location.
30624 * configure: Regenerated.
30626 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30628 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30630 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30631 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30633 (test): Regenerate.
30635 2012-09-04 David S. Miller <davem@davemloft.net>
30637 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30638 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30639 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30641 2012-09-04 Florian Weimer <fweimer@redhat.com>
30643 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30646 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30648 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30651 * libio/iogetdelim.c: Include <limits.h>.
30652 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30653 + len + 1 would overflow.
30655 2012-09-03 Andreas Jaeger <aj@suse.de>
30657 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30658 * sysdeps/i386/fpu/libm-test-ulps: Update.
30660 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30662 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30663 Add s_sinf-sse2, s_conf-sse2.
30665 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30666 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30667 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30668 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30670 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30671 for using routine as __sinf_ia32.
30672 Use macro for function declaration and weak_alias.
30673 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30674 for using routine as __cosf_ia32.
30675 Use macro for function declaration and weak_alias.
30677 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30678 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30680 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30681 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30682 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30684 * math/libm-test.inc (cos_test): Add more test cases.
30685 (sin_test): Likewise.
30686 (sincos_test): Likewise.
30688 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30690 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30691 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30693 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30695 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30698 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30699 first element of the GOT.
30700 (elf_machine_load_address): Return the difference between
30701 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30703 2012-09-01 Allan McRae <allan@archlinux.org>
30706 * configure.in (AWK): Require gawk version 3.0 or later.
30707 * configure: Regenerated.
30709 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30711 * sysdeps/unix/sysv/linux/kernel-features.h
30712 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30713 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30714 [__NR_clock_getres]: Make code unconditional.
30715 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30716 (clock_getcpuclockid): Remove code left unreachable by removal of
30718 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30719 code unconditional.
30720 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30721 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30722 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30723 Make code unconditional.
30724 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30725 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30726 * sysdeps/unix/sysv/linux/clock_settime.c
30727 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30729 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30730 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30732 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30735 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30736 scripts/test-installation.pl.
30738 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30739 and $ld_so_version if it is set.
30741 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30744 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30745 failure if reading from procfs failed.
30746 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30748 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30750 * sysdeps/unix/sysv/linux/kernel-features.h
30751 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30752 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30753 Remove conditional code.
30754 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30755 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30756 Remove conditional code.
30757 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30758 * sysdeps/unix/sysv/linux/i386/fxstat.c
30759 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30760 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30761 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30762 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30763 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30764 * sysdeps/unix/sysv/linux/i386/lxstat.c
30765 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30766 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30767 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30768 Remove conditional code.
30769 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30770 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30771 Remove conditional code.
30772 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30773 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30774 <kernel-features.h>.
30775 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30777 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30778 Remove conditional code.
30779 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30780 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30781 Remove conditional.
30783 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30786 * NEWS: Add fixed bug number.
30788 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30791 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30792 underflowing exponent in case of negative sign.
30793 * stdlib/tst-strtod-round-data: Add more tests.
30794 * stdlib/tst-strtod-round.c (tests): Regenerated.
30797 * stdlib/strtod_l.c (NDIG): Remove.
30798 (HEXNDIG): Likewise.
30799 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30800 smallest representable value.
30801 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30802 lie within an exact representation of 1/2 ulp of the result.
30803 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30805 (TENS_P9_IDX): Define unconditionally.
30806 (TENS_P9_SIZE): Likewise.
30807 (TENS_P10_IDX): Likewise.
30808 (TENS_P10_SIZE): Likewise.
30809 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30810 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30811 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30812 entries for 10^2^13 and 10^2^14.
30813 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30814 (TENS_P13_IDX): Define.
30815 (TENS_P13_SIZE): Likewise.
30816 (TENS_P14_IDX): Likewise.
30817 (TENS_P14_SIZE): Likewise.
30818 (_fpioconst_pow10): Change array size to
30819 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30821 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30822 1024]: Add entries for 10^2^13 and 10^2^14.
30823 [LAST_POW10 > _LAST_POW10]: Remove #error.
30824 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30825 (_fpioconst_pow10): Change array size to
30826 FPIOCONST_POW10_ARRAY_SIZE.
30827 * stdlib/gen-fpioconst.c: New file.
30828 * stdlib/gen-tst-strtod-round.c: Likewise.
30829 * stdlib/tst-strtod-round-data: Likewise.
30830 * stdlib/tst-strtod-round.c: Likewise.
30831 * stdlib/Makefile (tests): Add tst-strtod-round.
30834 * stdlib/strtod_l.c: Include <stdint.h>.
30835 (NDEBUG): Do not define.
30836 (round_and_return): Change EXPONENT parameter to type intmax_t.
30837 Rearrange calculations to avoid internal overflow possibilities.
30838 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30839 Rearrange calculations to avoid internal overflow possibilities.
30840 Assert that number fits inside MPNSIZE limbs.
30841 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30842 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30843 calculations and add assertions to avoid internal overflow
30844 possibilities. Add casts to avoid signed/unsigned operations.
30845 * stdlib/tst-strtod-overflow.c: New file.
30846 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30848 2012-08-25 Marek Polacek <polacek@redhat.com>
30850 * time/time.h: Fix some typos in comments.
30852 2012-08-23 Roland McGrath <roland@hack.frob.com>
30854 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30855 * posix/tst-rfc3484-2.c: Likewise.
30856 * posix/tst-rfc3484-3.c: Likewise.
30858 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30860 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30861 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30863 2012-08-23 Joseph Myers <joseph@codesourcery.com>
30865 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30866 #include of fxstatat64.c.
30868 2012-08-22 Roland McGrath <roland@hack.frob.com>
30870 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30871 * shadow/getspent_r.c: Likewise.
30872 * shadow/getspnam.c: Likewise.
30873 * shadow/getspnam_r.c: Likewise.
30874 * gshadow/getsgent.c: Likewise.
30875 * gshadow/getsgent_r.c: Likewise.
30876 * gshadow/getsgnam.c: Likewise.
30877 * gshadow/getsgnam_r.c: Likewise.
30878 * inet/getnetbyad.c: Likewise.
30879 * inet/getnetbyad_r.c: Likewise.
30880 * inet/getnetbynm.c: Likewise.
30881 * inet/getnetbynm_r.c: Likewise.
30882 * inet/getnetent.c: Likewise.
30883 * inet/getnetent_r.c: Likewise.
30884 * inet/getproto.c: Likewise.
30885 * inet/getproto_r.c: Likewise.
30886 * inet/getprtent.c: Likewise.
30887 * inet/getprtent_r.c: Likewise.
30888 * inet/getprtname.c: Likewise.
30889 * inet/getprtname_r.c: Likewise.
30890 * inet/getrpcbyname.c: Likewise.
30891 * inet/getrpcbyname_r.c: Likewise.
30892 * inet/getrpcbynumber.c: Likewise.
30893 * inet/getrpcbynumber_r.c: Likewise.
30894 * inet/getrpcent.c: Likewise.
30895 * inet/getrpcent_r.c: Likewise.
30896 * inet/getaliasent.c: Likewise.
30897 * inet/getaliasent_r.c: Likewise.
30898 * inet/getaliasname.c: Likewise.
30899 * inet/getaliasname_r.c: Likewise.
30900 * nscd/getgrgid_r.c: Likewise.
30901 * nscd/getgrnam_r.c: Likewise.
30902 * nscd/gethstbyad_r.c: Likewise.
30903 * nscd/gethstbynm3_r.c: Likewise.
30904 * nscd/getpwnam_r.c: Likewise.
30905 * nscd/getpwuid_r.c: Likewise.
30906 * nscd/getsrvbynm_r.c: Likewise.
30907 * nscd/getsrvbypt_r.c: Likewise.
30908 * nscd/gai.c: Likewise.
30910 * configure.in (build_nscd): New substituted variable, set
30911 by --disable-build-nscd and defaults to $use_nscd.
30912 * configure: Regenerated.
30913 * config.make.in (build-nscd): New substituted variable.
30914 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30915 Change conditional to require [$(build-nscd) = yes] as well.
30916 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30919 * configure.in (use_nscd): New substituted variable, set by
30920 --disable-nscd. If enabled, define USE_NSCD.
30921 * configure: Regenerated.
30922 * config.h.in: Add USE_NSCD.
30923 * config.make.in (use-nscd): New substituted variable.
30924 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30925 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30926 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30927 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30928 (CFLAGS-getgrnam_r.c): Likewise.
30929 (CFLAGS-initgroups.c): Likewise.
30930 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30931 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30933 * inet/getnetgrent_r.c
30934 (nscd_setnetgrent): New function, broken out of ...
30935 (setnetgrent): ... here. Call it.
30936 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30937 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30938 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30939 * nscd/Makefile (routines, aux): Move definitions after include of
30940 Makeconfig. Conditionalize on [$(use-nscd) != no].
30941 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30942 Conditionalize on [USE_NSCD].
30943 (is_nscd, nscd_init_cb): Likewise.
30944 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30945 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30946 * nss/nss_db/db-init.c: Likewise.
30947 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30949 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30950 (make_request): Use it.
30951 (cache_valid_p): New function.
30952 (__check_pf): Use it.
30953 * NEWS: Add item for --disable-nscd.
30955 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30957 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30958 to support sed >= 4.2.1-20-ga9bf076.
30959 * configure: Regenerated.
30961 2012-08-22 Roland McGrath <roland@hack.frob.com>
30963 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30964 Conditionalize whole body on [IREL].
30966 2012-08-22 Jeff Law <law@redhat.com>
30969 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30970 if the family is PF_UNSPEC.
30972 2012-08-22 Mike Frysinger <vapier@gentoo.org>
30974 * Makerules (lib-version): Rename from V.
30975 (install-lib-nosubdir): Change V to lib-version.
30977 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30980 * powerpc32/power6/wcschr.c: New file.
30981 * powerpc32/power6/wcscpy.c: New file.
30982 * powerpc32/power6/wcsrchr.c: New file.
30983 * powerpc64/power6/wcschr.c: New file.
30984 * powerpc64/power6/wcscpy.c: New file.
30985 * powerpc64/power6/wcsrchr.c: New file.
30987 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30989 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30990 (two_way_short_needle): Use it.
30991 * string/strstr.c (AVAILABLE1_USES_J): Define.
30992 * string/strcasestr.c: Likewise.
30994 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30996 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30999 * NEWS: Add an entry.
31000 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31001 define their defaults.
31002 (two_way_short_needle): Detect end-of-string on-the-fly.
31003 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31004 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31005 * string/bug-strcasestr1.c: New test.
31006 * string/Makefile: Run it.
31008 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31011 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31012 the first character.
31014 2012-08-21 Roland McGrath <roland@hack.frob.com>
31016 * csu/elf-init.c (__libc_csu_irel): Function removed.
31017 * csu/libc-start.c (apply_irel): New function.
31018 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31020 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31022 * sysdeps/unix/sysv/linux/kernel-features.h
31023 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31024 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31025 <kernel-features.h>.
31026 [__NR_fadvise64_64]: Make code unconditional.
31027 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31028 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31029 !__NR_fadvise64_64)]: Likewise.
31030 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31031 !__NR_fadvise64_64))]: Likewise.
31032 [__NR_fadvise64]: Make code unconditional.
31033 [!__NR_fadvise64]: Remove conditional code.
31034 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31035 <kernel-features.h>.
31036 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31038 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31041 not include <kernel-features.h>.
31042 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31044 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31046 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31047 include <kernel-features.h>.
31048 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31050 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31053 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31055 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31056 slight instruction rearrangements per scrollpipe analysis.
31057 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31059 2012-08-20 Roland McGrath <roland@hack.frob.com>
31061 * manual/syslog.texi (syslog; vsyslog, closelog):
31062 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31063 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31065 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31066 DSOCAPS to match condition on defining it.
31068 2012-08-20 Joseph Myers <joseph@codesourcery.com>
31070 * sysdeps/unix/sysv/linux/kernel-features.h
31071 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31073 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31074 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31076 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31077 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31079 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31080 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31082 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31083 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31085 * sysdeps/unix/sysv/linux/kernel-features.h
31086 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31087 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31089 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31090 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31091 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31092 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31093 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31094 Make code unconditional.
31095 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31096 (__mmap64) [!__NR_mmap2]: Likewise.
31097 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31098 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31099 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31100 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31101 [__NR_mmap2]: Make code unconditional.
31102 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31103 (__mmap64) [!__NR_mmap2]: Likewise.
31105 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31107 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31109 2012-08-18 Andreas Jaeger <aj@suse.de>
31111 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31113 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31115 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31116 * include/unistd.h (__have_sock_cloexec): Likewise.
31117 (__have_pipe2): Likewise.
31118 (__have_dup3): Likewise.
31120 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31123 * include/unistd.h (__have_pipe2): Change define into an extern int.
31124 (__have_dup3): Likewise.
31125 * socket/have_sock_cloexec.c: Include fcntl.h.
31126 (__have_pipe2): New variable.
31127 (__have_dup3): Likewise.
31129 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31131 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31133 2012-08-17 Marek Polacek <polacek@redhat.com>
31135 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31136 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31138 2012-08-17 Roland McGrath <roland@hack.frob.com>
31140 * configure.in: Add AC_SUBST for sysheaders.
31141 * configure: Regenerated.
31142 * config.make.in (sysheaders): New substituted variable.
31144 * sysdeps/unix/mkfifo.c: Moved ...
31145 * sysdeps/posix/mkfifo.c: ... here.
31146 * sysdeps/unix/mkfifoat.c: Moved ...
31147 * sysdeps/posix/mkfifoat.c: ... here.
31149 * sysdeps/unix/utime.c: Moved ...
31150 * sysdeps/posix/utime.c: ... here.
31152 * sysdeps/unix/time.c: Moved ...
31153 * sysdeps/posix/time.c: ... here.
31154 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31155 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31157 * sysdeps/unix/nice.c: Moved ...
31158 * sysdeps/posix/nice.c: ... here.
31160 * sysdeps/unix/alarm.c: Moved ...
31161 * sysdeps/posix/alarm.c: ... here.
31163 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31165 2012-08-17 Jeff Law <law@redhat.com>
31167 * intl/Makefile (codeset_mo): New variable.
31168 ($(codeset_mo)): New target.
31169 (tst-codeset.out): Depend on that. Remove explicit rule.
31170 (tst-gettext3.out, tst-gettext5.out): Likewise.
31171 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31172 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31173 * intl/tst-codeset.sh: Remove.
31174 * intl/tst-gettext3.sh: Likewise.
31175 * intl/tst-gettext5.sh: Likewise.
31177 2012-08-17 Roland McGrath <roland@hack.frob.com>
31179 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31180 * sysdeps/unix/syscalls.list: ... here.
31182 * sysdeps/posix/getaddrinfo.c
31183 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31184 (gaiconf_init, gaiconf_reload): Use them.
31185 [!_STATBUF_ST_NSEC]
31186 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31187 Define using time_t rather than struct timespec.
31189 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31190 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31192 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31194 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31195 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31198 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31199 __libc_cleanup_push argument.
31201 * bits/param.h: New file.
31202 * misc/sys/param.h: New file.
31203 * include/sys/param.h: New file.
31204 * misc/Makefile (headers): Add bits/param.h.
31205 * sysdeps/generic/sys/param.h: File removed.
31206 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31207 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31208 * sysdeps/mach/hurd/bits/param.h: New file.
31209 * sysdeps/mach/hurd/sys/param.h: File removed.
31211 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31214 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31216 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31217 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31220 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31221 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31222 rather than -D_IO_MTSAFE_IO conditionally.
31223 * stdio-common/Makefile (CPPFLAGS): Likewise.
31224 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31225 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31226 Use $(libio-mtsafe).
31227 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31228 of -D_IO_MTSAFE_IO.
31229 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31230 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31231 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31232 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31233 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31234 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31235 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31236 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31237 (CFLAGS-fread_u_chk.c): Likewise.
31238 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31239 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31240 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31241 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31242 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31243 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31244 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31245 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31246 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31248 * libio/Makefile: Test [$(libc-reentrant) = yes]
31249 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31252 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31253 * sysdeps/pthread/configure: File removed.
31254 * sysdeps/pthread/Makeconfig: New file.
31255 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31256 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31258 2012-08-16 Gary Benson <gbenson@redhat.com>
31260 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31261 unmapping the first object in a namespace.
31263 2012-08-16 Roland McGrath <roland@hack.frob.com>
31265 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31266 (__internal_setnetgrent): ... this. Add internal_function to
31267 definition. Add libc_hidden_def.
31268 (setnetgrent): Update caller.
31269 (internal_endnetgrent): Renamed to ...
31270 (__internal_endnetgrent): ... this. Add internal_function to
31271 definition. Add libc_hidden_def.
31272 (endnetgrent): Update caller.
31273 (internal_getnetgrent_r): Renamed to ...
31274 (__internal_getnetgrent_r): ... this. Add internal_function to
31275 definition. Add libc_hidden_def.
31276 (__getnetgrent_r): Update caller.
31277 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31279 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31281 * stdlib/longlong.h: Update from GCC.
31283 2012-08-16 Roland McGrath <roland@hack.frob.com>
31285 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31286 on _QL, which is set by umul_ppmm but never used.
31287 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31288 variables, which are set by GMP macros but never used.
31289 * stdio-common/_itowa.c (_itowa): Likewise.
31290 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31291 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31293 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31295 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31296 struct La_sh_regs is not constant.
31297 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31298 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31299 and struct La_sparc64_regs are not constant.
31301 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31303 * sysdeps/unix/sysv/linux/kernel-features.h
31304 (__ASSUME_POSIX_TIMERS): Remove.
31305 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31306 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31307 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31308 Make code unconditional.
31309 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31310 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31311 Make code unconditional.
31312 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31313 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31314 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31315 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31316 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31317 Make code unconditional.
31318 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31319 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31320 (__libc_missing_posix_timers): Remove.
31322 2012-08-15 Roland McGrath <roland@hack.frob.com>
31324 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31325 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31327 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31329 * elf/dl-sym.c: Include <stdlib.h>.
31331 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31332 constants, which avoids warnings in 32-bit builds.
31334 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31335 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31337 * misc/lseek.c: File moved to ...
31338 * io/lseek.c: ... here.
31340 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31342 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31343 shifting LEN more than 31 bits at once.
31345 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31348 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31349 segmentation fault for a case of two empty input strings.
31350 * string/test-strncasecmp.c (check1): Renamed to...
31351 (bz12205): ...this.
31352 (bz14195): Add new testcase for two empty input strings and N > 0.
31353 (test_main): Call new testcase, adapt for renamed function.
31355 2012-08-15 Andreas Jaeger <aj@suse.de>
31358 * crypt/md5test2.c: New test, based on test supplied by Serge
31359 Belyshev <belyshev@depni.sinp.msu.ru>.
31360 * crypt/Makefile (xtests): Add md5test-giant..
31361 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31363 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31366 * crypt/md5.c (md5_process_block): Don't assume the buffer
31367 length is less than 2**32.
31368 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31369 length is less than 2**64.
31371 2012-08-15 Roland McGrath <roland@hack.frob.com>
31373 * string/str-two-way.h: Include <sys/param.h>.
31374 (MAX): Macro removed.
31376 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31377 Move #define and #undef of memmove to just before and after
31378 including <string.h>.
31380 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31381 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31382 and after including <string.h>. Move declarations of
31383 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31384 to before #include "string/memmove.c".
31386 * include/dirent.h: Declare __getdirentries.
31388 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31389 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31391 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31393 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31394 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31395 * sysdeps/i386/configure: Regenerated.
31396 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31397 STABS_CURRENT_FILE, and STABS_FUN.
31398 (END): Remove call to STABS_FUN_END.
31399 (STABS_CURRENT_FILE1): Delete.
31400 (STABS_CURRENT_FILE): Likewise.
31401 (STABS_FUN): Likewise.
31402 (STABS_FUN_END): Likewise.
31403 (STABS_FUN2): Likewise.
31404 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31405 * sysdeps/x86_64/configure: Regenerated.
31407 2012-08-14 Roland McGrath <roland@hack.frob.com>
31409 * elf/dl-open.c: Include <atomic.h>.
31410 * elf/dl-lookup.c: Likewise.
31412 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31414 * sysdeps/unix/sysv/linux/kernel-features.h
31415 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31416 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31418 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31420 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31421 condition on __ASSUME_CLONE_THREAD_FLAGS.
31423 2012-08-14 Andreas Jaeger <aj@suse.de>
31425 * sysdeps/i386/fpu/libm-test-ulps: Update.
31427 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31429 * include/atomic.h (atomic_exchange_and_add): Split into ...
31430 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31433 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31435 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31437 2012-08-13 Jeff Law <law@redhat.com>
31439 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31440 null byte in the output string.
31442 2012-08-10 Joseph Myers <joseph@codesourcery.com>
31444 * sysdeps/unix/sysv/linux/kernel-features.h
31445 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31446 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31447 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31448 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31449 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31450 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31451 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31453 2012-08-09 Jeff Law <law@redhat.com>
31456 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31457 When avoid_arena is set, don't retry in the that arena. Pick the
31458 next one, whatever it might be.
31459 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31460 (arena_lock): Pass in new parameter to arena_get2.
31461 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31463 (__libc_malloc): Unify retrying after main arena failure with
31464 __libc_memalign version.
31465 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31467 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31470 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31471 to __redirect_strstr.
31472 (__strstr_sse42): Use typeof __redirect_strstr.
31473 (__strstr_ia32): Likewise.
31474 (__libc_strstr): New prototype.
31475 (strstr): Renamed to ...
31476 (__libc_strstr): This.
31477 (strstr): New strong alias of __libc_strstr.
31478 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31479 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31482 (__libc_time): New prototype.
31483 (time_ifunc): Replace time with __libc_time.
31484 (time): New strong alias and hidden definition of __libc_time.
31485 (__GI_time): Remove strong alias.
31486 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31487 Include <stddef.h>.
31488 (memmove): Redefined to __redirect_memmove.
31489 (__memmove_sse2): Use typeof __redirect_memmove.
31490 (__memmove_ssse3): Likewise.
31491 (__memmove_ssse3_back): Likewise.
31492 (__libc_memmove): New prototype.
31493 (memmove): Renamed to ...
31494 (__libc_memmove): This.
31495 (memmove): New strong alias of __libc_memmove.
31497 2012-08-08 Mark Salter <msalter@redhat.com>
31500 (R_MN10300_TLS_GD): Define.
31501 (R_MN10300_TLS_LD): Likewise.
31502 (R_MN10300_TLS_LDO): Likewise.
31503 (R_MN10300_TLS_GOTIE): Likewise.
31504 (R_MN10300_TLS_IE): Likewise.
31505 (R_MN10300_TLS_LE): Likewise.
31506 (R_MN10300_TLS_DTPMOD): Likewise.
31507 (R_MN10300_TLS_DTPOFF): Likewise.
31508 (R_MN10300_TLS_TPOFF): Likewise.
31509 (R_MN10300_SYM_DIFF): Likewise.
31510 (R_MN10300_ALIGN): Likewise.
31511 (R_MN10300_NUM): Update.
31513 2012-08-08 Joseph Myers <joseph@codesourcery.com>
31515 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31518 2012-08-08 Roland McGrath <roland@hack.frob.com>
31520 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31522 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31523 sysdeps/unix -> sysdeps/posix move.
31524 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31526 2012-08-07 Allan McRae <allan@archlinux.org>
31529 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31530 (SUNOS_CPP): Likewise.
31531 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31533 (open_input): Call CPP using execvp.
31535 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31537 * sysdeps/unix/sysv/linux/kernel-features.h
31538 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31539 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31540 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31541 (__ASSUME_WAITID_SYSCALL): Likewise.
31542 * sysdeps/unix/sysv/linux/dl-execstack.c
31543 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31544 code unconditional.
31545 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31547 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31548 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31549 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31551 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31553 [__ASSUME_WAITID_SYSCALL]: Likewise.
31554 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31556 2012-08-07 Roland McGrath <roland@hack.frob.com>
31558 * sysdeps/unix/closedir.c: Renamed to ...
31559 * sysdeps/posix/closedir.c: ... here.
31560 * sysdeps/unix/dirfd.c: Renamed to ...
31561 * sysdeps/posix/dirfd.c: ... here.
31562 * sysdeps/unix/dirstream.h: Renamed to ...
31563 * sysdeps/posix/dirstream.h: ... here.
31564 * sysdeps/unix/fdopendir.c: Renamed to ...
31565 * sysdeps/posix/fdopendir.c: ... here.
31566 * sysdeps/unix/opendir.c: Renamed to ...
31567 * sysdeps/posix/opendir.c: ... here.
31568 * sysdeps/unix/readdir.c: Renamed to ...
31569 * sysdeps/posix/readdir.c: ... here.
31570 * sysdeps/unix/readdir_r.c: Renamed to ...
31571 * sysdeps/posix/readdir_r.c: ... here.
31572 * sysdeps/unix/rewinddir.c: Renamed to ...
31573 * sysdeps/posix/rewinddir.c: ... here.
31574 * sysdeps/unix/seekdir.c: Renamed to ...
31575 * sysdeps/posix/seekdir.c: ... here.
31576 * sysdeps/unix/telldir.c: Renamed to ...
31577 * sysdeps/posix/telldir.c: ... here.
31578 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31579 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31580 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31581 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31583 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31584 * bits/fcntl.h: ... here.
31586 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31588 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31589 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31590 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31591 (struct flock): Move l_start, l_len to the beginning.
31592 Use __pid_t for l_pid.
31593 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31594 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31595 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31596 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31597 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31598 [__USE_LARGEFILE64] (struct flock64): New type.
31599 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31601 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31602 * bits/dirent.h: ... here.
31604 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31605 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31607 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31609 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31610 Change from 2.6.0 to 2.6.16.
31611 * sysdeps/unix/sysv/linux/configure: Regenerated.
31612 * sysdeps/unix/sysv/linux/kernel-features.h
31613 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31614 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31616 (__ASSUME_UTIMES): Likewise.
31617 (__ASSUME_CLONE_STOPPED): Remove.
31618 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31619 architectures, not kernel version.
31620 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31621 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31622 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31623 (__ASSUME_WAITID_SYSCALL): Likewise.
31624 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31625 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31626 * README: State 2.6.16 as minimum Linux kernel version. Do not
31627 refer to older versions.
31629 2012-08-06 Roland McGrath <roland@hack.frob.com>
31631 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31632 Define alphasort64 as an alias.
31633 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31634 Define versionsort64 as an alias.
31635 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31636 Define scandir64 as an alias.
31637 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31638 Define scandirat64 as an alias.
31639 * dirent/alphasort64.c (alphasort64):
31640 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31641 * dirent/versionsort64.c: Likewise.
31642 * dirent/scandir64.c: Likewise.
31643 * dirent/scandirat64.c: Likewise.
31644 * sysdeps/wordsize-64/alphasort.c: File removed.
31645 * sysdeps/wordsize-64/alphasort64.c: File removed.
31646 * sysdeps/wordsize-64/scandir.c: File removed.
31647 * sysdeps/wordsize-64/scandir64.c: File removed.
31648 * sysdeps/wordsize-64/scandirat.c: File removed.
31649 * sysdeps/wordsize-64/scandirat64.c: File removed.
31650 * sysdeps/wordsize-64/versionsort.c: File removed.
31651 * sysdeps/wordsize-64/versionsort64.c: File removed.
31652 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31653 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31654 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31655 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31656 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31657 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31658 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31659 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31661 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31662 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31663 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31664 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31665 [defined __arch64__ || defined __sparcv9]
31666 (__INO_T_MATCHES_INO64_T): New macro.
31667 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31668 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31669 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31670 * sysdeps/unix/sysv/linux/bits/dirent.h
31671 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31672 (_DIRENT_MATCHES_DIRENT64): New macro.
31674 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31675 Define lockf64 as an alias.
31676 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31677 Define fseeko64 as an alias.
31678 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31679 Define ftello64 as an alias.
31680 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31681 Define _IO_fgetpos64 and fgetpos64 as aliases.
31682 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31683 Define _IO_fsetpos64 and fsetpos64 as aliases.
31684 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31685 Conditionalize body on this.
31686 * libio/fseeko64.c: Likewise.
31687 * libio/ftello64.c: Likewise.
31688 * libio/iofgetpos64.c: Likewise.
31689 * libio/iofsetpos64.c: Likewise.
31690 * sysdeps/wordsize-64/lockf.c: File removed.
31691 * sysdeps/wordsize-64/lockf64.c: File removed.
31692 * sysdeps/wordsize-64/fseeko.c: File removed.
31693 * sysdeps/wordsize-64/fseeko64.c: File removed.
31694 * sysdeps/wordsize-64/ftello.c: File removed.
31695 * sysdeps/wordsize-64/ftello64.c: File removed.
31696 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31697 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31698 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31699 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31700 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31701 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31702 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31703 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31704 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31705 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31706 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31707 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31708 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31709 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31711 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31712 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31713 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31714 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31715 [defined __arch64__ || defined __sparcv9]
31716 (__OFF_T_MATCHES_OFF64_T): New macro.
31717 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31718 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31719 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31720 (__OFF_T_MATCHES_OFF64_T): New macro.
31722 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31724 * stdlib/secure-getenv.c (__secure_getenv): Replace
31725 GLIBC_2_16 with GLIBC_2_17.
31727 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31729 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31730 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31732 2012-08-03 David S. Miller <davem@davemloft.net>
31734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31736 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31738 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31740 (__ASSUME_CORRECT_SI_PID): Likewise.
31741 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31742 (__ASSUME_TMPFS_NAME): Likewise.
31743 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31744 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31745 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31746 (HAVE_AUX_SECURE): Make definition unconditional.
31747 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31748 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31750 2012-08-03 Roland McGrath <roland@hack.frob.com>
31752 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31753 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31754 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31755 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31756 __eloop_threshold instead of SYMLOOP_MAX.
31758 * sysdeps/generic/eloop-threshold.h: New file.
31759 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31761 * elf/chroot_canon.c (chroot_canon): Likewise.
31763 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31766 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31767 Change to 2.6.0 everywhere.
31768 * sysdeps/unix/sysv/linux/configure: Regenerated.
31769 * sysdeps/unix/sysv/linux/kernel-features.h
31770 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31771 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31773 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31774 (__ASSUME_FUTEX_REQUEUE): Remove.
31775 (__ASSUME_STATFS64): Define unconditionally.
31776 (__ASSUME_AT_SECURE): Likewise.
31777 (__ASSUME_CORRECT_SI_PID): Likewise.
31778 (__ASSUME_TGKILL): Define without depending on kernel version for
31780 (__ASSUME_UTIMES): Likewise.
31781 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31783 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31784 (__ASSUME_TMPFS_NAME): Likewise.
31785 * README: Update reference to Linux kernel versions.
31787 2012-08-02 Marek Polacek <polacek@redhat.com>
31790 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31791 libc_cv_asm_type_prefix with %.
31792 * configure: Regenerated.
31793 * include/libc-symbols.h: Remove comment about
31794 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31795 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31796 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31797 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31798 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31799 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31800 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31801 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31802 * elf/tst-unique2mod1.c: Likewise.
31803 * elf/tst-unique1mod2.c: Likewise.
31804 * elf/tst-unique1mod1.c: Likewise.
31805 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31806 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31807 Replace ASM_TYPE_DIRECTIVE with .type.
31808 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31809 * sysdeps/i386/sysdep.h: Likewise.
31810 * sysdeps/x86_64/sysdep.h: Likewise.
31811 * sysdeps/sh/sysdep.h: Likewise.
31812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31813 Do not define ASM_TYPE_DIRECTIVE.
31814 * sysdeps/powerpc/sysdep.h: Likewise.
31815 * sysdeps/powerpc/powerpc32/sysdep.h:
31816 Replace ASM_TYPE_DIRECTIVE with .type.
31817 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31818 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31819 * sysdeps/i386/fpu/e_powf.S: Likewise.
31820 * sysdeps/i386/fpu/e_expl.S: Likewise.
31821 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31822 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31823 * sysdeps/i386/fpu/e_pow.S: Likewise.
31824 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31825 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31826 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31827 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31828 * sysdeps/i386/fpu/e_log2.S: Likewise.
31829 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31830 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31831 * sysdeps/i386/fpu/e_powl.S: Likewise.
31832 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31833 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31834 * sysdeps/i386/fpu/e_logl.S: Likewise.
31835 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31836 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31837 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31838 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31839 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31840 * sysdeps/i386/fpu/e_log.S: Likewise.
31841 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31842 * sysdeps/i386/fpu/e_logf.S: Likewise.
31843 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31844 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31845 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31846 * sysdeps/i386/fpu/e_log10.S: Likewise.
31847 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31848 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31849 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31850 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31851 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31852 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31853 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31854 * sysdeps/i386/i686/strtok.S: Likewise.
31855 * sysdeps/i386/i386-mcount.S: Likewise.
31856 * sysdeps/i386/strtok.S: Likewise.
31857 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31858 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31859 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31860 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31861 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31862 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31863 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31864 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31865 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31866 * sysdeps/x86_64/_mcount.S: Likewise.
31867 * sysdeps/x86_64/strtok.S: Likewise.
31868 * sysdeps/sh/_mcount.S: Likewise.
31870 2012-08-01 Roland McGrath <roland@hack.frob.com>
31872 * libio/iofopen.c: Include <fcntl.h>.
31873 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31874 (_IO_fopen64, fopen64): Define as aliases.
31875 * libio/iofopen64.c: Include <fcntl.h>.
31876 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31877 Conditionalize body on this.
31878 * sysdeps/wordsize-64/iofopen.c: File removed.
31879 * sysdeps/wordsize-64/iofopen64.c: File removed.
31881 2012-08-01 Marek Polacek <polacek@redhat.com>
31883 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31884 Use dlfcn directly instead of a variable.
31885 (binfmt-subdir): Do not define.
31888 2012-08-01 Joseph Myers <joseph@codesourcery.com>
31890 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31891 Remove all definitions.
31892 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31893 <kernel-features.h>.
31894 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31895 (miss_F_GETOWN_EX): Remove all definitions.
31896 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31898 [!__ASSUME_FCNTL64]: Remove conditional code.
31899 [__ASSUME_FCNTL64]: Make code unconditional.
31900 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31901 <kernel-features.h>.
31902 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31903 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31904 (lockf64) [__NR_fcntl64]: Make code unconditional.
31905 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31907 * sysdeps/unix/sysv/linux/kernel-features.h
31908 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31909 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31910 Make code unconditional.
31911 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31912 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31914 [__NR_vfork]: Make code unconditional.
31915 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31916 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31918 [__NR_vfork]: Make code unconditional.
31919 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31920 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31922 2012-08-01 Roland McGrath <roland@hack.frob.com>
31924 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31925 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31927 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31928 Define mkstemp64 as an alias.
31929 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31930 Define mkstemps64 as an alias.
31931 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31932 Define mkostemp64 as an alias.
31933 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31934 Define mkostemps64 as an alias.
31935 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31936 Conditionalize body on this.
31937 * misc/mkostemp64.c: Likewise.
31938 * misc/mkostemps64.c: Likewise.
31939 * misc/mkstemps64.c: Likewise.
31940 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31941 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31942 * sysdeps/wordsize-64/mkostemp.c: File removed.
31943 * sysdeps/wordsize-64/mkstemp.c: File removed.
31944 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31945 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31946 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31947 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31950 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31951 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31952 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31953 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31955 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31956 compat_symbol macros from <shlib-compat.h> rather than the underlying
31957 default_symbol_version and symbol_version macros, so that DEFAULT
31958 lines in shlib-versions are respected.
31959 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31961 2012-08-01 Florian Weimer <fweimer@redhat.com>
31963 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31964 Declare with warn_unused_result.
31965 (setgid, setregid, setegid, setresgid): Likewise.
31966 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31968 * WUR-REPORT: Remove set*id functions.
31970 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31972 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31974 2012-07-31 Roland McGrath <roland@hack.frob.com>
31977 * include/sys/socket.h (__libc_accept, __libc_accept4):
31978 Add attribute_hidden.
31979 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31981 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31983 * inet/getnetgrent_r.c (setup): Likewise.
31985 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31987 2012-07-31 David S. Miller <davem@davemloft.net>
31989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31991 2012-07-31 Joseph Myers <joseph@codesourcery.com>
31994 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31995 value between 1.0 and 2.0 and smaller part has absolute value less
31997 * math/s_clog10.c (__clog10): Likewise.
31998 * math/s_clog10f.c (__clog10f): Likewise.
31999 * math/s_clog10l.c (__clog10l): Likewise.
32000 * math/s_clogf.c (__clogf): Likewise.
32001 * math/s_clogl.c (__clogl): Likewise.
32002 * math/libm-test.inc (clog_test): Add more tests.
32003 (clog10_test): Likewise.
32004 * sysdeps/i386/fpu/libm-test-ulps: Update.
32005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32007 2012-07-31 Florian Weimer <fweimer@redhat.com>
32009 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32010 Exit with zero in case no suitable GID is found, and write a
32011 message to standard error.
32013 2012-07-30 Roland McGrath <roland@hack.frob.com>
32015 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32017 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32018 (MAXPATHLEN): Removed.
32019 (NOGROUP, NODEV): New macros.
32020 (setbit, clrbit, isset, isclr): New macros.
32021 (howmany, roundup, powerof2): New macros.
32022 (DEV_BSIZE): New macro.
32024 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32025 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32027 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32028 definition on [!__NO_LONG_DOUBLE_MATH].
32030 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32031 PTR_MANGLE and PTR_DEMANGLE.
32033 * socket/accept4.c (accept4): Rename to __libc_accept4.
32034 Define accept4 as a weak alias.
32036 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32037 on [_DIRENT_HAVE_D_TYPE].
32038 * io/ftw.c (ftw_dir): Likewise.
32040 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32042 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32044 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32045 Use the BSD numbers rather than the arbitrary ones we had.
32046 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32047 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32048 (SIGXCPU, SIGXFSZ): New macros.
32051 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32052 initializer on [_LIBC_REENTRANT].
32054 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32055 definitions inside [_POSIX_MAPPED_FILES].
32057 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32059 * dirent/opendir.c: Include <fcntl.h>.
32061 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32062 (__libc_getspecific): Likewise.
32063 (__libc_key_create): Likewise.
32065 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32066 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32067 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32068 (tmpfile64): Define as alias.
32069 * sysdeps/wordsize-64/tmpfile.c: File removed.
32070 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32071 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32072 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32074 * stdio-common/vfscanf.c: Include <stdbool.h>.
32075 * nss/makedb.c: Likewise.
32076 * stdio-common/_i18n_number.h: Likewise.
32077 * argp/argp-help.c: Likewise.
32078 * posix/wordexp.c: Likewise.
32079 * sysdeps/posix/spawni.c: Likewise.
32080 * nss/nss_files/files-initgroups.c: Likewise.
32081 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32082 * nss/nss_files/files-initgroups.c: Likewise.
32083 * nss/nss_db/db-netgrp.c: Likewise.
32084 * nss/nss_db/db-initgroups.c: Likewise.
32085 * io/fchmodat.c: Include <sys/stat.h>.
32087 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32088 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32090 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32093 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32094 Add multiple inclusion protection.
32096 2012-07-27 David S. Miller <davem@davemloft.net>
32098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32100 2012-07-27 Gary Benson <gbenson@redhat.com>
32103 * elf/rtld.c: Include <stap-probe.h>.
32104 (dl_main): Added static probes "init_start" and "init_complete".
32105 * elf/dl-load.c: Include <stap-probe.h>.
32106 (lose): Take new parameter "nsid".
32107 Added static probe "map_failed".
32108 (_dl_map_object_from_fd): Pass namespace id to lose.
32109 Added static probe "map_start".
32110 (open_verify): Pass namespace id to lose.
32111 * elf/dl-open.c: Include <stap-probe.h>.
32112 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32113 and "reloc_complete".
32114 * elf/dl-close.c: Include <stap-probe.h>.
32115 (_dl_close_worker): Added static probes "unmap_start" and
32117 * elf/rtld-debugger-interface.txt: New file documenting the above.
32119 2012-07-26 Roland McGrath <roland@hack.frob.com>
32121 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32122 rather than a string variable.
32123 * sunrpc/rpc_main.c (h_output): Likewise.
32124 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32126 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32128 * inet/check_native.c: New file.
32130 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32133 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32134 if larger part has absolute value 1.0.
32135 * math/s_clog10.c (__clog10): Likewise.
32136 * math/s_clog10f.c (__clog10f): Likewise.
32137 * math/s_clog10l.c (__clog10l): Likewise.
32138 * math/s_clogf.c (__clogf): Likewise.
32139 * math/s_clogl.c (__clogl): Likewise.
32140 * math/libm-test.inc (clog_test): Add more tests.
32141 (clog10_test): Likewise.
32142 * sysdeps/i386/fpu/libm-test-ulps: Update.
32143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32145 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32146 (pltexit): Likewise.
32147 (La_regs): Likewise.
32148 (La_retval): Likewise.
32149 (int_retval): Likewise.
32150 Update #error for removed macros to refer only to definitions in
32152 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32154 (pltexit): Likewise.
32155 (La_regs): Likewise.
32156 (La_retval): Likewise.
32157 (int_retval): Likewise.
32158 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32160 (pltexit): Likewise.
32161 (La_regs): Likewise.
32162 (La_retval): Likewise.
32163 (int_retval): Likewise.
32164 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32166 (pltexit): Likewise.
32167 (La_regs): Likewise.
32168 (La_retval): Likewise.
32169 (int_retval): Likewise.
32170 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32172 (pltexit): Likewise.
32173 (La_regs): Likewise.
32174 (La_retval): Likewise.
32175 (int_retval): Likewise.
32176 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32178 (pltexit): Likewise.
32179 (La_regs): Likewise.
32180 (La_retval): Likewise.
32181 (int_retval): Likewise.
32182 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32184 (pltexit): Likewise.
32185 (La_regs): Likewise.
32186 (La_retval): Likewise.
32187 (int_retval): Likewise.
32188 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32189 macro definitions in tst-audit.h.
32190 * sysdeps/i386/tst-audit.h: New file.
32191 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32192 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32193 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32194 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32195 * sysdeps/sh/tst-audit.h: Likewise.
32196 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32197 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32198 * sysdeps/x86_64/tst-audit.h: Likewise.
32200 2012-07-26 Andreas Jaeger <aj@suse.de>
32202 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32205 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32206 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32207 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32209 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32210 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32211 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32213 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32216 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32218 (si_call_addr, si_syscall, si_arch): Define new macro.
32219 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32221 (si_call_addr, si_syscall, si_arch): Define new marcro.
32222 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32224 (si_call_addr, si_syscall, si_arch): Define new macro.
32225 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32227 (si_call_addr, si_syscall, si_arch): Define new macro.
32229 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32232 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32233 Change to 2.4.21 where previously 2.4.1.
32234 * sysdeps/unix/sysv/linux/configure: Regenerated.
32235 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32236 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32237 Linux kernel version.
32238 (__ASSUME_STD_AUXV): Remove.
32239 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32241 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32242 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32243 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32244 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32245 (__ASSUME_NETLINK_SUPPORT): Likewise.
32246 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32247 (__no_netlink_support): Remove conditional definition.
32248 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32250 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32251 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32252 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32253 (if_nameindex_ioctl): Remove.
32254 (if_nameindex_netlink): Do not handle __no_netlink_support.
32255 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32257 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32258 Remove conditional code.
32259 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32261 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32263 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32264 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32265 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32267 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32268 [!__ASSUME_STD_AUXV]: Remove conditional code.
32269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32270 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32271 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32273 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32274 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32276 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32278 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32279 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32281 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32283 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32286 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32289 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32290 code unconditional.
32291 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32293 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32295 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32298 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32300 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32303 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32304 code unconditional.
32305 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32307 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32309 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32312 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32313 code unconditional.
32314 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32316 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32318 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32321 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32323 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32324 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32325 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32326 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32327 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32328 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32329 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32330 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32331 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32332 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32333 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32334 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32335 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32336 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32337 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32338 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32339 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32340 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32341 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32342 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32343 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32344 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32345 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32347 2012-07-25 Florian Weimer <fweimer@redhat.com>
32349 * Versions.def: Add GLIBC_2.17.
32350 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32351 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32352 Introduce __libc_secure_getenv.
32353 * stdlib/Versions (2.17): Add secure_getenv
32354 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32355 * stdlib/secure-getenv.c: Rename __secure_getenv to
32356 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32357 symbol __secure_getenv for GLIBC_2.0.
32358 * stdlib/tst-secure-getenv.c: New.
32359 * stdlib/Makefile (tests): Add testcase.
32360 * manual/startup.texi (Environment Access): Document
32362 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32363 __libc_secure_getenv.
32364 * inet/ruserpass.c (ruserpass): Likewise.
32365 * malloc/mtrace.c (mtrace): Likewise.
32366 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32367 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32368 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32369 * sysdeps/posix/tempname.c: Likewise. Evaluate
32370 HAVE_SECURE_GETENV.
32371 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32372 __secure_getenv to __libc_secure_getenv.
32373 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32380 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32386 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32388 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32389 (struct La_i86_retval): Likewise.
32390 (struct La_x86_64_regs): Likewise.
32391 (struct La_x86_64_retval): Likewise.
32392 (struct La_x32_regs): Likewise.
32393 (struct La_x32_retval): Likewise.
32394 (struct La_ppc32_regs): Likewise.
32395 (struct La_ppc32_retval): Likewise.
32396 (struct La_ppc64_regs): Likewise.
32397 (struct La_ppc64_retval): Likewise.
32398 (struct La_sh_regs): Likewise.
32399 (struct La_sh_retval): Likewise.
32400 (struct La_s390_32_regs): Likewise.
32401 (struct La_s390_32_retval): Likewise.
32402 (struct La_s390_64_regs): Likewise.
32403 (struct La_s390_64_retval): Likewise.
32404 (struct La_sparc32_regs): Likewise.
32405 (struct La_sparc32_retval): Likewise.
32406 (struct La_sparc64_regs): Likewise.
32407 (struct La_sparc64_retval): Likewise.
32408 (struct audit_ifaces): Remove architecture-specific pltenter and
32410 * sysdeps/i386/ldsodefs.h: New file.
32411 * sysdeps/powerpc/ldsodefs.h: Likewise.
32412 * sysdeps/s390/ldsodefs.h: Likewise.
32413 * sysdeps/sh/ldsodefs.h: Likewise.
32414 * sysdeps/sparc/ldsodefs.h: Likewise.
32415 * sysdeps/x86_64/ldsodefs.h: Likewise.
32417 2012-07-25 Marek Polacek <polacek@redhat.com>
32420 * math/libm-test.inc (yn_test): Add another test.
32421 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32422 to ERANGE when the result is +-Inf.
32423 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32424 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32425 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32426 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32428 2012-07-24 Joseph Myers <joseph@codesourcery.com>
32430 * conform/data/time.h-data (NULL): Use macro-constant. Require
32432 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32434 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32436 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32438 * configure.in <sysdeps resolving>: Correct printing
32440 * configure: Regenerate.
32442 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32444 * math/w_ilogb.c: Include <limits.h>.
32445 * math/w_ilogbl.c: Likewise.
32447 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32449 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32450 va_copy. Document allowing for unavailable va_copy only as
32451 pre-C99 compatibility.
32452 * manual/string.texi (Copying and Concatenation): Use va_copy
32453 instead of __va_copy in concat example.
32455 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32457 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32458 (__sendto): Use create_address_port. Initialize APORT and deallocate
32461 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32462 with O_NOLINK passed to __file_name_lookup.
32464 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32465 with O_NOLINK passed to __file_name_lookup.
32467 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32468 negative N or less than NGIDS.
32470 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32471 type to string_t. Set ERANGE as errno and return it if NAME is not big
32472 enough. Use memcpy instead of strncpy.
32474 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32476 * elf/Makefile (check-data): Remove.
32477 (localplt.data): New vpath directive.
32478 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32479 instead of $(check-data).
32480 * scripts/data/localplt-generic.data: Move to ...
32481 * sysdeps/generic/localplt.data: ... here.
32482 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32483 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32484 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32487 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32490 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32493 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32496 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32499 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32503 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32505 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32506 PPC32 and PPC64 files.
32507 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32508 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32510 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32512 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32513 __makecontext_ret to ...
32514 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32515 ... here and call exit if uc_link is NULL. New file.
32516 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32517 __makecontext_ret.S.
32518 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32519 __makecontext_ret to ...
32520 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32521 ... here and call exit if uc_link is NULL. New file.
32522 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32523 __makecontext_ret.S.
32525 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32527 * elf/elf.h (R_390_IRELATIVE): New definition.
32528 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32529 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32530 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32531 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32532 (elf_machine_lazy_rel): Likewise.
32533 * sysdeps/s390/dl-irel.h: New file.
32534 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32535 * sysdeps/s390/s390-64/memset.S: New asm code.
32536 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32537 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32538 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32539 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32540 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32541 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32542 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32543 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32544 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32545 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32546 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32547 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32548 * sysdeps/s390/s390-32/memset.S: New asm code.
32549 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32551 2012-07-17 Marek Polacek <polacek@redhat.com>
32554 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32555 * sysdeps/s390/s390-64/configure.in: Likewise.
32556 * sysdeps/sparc/configure.in: Likewise.
32557 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32558 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32559 * sysdeps/i386/configure.in: Likewise.
32560 * sysdeps/x86_64/configure.in: Likewise.
32561 * sysdeps/sh/configure.in: Likewise.
32562 * sysdeps/s390/s390-32/configure: Regenerated.
32563 * sysdeps/s390/s390-64/configure: Likewise.
32564 * sysdeps/x86_64/configure: Likewise.
32565 * sysdeps/sh/configure: Likewise.
32566 * sysdeps/powerpc/powerpc64/configure: Likewise.
32567 * sysdeps/powerpc/powerpc32/configure: Likewise.
32568 * sysdeps/sparc/configure: Likwise.
32569 * sysdeps/i386/configure: Likewise.
32571 * elf/dl-open.c: Comment fixes.
32573 2012-07-17 Joseph Myers <joseph@codesourcery.com>
32575 * Makefile [CXX] (check-data): Remove.
32576 [CXX] (c++-types.data): New vpath directive.
32577 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32578 vpath. Do not allow for C++ type data being missing.
32579 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32580 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32581 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32582 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32583 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32584 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32585 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32588 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32591 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32594 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32597 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32600 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32603 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32606 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32609 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32610 definitions to architecture-specific files.
32611 (TLS_IE): Likewise.
32612 (TLS_LD): Likewise.
32613 (TLS_GD): Likewise.
32614 * sysdeps/i386/tls-macros.h: New file.
32615 * sysdeps/powerpc/tls-macros.h: Likewise.
32616 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32617 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32618 * sysdeps/sh/tls-macros.h: Likewise.
32619 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32620 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32621 * sysdeps/x86_64/tls-macros.h: Likewise.
32623 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32625 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32626 zero value for regular exit case.
32628 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32629 (__start_context): Preserve zero value for regular exit case.
32631 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32632 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32634 * manual/setjmp.texi (setcontext): Clarify normal process
32635 termination when uc_link is the null pointer.
32636 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32639 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32641 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32642 preprocessor. Test for each exception mask separately.
32644 2012-07-16 Andreas Jaeger <aj@suse.de>
32646 * po/ru.po: Update from translation team.
32648 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32650 * conform/data/string.h-data (NULL): Use macro-constant. Require
32652 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32653 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32654 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32655 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32656 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32658 2012-07-13 Andreas Jaeger <aj@suse.de>
32660 * po/fr.po: Update from translation team.
32662 2012-07-12 Marek Polacek <polacek@redhat.com>
32665 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32666 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32669 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32672 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32673 Change to 2.4.1 where previously 2.4.0.
32674 * sysdeps/unix/sysv/linux/configure: Regenerated.
32675 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32676 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32678 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32679 (__ASSUME_AT_CLKTCK): Remove.
32680 (__ASSUME_AT_PAGESIZE): Likewise.
32681 (__ASSUME_AT_XID): Likewise.
32682 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32683 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32684 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32686 (HAVE_AUX_PAGESIZE): Likewise.
32687 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32688 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32689 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32691 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32694 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32695 the temporary buffer used to invoke __gethostbyname2_r,
32696 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32697 host_data / struct gaih_addrtuple.
32698 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32699 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32700 header file nss/nsswitch.h.
32701 * nss/nsswitch.h (global scope): Add definition of implementation
32702 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32703 resolv/nss_dns/dns-host.c).
32705 2012-07-11 Andreas Jaeger <aj@suse.de>
32707 * po/fr.po: Update from translation team.
32709 * po/sv.po: Update from translation team
32710 * po/fr.po: Another update from translation team.
32712 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32714 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32715 for subnormals or multiply small sinh result by itself.
32716 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32719 2012-07-11 David S. Miller <davem@davemloft.net>
32721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32723 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32726 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32727 (INTERNAL_MARK): Shift it here.
32729 2012-07-10 Marek Polacek <polacek@redhat.com>
32732 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32733 libc_cv_asm_global_directive with .globl.
32734 * configure: Regenerated.
32735 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32737 * sysdeps/i386/configure: Regenerated.
32738 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32740 * sysdeps/x86_64/configure: Regenerated.
32741 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32742 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32743 * elf/tst-unique2mod2.c: Likewise.
32744 * elf/tst-unique2mod1.c: Likewise.
32745 * elf/tst-unique1mod2.c: Likewise.
32746 * elf/tst-unique1mod1.c: Likewise.
32747 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32748 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32749 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32750 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32751 * sysdeps/mach/sysdep.h: Likewise.
32752 * sysdeps/i386/sysdep.h: Likewise.
32753 * sysdeps/i386/i386-mcount.S: Likewise.
32754 * sysdeps/x86_64/_mcount.S: Likewise.
32755 * sysdeps/x86_64/sysdep.h: Likewise.
32756 * sysdeps/sh/_mcount.S: Likewise.
32757 * sysdeps/sh/sysdep.h: Likewise.
32758 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32759 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32760 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32761 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32762 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32763 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32764 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32765 * locale/localeinfo.h: Likewise.
32766 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32767 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32769 2012-07-09 Roland McGrath <roland@hack.frob.com>
32772 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32774 * manual/message.texi (The Uniforum approach): Likewise.
32775 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32776 (glibc iconv Implementation): Likewise.
32778 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32781 * math/s_clog.c (__clog): Avoid scaling a value down where that
32782 could result in underflow.
32783 * math/s_clog10.c (__clog10): Likewise.
32784 * math/s_clog10f.c (__clog10f): Likewise.
32785 * math/s_clog10l.c (__clog10l): Likewise.
32786 * math/s_clogf.c (__clogf): Likewise.
32787 * math/s_clogl.c (__clogl): Likewise.
32788 * math/libm-test.inc (clog_test): Add more tests.
32789 (clog10_test): Likewise.
32790 * sysdeps/i386/fpu/libm-test-ulps: Update.
32791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32793 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32796 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32797 by 7 not 8 to examine high bit of fractional part.
32800 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32801 for call to __mcount_internal.
32802 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32803 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32804 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32806 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32809 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32810 approximation for values within 0x1p-13f of an odd multiple of
32812 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32813 exception. Add more tests.
32814 * sysdeps/i386/fpu/libm-test-ulps: Update.
32817 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32818 inputs and return -1 for them. Do not check for +Inf in case not
32819 reachable for +Inf.
32820 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32821 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32822 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32823 and return -1 for them. Do not check for +Inf in case not
32824 reachable for +Inf.
32825 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32827 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32828 and return -1 for them. Do not check for +Inf in case not
32829 reachable for +Inf.
32830 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32831 spurious underflow.
32832 * sysdeps/i386/fpu/libm-test-ulps: Update.
32833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32835 2012-07-06 Mike Frysinger <vapier@gentoo.org>
32837 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32839 2012-07-05 Joseph Myers <joseph@codesourcery.com>
32843 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32844 could result in spurious underflow. Scale down values above
32845 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32846 * math/s_csqrtf.c (__csqrtf): Likewise.
32847 * math/s_csqrtl.c (__csqrtl): Likewise.
32848 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32849 spurious underflow.
32850 * sysdeps/i386/fpu/libm-test-ulps: Update.
32851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32853 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32855 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32857 * catgets/xopen-msg.awk: New file.
32858 * catgets/xopen-msg.sed: Removed.
32860 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32862 * intl/po2test.awk: New file.
32863 * intl/po2test.sed: Removed.
32865 2012-07-04 Joseph Myers <joseph@codesourcery.com>
32868 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32869 or multiply small sinh result by itself.
32870 * math/s_ctanf.c (__ctanf): Likewise.
32871 * math/s_ctanh.c (__ctanh): Likewise.
32872 * math/s_ctanhf.c (__ctanhf): Likewise.
32873 * math/s_ctanhl.c (__ctanhl): Likewise.
32874 * math/s_ctanl.c (__ctanl): Likewise.
32875 * math/libm-test.inc (ctan_test_tonearest): New function.
32876 (ctan_test_towardzero): Likewise.
32877 (ctan_test_downward): Likewise.
32878 (ctan_test_upward): Likewise.
32879 (ctanh_test_tonearest): Likewise.
32880 (ctanh_test_towardzero): Likewise.
32881 (ctanh_test_downward): Likewise.
32882 (ctanh_test_upward): Likewise.
32883 (main): Call these new functions.
32884 * sysdeps/i386/fpu/libm-test-ulps: Update.
32885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32887 2012-07-03 Mike Frysinger <vapier@gentoo.org>
32889 * .gitignore: Delete /ports entry.
32891 2012-07-03 Andreas Jaeger <aj@suse.de>
32893 * po/bg.po: Update from translation team.
32894 * po/cs.po: Likewise.
32895 * po/de.po: Likewise.
32896 * po/hr.po: Likewise.
32897 * po/nl.pl: Likewise.
32898 * po/pl.po: Likewise.
32899 * po/vi.po: Likewise.
32901 2012-07-03 Joseph Myers <joseph@codesourcery.com>
32903 * Makeconfig [!+link] (+link-before-libc): New variable.
32904 [!+link] (+link-after-libc): Likewise.
32905 [!+link] (+link-tests): Likewise.
32906 [!+link] (+link): Define in terms of $(+link-before-libc) and
32907 $(+link-after-libc).
32908 [!+link-static] (+link-static-before-libc): New variable.
32909 [!+link-static] (+link-static-after-libc): Likewise.
32910 [!+link-static] (+link-static-tests): Likewise.
32911 [!+link-static] (+link-static): Define in terms of
32912 $(+link-static-before-libc) and $(+link-static-after-libc).
32913 [build-shared] (link-libc-before-gnulib): New variable.
32914 [build-shared] (link-libc-tests): Likewise.
32915 [build-shared] (link-libc): Define in terms of
32916 $(link-libc-before-gnulib).
32917 [!build-shared] (link-libc-tests): New variable.
32918 (link-libc-static-tests): New variable.
32919 [!gnulib] (gnulib-arch): New variable.
32920 [!gnulib] (gnulib-tests): Likewise.
32921 [!gnulib] (static-gnulib-arch): Likewise.
32922 [!gnulib] (static-gnulib-tests): Likewise.
32923 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32924 Define with "=" instead of ":=".
32925 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32926 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32927 * Rules (binaries-all-notests): New variable.
32928 (binaries-all-tests): Likewise.
32929 (binaries-static-notests): Likewise.
32930 (binaries-static-tests): Likewise.
32931 (binaries-all): Define using $(binaries-all-notests) and
32932 $(binaries-all-tests).
32933 (binaries-static): Define using $(binaries-static-notests) and
32934 $(binaries-static-tests).
32935 (binaries-shared-tests): New variable.
32936 (binaries-shared-notests): Likewise.
32937 (binaries-shared): Remove variable.
32938 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32939 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32940 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32941 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32942 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32943 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32944 * elf/Makefile (sln-modules): New variable.
32945 (extra-objs): Add $(sln-modules:=.o).
32946 (ldconfig-modules): Add static-stubs.
32947 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32948 * elf/static-stubs.c: New file.
32951 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32952 by 7 not 8 to examine high bit of fractional part. Use volatile
32953 variables when splitting into final array of floats if
32954 __FLT_EVAL_METHOD__ != 0.
32955 * math/libm-test.inc (cos_test): Add another test.
32956 (sin_test): Likewise.
32957 * sysdeps/i386/fpu/libm-test-ulps: Update.
32960 * math/libm-test.inc (cosh_test): Add more tests.
32962 * version.h (RELEASE): Set to "development".
32963 (VERSION): Set to "2.16.90".
32965 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32967 * NEWS: Update copyright. Remove last-updated date.
32968 Mention math library bug fixes and timezone data changes.
32969 * README: Mention GNU/Hurd, x32, and HPPA support status.
32971 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32973 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32975 2012-06-27 Andreas Jaeger <aj@suse.de>
32977 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32979 2012-06-25 Andreas Jaeger <aj@suse.de>
32981 * sysdeps/s390/fpu/libm-test-ulps: Update.
32983 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32984 Thomas Schwinge <thomas@codesourcery.com>
32986 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32987 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32988 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32991 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32993 * sysdeps/mach/start.c: Remove file.
32994 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32995 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32996 * sysdeps/sh/init-first.c: Likewise.
32998 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32999 registers for frame unwinding purposes, add CFI directives.
33000 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33001 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33002 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33005 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33006 __fortify_fail returning.
33007 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33009 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33010 sysdeps/sh/____longjmp_chk.S.
33011 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33012 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33013 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33014 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33016 * sysdeps/sh/abort-instr.h: New file.
33017 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33018 process in case exit returns.
33020 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33021 initialize the GOT register before use.
33023 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33024 calculation of ARGC > 4.
33026 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33027 meaningful names to some local labels.
33029 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33030 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33032 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33033 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33034 (__arch_compare_and_exchange_val_16_acq): Likewise.
33035 (__arch_compare_and_exchange_val_32_acq): Likewise.
33036 (atomic_exchange_and_add): Fix gUSA sequence.
33037 (atomic_add): Likewise.
33038 (atomic_add_negative): Likewise.
33039 (atomic_add_zero): Likewise.
33040 (atomic_bit_test_set): Likewise.
33042 2012-06-22 Andreas Schwab <schwab@redhat.com>
33045 * include/link.h (struct link_map): Add l_free_initfini.
33046 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33048 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33049 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33050 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33053 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33055 * configure.in: Use AC_LANG_SOURCE.
33056 * configure: Regenerate.
33058 2012-06-22 Roland McGrath <roland@hack.frob.com>
33060 * configure.in (libc_cv_localstatedir): New substituted variable.
33061 * configure: Regenerated.
33062 * config.make.in (localstatedir): New variable, substituted from
33063 libc_cv_localstatedir.
33064 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33065 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33066 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33067 * sysdeps/gnu/configure: Regenerated.
33069 2012-06-21 Jeff Law <law@redhat.com>
33072 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33073 free. Simplify list management for _LIBC case.
33075 2012-06-21 Joseph Myers <joseph@codesourcery.com>
33078 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33079 Clear sign bit of 64-bit integer value before comparing against
33082 * sysdeps/mach/configure: Regenerated.
33084 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33087 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33089 2012-06-21 Jeff Law <law@redhat.com>
33092 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33093 uint16_t for elements in the "seen" array to avoid char overflows.
33094 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33095 * elf/dl-open.c (dl_open_worker): Likewise.
33097 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33099 * scripts/list-sources.sh: Scan PORTS for translations.
33100 * po/libc.pot: Regenerated.
33102 2012-06-21 Andreas Jaeger <aj@suse.de>
33105 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33107 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33108 * bits/byteswap-16.h (__bswap_16): Likewise.
33109 * bits/byteswap.h (__bswap_constant_16): Likewise.
33111 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33114 * sysdeps/i386/fpu_control.h: Removed.
33115 * sysdeps/x86_64/fpu_control.h: Moved to ...
33116 * sysdeps/x86/fpu_control.h: Here.
33118 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33119 (_FPU_SETCW): Likewise.
33121 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33124 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33125 * sysdeps/x86/fpu/bits/mathinline.h: This.
33126 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33130 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33131 functions if __x86_64__ is defined.
33133 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33135 * string/endian.h: Add !__ASSEMBLER__ condition for including
33136 conversion interfaces.
33138 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33141 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33142 of ABS(x) in calculating zero to negative powers other than odd
33144 * math/libm-test.inc (pow_test): Add more tests.
33146 2012-06-15 Andreas Jaeger <aj@suse.de>
33148 * manual/contrib.texi (Contributors): Update entry of Liubov
33149 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33152 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33154 * string/string.h: Add __wur to GNU version of strerror_r.
33156 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33159 * string/Makefile (tests): Add tst-strtok_r.
33160 * string/tst-strtok_r.c: New file.
33161 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33162 RAX_LP/RDX_LP on SAVE_PTR.
33164 2012-06-14 Roland McGrath <roland@hack.frob.com>
33166 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33168 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33170 * libm_test.inc (csqrt_test): Allow more spurious underflow
33172 (j0_test): Likewise.
33173 (j1_test): Likewise.
33174 (y0_test): Likewise.
33175 (y1_test): Likewise.
33177 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33179 * po/Makefile (libc.pot): Use UTF-8 charset.
33181 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33184 Suppress sign-conversion warning from FD_SET.
33185 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33186 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33187 not unsigned long int.
33188 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33190 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33194 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33195 __extern_always_inline instead of __extern_inline.
33196 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33197 (__signbit): Likewise.
33198 (__signbitl): Support C++ namespace.
33199 (lrintf): New inline function.
33201 (llrintf): Likewise.
33202 (llrint): Likewise.
33212 (floorf): Likewise.
33213 (nearbyint): Likewise.
33214 (nearbyintf): Likewise.
33216 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33218 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33219 non-default versions.
33221 2012-06-11 Roland McGrath <roland@hack.frob.com>
33224 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33226 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33228 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33229 (FE_UPWARD, FE_DOWNWARD): Don't define.
33230 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33231 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33233 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33235 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33236 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33238 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33240 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33241 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33242 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33243 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33245 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33248 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33249 * sysdeps/i386/fpu/Implies: New file.
33250 * sysdeps/x86_64/fpu/Implies: Likewise.
33251 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33252 * sysdeps/x86/fpu/bits/fenv.h: This.
33254 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33257 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33260 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33261 character 0xffff that matches the last element of the
33264 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33266 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33269 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33271 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33272 values higher than 25.6283.
33274 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33276 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33277 subnormal exponent extraction and add some __builtin_expect.
33278 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33279 Fix for subnormal mantissa calculation.
33281 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33283 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33284 cpu2 is -1 and errno is not ENOSYS.
33286 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33289 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33290 * sysdeps/x86/bits/string.h: This.
33291 * sysdeps/x86_64/bits/string.h: Removed.
33293 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33294 if not compiling for x86-64, but compiling for >= i486.
33296 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33297 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33299 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33300 New macro from Linux kernel 3.4.0.
33301 (FP_XSTATE_MAGIC2): Likewise.
33302 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33303 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33304 (struct _fpx_sw_bytes): New struct.
33305 (struct _xsave_hdr): Likewise.
33306 (struct _ymmh_state): Likewise.
33307 (struct _xstate): Likewise.
33309 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33310 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33311 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33312 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33313 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33314 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33316 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33317 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33318 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33319 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33320 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33321 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33323 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33326 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33327 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33328 (sysdep_headers): Include sys/platform/ppc.h.
33329 * sysdeps/powerpc/test-gettimebase.c: Test for
33330 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33331 * manual/Makefile (appendices): Include platform.texi.
33332 * manual/contrib.texi (Contributors): Update @node pointers.
33333 * manual/maint.texi (Maintenance): Likewise.
33334 (Platform): New node.
33335 * manual/platform.texi: New file. Document the new features.
33337 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33338 Jakub Jelinek <jakub@redhat.com>
33341 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33342 where __builtin_expect is unavailable.
33344 2012-06-03 David S. Miller <davem@davemloft.net>
33346 * stdlib/longlong.h: Updated from GCC.
33348 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33351 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33352 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33355 (GLIBC_2.16): Likewise.
33357 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33359 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33361 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33364 (default-abi): New variable.
33365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33366 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33368 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33370 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33372 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33375 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33376 definition. Document in comment.
33378 2012-06-01 David S. Miller <davem@davemloft.net>
33380 * stdlib/longlong.h: Updated from GCC.
33382 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33385 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33386 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33387 sys/debugreg.h sys/io.h here.
33388 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33389 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33391 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33392 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33393 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33394 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33395 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33396 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33398 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33399 Define only if __x86_64__ is defined.
33401 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33404 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33405 Use int64_t for variable i.
33406 * math/libm-test.inc (fmod_test): Add more tests.
33408 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33409 z computation is not scheduled after fetestexcept.
33410 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33411 Use math_force_eval instead of asm to ensure calculation scheduled
33412 before exception test.
33413 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33414 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33416 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33419 computation is not scheduled after fetestexcept.
33421 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33424 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33425 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33427 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33429 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33430 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33432 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33435 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33437 (__WCHAR_MIN): Support __WORDSIZE == 64.
33438 (__WCHAR_MAX): Likewise.
33440 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33441 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33444 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33445 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33448 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33449 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33451 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33452 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33454 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33455 Defined to 1 if __x86_64__ isn't defined.
33456 (_STAT_VER_LINUX_OLD): New.
33457 (st_atime): Remove duplicate.
33458 (st_mtime): Likewise.
33459 (st_ctime): Likewise.
33461 2012-05-31 David S. Miller <davem@davemloft.net>
33463 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33466 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33468 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33472 * elf/dl-reloc.c: Include <_itoa.h>.
33473 (_dl_reloc_bad_type): Remove use of INTUSE.
33474 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33475 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33476 * stdio-common/psiginfo.c (psiginfo): Likewise.
33477 * stdio-common/psignal.c (psignal): Likewise.
33478 * string/strsignal.c (strsignal): Likewise.
33479 * include/signal.h (_sys_siglist): Declare hidden proto.
33480 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33481 INTVARDEF with libc_hidden_data_def.
33482 * stdio-common/itoa-udigits.c: Likewise.
33483 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33484 (_itoa_lower_digits_internal): Remove declaration.
33485 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33486 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33487 (_sys_sigabbrev_internal): Remove aliases.
33488 (_sys_siglist): Define hidden alias.
33490 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33495 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33498 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33499 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33501 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33502 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33503 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33504 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33505 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33506 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33508 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33509 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33510 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33512 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33520 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33521 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33522 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33524 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33525 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33526 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33527 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33528 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33529 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33531 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33532 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33534 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33535 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33537 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33538 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33539 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33541 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33542 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33544 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33546 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33547 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33548 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33550 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33552 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33554 2012-05-31 Joseph Myers <joseph@codesourcery.com>
33556 * math/math.h (M_El): Use two more decimal places.
33557 (M_LOG2El): Likewise.
33558 (M_LOG10El): Likewise.
33559 (M_LN2l): Likewise.
33560 (M_LN10l): Likewise.
33562 (M_PI_2l): Likewise.
33563 (M_PI_4l): Likewise.
33564 (M_1_PIl): Likewise.
33565 (M_2_PIl): Likewise.
33566 (M_2_SQRTPIl): Likewise.
33567 (M_SQRT2l): Likewise.
33568 (M_SQRT1_2l): Likewise.
33570 2012-05-31 David S. Miller <davem@davemloft.net>
33572 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33573 values between float registers.
33574 * sysdeps/sparc/sparc64/memset.S: Likewise.
33575 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33577 2012-05-31 Mike Frysinger <vapier@gentoo.org>
33579 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33580 -D_FORTIFY_SOURCE=1.
33581 (CPPFLAGS-tst-longjmp_chk.c): Define.
33582 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33583 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33584 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33585 CFLAGS-tst-wchar-h.c.
33587 2012-05-31 Marek Polacek <polacek@redhat.com>
33590 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33591 __endmntent_internal): Remove declaration.
33592 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33593 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33594 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33596 2012-05-30 David S. Miller <davem@davemloft.net>
33598 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33599 (___Q_simulate_exceptions): Use real FP ops rather than writing
33601 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33604 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33607 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33608 * sysdeps/x86/bits/xtitypes.h: This.
33610 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33611 * sysdeps/x86/bits/wordsize.h: This.
33613 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33614 * sysdeps/x86/bits/huge_vall.h: This.
33616 * sysdeps/i386/bits/select.h: Removed.
33617 * sysdeps/x86_64/bits/select.h: Renamed to ...
33618 * sysdeps/x86/bits/select.h: This.
33620 * sysdeps/i386/bits/setjmp.h: Removed.
33621 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33622 * sysdeps/x86/bits/setjmp.h: This.
33624 * sysdeps/i386/bits/mathdef.h: Removed.
33625 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33626 * sysdeps/x86/bits/mathdef.h: This.
33628 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33631 * include/sys/socket.h (__connect_internal)
33632 (__libc_sa_len_internal): Remove declaration.
33633 (__connect, __libc_sa_len): Declare hidden_proto.
33634 (SA_LEN): Remove use of INTUSE.
33635 * socket/connect.c: Add libc_hidden_def.
33636 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33637 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33638 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33640 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33641 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33642 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33643 of adding _internal alias.
33645 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33648 * sysdeps/i386/bits/link.h: Removed.
33649 * sysdeps/i386/bits/linkmap.h: Likewise.
33650 * sysdeps/x86_64/bits/link.h: Renamed to ...
33651 * sysdeps/x86/bits/link.h: This.
33652 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33653 * sysdeps/x86/bits/linkmap.h: This.
33655 * sysdeps/i386/bits/endian.h: Removed.
33656 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33657 * sysdeps/x86/bits/endian.h: This.
33659 * sysdeps/i386/bits/byteswap.h: Removed.
33660 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33661 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33662 * sysdeps/x86/bits/byteswap.h: This.
33663 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33664 * sysdeps/x86/bits/byteswap-16.h: This.
33665 * sysdeps/i386/Implies: Add x86.
33666 * sysdeps/x86_64/Implies: Likewise.
33668 2012-05-30 David S. Miller <davem@davemloft.net>
33670 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33671 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33672 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33673 (FP_TRAPPING_EXCEPTIONS): Define.
33674 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33675 (FP_TRAPPING_EXCEPTIONS): Define.
33676 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33677 subnormals only when inexact has been signalled or underflow
33678 exceptions are enabled.
33679 (_FP_PACK_CANONICAL): Likewise.
33681 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33684 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33685 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33687 2012-05-30 Richard Henderson <rth@twiddle.net>
33689 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33690 with #ifndef NOT_IN_libc.
33692 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33693 marked to avoid plt entry.
33695 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33698 * Makeconfig (default-abi): New macro.
33699 (abi-includes): Likewise.
33700 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33701 $(abi-$(default-abi)-lib-soname) for soname if defined.
33702 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33704 * Makefile (installed-stubs): Likewise.
33705 * include/stubs-biarch.h: Removed.
33706 * scripts/lib-names.awk: Only handle one library at a time.
33707 * scripts/soversions.awk: Remove WORDSIZE support.
33708 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33710 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33712 (syscall-list-default-condition): Likewise.
33713 (syscall-list-default-condition): Likewise.
33714 (syscall-list-includes): Likewise.
33715 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33716 syscall-list-* with abi-*. Handle undefined abi-variants.
33717 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33718 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33719 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33720 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33721 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33722 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33724 (syscall-list-32-options): Likewise.
33725 (syscall-list-32-condition): Likewise.
33726 (syscall-list-64-options): Likewise.
33727 (syscall-list-64-condition): Likewise.
33728 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33730 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33733 (abi-64-ld-soname): New macro.
33734 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33735 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33738 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33739 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33741 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33743 * sysdeps/unix/sysv/linux/kernel-features.h
33744 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33745 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33746 include <kernel-features.h>.
33747 [!__NR_ftruncate64]: Remove conditional code.
33748 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33749 [__NR_ftruncate64]: Make code unconditional.
33750 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33751 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33752 include <kernel-features.h>.
33753 [!__NR_ftruncate64]: Remove conditional code.
33754 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33755 [__NR_ftruncate64]: Make code unconditional.
33756 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33758 include <kernel-features.h>.
33759 [!__NR_ftruncate64]: Remove conditional code.
33760 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33761 [__NR_ftruncate64]: Make code unconditional.
33762 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33764 include <kernel-features.h>.
33765 [!__NR_ftruncate64]: Remove conditional code.
33766 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33767 [__NR_ftruncate64]: Make code unconditional.
33768 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33770 * configure.in (libc_cv_fpie): Weaken to a compile test using
33771 LIBC_TRY_CC_OPTION.
33772 * configure: Regenerated.
33774 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33789 2012-05-27 David S. Miller <davem@davemloft.net>
33791 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33793 (__Q_simulate_exceptions): Return void. Change to simulate
33794 exceptions by writing into the %fsr.
33795 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33796 (__Qp_handle_exceptions): Likewise.
33798 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33799 __Qp_handle_exceptions.
33800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33801 __Qp_handle_exceptions.
33802 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33803 as unused and give dummy FP_RND_NEAREST initializer.
33804 (FP_INHIBIT_RESULTS): Define.
33805 (___Q_simulate_exceptions): Update declaration.
33806 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33808 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33809 as unused and give dummy FP_RND_NEAREST initializer.
33810 (__Qp_handle_exceptions): Update declaration.
33811 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33814 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33816 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33817 the temporary FPU control word.
33818 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33819 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33820 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33821 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33822 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33823 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33824 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33825 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33826 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33827 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33828 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33830 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33832 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33835 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33837 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33838 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33839 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33840 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33842 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33843 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33846 2012-05-27 Ulrich Drepper <drepper@gmail.com>
33848 * po/h.po: Update from translation team.
33850 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33852 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33854 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33855 handling of denormals.
33856 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33857 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33858 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33859 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33860 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33861 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33862 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33865 2012-05-26 Marek Polacek <polacek@redhat.com>
33868 * math/libm-test.inc (fma_test): Don't always expect underflow
33871 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33874 * elf/tst-execstack.c: Include stackinfo.h.
33875 (do_test): Adjust test case to ensure that pthread_getattr_np
33876 behaviour remains the same after marking stack executable.
33878 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33880 * sysdeps/unix/sysv/linux/kernel-features.h
33881 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33882 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33884 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33885 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33886 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33888 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33889 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33891 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33893 * configure.in: Define the default includes to being none.
33894 * configure: Regenerated.
33896 2012-05-25 Roland McGrath <roland@hack.frob.com>
33898 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33899 * sysdeps/x86_64/setjmp.S: Likewise.
33900 * sysdeps/i386/bsd-setjmp.S: Likewise.
33901 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33902 * sysdeps/i386/setjmp.S: Likewise.
33903 * sysdeps/i386/__longjmp.S: Likewise.
33904 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33905 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33907 * include/stap-probe.h: New file.
33908 * configure.in: Handle --enable-systemtap.
33909 * configure: Regenerated.
33910 * config.h.in (USE_STAP_PROBE): New #undef.
33911 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33912 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33913 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33915 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33918 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33919 to 2.4.0 where earlier.
33920 * sysdeps/unix/sysv/linux/configure: Regenerated.
33921 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33922 <kernel-features.h>.
33923 [__ASSUME_32BITUIDS]: Make code unconditional.
33924 [!__ASSUME_32BITUIDS]: Remove conditional code.
33925 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33926 <kernel-features.h>.
33927 [__ASSUME_32BITUIDS]: Make code unconditional.
33928 [!__ASSUME_32BITUIDS]: Remove conditional code.
33929 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33930 [__ASSUME_32BITUIDS]: Make code unconditional.
33931 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33932 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33933 <kernel-features.h>.
33934 [__ASSUME_32BITUIDS]: Make code unconditional.
33935 [!__ASSUME_32BITUIDS]: Remove conditional code.
33936 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33937 <kernel-features.h>.
33938 [__ASSUME_32BITUIDS]: Make code unconditional.
33939 [!__ASSUME_32BITUIDS]: Remove conditional code.
33940 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33941 <kernel-features.h>.
33942 [__ASSUME_32BITUIDS]: Make code unconditional.
33943 [!__ASSUME_32BITUIDS]: Remove conditional code.
33944 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33945 <kernel-features.h>.
33946 [__ASSUME_32BITUIDS]: Make code unconditional.
33947 [!__ASSUME_32BITUIDS]: Remove conditional code.
33948 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33949 <kernel-features.h>.
33950 [__ASSUME_32BITUIDS]: Make code unconditional.
33951 [!__ASSUME_32BITUIDS]: Remove conditional code.
33952 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33953 <kernel-features.h>.
33954 [__ASSUME_32BITUIDS]: Make code unconditional.
33955 [!__ASSUME_32BITUIDS]: Remove conditional code.
33956 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33957 <kernel-features.h>.
33958 [__ASSUME_32BITUIDS]: Make code unconditional.
33959 [!__ASSUME_32BITUIDS]: Remove conditional code.
33960 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33961 <kernel-features.h>.
33962 [__ASSUME_32BITUIDS]: Make code unconditional.
33963 [!__ASSUME_32BITUIDS]: Remove conditional code.
33964 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33965 <kernel-features.h>.
33966 [__ASSUME_32BITUIDS]: Make code unconditional.
33967 [!__ASSUME_32BITUIDS]: Remove conditional code.
33968 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33969 <kernel-features.h>.
33970 [__ASSUME_32BITUIDS]: Make code unconditional.
33971 [!__ASSUME_32BITUIDS]: Remove conditional code.
33972 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33973 <kernel-features.h>.
33974 [__NR_setresgid] (__setresgid): Do not declare.
33975 [__ASSUME_32BITUIDS]: Make code unconditional.
33976 [!__ASSUME_32BITUIDS]: Remove conditional code.
33977 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33978 <kernel-features.h>.
33979 [__NR_setresuid] (__setresuid): Do not declare.
33980 [__ASSUME_32BITUIDS]: Make code unconditional.
33981 [!__ASSUME_32BITUIDS]: Remove conditional code.
33982 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33983 <kernel-features.h>.
33984 [__ASSUME_32BITUIDS]: Make code unconditional.
33985 [!__ASSUME_32BITUIDS]: Remove conditional code.
33986 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33987 <kernel-features.h>.
33988 [__ASSUME_32BITUIDS]: Make code unconditional.
33989 [!__ASSUME_32BITUIDS]: Remove conditional code.
33990 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33991 <kernel-features.h>.
33992 [__ASSUME_32BITUIDS]: Make code unconditional.
33993 [!__ASSUME_32BITUIDS]: Remove conditional code.
33994 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33995 <kernel-features.h>.
33996 [__ASSUME_32BITUIDS]: Make code unconditional.
33997 [!__ASSUME_32BITUIDS]: Remove conditional code.
33998 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33999 <kernel-features.h>.
34000 [__ASSUME_32BITUIDS]: Make code unconditional.
34001 [!__ASSUME_32BITUIDS]: Remove conditional code.
34002 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34003 <kernel-features.h>.
34004 [__ASSUME_32BITUIDS]: Make code unconditional.
34005 [!__ASSUME_32BITUIDS]: Remove conditional code.
34006 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34007 <kernel-features.h>.
34008 [__ASSUME_32BITUIDS]: Make code unconditional.
34009 [!__ASSUME_32BITUIDS]: Remove conditional code.
34010 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34011 <kernel-features.h>.
34012 [__ASSUME_32BITUIDS]: Make code unconditional.
34013 [!__ASSUME_32BITUIDS]: Remove conditional code.
34014 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34015 <kernel-features.h>.
34016 [__ASSUME_32BITUIDS]: Make code unconditional.
34017 [!__ASSUME_32BITUIDS]: Remove conditional code.
34018 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34019 <kernel-features.h>.
34020 [__ASSUME_32BITUIDS]: Make code unconditional.
34021 [!__ASSUME_32BITUIDS]: Remove conditional code.
34022 * sysdeps/unix/sysv/linux/kernel-features.h
34023 (__ASSUME_SETRESUID_SYSCALL): Remove.
34024 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34025 (__ASSUME_32BITUIDS): Likewise.
34026 (__ASSUME_LDT_WORKS): Likewise.
34027 (__ASSUME_O_DIRECTORY): Likewise.
34028 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34029 architecture but not kernel version.
34030 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34031 (__ASSUME_MMAP2_SYSCALL): Likewise.
34032 (__ASSUME_STAT64_SYSCALL): Likewise.
34033 (__ASSUME_IPC64): Likewise.
34034 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34035 <kernel-features.h>.
34036 [__ASSUME_32BITUIDS]: Make code unconditional.
34037 [!__ASSUME_32BITUIDS]: Remove conditional code.
34038 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34039 <kernel-features.h>.
34040 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34041 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34042 132096]: Remove conditional code.
34043 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34044 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34045 <kernel-features.h>.
34046 [__ASSUME_32BITUIDS]: Make code unconditional.
34047 [!__ASSUME_32BITUIDS]: Remove conditional code.
34048 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34049 <kernel-features.h>.
34050 [__ASSUME_32BITUIDS]: Make code unconditional.
34051 [!__ASSUME_32BITUIDS]: Remove conditional code.
34052 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34053 <kernel-features.h>.
34054 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34056 (__setresgid): Do not declare.
34057 [__ASSUME_32BITUIDS]: Make code unconditional.
34058 [!__ASSUME_32BITUIDS]: Remove conditional code.
34059 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34060 <kernel-features.h>.
34061 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34063 (__setresuid): Do not declare.
34064 [__ASSUME_32BITUIDS]: Make code unconditional.
34065 [!__ASSUME_32BITUIDS]: Remove conditional code.
34066 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34067 <kernel-features.h>.
34068 [__ASSUME_32BITUIDS]: Make code unconditional.
34069 [!__ASSUME_32BITUIDS]: Remove conditional code.
34070 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34071 <kernel-features.h>.
34072 [__ASSUME_32BITUIDS]: Make code unconditional.
34073 [!__ASSUME_32BITUIDS]: Remove conditional code.
34075 2012-05-25 Richard Henderson <rth@twiddle.net>
34077 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34078 dl_hwcap to ifunc resolver.
34079 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34081 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34082 dl_hwcap to ifunc resolver.
34083 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34085 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34088 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34089 for |x| <= 2**-26, not 2**-57.
34090 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34093 2012-05-24 Jeff Law <law@redhat.com>
34095 * stdio-common/Makefile (tests): Add bug25.
34096 * stdio-common/bug25.c: New test.
34098 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34101 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34102 multiple of MALLOC_ALIGNMENT in size.
34103 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34105 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34107 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34109 (FILENAME_MAX): Use macro-int-constant.
34110 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34111 (_IOFBF): Use macro-int-constant.
34112 (_IOLBF): Likewise.
34113 (_IONBF): Likewise.
34114 (SEEK_CUR): Likewise.
34115 (SEEK_END): Likewise.
34116 (SEEK_SET): Likewise.
34117 (TMP_MAX): Likewise.
34118 (EOF): Use macro-int-constant. Require < 0.
34119 (NULL): Use macro-constant. Require == 0.
34120 (stdin): Require type to be FILE *.
34121 (stdout): Likewise.
34122 (stderr): Likewise.
34123 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34124 macro-int-constant.
34125 (EXIT_SUCCESS): Likewise.
34126 (NULL): Use macro-constant. Require == 0.
34127 (RAND_MAX): Use macro-int-constant.
34128 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34129 [C99-based standards] (strtof): Require function.
34130 [C99-based standards] (strtold): Likewise.
34131 [C99-based standards] (strtoll): Likewise.
34132 [C99-based standards] (strtoull): Likewise.
34133 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34134 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34135 [ISO || ISO99 || ISO11] (math.h): Likewise.
34136 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34137 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34138 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34140 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34143 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34144 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34145 * intl/dgettext.c (DCGETTEXT): Likewise.
34146 * intl/gettext.c (DCGETTEXT): Likewise.
34147 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34148 * posix/regex_internal.h (gettext): Likewise.
34149 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34150 Remove declaration.
34151 * include/argz.h (__argz_count_internal)
34152 (__argz_stringify_internal): Remove declaration.
34153 (__argz_count, __argz_stringify): Declare hidden proto.
34154 * intl/dcgettext.c: Remove use of INTDEF.
34155 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34156 * string/argz-stringify.c: Likewise.
34157 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34158 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34159 Declare hidden proto.
34160 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34161 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34162 Declare hidden proto.
34163 * include/stdio.h (__asprintf_internal): Don't declare.
34164 (__asprintf): Don't define as macro. Declare hidden proto.
34165 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34166 (__fsetlocking): Declare hidden proto.
34167 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34168 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34170 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34171 (_IO_setlinebuf): Remove use of INTUSE.
34172 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34173 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34174 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34175 Remove declaration.
34176 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34177 (_IO_do_flush): Remove use of INTUSE.
34178 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34179 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34180 (_IO_adjust_column, _IO_least_wmarker)
34181 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34182 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34183 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34184 (_IO_default_doallocate, _IO_wdefault_doallocate)
34185 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34186 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34187 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34188 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34189 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34190 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34191 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34192 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34193 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34194 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34195 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34196 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34197 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34199 (_IO_flush_all_internal, _IO_adjust_column_internal)
34200 (_IO_default_uflow_internal, _IO_default_finish_internal)
34201 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34202 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34203 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34204 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34205 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34206 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34207 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34208 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34209 (_IO_file_close_internal, _IO_file_close_it_internal)
34210 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34211 (_IO_file_init_internal, _IO_file_attach_internal)
34212 (_IO_file_fopen_internal, _IO_file_read_internal)
34213 (_IO_file_sync_internal, _IO_file_seek_internal)
34214 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34215 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34216 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34217 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34218 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34219 (_IO_list_all_internal, _IO_link_in_internal)
34220 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34221 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34222 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34223 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34224 (_IO_do_write_internal, _IO_padn_internal)
34225 (_IO_getline_info_internal, _IO_getline_internal)
34226 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34227 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34228 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34229 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34230 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34231 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34232 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34233 with libc_hidden_ver, remove use of INTUSE.
34234 * libio/genops.c: Likewise.
34235 * libio/freopen.c: Likewise.
34236 * libio/freopen64.c: Likewise.
34237 * libio/iofclose.c: Likewise.
34238 * libio/iofdopen.c: Likewise.
34239 * libio/iofflush.c: Likewise.
34240 * libio/iofflush_u.c: Likewise.
34241 * libio/iofgets.c: Likewise.
34242 * libio/iofgets_u.c: Likewise.
34243 * libio/iofopen.c: Likewise.
34244 * libio/iofopncook.c: Likewise.
34245 * libio/iofread.c: Likewise.
34246 * libio/iofread_u.c: Likewise.
34247 * libio/ioftell.c: Likewise.
34248 * libio/iofwrite.c: Likewise.
34249 * libio/iogetline.c: Likewise.
34250 * libio/iogets.c: Likewise.
34251 * libio/iogetwline.c: Likewise.
34252 * libio/iopadn.c: Likewise.
34253 * libio/iopopen.c: Likewise.
34254 * libio/ioseekoff.c: Likewise.
34255 * libio/ioseekpos.c: Likewise.
34256 * libio/iosetbuffer.c: Likewise.
34257 * libio/iosetvbuf.c: Likewise.
34258 * libio/ioungetc.c: Likewise.
34259 * libio/ioungetwc.c: Likewise.
34260 * libio/iovdprintf.c: Likewise.
34261 * libio/iovsprintf.c: Likewise.
34262 * libio/iovsscanf.c: Likewise.
34263 * libio/memstream.c: Likewise.
34264 * libio/obprintf.c: Likewise.
34265 * libio/oldfileops.c: Likewise.
34266 * libio/oldiofclose.c: Likewise.
34267 * libio/oldiofdopen.c: Likewise.
34268 * libio/oldiofopen.c: Likewise.
34269 * libio/oldiopopen.c: Likewise.
34270 * libio/oldstdfiles.c: Likewise.
34271 * libio/putc.c: Likewise.
34272 * libio/setbuf.c: Likewise.
34273 * libio/setlinebuf.c: Likewise.
34274 * libio/stdfiles.c: Likewise.
34275 * libio/strops.c: Likewise.
34276 * libio/vasprintf.c: Likewise.
34277 * libio/vscanf.c: Likewise.
34278 * libio/vsnprintf.c: Likewise.
34279 * libio/vswprintf.c: Likewise.
34280 * libio/wfiledoalloc.c: Likewise.
34281 * libio/wfileops.c: Likewise.
34282 * libio/wgenops.c: Likewise.
34283 * libio/wmemstream.c: Likewise.
34284 * libio/wstrops.c: Likewise.
34285 * libio/__fpurge.c: Likewise.
34286 * libio/__fsetlocking.c: Likewise.
34287 * assert/assert.c: Likewise.
34288 * debug/fgets_chk.c: Likewise.
34289 * debug/fgets_u_chk.c: Likewise.
34290 * debug/fread_chk.c: Likewise.
34291 * debug/fread_u_chk.c: Likewise.
34292 * debug/gets_chk.c: Likewise.
34293 * debug/obprintf_chk.c: Likewise.
34294 * debug/vasprintf_chk.c: Likewise.
34295 * debug/vdprintf_chk.c: Likewise.
34296 * debug/vsnprintf_chk.c: Likewise.
34297 * debug/vsprintf_chk.c: Likewise.
34298 * malloc/mtrace.c: Likewise.
34299 * misc/error.c: Likewise.
34300 * misc/syslog.c: Likewise.
34301 * stdio-common/asprintf.c: Likewise.
34302 * stdio-common/fxprintf.c: Likewise.
34303 * stdio-common/getw.c: Likewise.
34304 * stdio-common/isoc99_fscanf.c: Likewise.
34305 * stdio-common/isoc99_scanf.c: Likewise.
34306 * stdio-common/isoc99_vfscanf.c: Likewise.
34307 * stdio-common/isoc99_vscanf.c: Likewise.
34308 * stdio-common/isoc99_vsscanf.c: Likewise.
34309 * stdio-common/printf-prs.c: Likewise.
34310 * stdio-common/printf_fp.c: Likewise.
34311 * stdio-common/printf_fphex.c: Likewise.
34312 * stdio-common/printf_size.c: Likewise.
34313 * stdio-common/putw.c: Likewise.
34314 * stdio-common/scanf.c: Likewise.
34315 * stdio-common/sprintf.c: Likewise.
34316 * stdio-common/tmpfile.c: Likewise.
34317 * stdio-common/vfprintf.c: Likewise.
34318 * stdio-common/vfscanf.c: Likewise.
34319 * stdlib/strfmon_l.c: Likewise.
34320 * sunrpc/openchild.c: Likewise.
34321 * sunrpc/xdr_stdio.c: Likewise.
34322 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34323 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34325 2012-05-24 Roland McGrath <roland@hack.frob.com>
34327 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34329 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34330 in the third column, to generate for the shared library an IFUNC
34331 that uses _dl_vdso_vsym.
34332 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34333 * Makeconfig (object-suffixes-noshared): New variable.
34335 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34336 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34337 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34338 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34341 * include/sys/time.h (__gettimeofday): Remove macro.
34342 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34343 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34345 (__gettimeofday): Add libc_hidden_def.
34346 (gettimeofday): Add libc_hidden_weak.
34347 * sysdeps/mach/gettimeofday.c: Likewise.
34348 * sysdeps/posix/gettimeofday.c: Likewise.
34349 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34350 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34351 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34352 (__gettimeofday_internal): Remove strong_alias.
34353 (__gettimeofday): Add libc_hidden_def.
34354 (gettimeofday): Add libc_hidden_weak.
34355 * sysdeps/unix/syscalls.list (gettimeofday):
34356 Remove __gettimeofday_internal alias.
34358 2012-05-24 Daniel Jacobowitz <drow@false.org>
34359 H.J. Lu <hongjiu.lu@intel.com>
34362 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34363 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34364 (largebin_index_32_big): New.
34365 (largebin_index): Use it for 16-byte alignment.
34366 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34367 correction with front_misalign.
34369 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34397 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34398 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34400 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34404 * math/libm-test.inc (exp_test): Add test from bug 14036.
34405 (pow_test): Add test from bug 10846.
34407 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34409 (special_function): Do not include flags in test name.
34410 (parse_args): Likewise.
34411 * sysdeps/i386/fpu/libm-test-ulps: Update.
34412 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34413 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34414 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34417 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34419 * math/libm-test.inc ("Philosophy"): Update comment about
34421 (UNDERFLOW_EXCEPTION): New macro.
34422 (UNDERFLOW_EXCEPTION_OK): Likewise.
34423 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34424 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34425 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34426 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34427 (INVALID_EXCEPTION_OK): Update value.
34428 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34429 (OVERFLOW_EXCEPTION_OK): Likewise.
34430 (IGNORE_ZERO_INF_SIGN): Likewise.
34431 (test_exceptions): Handle underflow exceptions.
34432 (acos_test): Update for underflow exception expectations.
34433 (cexp_test): Likewise.
34434 (clog_test): Likewise.
34435 (clog10_test): Likewise.
34436 (csqrt_test): Likewise.
34437 (ctan_test): Likewise.
34438 (ctanh_test): Likewise.
34439 (exp_test): Likewise.
34440 (exp10_test): Likewise.
34441 (exp2_test): Likewise.
34442 (expm1_test): Likewise.
34443 (fma_test): Likewise.
34444 (j0_test): Likewise.
34445 (jn_test): Likewise.
34446 (nexttoward_test): Likewise.
34447 (pow_test): Likewise.
34448 (scalbn_test): Likewise.
34449 (scalbln_test): Likewise.
34450 (tan_test): Likewise.
34451 (y1_test): Likewise.
34452 * sysdeps/i386/fpu/libm-test-ulps: Update.
34453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34455 2012-05-23 David S. Miller <davem@davemloft.net>
34457 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34458 (__libc_sigaction): Remove unused local variables.
34460 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34462 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34464 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34466 mktime: avoid signed integer overflow
34467 * time/mktime.c (__mktime_internal): Do not mishandle the case
34468 where diff == INT_MIN.
34470 mktime: simplify computation of average
34471 * time/mktime.c (ranged_convert): Use new time_t_avg function
34472 instead of rolling our own (probably-slower) code.
34474 mktime: do not assume signed right shift propagates sign bit
34475 * time/mktime.c (isdst_differ): New static function.
34476 (__mktime_internal): No need to normalize tm_isdst now.
34477 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34480 mktime: merge another wrapv change from gnulib
34481 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34482 from some compilers.
34484 mktime: remove incorrect attempt at unusual arithmetics
34485 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34486 The code didn't really work on such machines anyway.
34487 (TYPE_MINIMUM): Assume two's complement.
34488 (twos_complement_arithmetic): Verify that long_int and time_t
34489 are two's complement (or unsigned, in the latter case).
34491 mktime: check signed shifts on long_int and time_t, too
34492 * time/mktime.c (SHR): Check that shifts work as desired
34493 on the types long_int and time_t too, as SHR is used on
34496 mktime: do not assume 'long' is wide enough
34497 * time/mktime.c (verify): Move decl up.
34498 (long_int): New type.
34499 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34500 to remove assumption in the code that 'long' is wide enough to
34501 store year values. This assumption is not true on x32 and on
34502 some non-glibc platforms.
34504 mktime: merge wrapv change from gnulib
34505 * time/mktime.c (WRAPV): New macro.
34506 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34507 (guess_time_tm, __mktime_internal): Do not assume that signed
34508 integer overflow wraps around; modern compilers generate code
34509 where this assumption is no longer valid.
34511 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34513 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34514 Replace "jmp L(pseudo_end)" with "ret".
34515 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34518 2012-05-23 Andreas Jaeger <aj@suse.de>
34520 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34521 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34523 2012-05-23 Andreas Jaeger <aj@suse.de>
34524 Maximilian Attems <max@stro.at>
34526 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34529 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34531 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34532 code so that pseudo_end is just ret and the stack pointer is
34533 correct also for static library in error case.
34535 2012-05-23 Joseph Myers <joseph@codesourcery.com>
34537 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34538 move to syscalls.list.
34539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34544 * manual/install.texi (Running make install): Do not mention Linux
34545 kernel version for which pt_chown is not needed.
34546 (Linux): Do not mention problems with nscd with 2.0 kernels.
34547 * INSTALL: Regenerated.
34549 2012-05-23 Andreas Jaeger <aj@suse.de>
34551 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34552 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34554 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34555 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34556 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34557 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34558 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34559 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34560 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34561 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34562 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34563 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34564 * sysdeps/unix/sysv/linux/bits/in.h
34565 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34567 2012-05-22 Roland McGrath <roland@hack.frob.com>
34569 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34570 (PREPARE_VERSION): Just use assert instead, it will be elided
34571 under [NDEBUG] anyway.
34573 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34575 * sysdeps/unix/sysv/linux/Makefile: Include
34576 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34577 (sysdep_routines): Remove sysctl.
34578 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34579 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34580 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34581 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34582 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34584 2012-05-22 Andreas Jaeger <aj@suse.de>
34586 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34587 that pseudo_end is just ret and the stack pointer is correct also
34588 for static library in error case.
34590 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34593 * nss/nsswitch.c (defconfig_entries): New variable.
34594 (__nss_database_lookup): Don't leak defconfig entries.
34595 (nss_parse_service_list): Don't leak on error paths.
34596 (free_database_entries): New function.
34597 (free_defconfig): New function.
34598 (free_mem): Move common code to free_database_entries.
34600 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34602 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34604 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34606 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34607 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34608 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34610 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34611 (INTERNAL_SYSCALL_TYPES): Likewise.
34612 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34613 (LOAD_REGS_TYPES_[1-6]): Likewise.
34614 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34615 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34617 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34619 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34620 copysignl for GLIBC_2_0.
34621 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34622 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34623 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34624 logbl for GLIBC_2_0.
34625 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34626 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34628 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34630 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34631 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34633 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34636 * time/mktime.c: Update copyright years.
34638 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34640 mktime: merge comment-quoting-style change from gnulib
34641 * time/mktime.c: Quote 'like this' in comments.
34642 The GNU coding standards suggest that we no longer quote `like this',
34643 as "`" and "'" are typically rendered asymmetrically nowadays.
34644 The typical gnulib style is to quote 'like this' when quoting
34645 code, and "like this" when quoting English.
34647 * time/mktime.c (compile-command): Add "-I.".
34649 mktime: merge mktime-internal.h change from gnulib
34650 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34652 mktime: merge time_r change from gnulib
34653 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34655 mktime: merge DEBUG change from gnulib
34656 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34657 case system <time.h> has a #define.
34659 mktime: merge <sys/types.h> change from gnulib
34660 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34661 since <time.t> is now guaranteed to define time_t.
34663 mktime: merge HAVE_CONFIG_H change from gnulib
34664 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34666 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34668 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34671 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34673 (struct rusage): Use anonymous union to pad each field to
34676 2012-05-21 David S. Miller <davem@davemloft.net>
34678 * Makefules (o-iterator): Remove .s cases.
34679 (compile-command.s): Delete.
34680 (COMPILE.s): Delete.
34681 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34683 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34685 * configure.in (libc_cv_predef_stack_protector): Only consider
34686 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34687 * configure: Regenerated.
34689 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34691 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34692 New macro. Use R*LP on int and pointer.
34693 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34694 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34695 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34696 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34698 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34699 [__WORDSIZE_TIME64_COMPAT32] instead of
34700 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34701 (struct utmp): Likewise.
34702 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34703 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34705 (__WORDSIZE_TIME64_COMPAT32): This.
34706 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34707 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34708 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34709 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34710 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34711 (__WORDSIZE_TIME64_COMPAT32): New macro.
34713 2012-05-21 Andreas Jaeger <aj@suse.de>
34715 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34716 only if [SHARED]. Add prototype for __wcschr_ia32.
34718 2012-05-21 Roland McGrath <roland@hack.frob.com>
34720 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34721 of %rbp unmolested in the jmp_buf while mangling the low bits.
34722 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34723 unmolested high bits of %rbp while demangling the low bits.
34724 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34726 2012-05-21 Andreas Jaeger <aj@suse.de>
34728 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34729 * sunrpc/svc_simple.c: Use it for registerrpc.
34730 * sunrpc/xcrypt.c: Use it for passwd2des.
34732 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34734 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34736 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34737 Don't define if [__SYSCALL_WORDSIZE != 32].
34738 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34741 2012-05-21 Bruno Haible <bruno@clisp.org>
34742 Andreas Jaeger <aj@suse.de>
34744 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34745 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34746 inptr and inend for must_buffer_ch.
34747 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34748 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34749 * stdio-common/Makefile (tests): Remove bug15.
34750 (bug15-ENV): Remove macro.
34751 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34754 2012-05-19 Andreas Jaeger <aj@suse.de>
34755 Roland McGrath <roland@hack.frob.com>
34757 * manual/contrib.texi: Completely rewritten. It contains now an
34758 alphabetical list of contributors and their contributions.
34760 2012-05-21 Richard Henderson <rth@twiddle.net>
34762 * misc/getauxval.c (__getauxval): Use unsigned long int.
34763 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34764 (getauxval): Use unsigned long int.
34766 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34768 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34770 2012-05-21 Roland McGrath <roland@hack.frob.com>
34772 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34773 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34774 __alignof__ (long double).
34776 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34780 2012-05-20 Richard Henderson <rth@twiddle.net>
34782 * misc/getauxval.c: New file.
34783 * misc/sys/auxv.h: New file.
34784 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34785 (routines): Add getauxval.
34786 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34787 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34788 * elf/dl-sysdep.c (_dl_auxv): Remove.
34789 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34790 * elf/dl-support.c (_dl_auxv): New variable.
34791 (_dl_aux_init): Initialize it.
34792 * manual/startup.texi (Auxiliary Vector): New node.
34793 * sysdeps/generic/bits/hwcap.h: New file.
34794 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34795 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34796 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34797 * sysdeps/sparc/sysdep.h: ... here. Include it.
34798 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34799 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34805 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34811 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34815 2012-05-19 David S. Miller <davem@davemloft.net>
34817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34819 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34822 * math/s_ccosh.c: Include <float.h>
34823 (__ccosh): Avoid internal overflow calculating sinh and cosh
34824 values before multiplying by sin and cos values.
34825 * math/s_ccoshf.c: Likewise.
34826 * math/s_ccoshl.c: Likewise.
34827 * math/s_csin.c: Likewise.
34828 * math/s_csinf.c: Likewise.
34829 * math/s_csinl.c: Likewise.
34830 * math/s_csinh.c: Likewise.
34831 * math/s_csinhf.c: Likewise.
34832 * math/s_csinhl.c: Likewise.
34833 * math/libm-test.inc (ccos_test): Add more tests.
34834 (ccosh_test): Likewise.
34835 (csin_test): Likewise.
34836 (csinh_test): Likewise.
34837 * sysdeps/i386/fpu/libm-test-ulps: Update.
34838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34840 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34842 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34843 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34845 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34847 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34849 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34850 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34851 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34852 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34853 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34854 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34855 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34856 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34857 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34858 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34859 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34860 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34861 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34862 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34863 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34864 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34865 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34866 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34867 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34868 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34869 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34870 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34871 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34872 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34873 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34874 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34875 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34876 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34877 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34878 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34879 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34881 2012-05-18 Andreas Jaeger <aj@suse.de>
34883 * csu/.gitignore: Delete.
34885 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34887 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34888 (timex): Use __syscall_slong_t.
34890 2012-05-18 Andreas Jaeger <aj@suse.de>
34891 Carlos O'Donell <carlos_odonell@mentor.com>
34893 * manual/install.texi (Configuring and compiling): Update
34894 description about files modified in the source directory.
34895 * INSTALL: Regenerated.
34897 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34899 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34900 value. Use "or" to set return value to -1.
34901 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34902 negate return value.
34904 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34906 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34907 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34908 failure if the compiler has Graphite support disabled.
34909 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34911 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34912 (CFLAGS-memmove.c): Likewise.
34913 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34916 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34918 * sysdeps/x86_64/x32/_itoa.h: New file.
34920 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34921 getdents system call only if kernel and user dirents have the
34922 same d_ino and d_off.
34924 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34925 LLONG_MAX != LONG_MAX.
34926 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34927 (_fitoa_word): Likewise.
34929 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34931 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34932 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34933 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34935 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34936 include <bits/wordsize.h>. Check __x86_64__ instead of
34938 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34939 if __x86_64__ is defined. Use anonymous union on fpstate.
34941 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34944 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34946 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34947 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34948 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34949 Refer to _rtld_local_ro instead of _rtld_global_ro.
34950 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34952 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34954 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34956 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34957 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34958 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34960 * sysdeps/powerpc/powerpc32/dl-machine.c
34961 (__elf_machine_runtime_setup) [PROF]: Don't reference
34964 2012-05-18 Andreas Jaeger <aj@suse.de>
34966 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34967 function only available for GCCs before 3.4 since GCC 3.4
34968 introduced a builtin.
34970 (llrintf): Likewise.
34971 (llrint): Likewise.
34978 (nearbyint): Likewise.
34979 (nearbyintf): Likewise.
34983 (floorf): Likewise.
34985 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34987 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34988 on both fields and cast pointer to __syscall_ulong_t.
34990 * bits/types.h (__fsword_t): New type.
34991 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34992 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34993 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34994 (__FSWORD_T_TYPE): Likewise.
34995 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34996 (__FSWORD_T_TYPE): Likewise.
34997 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34998 (__FSWORD_T_TYPE): Likewise.
34999 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35000 (__FSWORD_T_TYPE): Likewise.
35001 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35002 __SWORD_TYPE with __fsword_t.
35003 (statfs64): Likewise.
35005 2012-05-17 David S. Miller <davem@davemloft.net>
35007 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35009 2012-05-17 Andreas Jaeger <aj@suse.de>
35011 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35014 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35016 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35018 2012-05-17 Andreas Jaeger <aj@suse.de>
35020 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35023 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35025 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35027 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35029 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35030 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35032 2012-05-17 Andreas Jaeger <aj@suse.de>
35033 Carlos O'Donell <carlos_odonell@mentor.com>
35036 * sysdeps/x86_64/multiarch/init-arch.h
35037 (bit_YMM_Usable): Rename to...
35038 (bit_AVX_Usable): ... this.
35039 (bit_FMA4_Usable): New macro.
35040 (bit_XMM_state): New macro.
35041 (bit_YMM_state): New macro.
35042 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35043 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35044 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35045 (CPUID_OSXSAVE): New macro.
35046 (CPUID_AVX): New macro.
35047 (CPUID_FMA4): New macro.
35048 (index_YMM_Usable): Rename to...
35049 (index_AVX_Usable): ... this.
35050 (HAS_AVX): Use HAS_ARCH_FEATURE.
35051 (HAS_FMA4): Likewise.
35052 (HAS_YMM_USABLE): Remove.
35053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35054 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35056 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35057 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35058 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35059 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35060 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35062 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35064 * math/libm-test.c: Support platforms without multiple rounding modes.
35065 * math/bug-nextafter.c: Support platforms without FP exceptions.
35066 * math/bug-nexttoward.c: Likewise.
35067 * math/test-fenv.c: Likewise.
35068 * math/test-misc.c: Likewise.
35069 * stdlib/bug-getcontext.c: Likewise.
35071 2012-05-17 Andreas Jaeger <aj@suse.de>
35073 * manual/examples/search.c (critter_cmp): Change signature to
35075 * manual/string.texi (Collation Functions): Likewise.
35077 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35079 * bits/types.h: Fold copyright years.
35080 * bits/typesizes.h: Likewise.
35081 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35082 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35083 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35084 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35085 * time/time.h: Likewise.
35087 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35090 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35091 in instead of returning them. Return void.
35092 (__libc_mallinfo): Accumulate over all arenas.
35093 (__malloc_stats): Adjust for change in int_mallinfo interface.
35095 2012-05-16 Roland McGrath <roland@hack.frob.com>
35098 * configure.in (NM): Add AC_CHECK_TOOL for it.
35099 (libc_extra_cflags): New substituted variable.
35100 Check for -fstack-protector being used implicitly.
35101 * configure: Regenerated.
35102 * config.make.in (config-extra-cflags): New variable,
35103 gets @libc_extra_cflags@.
35104 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35107 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35108 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35109 * configure: Regenerated.
35110 * config.make.in (CPPUNDEFS): New substituted variable.
35111 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35112 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35113 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35115 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35117 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35118 (mq_attr): Use __syscall_slong_t.
35120 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35122 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35123 Check __x86_64__ instead of __WORDSIZE.
35124 (_STAT_VER_LINUX): Likewise.
35125 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35126 __syscall_ulong_t and __syscall_slong_t.
35127 (stat64): Likewise.
35129 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35131 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35133 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35135 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35137 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35139 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35142 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35143 include <bits/wordsize.h>. Check __x86_64__ instead of
35145 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35147 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35149 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35150 include <bits/wordsize.h>. Check __x86_64__ instead of
35152 (user_regs_struct): Use "__extension__ unsigned long long"
35153 instead of "unsigned long" if __x86_64__ is defined.
35154 (user): Likewise. Pad after pointer field if __ILP32__ is
35157 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35159 * configure.in (makeinfo): Require version 4.5 or later. Allow
35161 * configure: Regenerated.
35162 * manual/install.texi (texinfo): Increase version requirement to
35164 * INSTALL: Regenerated.
35166 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35168 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35170 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35172 * sysdeps/x86_64/x32/ffs.c: New file.
35174 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35176 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35177 defined. Use __syscall_ulong_t.
35178 (shminfo): Use __syscall_ulong_t.
35179 (shm_info): Likewise.
35181 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35184 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35186 (msgqnum_t): Use __syscall_ulong_t.
35187 (msglen_t): Likewise.
35188 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35191 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35192 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35194 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35196 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35197 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35199 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35202 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35203 include <bits/wordsize.h>. Check __x86_64__ instead of
35206 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35207 "unsigned long long int" if __x86_64__ is defined.
35208 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35210 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35211 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35212 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35214 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35216 (GET_PC): Cast to uintptr_t first.
35217 (GET_FRAME): Likewise.
35218 (GET_STACK): Likewise.
35220 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35221 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35222 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35223 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35224 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35225 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35226 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35227 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35228 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35229 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35230 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35231 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35232 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35233 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35234 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35235 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35236 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35237 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35238 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35239 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35240 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35241 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35242 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35243 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35244 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35245 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35246 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35247 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35248 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35250 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35252 * Makerules (+depfiles): Also collect depfiles from .oS in
35254 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35255 .oS, $(libnldbl-routines)).
35257 * Makerules (native-compile-mkdep-flags): Define.
35258 * sunrpc/Makefile (extra-objs): Add $(addprefix
35259 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35260 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35261 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35262 calling $(make-target-directory).
35264 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35266 * bits/types.h (__snseconds_t): Removed.
35267 * time/time.h (struct timespec): Replace __snseconds_t with
35269 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35270 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35272 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35273 (__SNSECONDS_T_TYPE): Likewise.
35274 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35275 (__SNSECONDS_T_TYPE): Likewise.
35276 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35277 (__SNSECONDS_T_TYPE): Likewise.
35279 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35281 * sysdeps/mach/hurd/bits/typesizes.h
35282 (__SYSCALL_SLONG_TYPE): New macro.
35283 (__SYSCALL_ULONG_TYPE): Likewise.
35285 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35287 * bits/types.h (__syscall_slong_t): New type.
35288 (__syscall_ulong_t): Likewise.
35290 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35291 (__SYSCALL_ULONG_TYPE): Likewise.
35292 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35293 (__SYSCALL_SLONG_TYPE): Likewise.
35294 (__SYSCALL_ULONG_TYPE): Likewise.
35295 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35296 (__SYSCALL_SLONG_TYPE): Likewise.
35297 (__SYSCALL_ULONG_TYPE): Likewise.
35298 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35299 (__SYSCALL_SLONG_TYPE): Likewise.
35300 (__SYSCALL_ULONG_TYPE): Likewise.
35302 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35304 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35305 Add sigaltstack-offsets.sym.
35306 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35307 <sigaltstack-offsets.h>.
35308 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35309 longjmp_msg pointer.
35310 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35311 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35313 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35315 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35317 * elf/stackguard-macros.h: Remove file.
35318 * sysdeps/generic/stackguard-macros.h: New file.
35319 * sysdeps/i386/stackguard-macros.h: Likewise.
35320 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35321 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35322 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35323 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35324 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35325 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35326 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35327 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35328 <elf/stackguard-macros.h>.
35331 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35332 __aligned__ in attribute.
35333 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35334 (gregset_t): Likewise.
35336 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35338 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35339 * sysdeps/x86_64/64/Implies-after: Here. New file.
35340 * sysdeps/x86_64/x32/Implies-after: New file.
35342 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35344 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35345 and access return value for _dl_profile_fixup. Use R10_LP to
35348 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35350 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35352 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35354 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35355 * sysdeps/x86_64/x32/sysdep.h: New file.
35357 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35359 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35360 * sysdeps/x86_64/setjmp.S: Likewise.
35362 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35364 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35365 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35366 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35367 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35368 remove unused global constant.
35370 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35372 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35373 include of <not-cancel.h>.
35375 2012-05-15 Roland McGrath <roland@hack.frob.com>
35377 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35379 2012-05-15 Jeff Law <law@redhat.com>
35380 Andreas Jaeger <aj@suse.de>
35383 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35385 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35386 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35387 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35388 code changing __hst_map_handle.map.
35390 2012-05-15 Roland McGrath <roland@hack.frob.com>
35392 * configure.in (sysnames): Look for Implies-before and Implies-after
35394 * configure: Regenerated.
35396 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35398 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35399 8-byte data alignment with LP_SIZE alignment.
35401 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35403 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35406 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35408 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35410 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35412 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35413 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35414 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35416 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35420 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35421 (stackinfo_sub_sp): Likewise.
35423 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35425 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35428 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35430 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35433 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35435 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35438 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35440 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35442 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35444 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35445 into R11_LP and load __x86_64_shared_cache_size_half into
35448 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35450 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35453 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35455 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35457 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35459 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35461 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35462 powerpc32/power7/fpu/s_logb.c via #include.
35463 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35464 powerpc32/power7/fpu/s_logbf.c via #include.
35465 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35466 powerpc32/power7/fpu/s_logbl.c via #include.
35468 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35470 * README.libm: Remove file.
35472 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35474 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35475 count for x32. Use R*_LP and omit operand-size suffix.
35477 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35479 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35480 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35481 * sysdeps/x86_64/x32/shlib-versions: New file.
35483 2012-05-14 Roland McGrath <roland@hack.frob.com>
35485 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35486 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35487 Use _dl_fatal_printf instead.
35489 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35491 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35492 set if not set by the user. Do not allow for being unset.
35493 * sysdeps/unix/sysv/linux/configure: Regenerated.
35495 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35497 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35498 the `q' suffix from lea and replace .quad with ASM_ADDR.
35500 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35502 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35503 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35505 (PTR_DEMANGLE): Likewise.
35507 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35509 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35511 (ASM_ADDR): Likewise.
35512 (RAX_LP): Likewise.
35513 (RBP_LP): Likewise.
35514 (RBX_LP): Likewise.
35515 (RCX_LP): Likewise.
35516 (RDI_LP): Likewise.
35517 (RSI_LP): Likewise.
35518 (RSP_LP): Likewise.
35521 (R10_LP): Likewise.
35522 (R10_LP): Likewise.
35523 (R11_LP): Likewise.
35524 (R12_LP): Likewise.
35525 (R13_LP): Likewise.
35526 (R14_LP): Likewise.
35527 (R15_LP): Likewise.
35529 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35531 * sysdeps/x86_64/x32/dl-machine.h: New file.
35533 2012-05-14 Andreas Jaeger <aj@suse.de>
35535 * manual/Makefile (subdir): Remove export of subdir.
35536 (all): Remove target.
35537 (.PHONY): Remove all from list.
35538 (mkinstalldirs): Remove.
35539 (.PHONY): Remove installdirs from list.
35540 ($(inst_infodir)/libc.info): Use make-target-directory.
35541 (installdirs): Remove.
35542 (subdir_%): Remove.
35543 (glibc-targets): Remove.
35546 ($(objpfx)stubs ../po/manual.pot): Remove.
35547 ($(objpfx)stamp%): Remove.
35548 (make-target-directory): Remove.
35549 (subdir_install): Remove.
35550 (routines): Remove.
35557 * manual/.gitignore: Remove, it's not needed anymore.
35558 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35560 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35562 (texis): Renamed to $(objpfx)texis.
35563 (texis-path): New, contains path to generated files.
35564 (chapters.%): Use texis-path for complete path, add extra argument
35566 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35567 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35568 (summary,texi, stamp-summary): Use complete path of
35569 files. Generate files in build dir.
35570 (dir-add.texi): Build in build dir.
35571 (libm-err.texi,stamp-libm-err): Likewise.
35572 (version.texi, stamp-version): Likewise.
35573 (.%c.texi): Likewise.
35574 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35575 (mostlyclean): Remove target.
35576 (realclean): Remove target.
35577 (generated): Add new variable with contents from mostlyclean and
35578 realclean, remove entries duplicated in common-mostlyclean, add
35579 stamp-libm-err and stamp-version.
35580 (generated-dirs): Add libc directory.
35581 ($(inst_infodir)/libc.info): Install files from build dir.
35583 * manual/install.texi (Configuring and compiling): Adjust since
35584 the info files are not part of the tar ball anymore.
35586 2012-05-14 Andreas Jaeger <aj@suse.de>
35588 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35591 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35594 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35595 to 2.2.0 where earlier.
35596 * sysdeps/unix/sysv/linux/configure: Regenerated.
35597 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35598 Remove conditional code.
35599 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35600 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35601 Remove conditional code.
35602 [!__NR_lchown]: Likewise.
35603 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35604 [__NR_lchown]: Likewise.
35605 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35606 comment referencing __ASSUME_LCHOWN_SYSCALL.
35607 * sysdeps/unix/sysv/linux/i386/sigaction.c
35608 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35609 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35610 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35611 Remove conditional code.
35612 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35613 (__protocol_available): Remove #if 0 code.
35614 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35616 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35617 * sysdeps/unix/sysv/linux/kernel-features.h
35618 (__ASSUME_GETCWD_SYSCALL): Don't define.
35619 (__ASSUME_REALTIME_SIGNALS): Likewise.
35620 (__ASSUME_PREAD_SYSCALL): Likewise.
35621 (__ASSUME_PWRITE_SYSCALL): Likewise.
35622 (__ASSUME_POLL_SYSCALL): Likewise.
35623 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35624 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35626 (__ASSUME_SIOCGIFNAME): Don't define.
35627 (__ASSUME_MSG_NOSIGNAL): Likewise.
35628 (__ASSUME_SENDFILE): Define unconditionally.
35629 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35630 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35632 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35633 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35634 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35635 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35636 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35637 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35638 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35640 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35641 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35643 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35644 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35646 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35647 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35649 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35650 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35652 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35653 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35655 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35656 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35658 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35659 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35661 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35662 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35663 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35664 Remove conditional code.
35665 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35666 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35667 Remove conditional code.
35668 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35669 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35670 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35671 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35672 Remove conditional code.
35673 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35674 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35675 Remove conditional code.
35676 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35677 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35678 Remove conditional code.
35679 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35680 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35681 Remove conditional code.
35682 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35683 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35684 Remove conditional code.
35685 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35686 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35687 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35688 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35689 * sysdeps/unix/sysv/linux/sigaction.c
35690 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35691 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35692 * sysdeps/unix/sysv/linux/sigpending.c
35693 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35694 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35695 * sysdeps/unix/sysv/linux/sigprocmask.c
35696 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35697 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35698 * sysdeps/unix/sysv/linux/sigsuspend.c
35699 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35700 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35701 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35702 (__libc_missing_rt_sigs): Remove.
35703 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35704 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35705 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35706 Remove conditional code.
35707 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35708 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35710 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35711 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35712 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35713 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35715 2012-05-14 Andreas Jaeger <aj@suse.de>
35717 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35718 it's not used in glibc.
35719 (__coshm1): Likewise.
35720 (__acosh1p): Likewise.
35723 * manual/string.texi (Copying and Concatenation): Add missing
35724 variable in concat example.
35725 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35727 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35730 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35731 __builtin_clzl with __builtin_clzll.
35733 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35736 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35739 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35741 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35742 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35743 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35744 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35746 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35748 * NEWS: Update ia64 info.
35750 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35752 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35755 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35757 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35758 * sysdeps/unix/syscalls.list (dup3): Likewise.
35759 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35760 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35762 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35764 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35765 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35767 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35769 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35771 (TLS_IE): Use mov/add instead of movq/addq to load thread
35773 (TLS_GD_PREFIX): New.
35776 2012-05-11 David S. Miller <davem@davemloft.net>
35778 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35779 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35780 (_FPU_SETCW): Likewise.
35782 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35784 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35785 is 32-byte aligned.
35787 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35790 * iconvdata/gb18030.c: Update tables.
35791 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35792 characters specially.
35793 (BODY for TO_LOOP): Add encoding of missing ranges.
35795 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35798 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35799 * sysdeps/mach/hurd/dup3.c: Likewise.
35800 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35801 * sysdeps/powerpc/memmove.c:: Likewise.
35803 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35805 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35806 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35808 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35810 * elf/elf.h (R_X86_64_RELATIVE64): New.
35811 (R_X86_64_NUM): Updated.
35812 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35813 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35814 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35815 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35816 tst-quad1pie tst-quad2pie
35817 (modules-names): Add tst-quadmod1 tst-quadmod2.
35818 ($(objpfx)tst-quad1): New dependency.
35819 ($(objpfx)tst-quad2): Likewise.
35820 ($(objpfx)tst-quad1pie): Likewise.
35821 ($(objpfx)tst-quad2pie): Likewise.
35822 * sysdeps/x86_64/tst-quad1.c: New file.
35823 * sysdeps/x86_64/tst-quad1pie.c: New file.
35824 * sysdeps/x86_64/tst-quad2.c: Likewise.
35825 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35826 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35827 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35828 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35829 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35831 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35833 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35834 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35835 * streams/stropts.h (t_scalar_t): Define type.
35837 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35838 (_PATH_PRESERVE): Set to "/var/lib".
35839 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35841 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35844 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35845 if __dir_mkfile succeeded.
35847 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35848 checking for _hurd_dtablesize. Unlock it right after having
35849 finished _hurd_dtable allocation.
35851 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35853 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35854 * sysdeps/mach/hurd/configure: Regenerated.
35855 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35856 special-casing to...
35857 * sysdeps/gnu/configure.in: ... this new file.
35858 * sysdeps/unix/sysv/linux/configure: Regenerated.
35859 * sysdeps/gnu/configure: New generated file.
35861 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35862 for Linux: use nsec instead of usec, as well as:
35863 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35864 members of type struct timespec.
35865 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35867 (struct stat64): Likewise.
35868 (_STATBUF_ST_NSEC): New macro.
35869 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35871 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35872 __strtoul_internal rather than strtoul.
35874 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35876 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35879 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35881 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35882 which preserves existing values.
35883 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35885 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35887 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35888 TIMEOUT values. Return EINVAL for NFDS values either negative or
35889 greater than FD_SETSIZE.
35891 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35893 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35894 allocated, call __vm_protect to finish enabling the existing space, and
35895 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35896 allocate the remainder.
35898 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35900 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35901 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35903 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35905 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35906 sysdeps/mach/hurd/readlink.c.
35908 * posix/tst-sysconf.c (posix_options): Only use
35909 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35910 _POSIX_SYNCHRONIZED_IO when they are defined
35911 * sysdeps/mach/hurd/bits/posix_opt.h:
35912 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35913 (_XOPEN_REALTIME): Undefine macro.
35914 (_XOPEN_REALTIME_THREADS): Undefine macro.
35915 (_XOPEN_SHM): Undefine macro.
35916 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35918 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35920 (_POSIX_ASYNC_IO): Undefine macro.
35921 (_POSIX_PRIORITIZED_IO): Undefine macro.
35922 (_POSIX_SPIN_LOCKS): Define macro to -1.
35924 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35925 SA_NODEFER, SA_RESETHAND.
35926 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35927 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35930 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35932 * elf/Makefile (pldd-modules): Define unconditionally.
35934 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35936 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35938 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35940 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35941 Return ENOENT when name is empty.
35942 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35944 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35946 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35948 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35950 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35952 Fix mlock in all cases except non-readable pages.
35953 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35954 instead of VM_PROT_ALL as parameter to __vm_wire function.
35956 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35957 (__mkdir): When path is `/', just fail with EEXIST.
35958 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35960 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35962 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35963 <sys/uio.h> (for writev).
35964 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35965 and <sys/param.h> (for MIN).
35967 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35969 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35970 REQUESTED_TIME. Properly set the remaining time and return EINTR
35973 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35975 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35976 Depend on against $(link-rpcuserlibs).
35978 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35980 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35981 (__libc_stack_end): Do not use attribute_relro.
35982 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35983 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35984 to libthread-provided value.
35985 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35988 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35991 * bits/libc-lock.h (__libc_once_get): New macro.
35992 * sysdeps/mach/bits/libc-lock.h: Likewise.
35993 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35994 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35995 instead of using implementation details.
35997 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35998 * libio/freopen.c: Likewise.
35999 * libio/freopen64.c: Likewise.
36000 * misc/syslog.c: Likewise.
36001 * nscd/connections.c: Likewise.
36002 * nscd/netgroupcache.c: Likewise.
36003 * sysdeps/posix/getcwd.c: Likewise.
36005 2012-05-10 Roland McGrath <roland@hack.frob.com>
36007 * math/w_ilogbf.c: Add #include <limits.h>.
36009 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36011 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36012 path instead of returning without unlocking.
36014 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36015 immediate-write ioctls.
36016 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36018 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36020 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36021 __builtin_frame_address instead of making assumptions about the
36022 location of the return address relative to DATA. Force early load of
36023 the return address.
36024 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36025 __builtin_frame_address.
36028 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36029 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36030 implement dup3 and do some further code clean-ups.
36031 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36032 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36034 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36036 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36038 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36039 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36040 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36041 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36042 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36045 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36046 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36047 when handler == SIG_ERR, not when handler != SIG_ERR.
36049 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36051 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36052 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36055 accept4 for GNU Hurd.
36056 * include/sys/socket.h (__libc_accept4): New prototype.
36057 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36058 to implement __libc_accept4.
36059 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36061 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36063 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36064 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36065 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36066 signal-defines.sym.
36068 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36070 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36072 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36074 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36075 assertion on O_CLOEXEC flag.
36076 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36077 * hurd/intern-fd.c: Likewise.
36078 * hurd/port2fd.c: Likewise.
36080 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36083 * bits/in.h (IPV6_PKTINFO): Define new macro.
36084 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36086 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36091 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36092 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36093 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36094 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36095 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36096 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36097 * math/libm-test.inc (logb_test) : Additional logb tests.
36099 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36100 Andreas Jaeger <aj@suse.de>
36102 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36103 * configure: Regenerated.
36104 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36105 * config.make.in (link-obsolete-rpc): New substituted variable.
36106 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36107 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36108 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36109 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36110 so that libc.a contains the symbols.
36111 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36112 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36113 * sunrpc/auth_none.c: Likewise.
36114 * sunrpc/auth_unix.c: Likewise.
36115 * sunrpc/authdes_prot.c: Likewise.
36116 * sunrpc/authuxprot.c: Likewise.
36117 * sunrpc/clnt_gen.c: Likewise.
36118 * sunrpc/clnt_perr.c: Likewise.
36119 * sunrpc/clnt_raw.c: Likewise.
36120 * sunrpc/clnt_simp.c: Likewise.
36121 * sunrpc/clnt_tcp.c: Likewise.
36122 * sunrpc/clnt_udp.c: Likewise.
36123 * sunrpc/clnt_unix.c: Likewise.
36124 * sunrpc/des_crypt.c: Likewise.
36125 * sunrpc/des_soft.c: Likewise.
36126 * sunrpc/get_myaddr.c: Likewise.
36127 * sunrpc/key_call.c: Likewise.
36128 * sunrpc/key_prot.c: Likewise.
36129 * sunrpc/netname.c: Likewise.
36130 * sunrpc/pm_getmaps.c: Likewise.
36131 * sunrpc/pm_getport.c: Likewise.
36132 * sunrpc/pmap_clnt.c: Likewise.
36133 * sunrpc/pmap_prot.c: Likewise.
36134 * sunrpc/pmap_prot2.c: Likewise.
36135 * sunrpc/pmap_rmt.c: Likewise.
36136 * sunrpc/publickey.c: Likewise.
36137 * sunrpc/rpc_cmsg.c: Likewise.
36138 * sunrpc/rpc_common.c: Likewise.
36139 * sunrpc/rpc_dtable.c: Likewise.
36140 * sunrpc/rpc_prot.c: Likewise.
36141 * sunrpc/rpc_thread.c: Likewise.
36142 * sunrpc/rtime.c: Likewise.
36143 * sunrpc/svc.c: Likewise.
36144 * sunrpc/svc_auth.c: Likewise.
36145 * sunrpc/svc_raw.c: Likewise.
36146 * sunrpc/svc_run.c: Likewise.
36147 * sunrpc/svc_tcp.c: Likewise.
36148 * sunrpc/svc_udp.c: Likewise.
36149 * sunrpc/svc_unix.c: Likewise.
36150 * sunrpc/svcauth_des.c: Likewise.
36151 * sunrpc/xcrypt.c: Likewise.
36152 * sunrpc/xdr.c: Likewise.
36153 * sunrpc/xdr_array.c: Likewise.
36154 * sunrpc/xdr_float.c: Likewise.
36155 * sunrpc/xdr_intXX_t.c: Likewise.
36156 * sunrpc/xdr_mem.c: Likewise.
36157 * sunrpc/xdr_rec.c: Likewise.
36158 * sunrpc/xdr_ref.c: Likewise.
36159 * sunrpc/xdr_sizeof.c: Likewise.
36160 * sunrpc/xdr_stdio.c: Likewise.
36162 2012-05-10 Roland McGrath <roland@hack.frob.com>
36164 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36165 change. Update copyright years.
36167 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36169 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36171 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36172 Joseph Myers <joseph@codesourcery.com>
36173 Paul Pluzhnikov <ppluzhnikov@google.com>
36176 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36178 [cross-compiling] (extra-libs): Likewise.
36179 [cross-compiling] (extra-libs-others): Likewise.
36180 [cross-compiling] (librpcsvc-routines): Likewise.
36181 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36182 [cross-compiling] (omit-deps): Likewise.
36183 (sunrpc-CPPFLAGS): New variable.
36184 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36185 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36186 (cross-rpcgen-objs): New variable.
36187 (extra-objs): Append $(cross-rpcgen-objs).
36188 ($(cross-rpcgen-objs)): New rule.
36189 ($(objpfx)cross-rpcgen): Likewise.
36190 (rpcgen-cmd): Define to use $(built-program-file). Expand
36192 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36193 ($(objpfx)x%.stmp): Likewise.
36194 * sunrpc/proto.h [IS_IN_build] (_): Define.
36195 [IS_IN_build] (_libc_intl_domainname): Likewise.
36197 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36199 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36200 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36201 and R_X86_64_TPOFF64.
36203 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36205 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36206 sysdeps/unix/sysv/syscalls.list.
36209 * sysdeps/unix/sysv/syscalls.list: Remove file.
36211 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36214 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36215 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36216 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36217 (__LC_IDENTIFICATION): Make these macros useful in #if
36218 expressions, as required by C99.
36220 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36222 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36223 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36226 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36228 * stdlib/longlong.h: Updated from GCC.
36230 2012-05-09 Andreas Jaeger <aj@suse.de>
36232 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36233 default is first entry.
36234 (run_mode): Set type.
36235 (main): Remove informal message about syslog.
36236 (options): Fix typo.
36239 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36242 (llrintf): Likewise.
36243 (llrint): Likewise.
36246 (nearbyint): Likewise.
36247 (nearbyintf): Likewise.
36249 2012-05-09 Andreas Jaeger <aj@suse.de>
36250 Pedro Alves <palves@redhat.com>
36252 * nscd/nscd.c (run_mode): Use enum.
36253 (main): Cleanup coding style issue.
36255 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
36256 Andreas Jaeger <aj@suse.de>
36258 * nscd/nscd.c (go_background): Replaced with...
36259 (run_mode): ... this.
36260 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36261 (options): Add -F --foreground.
36262 (main): Implement it.
36263 (parse_opt): Parse it.
36265 2012-05-09 Andreas Jaeger <aj@suse.de>
36268 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36269 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36270 -Wconversion warning.
36271 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36274 2012-05-09 Joseph Myers <joseph@codesourcery.com>
36276 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36278 (LC_ALL): Use macro-int-constant.
36279 (LC_COLLATE): Likewise.
36280 (LC_CTYPE): Likewise.
36281 (LC_MESSAGES): Likewise.
36282 (LC_MONETARY): Likewise.
36283 (LC_NUMERIC): Likewise.
36284 (LC_TIME): Likewise.
36285 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36286 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36287 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36288 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36290 [C99-based standards] (float_t): Expect type.
36291 [C99-based standards] (double_t): Expect type.
36292 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36294 [C99-based standards] (HUGE_VALL): Likewise.
36295 [C99-based standards] (INFINITY): Likewise.
36296 [C99-based standards] (NAN): Likewise.
36297 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36298 [C99-based standards] (FP_NAN): Likewise.
36299 [C99-based standards] (FP_NORMAL): Likewise.
36300 [C99-based standards] (FP_SUBNORMAL): Likewise.
36301 [C99-based standards] (FP_ZERO): Likewise.
36302 [C99-based standards] (FP_FAST_FMA): Use
36303 optional-macro-int-constant. Specify type. Require == 1.
36304 [C99-based standards] (FP_FAST_FMAF): Likewise.
36305 [C99-based standards] (FP_FAST_FMAL): Likewise.
36306 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36307 [C99-based standards] (FP_ILOGBNAN): Likewise.
36308 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36310 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36311 [C99-based standards] (math_errhandling): Specify type.
36312 [ISO99 || ISO11] (signgam): Do not allow.
36313 [non-C99-based standards] (copysignf): Do not allow.
36314 [non-C99-based standards] (exp2f): Likewise.
36315 [non-C99-based standards] (log2f): Likewise.
36316 [non-C99-based standards] (modff): Allow.
36317 [non-C99-based standards] (erff): Do not allow.
36318 [non-C99-based standards] (erfcf): Likewise.
36319 [non-C99-based standards] (gammaf): Likewise.
36320 [non-C99-based standards] (hypotf): Likewise.
36321 [non-C99-based standards] (j0f): Likewise.
36322 [non-C99-based standards] (j1f): Likewise.
36323 [non-C99-based standards] (jnf): Likewise.
36324 [non-C99-based standards] (lgammaf): Likewise.
36325 [non-C99-based standards] (tgammaf): Likewise.
36326 [non-C99-based standards] (y0f): Likewise.
36327 [non-C99-based standards] (y1f): Likewise.
36328 [non-C99-based standards] (ynf): Likewise.
36329 [non-C99-based standards] (isnanf): Likewise.
36330 [non-C99-based standards] (acoshf): Likewise.
36331 [non-C99-based standards] (asinhf): Likewise.
36332 [non-C99-based standards] (atanhf): Likewise.
36333 [non-C99-based standards] (cbrtf): Likewise.
36334 [non-C99-based standards] (expm1f): Likewise.
36335 [non-C99-based standards] (ilogbf): Likewise.
36336 [non-C99-based standards] (log1pf): Likewise.
36337 [non-C99-based standards] (logbf): Likewise.
36338 [non-C99-based standards] (nextafterf): Likewise.
36339 [non-C99-based standards] (remainderf): Likewise.
36340 [non-C99-based standards] (rintf): Likewise.
36341 [non-C99-based standards] (scalbf): Likewise.
36342 [non-C99-based standards] (copysignl): Likewise.
36343 [non-C99-based standards] (exp2l): Likewise.
36344 [non-C99-based standards] (log2l): Likewise.
36345 [non-C99-based standards] (modfl): Allow.
36346 [non-C99-based standards] (erfl): Do not allow.
36347 [non-C99-based standards] (erfcl): Likewise.
36348 [non-C99-based standards] (gammal): Likewise.
36349 [non-C99-based standards] (hypotl): Likewise.
36350 [non-C99-based standards] (j0l): Likewise.
36351 [non-C99-based standards] (j1l): Likewise.
36352 [non-C99-based standards] (jnl): Likewise.
36353 [non-C99-based standards] (lgammal): Likewise.
36354 [non-C99-based standards] (tgammal): Likewise.
36355 [non-C99-based standards] (y0l): Likewise.
36356 [non-C99-based standards] (y1l): Likewise.
36357 [non-C99-based standards] (ynl): Likewise.
36358 [non-C99-based standards] (isnanl): Likewise.
36359 [non-C99-based standards] (acoshl): Likewise.
36360 [non-C99-based standards] (asinhl): Likewise.
36361 [non-C99-based standards] (atanhl): Likewise.
36362 [non-C99-based standards] (cbrtl): Likewise.
36363 [non-C99-based standards] (expm1l): Likewise.
36364 [non-C99-based standards] (ilogbl): Likewise.
36365 [non-C99-based standards] (log1pl): Likewise.
36366 [non-C99-based standards] (logbl): Likewise.
36367 [non-C99-based standards] (nextafterl): Likewise.
36368 [non-C99-based standards] (remainderl): Likewise.
36369 [non-C99-based standards] (rintl): Likewise.
36370 [non-C99-based standards] (scalbl): Likewise.
36371 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36372 [non-C99-based standards] (FP_*): Do not allow.
36373 [C99-based standards] (FP_*): Change to
36374 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36375 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36377 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36378 (SIG_ERR): Likewise.
36379 [X/Open-based standards] (SIG_HOLD): Likewise.
36380 (SIG_IGN): Likewise.
36381 (SIGABRT): Use macro-int-constant. Specify type. Require
36383 (SIGFPE): Likewise.
36384 (SIGILL): Likewise.
36385 (SIGINT): Likewise.
36386 (SIGSEGV): Likewise.
36387 (SIGTER): Likewise.
36388 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36389 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36390 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36391 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36392 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36393 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36394 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36395 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36396 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36397 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36398 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36399 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36400 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36401 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36402 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36403 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36404 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36405 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36406 [X/Open-based standards] (SIGTRAP): Likewise.
36407 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36408 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36409 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36410 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36411 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36414 2012-05-08 Ian Wienand <ianw@vmware.com>
36417 * time/tzset.c (__tzset_parse_tz): Update default rules for
36418 daylight time changes in the Energy Policy Act of 2005.
36420 2012-05-09 Andreas Jaeger <aj@suse.de>
36423 * elf/ldconfig.c (parse_conf): Change string to make clear that
36424 ldconfig only issued a warning if ld.so.conf does not exist.
36426 2012-05-08 David S. Miller <davem@davemloft.net>
36428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36429 movxtod instead of popping the value on the stack.
36431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36433 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36435 * config.h.in: Add HAVE_ARM_PCS_VFP.
36437 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
36440 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36441 checking but the checks are disabled for any reason.
36443 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36445 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36446 and ELF64_R_TYPE with ELFW(R_TYPE).
36448 2012-05-08 Joseph Myers <joseph@codesourcery.com>
36450 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36451 (ulimit): Likewise.
36453 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36454 (settimeofday): Likewise.
36456 2012-05-08 Mike Frysinger <vapier@gentoo.org>
36458 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36459 a struct th_u2 inside the union, and move tu_block/tu_code into
36460 a new th_u3 union of tu_block/tu_code inside of that. Move
36461 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36462 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36463 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36464 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36465 (th_stuff): Change to th_u1.tu_stuff.
36467 (th_msg): Change to th_u1.th_u2.tu_data.
36469 2012-05-07 David S. Miller <davem@davemloft.net>
36471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36474 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36475 (SETUP_PIC_REG): Use it.
36476 (SETUP_PIC_REG_LEAF): Use it.
36478 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36482 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36484 (EXPL_FINITE): Likewise.
36485 (FLDLOG): Likewise.
36486 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36487 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36489 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36491 (EXPL_FINITE): Likewise.
36492 (FLDLOG): Likewise.
36493 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36494 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36496 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36497 test of -max_value argument for long double.
36498 * sysdeps/i386/fpu/libm-test-ulps: Update.
36499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36501 2012-05-06 David S. Miller <davem@davemloft.net>
36503 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36504 quad soft-float symbols whose references which are compiler
36506 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36508 2012-05-06 Joseph Myers <joseph@codesourcery.com>
36512 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36514 (EXPL_FINITE): Likewise.
36515 (FLDLOG): Likewise.
36518 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36519 Adjust comments for base varying.
36520 (__expl_finite): Change alias to EXPL_FINITE.
36521 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36523 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36524 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36525 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36526 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36527 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36529 (EXPL_FINITE): Likewise.
36530 (FLDLOG): Likewise.
36533 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36534 Adjust comments for base varying.
36535 (__expl_finite): Change alias to EXPL_FINITE.
36536 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36538 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36541 * math/libm-test.inc (check_float_internal): Correct ulp
36542 calculation for subnormal expected results.
36544 2012-05-06 Andreas Jaeger <aj@suse.de>
36546 * Makeconfig (+math-flags): New, set to -frounding-math.
36547 (+cflags): Add +math-flags so that all of glibc gets compiled with
36550 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36552 2012-05-05 Joseph Myers <joseph@codesourcery.com>
36554 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36560 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36561 (__ieee754_expl): Allow for and saturate large arguments.
36562 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36563 (u_threshold): Likewise.
36564 (__exp): Call __ieee754_exp before checking for overflow and
36566 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36567 (u_threshold): Likewise.
36568 (__expf): Call __ieee754_expf before checking for overflow and
36570 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36571 (u_threshold): Likewise.
36572 (__expl): Call __ieee754_expl before checking for overflow and
36574 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36575 (__ieee754_expl): Allow for and saturate large arguments.
36576 * math/libm-test.inc (exp_test): Add another test. Do not allow
36577 missing overflow exception on overflow.
36578 (expm1_test): Do not allow missing overflow exception on overflow.
36580 * sysdeps/i386/fpu/e_expl.c: Move to ...
36581 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36582 rather than using inline asm.
36583 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36584 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36585 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36587 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36590 (signal): Likewise.
36594 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36596 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36597 sysdeps/unix/common/syscalls.list.
36598 (fchmod): Likewise.
36599 (fchown): Likewise.
36600 (ftruncate): Likewise.
36601 (getrusage): Likewise.
36602 (gettimeofday): Likewise.
36603 (setpgid): Likewise.
36604 (setregid): Likewise.
36605 (setreuid): Likewise.
36606 (sigaction): Likewise.
36607 (truncate): Likewise.
36608 (vhangup): Likewise.
36609 * sysdeps/unix/common/syscalls.list: Remove file.
36610 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36611 * sysdeps/unix/sysv/linux/Implies: Likewise.
36613 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36615 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36617 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36621 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36623 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36624 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36627 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36630 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36633 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36636 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36639 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36643 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36647 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36650 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36654 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36658 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36660 * sysdeps/unix/common/bits/dirent.h: Remove file.
36661 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36663 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36664 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36665 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36666 * sysdeps/unix/bsd/isatty.c: Likewise.
36667 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36668 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36669 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36671 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36674 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36675 long double comparison inaccuracies.
36676 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36679 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36681 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36682 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36684 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36687 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36688 nonzero digits before rounding a hex value.
36689 * stdlib/tst-strtod.c (tests): Add another test.
36691 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36693 * sysdeps/s390/fpu/libm-test-ulps: Update.
36695 2012-05-03 Andreas Jaeger <aj@suse.de>
36697 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36698 does not get optimized out.
36699 (malloc_opt_barrier): New.
36701 2012-05-03 Andreas Jaeger <aj@suse.de>
36702 Roland McGrath <roland@hack.frob.com>
36704 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36705 intermediate file deletion.
36706 (generated): Add .symlist files.
36708 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36711 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36712 Redirect under this condition.
36713 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36714 [__USE_GNU] (__dprintf_chk): Not under this condition.
36715 [__USE_GNU] (__vdprintf_chk): Likewise.
36716 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36717 under this condition.
36718 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36719 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36720 [__USE_XOPEN2K8] (vdprintf): Likewise.
36721 [__USE_GNU] (__dprintf_chk): Not under this condition.
36722 [__USE_GNU] (__vdprintf_chk): Likewise.
36723 [__USE_GNU] (dprintf): Likewise.
36724 [__USE_GNU] (vdprintf): Likewise.
36726 2012-05-03 Roland McGrath <roland@hack.frob.com>
36728 * elf/Makefile (common-generated): Set this instead of generated for
36729 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36730 $(all-built-dso)-derived lists.
36732 2012-05-03 Andreas Jaeger <aj@suse.de>
36734 * sysdeps/i386/fpu/libm-test-ulps: Update.
36737 * FAQ.in: Likewise.
36738 * scripts/gen-FAQ.pl: Likewise.
36739 * manual/install.texi (Installation): Point to online location of
36741 * Makefile (files-for-dist): Remove FAQ.
36744 2012-05-02 Allan McRae <allan@archlinux.org>
36746 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36747 (LDFLAGS-reldepmod5.so): Likewise.
36748 (LDFLAGS-reldep6mod1.so): Likewise.
36749 (LDFLAGS-reldep6mod4.so): Likewise.
36750 (LDFLAGS-reldep8mod3.so): Likewise.
36751 (LDFLAGS-unload4mod1.so): Likewise.
36752 (LDFLAGS-unload4mod2.so): Likewise.
36753 (LDFLAGS-tst-initorder): Likewise.
36754 (LDFLAGS-tst-initordera2.so): Likewise.
36755 (LDFLAGS-tst-initordera3.so): Likewise.
36756 (LDFLAGS-tst-initordera4.so): Likewise.
36757 (LDFLAGS-tst-initorderb2.so): Likewise.
36758 (LDFLAGS-noload): Likewise.
36759 (LDFLAGS-next): Likewise.
36760 (LDFLAGS-order2mod1.so): Likewise.
36761 (LDFLAGS-order2mod2.so): Likewise.
36762 (LDFLAGS-tst-initorder2): Likewise.
36763 (LDFLAGS-tst-initorder2a.so): Likewise.
36764 (LDFLAGS-tst-initorder2b.so): Likewise.
36765 (LDFLAGS-tst-initorder2c.so): Likewise.
36766 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36768 2012-05-02 David S. Miller <davem@davemloft.net>
36770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36772 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36775 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36777 2012-05-02 Andreas Jaeger <aj@suse.de>
36779 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36780 since we manipulate rounding mode.
36781 (CPPFLAGS-test-idouble.c): Likewise.
36782 (CPPFLAGS-test-ifloat.c): Likewise.
36783 (CFLAGS-test-ldouble.c): Likewise.
36784 (CFLAGS-test-double.c): Likewise.
36785 (CFLAGS-test-float.c): Likewise.
36786 (CFLAGS-test-misc.c): Likewise.
36787 (CFLAGS-test-test-fenv.c): Likewise.
36789 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36793 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36794 comparisons to determine direction to adjust input.
36796 2012-05-01 Roland McGrath <roland@hack.frob.com>
36798 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36799 output to the target.
36801 * scripts/localplt.awk: New file.
36802 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36803 (check-localplt-CFLAGS): Variable removed.
36804 ($(all-built-dso:=.jmprel)): New static pattern rule.
36805 (generated): Add those targets.
36806 (localplt-built-dso): New variable.
36807 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36809 * elf/check-localplt.c: File removed.
36811 * scripts/check-execstack.awk: New file.
36812 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36813 (check-execstack-CFLAGS): Variable removed.
36814 ($(objpfx)check-execstack.h): Target removed.
36815 ($(objpfx)execstack-default): New target.
36816 (generated): Add that instead of check-execstack.h.
36817 ($(all-built-dso:=.phdr)): New static pattern rule.
36818 (generated): Add those targets.
36819 * elf/check-execstack.c: File removed.
36821 * scripts/check-textrel.awk: New file.
36822 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36823 (check-textrel-CFLAGS): Variable removed.
36824 (all-built-dso): Use := to define.o
36825 ($(all-built-dso:=.dyn)): New static pattern rule.
36826 (generated): Add those targets.
36827 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36828 * config.make.in (READELF): New substituted variable.
36829 * elf/check-textrel.c: File removed.
36831 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36833 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36835 * conform/data/ctype.h-data [C99-based standards] (isblank):
36837 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36838 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36839 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36840 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36841 Specify type. Require positive value.
36842 (EILSEQ): Likewise.
36843 (ERANGE): Likewise.
36844 [ISO || POSIX] (EILSEQ): Do not expect.
36845 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36846 Specify type. Require positive value.
36847 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36848 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36849 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36850 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36851 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36852 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36853 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36854 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36855 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36856 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36857 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36858 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36859 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36860 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36861 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36862 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36863 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36864 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36865 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36866 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36867 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36868 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36869 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36870 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36871 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36872 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36873 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36874 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36875 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36876 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36877 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36878 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36879 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36880 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36881 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36882 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36883 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36884 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36885 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36886 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36887 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36888 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36889 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36890 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36891 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36892 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36893 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36894 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36895 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36896 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36897 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36898 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36899 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36900 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36901 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36902 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36903 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36904 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36905 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36906 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36907 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36908 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36909 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36910 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36911 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36912 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36913 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36914 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36915 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36916 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36917 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36918 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36919 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36920 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36921 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36922 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36923 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36925 (FLT_ROUNDS): Expect as macro, not constant.
36926 (FLT_MANT_DIG): Use macro-int-constant.
36927 (DBL_MANT_DIG): Likewise.
36928 (LDBL_MANT_DIG): Likewise.
36929 (FLT_DIG): Likewise.
36930 (DBL_DIG): Likewise.
36931 (LDBL_DIG): Likewise.
36932 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36933 (DBL_MIN_EXP): Likewise.
36934 (LDBL_MIN_EXP): Likewise.
36935 (FLT_MAX_EXP): Use macro-int-constant.
36936 (DBL_MAX_EXP): Likewise.
36937 (LDBL_MAX_EXP): Likewise.
36938 (FLT_MAX_10_EXP): Likewise.
36939 (DBL_MAX_10_EXP): Likewise.
36940 (LDBL_MAX_10_EXP): Likewise.
36941 (FLT_MAX): Use macro-constant.
36942 (DBL_MAX): Likewise.
36943 (LDBL_MAX): Likewise.
36944 (FLT_EPSILON): Use macro-constant. Give upper bound.
36945 (DBL_EPSILON): Likewise.
36946 (LDBL_EPSILON): Likewise.
36947 (FLT_MIN): Likewise.
36948 (DBL_MIN): Likewise.
36949 (LDBL_MIN): Likewise.
36950 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36951 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36952 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36953 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36954 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36955 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36956 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36957 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36958 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36959 [ISO11] (FLT_TRUE_MIN): Likewise.
36960 [ISO11] (LDBL_TRUE_MIN): Likewise.
36961 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36962 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36963 (SCHAR_MIN): Use macro-int-constant. Specify type.
36964 (SCHAR_MAX): Likewise.
36965 (UCHAR_MAX): Likewise.
36966 (CHAR_MIN): Likewise.
36967 (CHAR_MAX): Likewise.
36968 (MB_LEN_MAX): Use macro-int-constant.
36969 (SHRT_MIN): Use macro-int-constant. Specify type.
36970 (SHRT_MAX): Likewise.
36971 (USHRT_MAX): Likewise.
36972 (INT_MAX): Likewise.
36973 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36975 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36977 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36979 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36980 bound negative. Suffix upper bound with "L".
36981 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36983 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36985 [C99-based standards] (LLONG_MAX): Likewise.
36986 [C99-based standards] (ULLONG_MAX): Likewise.
36987 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36989 [ISO11] (max_align_t): Require type.
36990 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36992 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36993 from $CFLAGS, without defining away __attribute__ calls.
36994 (checknamespace): Use $CFLAGS_namespace.
36996 * conform/conformtest.pl (@keywords): Only include C99 keywords
36997 for standards based on C99 or C11.
36999 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37001 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37004 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37005 usability of symbols in #if.
37007 * conform/conformtest.pl: If macro or constant types start
37008 "promoted:", expect the symbol to be of the following type
37009 promoted by the integer promotions.
37011 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37012 in one place. Also handle "macro-constant".
37014 * conform/conformtest.pl: Only accept expected macro values with
37015 "==". Parse all "macro" lines in one place.
37016 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37018 * conform/conformtest.pl: Handle braced types on "constant" lines
37019 instead of handling "typed-constant".
37020 * conform/data/signal.h-data: Use "constant" instead of
37023 * conform/conformtest.pl: Handle "optional-" at start of lines in
37024 one place rather than duplicating several cases. Handle each
37025 format of "macro" line with initial "optional-".
37027 * conform/conformtest.pl: Only accept expected constant or
37028 optional-constant values with "==". Parse all "constant" lines in
37029 one place. Parse all "optional-constant" lines in one place.
37030 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37031 * conform/data/fmtmsg.h-data: Likewise.
37032 * conform/data/netinet/in.h-data: Likewise.
37033 * conform/data/tar.h-data: Likewise.
37034 * conform/data/limits.h-data: Use "==" form on "constant" and
37035 "optional-constant" lines.
37037 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37038 Use -std=c99 for XOPEN2K.
37039 (@knownproblems): Remove.
37040 (newtoken): Don't check %isknown.
37042 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37043 Do not expect macro.
37044 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37045 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37046 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37047 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37048 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37049 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37050 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37051 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37052 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37053 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37054 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37055 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37056 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37057 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37058 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37059 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37060 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37061 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37062 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37063 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37064 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37065 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37066 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37067 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37068 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37069 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37070 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37071 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37072 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37073 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37074 [XPG3] (acosh): Likewise.
37075 [XPG3] (asinh): Likewise.
37076 [XPG3] (atanh): Likewise.
37077 [XPG3] (cbrt): Likewise.
37078 [XPG3] (expm1): Likewise.
37079 [XPG3] (ilogb): Likewise.
37080 [XPG3] (log1p): Likewise.
37081 [XPG3] (logb): Likewise.
37082 [XPG3] (nextafter): Likewise.
37083 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37084 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37085 [XPG3] (remainder): Likewise.
37086 [XPG3] (rint): Likewise.
37087 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37088 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37089 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37090 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37091 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37092 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37093 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37094 [UNIX98 || XOPEN2K] (scalb): Expect.
37095 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37096 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37097 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37098 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37099 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37100 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37101 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37102 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37103 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37104 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37105 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37106 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37107 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37108 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37109 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37110 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37111 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37112 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37113 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37114 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37115 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37116 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37117 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37118 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37119 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37120 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37121 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37122 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37123 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37124 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37125 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37126 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37127 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37128 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37129 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37130 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37131 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37132 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37133 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37134 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37135 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37136 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37137 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37138 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37139 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37140 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37141 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37142 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37143 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37144 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37145 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37146 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37147 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37148 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37149 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37150 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37151 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37152 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37153 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37154 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37155 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37156 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37157 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37158 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37159 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37160 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37161 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37162 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37163 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37164 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37165 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37166 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37167 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37168 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37169 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37170 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37171 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37172 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37173 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37174 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37175 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37176 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37177 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37178 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37179 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37180 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37181 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37182 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37183 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37184 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37185 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37186 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37187 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37188 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37189 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37190 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37191 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37192 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37193 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37194 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37195 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37196 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37197 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37198 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37199 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37200 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37201 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37202 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37203 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37204 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37205 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37206 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37207 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37208 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37209 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37210 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37211 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37212 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37213 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37214 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37215 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37216 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37217 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37218 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37219 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37220 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37221 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37222 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37223 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37224 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37225 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37226 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37227 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37228 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37229 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37230 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37231 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37233 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37234 _XOPEN_SOURCE_EXTENDED for XPG4.
37236 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37238 * Makeconfig (localtime): Remove variable.
37239 (inst_localtime-file): Likewise.
37241 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37262 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37266 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37267 comparisons to determine direction to adjust input.
37268 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37269 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37270 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37272 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37274 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37276 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37277 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37279 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37281 * math/libm-test.inc (nexttoward_test): Add more tests.
37283 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37286 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37287 in version GLIBC_2.1, not GLIBC_2.0.
37288 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37291 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37294 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37296 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37297 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37298 * math/libm-test.inc (acos_test): Add more tests.
37299 (asin_test): Likewise.
37300 * sysdeps/i386/fpu/libm-test-ulps: Update.
37301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37304 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37306 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37307 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37308 * math/libm-test.inc (acos_test_tonearest): New function.
37309 (acos_test_towardzero): Likewise.
37310 (acos_test_downward): Likewise.
37311 (acos_test_upward): Likewise.
37312 (asin_test_tonearest): Likewise.
37313 (asin_test_towardzero): Likewise.
37314 (asin_test_downward): Likewise.
37315 (asin_test_upward): Likewise.
37316 (main): Call the new functions.
37317 * sysdeps/i386/fpu/libm-test-ulps: Update.
37318 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37322 * math/e_exp10.c: Include <float.h>.
37323 (__ieee754_exp10): Handle underflow here rather than multiplying
37324 large negative argument by M_LN10.
37325 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37327 * math/e_exp10l.c: Include <float.h>.
37328 (__ieee754_exp10l): Handle underflow here rather than multiplying
37329 large negative argument by M_LN10l.
37330 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37331 spurious overflow exception on underflow.
37333 2012-04-29 Marek Polacek <polacek@redhat.com>
37335 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37336 (__fortify_function): New macro.
37337 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37338 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37339 __extern_always_inline.
37340 * libio/bits/stdio2.h: Likewise.
37341 * libio/bits/stdio.h: Likewise.
37342 * string/string.h: Likewise.
37343 * string/bits/string3.h: Likewise.
37344 * include/stdio.h: Likewise.
37345 * stdlib/bits/stdlib.h: Likewise.
37346 * stdlib/stdlib.h: Likewise.
37347 * rt/bits/mqueue2.h: Likewise.
37348 * rt/mqueue.h: Likewise.
37349 * posix/bits/unistd.h: Likewise.
37350 * posix/unistd.h: Likewise.
37351 * io/bits/poll2.h: Likewise.
37352 * io/bits/fcntl2.h: Likewise.
37353 * io/fcntl.h: Likewise.
37354 * io/sys/poll.h: Likewise.
37355 * misc/bits/syslog.h: Likewise.
37356 * misc/bits/syslog-ldbl.h: Likewise.
37357 * misc/sys/syslog.h: Likewise.
37358 * socket/bits/socket2.h: Likewise.
37359 * socket/sys/socket.h: Likewise.
37360 * debug/tst-chk1.c: Likewise.
37361 * wcsmbs/bits/wchar2.h: Likewise.
37362 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37363 * wcsmbs/wchar.h: Likewise.
37365 2012-04-29 Andreas Jaeger <aj@suse.de>
37367 * Makerules (tests): Remove enable-check-abi protection.
37368 (check-abi-warn): Remove.
37369 (check-abi-%): Remove check-abi-warn usage.
37371 * configure.in: Remove check-abi configure option.
37372 * configure: Regenerated.
37373 * config.make.in (enable-check-abi): Remove.
37375 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37378 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37379 double functions to double *_finite functions.
37382 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37383 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37385 * stdio-common/Makefile (tests): Add tst-sprintf3.
37386 * stdio-common/tst-sprintf3.c: New file.
37388 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37389 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37391 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37393 * conform/conformtest.pl: Remove duplicate typed-constant
37396 2012-04-28 David S. Miller <davem@davemloft.net>
37398 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37399 (check-abi-%): Remove AWK script prerequisite and explicit
37401 (check-abi): Rewrite to just diff the symlist with the abilist.
37402 (config-tls, config-abi-config): Delete, no longer used.
37403 (update-abi-%): Remove AWK script and explicit abilist directory.
37404 (update-abi): Rewrite to simply compare and conditionally copy the
37405 symlist and the sysdep abilist file. Remove update-abi-config
37407 * abilist/ld.abilist: Remove.
37408 * abilist/libBrokenLocale.abilist: Remove.
37409 * abilist/libanl.abilist: Remove.
37410 * abilist/libcrypt.abilist: Remove.
37411 * abilist/libdl.abilist: Remove.
37412 * abilist/librt.abilist: Remove.
37413 * abilist/libthread_db.abilist: Remove.
37414 * abilist/libutil.abilist: Remove.
37415 * scripts/extract-abilist.awk: Remove.
37416 * scripts/merge-abilist.awk: Remove.
37417 * sysdeps/generic/libcidn.abilist: New file.
37418 * sysdeps/generic/libnss_compat.abilist: New file.
37419 * sysdeps/generic/libnss_db.abilist: New file.
37420 * sysdeps/generic/libnss_dns.abilist: New file.
37421 * sysdeps/generic/libnss_files.abilist: New file.
37422 * sysdeps/generic/libnss_hesiod.abilist: New file.
37423 * sysdeps/generic/libnss_nis.abilist: New file.
37424 * sysdeps/generic/libnss_nisplus.abilist: New file.
37425 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37426 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37427 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37429 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37430 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37431 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37432 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37433 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37434 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37435 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37436 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37437 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37439 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37440 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37441 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37442 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37444 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37445 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37446 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37447 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37448 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37449 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37451 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37452 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37453 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37455 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37558 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37559 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37560 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37562 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37563 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37564 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37565 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37566 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37567 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37568 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37569 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37570 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37571 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37623 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37625 * conform/conformtest.pl: Fix typo in handling typed-constant from
37628 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37630 * README: Cut down references to pre-2.6 Linux kernels and
37631 Linuxthreads. Update lists of configurations in libc and ports
37632 and sort alphabetically. Say "or newer" with Linux kernel version
37635 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37637 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37640 * math/libm-test.inc (logb_test_downward): New test to expose
37641 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37644 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37647 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37649 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37650 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37652 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37654 * sysdeps/unix/i386/brk.S: Remove file.
37655 * sysdeps/unix/i386/dl-brk.S: Likewise.
37656 * sysdeps/unix/i386/pipe.S: Likewise.
37657 * sysdeps/unix/i386/sigreturn.S: Likewise.
37658 * sysdeps/unix/i386/syscall.S: Likewise.
37659 * sysdeps/unix/i386/vfork.S: Likewise.
37660 * sysdeps/unix/i386/wait.S: Likewise.
37662 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37663 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37665 * configure.in (arm*-none*): Do not allow without
37666 --enable-hacker-mode.
37667 (netbsd*): Remove case setting base_os.
37668 (386bsd*): Likewise.
37669 (freebsd*): Likewise.
37672 (sunos*): Likewise.
37673 (ultrix*): Likewise.
37674 (newsos*): Likewise.
37675 (dynix*): Likewise.
37681 (minix*): Likewise.
37682 (irix4*): Likewise.
37683 (irix6*): Likewise.
37684 (solaris[2-9]*): Likewise.
37686 * configure: Regenerated.
37688 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37691 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37692 overflow or cancellation in calculating denominator.
37693 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37694 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37695 down expression to avoid unexpected rounding in newer GCCs.
37696 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37698 2012-04-26 David S. Miller <davem@davemloft.net>
37700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37701 long-double compat symbols.
37702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37716 2012-04-25 David S. Miller <davem@davemloft.net>
37718 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37719 HWCAP_* values only after the memory barriers have been defined.
37720 (atomic_full_barrier): Define.
37721 (atomic_read_barrier): Define.
37722 (atomic_write_barrier): Define.
37724 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37726 * shlib-versions: Add libgcc_s version information.
37727 * sysdeps/generic/libgcc_s.h: Remove.
37728 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37730 * sysdeps/gnu/unwind-resume.c: Likewise.
37731 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37733 2012-04-25 David S. Miller <davem@davemloft.net>
37735 * sysdeps/unix/sparc/brk.S: Delete.
37736 * sysdeps/unix/sparc/dl-brk.S: Delete.
37737 * sysdeps/unix/sparc/pipe.S: Delete.
37738 * sysdeps/unix/sparc/sysdep.S: Delete.
37739 * sysdeps/unix/sparc/sysdep.h: Delete.
37740 * sysdeps/unix/sparc/vfork.S: Delete.
37741 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37742 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37743 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37744 (ret_ERRVAL, r0, r1, MOVE): Define.
37745 (JUMPTARGET): Remove.
37746 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37747 sysdeps/unix/sparc/sysdep.h
37748 (ENTRY, END): Remove.
37749 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37751 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37753 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37754 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37757 * timezone/README: Update upstream location and email address for
37759 * timezone/zdump.c: Update from tzcode 2012b.
37760 * timezone/zic.c: Likewise.
37762 * configure.in (libc_cv_as_needed): Remove test.
37763 * configure: Regenerated.
37764 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37765 conditional definition.
37766 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37767 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37768 * config.make.in (have-as-needed): Remove variable.
37770 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37771 Paul Pluzhnikov <ppluzhnikov@google.com>
37773 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37776 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37778 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37779 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37780 * sysdeps/sh/strlen.S: Likewise.
37782 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37784 * sysdeps/unix/fork.S: Remove file.
37785 * sysdeps/unix/i386/fork.S: Likewise.
37786 * sysdeps/unix/sparc/fork.S: Likewise.
37788 * sysdeps/unix/system.c: Remove file.
37789 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37791 * sysdeps/unix/getegid.S: Remove file.
37792 * sysdeps/unix/geteuid.S: Likewise.
37794 2012-04-24 Roland McGrath <roland@hack.frob.com>
37796 * scripts/check-localplt.awk: New file.
37797 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37799 * scripts/data/localplt-generic.data: Add a comment.
37801 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37802 NODE when __dir_mkfile failed.
37803 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37804 Reported by Ludovic Courtès <ludo@gnu.org>.
37806 2012-04-24 Andreas Jaeger <aj@suse.de>
37808 * Makerules (common-clean): Also remove gen-as-const-headers
37811 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37813 * Makerules (native-compile): Do not change working directory for
37814 build. Use $(OUTPUT_OPTION) in command.
37815 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37817 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37820 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37821 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37822 * math/libm-test.inc (floor_test): Add more tests.
37823 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37825 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37827 * sysdeps/unix/getdents.c: Remove file.
37828 * sysdeps/unix/sysv/getdents.c: Likewise.
37829 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37831 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37832 sysdeps/unix/mman/syscalls.list.
37834 (mprotect): Likewise.
37836 (munmap): Likewise.
37837 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37838 * sysdeps/unix/mman/syscalls.list: Remove.
37839 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37841 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37842 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37843 * configure: Regenerated.
37844 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37845 $(libgcc_s_suffix).
37846 * config.make.in (libgcc_s_suffix): Remove variable.
37848 2012-04-23 Joseph Myers <joseph@codesourcery.com>
37850 * sysdeps/unix/sysv/gethostname.c: Move to ...
37851 * sysdeps/posix/gethostname.c: ... here.
37853 * sysdeps/unix/execve.S: Remove file.
37855 * sysdeps/unix/_exit.S: Remove file.
37857 2012-04-23 Andreas Jaeger <aj@suse.de>
37860 * manual/Makefile: Remove make dist support, there's no
37861 need for a stand-alone documentation tar ball.
37862 (TEXI2DVI): Define always, it's not in Makeconfig.
37865 (edition): Removed.
37866 (glibc-doc-$(edition).tar): Removed
37870 (ETAGS): Remove, it's in Makeconfig.
37871 (move-if-change): Remove, it's in Makeconfig.
37873 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37876 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37877 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37878 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37879 (strtod_l, strtof_l, strtold_l): Remove __wur.
37880 It is not necessarily an error to ignore strtol's return value.
37881 One can reliably look at the stored endptr to decide whether
37882 the number had valid syntax.
37884 2012-04-21 Andreas Jaeger <aj@suse.de>
37887 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37889 2012-04-21 Joseph Myers <joseph@codesourcery.com>
37891 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37892 * sysdeps/unix/sysv/Versions: Remove file.
37894 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37897 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37899 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
37902 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37903 version from __vm86.
37905 2012-04-20 Joseph Myers <joseph@codesourcery.com>
37907 * sysdeps/unix/common/lxstat.c: Remove file.
37908 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37910 * sysdeps/unix/sysv/Makefile: Remove file.
37912 * sysdeps/unix/sysv/direct.h: Remove file.
37914 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37915 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37916 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37917 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37918 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37919 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37920 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37922 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37924 * sysdeps/unix/xmknod.c: Remove file.
37925 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37927 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37929 * sysdeps/unix/sysv/i386/time.S: Remove file.
37931 * sysdeps/unix/fxstat.c: Remove file.
37932 * sysdeps/unix/xstat.c: Likewise.
37933 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37935 * sysdeps/unix/sysv/sigaction.c: Remove file.
37937 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37938 (sysdep_headers): Remove variable.
37939 [termio.h not in sysdep_headers] (generated): Likewise.
37940 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37941 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37942 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37943 * sysdeps/unix/sysv/tcflow.c: Likewise.
37944 * sysdeps/unix/sysv/tcflush.c: Likewise.
37945 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37946 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37947 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37948 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37949 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37951 * sysdeps/unix/siglist.c: Remove file.
37953 * sysdeps/unix/getppid.S: Remove file.
37955 * sysdeps/unix/mkdir.c: Remove file.
37956 * sysdeps/unix/rmdir.c: Likewise.
37958 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37960 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37962 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37963 errlist-compat value.
37965 2012-04-18 David S. Miller <davem@davemloft.net>
37967 * sysdeps/generic/memcopy.h (reg_char): Delete.
37968 * debug/strcat_chk.c: Use char, not reg_char.
37969 * debug/strcpy_chk.c: Likewise.
37970 * debug/strncat_chk.c: Likewise.
37971 * debug/strncpy_chk.c: Likewise.
37972 * string/memchr.c: Likewise.
37973 * string/memrchr.c: Likewise.
37974 * string/rawmemchr.c: Likewise.
37975 * string/strcat.c: Likewise.
37976 * string/strchr.c: Likewise.
37977 * string/strchrnul.c: Likewise.
37978 * string/strcmp.c: Likewise.
37979 * string/strcpy.c: Likewise.
37980 * string/strncat.c: Likewise.
37981 * string/strncmp.c: Likewise.
37982 * string/strncpy.c: Likewise.
37984 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37986 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37987 __builtin_memcopy is called when src and dest ranges are known to not
37990 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37992 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37993 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37994 fwd_align_merge macro call.
37995 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37996 bwd_align_merge macro call.
37997 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37999 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38001 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38002 bwd_align_merge macros.
38003 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38004 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38005 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38007 2012-04-18 David S. Miller <davem@davemloft.net>
38009 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38011 2012-04-18 Andreas Jaeger <aj@suse.de>
38014 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38015 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38016 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38018 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38019 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38020 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38022 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38023 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38024 Adjust for changed ldbl-128 files.
38026 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38027 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38028 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38030 2012-04-17 David S. Miller <davem@davemloft.net>
38032 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38034 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38036 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38037 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38038 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38039 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38040 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38041 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38043 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38046 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38047 * math/libm-test.inc: Add ilogb errno and exception tests.
38048 * math/w_ilogb.c: New file: ilogb wrapper.
38049 * math/w_ilogbf.c: New file: ilogbf wrapper.
38050 * math/w_ilogbl.c: New file: ilogbl wrapper.
38051 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38052 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38053 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38054 exception being thrown with 0.0 as argument.
38055 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38056 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38057 exception being thrown with 0.0 as argument.
38058 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38059 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38060 exception being thrown with 0.0 as argument.
38061 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38062 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38063 exception being thrown with 0.0 as argument.
38064 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38065 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38066 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38067 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38068 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38069 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38070 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38071 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38072 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38074 2012-04-17 Petr Baudis <pasky@ucw.cz>
38076 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38079 2012-04-16 Marek Polacek <polacek@redhat.com>
38081 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38083 2012-04-16 Marek Polacek <polacek@redhat.com>
38085 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38086 operands of fdivp instruction.
38088 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38090 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38091 * elf/tst-auditmod3b.c: Likewise.
38092 * elf/tst-auditmod4b.c: Likewise.
38093 * elf/tst-auditmod5b.c: Likewise.
38094 * elf/tst-auditmod6b.c: Likewise.
38095 * elf/tst-auditmod6c.c: Likewise.
38096 * elf/tst-auditmod7b.c: Likewise.
38097 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38098 * sysdeps/x86_64/preconfigure.in: Likewise.
38099 * sysdeps/x86_64/preconfigure: Regenerated.
38101 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38103 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38106 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
38108 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38109 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38111 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38114 * locale/iso-639.def: Fix gl language name. Spotted by
38117 2012-04-12 Roland McGrath <roland@hack.frob.com>
38120 * libio/libio.h (__io_write_fn): Update comment.
38122 2012-04-12 Petr Baudis <pasky@ucw.cz>
38125 * stdio.texi (Hook Functions): The user provided writer function
38126 is not allowed to return -1.
38128 2012-04-11 David S. Miller <davem@davemloft.net>
38130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38132 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38134 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38135 Add a leading slash to rtkaio.
38137 2012-04-11 Jim Meyering <meyering@redhat.com>
38140 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38141 It is not necessarily an error to ignore fwrite's return
38142 value. One can reliably use ferror to test for errors after
38145 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38147 * bits/types.h (__snseconds_t): New type.
38148 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38150 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38151 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38152 (__SNSECONDS_T_TYPE): Likewise.
38153 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38154 (__SNSECONDS_T_TYPE): Likewise.
38155 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38156 (__SNSECONDS_T_TYPE): Likewise.
38158 2012-04-10 Andreas Jaeger <aj@suse.de>
38161 * manual/time.texi (Processor Time): Return type of times is
38162 elapsed real time since an arbitrary point in the past.
38163 (CPU Time): Move CLK_TCK from here...
38164 (Processor Time): ...to here. Correct description.
38165 * manual/conf.texi (Constants for Sysconf): Correct description of
38168 2012-04-10 David S. Miller <davem@davemloft.net>
38171 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38172 where the is a gap between DT_REL(A) and DT_JMPREL.
38174 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38176 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38177 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38178 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38180 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38182 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38183 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38184 (dl_main): Handle --inhibit-cache.
38185 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38187 * elf/dl-load.c (_dl_map_object): Use it.
38188 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38190 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38193 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38194 (__ieee754_powl): Saturate large exponents rather than testing for
38195 overflow of y*log2(x).
38196 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38197 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38201 * math/s_ctan.c: Include <float.h>.
38202 (__ctan): Avoid internal overflow or cancellation in calculating
38204 * math/s_ctanf.c: Likewise.
38205 * math/s_ctanl.c: Likewise.
38206 * math/s_ctanh.c: Likewise.
38207 * math/s_ctanhf.c: Likewise.
38208 * math/s_ctanhl.c: Likewise.
38209 * math/libm-test.inc (ctan_test): Add more tests.
38210 (ctanh_test): Likewise.
38211 * sysdeps/i386/fpu/libm-test-ulps: Update.
38212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38214 2012-04-09 Andreas Jaeger <aj@suse.de>
38217 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38218 is an optional BSD extension.
38221 * manual/stdio.texi (Opening Streams): Document additional fopen
38224 2012-04-09 Roland McGrath <roland@hack.frob.com>
38226 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38227 %eax without telling the compiler.
38229 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38232 * manual/install.texi: Use sourceware.org.
38234 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38237 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38238 (__ieee754_pow): Generate overflow and underflow using huge*huge
38239 and tiny*tiny rather than just returning constant infinity or zero
38240 for large exponents.
38241 * math/libm-test.inc (pow_test): Require overflow exceptions for
38242 applicable cases of large exponents.
38245 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38246 (__ieee754_pow): Use iterative multiplication algorithm only for
38247 integer exponents with absolute value below 1024. Check for odd
38248 integer exponents when using algorithm for real exponents.
38249 * math/libm-test.inc (pow_test): Add more tests.
38250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38252 2012-04-08 Joseph Myers <joseph@codesourcery.com>
38255 * math/libm-test.inc (exp_test): Do not allow overflow exception
38258 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38261 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38262 instead of __kernel_standard_f.
38264 2012-04-08 Mike Frysinger <vapier@gentoo.org>
38266 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38267 * sysdeps/x86_64/memset_chk.S: Likewise.
38269 2012-04-08 Andreas Jaeger <aj@suse.de>
38272 * manual/startup.texi (Environment Access): Describe return value
38273 for putenv and setenv.
38276 * manual/filesys.texi (Directory Entries): Add description for
38280 * manual/filesys.texi (Directory Entries): Clarify that it's file
38281 system not operating system in the description of DT_UNKNOWN.
38284 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38286 2012-04-08 Stephen Compall <s11@member.fsf.org>
38289 * manual/llio.texi (Opening and Closing Files): Add cross
38290 reference to explain mode argument.
38292 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38294 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38295 * sysdeps/x86_64/memset_chk.S: Likewise.
38297 2012-04-07 David S. Miller <davem@davemloft.net>
38299 * elf/elf.h (R_SPARC_WDISP10): Define.
38300 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38302 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38303 R_SPARC_SIZE64 and R_SPARC_H34.
38305 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38307 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38308 conditions and remove no longer applicable assertion.
38310 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38312 * bits/byteswap.h: Include <features.h>.
38313 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38314 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38316 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38318 * bits/byteswap.h (__bswap_16): Removed.
38319 Include <bits/byteswap-16.h> to get __bswap_16.
38320 * sysdeps/i386/bits/byteswap.h: Likewise.
38321 * sysdeps/s390/bits/byteswap.h: Likewise.
38322 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38323 * bits/byteswap-16.h: New file.
38324 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38325 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38326 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38327 * string/Makefile (headers): Add bits/byteswap-16.h.
38329 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38332 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38334 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38335 * nss/tst-nss-static.c: New.
38337 2012-04-06 Robert Millan <rmh@gnu.org>
38340 * manual/llio.texi (File Position Primitive): lseek
38341 refers to WHENCE when it really means OFFSET.
38343 2012-04-06 Andreas Jaeger <aj@suse.de>
38345 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38346 strncmp declarations.
38348 * abilist/libc.abilist: Add __poll and __ppoll.
38350 2012-04-05 David S. Miller <davem@davemloft.net>
38352 * scripts/check-local-headers.sh: Accept a host triplet in the
38353 path matched by the exclude regexp.
38355 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38357 * sysdeps/powerpc/powerpc32/dl-machine.h
38358 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38359 * sysdeps/s390/s390-32/dl-machine.h
38360 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38361 * sysdeps/sparc/sparc32/dl-machine.h
38362 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38363 * sysdeps/sparc/sparc64/dl-machine.h
38364 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38366 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38368 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38369 undefined symbol errors.
38371 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38374 2012-04-05 Michael Matz <matz@suse.de>
38377 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38379 2012-04-05 Andreas Jaeger <aj@suse.de>
38382 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38385 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38387 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38388 which ROUND is no valid rounding mode.
38390 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38392 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38394 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38396 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38398 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38399 an exception using FPU order intentionally.
38401 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38403 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38404 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38405 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38406 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38408 2012-04-05 Simon Josefsson <simon@josefsson.org>
38411 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38412 EINVAL when BUFLEN is too smal.
38414 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38417 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38418 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38420 2012-04-03 Andreas Jaeger <aj@suse.de>
38423 * manual/setjmp.texi (System V contexts): Fix sentence.
38426 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38427 New macro for this case.
38428 [!__GNUC__] (__bswap_64): New inline function for this case.
38429 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38430 * bits/byteswap.h: Likewise.
38431 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38432 ull, guard with __GLIBC_HAVE_LONG_LONG.
38434 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38435 __GLIBC_HAVE_LONG_LONG.
38437 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38438 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38440 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38443 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38444 inptr and inend, rather than using last_ch.
38446 2012-04-02 David S. Miller <davem@davemloft.net>
38448 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38449 * stdio-common/printf-parse.h (read_int): Change return type to
38450 'int', return -1 on INT_MAX overflow.
38451 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38452 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38453 overflows INT_MAX. Check for overflow of in-format-string precision
38454 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38455 SIZE_MAX not INT_MAX for integer overflow test.
38456 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38457 skip the construct in the format string but do not record anything.
38458 * stdio-common/bug22.c: Adjust to test both width/prevision
38459 INT_MAX overflow as well as total length INT_MAX overflow. Check
38460 explicitly for proper errno values.
38462 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38464 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38466 * string/test-strcmp.c [! WIDE]: Likewise.
38467 * time/tst-mktime2.c: Likewise for INT_MAX.
38468 * string/test-string.h: #include <sys/param.h> for MIN.
38470 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38471 * sysdeps/i386/init-first.c (init): Likewise.
38472 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38473 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38474 * sysdeps/sh/init-first.c (init): Likewise.
38476 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38478 * po/ru.po: Update from translation team.
38479 * po/vi.po: Likewise.
38481 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38483 * resolv/nss_dns/dns-host.c: Merge copyright years.
38485 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38487 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38488 Optimize memcpy with prefetch if
38489 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38490 src, dst pointers have unequal 16 byte alignments.
38492 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38495 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38496 from a CNAME entry and return the minimum ttl for the query.
38497 (gaih_getanswer_slice): Likewise.
38499 2012-03-30 Jeff Law <law@redhat.com>
38501 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38503 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38504 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38506 * resolv/nss_dns/dns-host.c: Update copyright year.
38508 2012-03-30 Ulrich Drepper <drepper@gmail.com>
38510 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38511 requests to save a system call. Fix check that all bytes are sent.
38513 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38514 comments for sendmmsg.
38516 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38519 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38520 with only 1 character between 0x0041 and 0x01b0.
38521 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38522 * wcsmbs/tst-mbsnrtowcs.c: New file.
38524 2012-03-29 David S. Miller <davem@davemloft.net>
38526 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38527 small copies by hand.
38529 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38532 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38533 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38536 2012-03-28 David S. Miller <davem@davemloft.net>
38538 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38539 that branches into memcpy.
38540 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38541 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38542 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38543 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38544 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38546 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38547 implementation too.
38548 * sysdeps/sparc/mempcpy.S: New file.
38550 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38551 the IFUNC routine in the libc case.
38552 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38554 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38555 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38556 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38557 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38558 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38559 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38560 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38561 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38563 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38564 loop to 256 bytes instead of 64 bytes and fix test signedness.
38566 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38567 * sysdeps/sparc/sparc32/Makefile: rather than here...
38568 * sysdeps/sparc/sparc64/Makefile: and here.
38570 2012-03-28 Ulrich Drepper <drepper@gmail.com>
38572 * malloc/mallocbug.c: Avoid warnings about unused variables.
38574 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38577 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38578 in the right place. Discard and retry query if response is
38579 larger than input buffer size.
38581 2012-03-28 Joseph Myers <joseph@codesourcery.com>
38586 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38587 x for large integer exponent.
38588 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38589 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38590 sign of result as needed afterwards.
38591 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38592 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38593 result for underflowing pow the same as for overflow.
38594 (__kernel_standard_l): Handle powl overflow and underflow here
38595 rather than calling __kernel_standard.
38596 * math/libm-test.inc (pow_test): Add more tests.
38611 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38612 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38613 (__kernel_standard_l): New function.
38614 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38616 * math/w_acosl.c (__acosl): Likewise.
38617 * math/w_asinl.c (__asinl): Likewise.
38618 * math/w_atan2l.c (__atan2l): Likewise.
38619 * math/w_atanhl.c (__atanhl): Likewise.
38620 * math/w_coshl.c (__coshl): Likewise.
38621 * math/w_exp10l.c (__exp10l): Likewise.
38622 * math/w_exp2l.c (__exp2l): Likewise.
38623 * math/w_fmodl.c (__fmodl): Likewise.
38624 * math/w_hypotl.c (__hypotl): Likewise.
38625 * math/w_j0l.c (__j0l, __y0l): Likewise.
38626 * math/w_j1l.c (__j1l, __y1l): Likewise.
38627 * math/w_jnl.c (__jnl, __ynl): Likewise.
38628 * math/w_lgammal.c (__lgammal): Likewise.
38629 * math/w_log10l.c (__log10l): Likewise.
38630 * math/w_log2l.c (__log2l): Likewise.
38631 * math/w_logl.c (__logl): Likewise.
38632 * math/w_powl.c (__powl): Likewise.
38633 * math/w_remainderl.c (__remainderl): Likewise.
38634 * math/w_scalbl.c (sysv_scalbl): Likewise.
38635 * math/w_sinhl.c (__sinhl): Likewise.
38636 * math/w_sqrtl.c (__sqrtl): Likewise.
38637 * math/w_tgammal.c (__tgammal): Likewise.
38638 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38639 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38640 * math/libm-test.inc (acos_test): Add more tests.
38641 (acosh_test): Likewise.
38642 (asin_test): Likewise.
38643 (atanh_test): Likewise.
38644 (exp_test): Likewise.
38645 (exp10_test): Likewise.
38646 (exp2_test): Likewise.
38647 (expm1_test): Likewise.
38648 (lgamma_test): Likewise.
38649 (log_test): Likewise.
38650 (log10_test): Likewise.
38651 (log1p_test): Likewise.
38652 (log2_test): Likewise.
38653 (pow_test): Do not allow some spurious overflow exceptions.
38654 (sqrt_test): Add more tests.
38655 (tgamma_test): Likewise.
38656 (y0_test): Likewise.
38657 (y1_test): Likewise.
38658 (yn_test): Likewise.
38660 2012-03-27 Anton Blanchard <anton@samba.org>
38662 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38664 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38665 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38666 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38668 2012-03-27 David S. Miller <davem@davemloft.net>
38670 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38672 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38673 have-as-vis3 check.
38675 2012-03-27 Andreas Jaeger <aj@suse.de>
38677 * sysdeps/x86_64/elf/configure.in: Moved to ...
38678 * sysdeps/x86_64/configure.in: ... here.
38679 * sysdeps/x86_64/elf/start.S: Moved to ...
38680 * sysdeps/x86_64/start.S: ... here.
38681 * sysdeps/x86_64/elf/configure: Delete.
38683 * sysdeps/x86_64/configure.in: Merge contents from
38684 sysdeps/i386/configure.in (without i686 check).
38686 * sysdeps/i386/elf/Versions: Merge into ...
38687 * sysdeps/i386/Versions: ... this.
38688 * sysdeps/i386/elf/Versions: Delete file.
38689 * sysdeps/i386/elf/start.S: Moved to ...
38690 * sysdeps/i386/start.S: ...here.
38691 * sysdeps/i386/elf/configure.in: Merge into...
38692 * sysdeps/i386/configure.in: ...here.
38693 * sysdeps/i386/elf/configure.in: Delete file.
38694 * sysdeps/i386/elf/configure: Delete file.
38696 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38697 * debug/backtracesyms.c: ... here.
38698 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38699 * debug/backtracesymsfd.c: ... here.
38700 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38701 * sysdeps/generic/ifunc-sel.h: ... here.
38703 * sysdeps/unix/i386/start.c: Delete file.
38704 * sysdeps/unix/sparc/start.c: Delete file.
38705 * sysdeps/unix/start.c: Delete file.
38707 * sysdeps/sh/elf/configure.in: Moved to ...
38708 * sysdeps/sh/configure.in: ... here.
38709 * sysdeps/sh/elf/start.S: Moved to ...
38710 * sysdeps/sh/start.S: ... here.
38711 * sysdeps/sh/elf/configure: Delete file.
38713 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38714 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38715 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38716 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38717 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38718 * sysdeps/powerpc/powerpc64/start.S: here.
38719 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38720 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38721 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38722 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38723 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38725 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38726 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38727 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38728 * sysdeps/powerpc/powerpc32/start.S: ... here.
38729 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38730 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38731 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38733 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38734 * sysdeps/powerpc/ifunc-sel.h: ... here.
38735 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38736 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38738 * sysdeps/sparc/elf/configure.in: Moved to ...
38739 * sysdeps/sparc/configure.in: ... here.
38740 * sysdeps/sparc/elf/configure: Delete file.
38741 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38742 * sysdeps/sparc/sparc32/start.S: ... here.
38743 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38744 * sysdeps/sparc/sparc64/start.S: ... here.
38745 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38746 * sysdeps/sparc/sparc32/Makefile: ... this.
38747 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38748 * sysdeps/sparc/sparc64/Makefile: ... this.
38750 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38751 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38752 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38753 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38754 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38755 * sysdeps/s390/s390-32/setjmp.S: ... here.
38756 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38757 * sysdeps/s390/s390-32/configure.in: ... here.
38758 * sysdeps/s390/s390-32/elf/configure: Delete file.
38759 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38760 * sysdeps/s390/s390-32/start.S: ... here.
38762 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38763 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38764 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38765 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38766 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38767 * sysdeps/s390/s390-64/setjmp.S: ... here.
38768 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38769 * sysdeps/s390/s390-64/configure.in: ... here
38770 * sysdeps/s390/s390-64/elf/configure: Delete file.
38771 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38772 * sysdeps/s390/s390-64/start.S: ... here.
38773 * sysdeps/s390/s390-64/elf/configure: Delete.
38775 * configure.in: Remove support for elf directories in sysdeps.
38777 * configure: Regenerated.
38778 * sysdeps/i386/configure: Regenerated.
38779 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38780 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38781 * sysdeps/s390/s390-32/configure: Regenerated.
38782 * sysdeps/s390/s390-64/configure: Regenerated.
38783 * sysdeps/sh/configure: Regenerated.
38784 * sysdeps/sparc/configure: Regenerated.
38785 * sysdeps/x86_64/configure: Regenerated.
38787 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38791 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38792 denormal result into account.
38794 2012-03-25 Roland McGrath <roland@hack.frob.com>
38796 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38797 Reported by Allan McRae <allan@archlinux.org>.
38799 2012-03-23 Jeff Law <law@redhat.com>
38801 * nss/getnssent.c (__nss_getent): Fix typo.
38803 2012-03-23 David S. Miller <davem@davemloft.net>
38805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38807 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38809 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38810 to pad to uint64_t for each field.
38811 (dl_tls_index): Replace unsigned long with uint64_t.
38813 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38814 Paul Pluzhnikov <ppluzhnikov@google.com>
38817 * grp/Makefile (otherlibs): Don't set it.
38818 * inet/Makefile (otherlibs): Likewise.
38819 * login/Makefile (otherlibs): Likewise.
38820 * nscd/Makefile (otherlibs): Likewise.
38821 * posix/Makefile (otherlibs): Likewise.
38822 * pwd/Makefile (otherlibs): Likewise.
38823 * rt/Makefile (otherlibs): Likewise.
38824 * sunrpc/Makefile (otherlibs): Likewise.
38825 * nss/Makefile (otherlibs): Likewise.
38826 Add libnss_files to routines and static-only-routines.
38827 ($(objpfx)getent): Remove rule.
38828 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38829 static-only-routines.
38831 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38834 * math/s_cexp.c: Include <float.h>.
38835 (__cexp): Handle exp result overflowing not necessarily
38836 overflowing both real and imaginary parts of result.
38837 * math/s_cexpf.c: Likewise.
38838 * math/s_cexpl.c: Likewise.
38839 * math/libm-test.inc (cexp_test): Add more tests.
38840 * sysdeps/i386/fpu/libm-test-ulps: Update.
38841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38843 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38845 * include/link.h (ELFW): New macro.
38846 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38847 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38849 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38851 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38854 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38856 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38858 (struct La_x32_retval): Likewise.
38860 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38862 * sysdeps/x86_64/preconfigure.in: New file.
38863 * sysdeps/x86_64/preconfigure: New generated file.
38865 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38868 * math/e_exp2l.c: Include <float.h>.
38869 (__ieee754_exp2l): Handle overflow and underflow cases
38870 separately. Only pass fractional part of argument to
38872 * math/libm-test.inc (exp2_test): Add more tests.
38874 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38875 negating x to take absolute value.
38876 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38878 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38879 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38881 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38882 computing low part if x was negated.
38883 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38885 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38887 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38888 la_x32_gnu_pltexit.
38889 (pltexit): Cast int_retval to ptrdiff_t.
38890 * elf/tst-auditmod3b.c: Likewise.
38891 * elf/tst-auditmod4b.c: Likewise.
38892 * elf/tst-auditmod5b.c: Likewise.
38893 * elf/tst-auditmod6b.c: Likewise.
38894 * elf/tst-auditmod6c.c: Likewise.
38895 * elf/tst-auditmod7b.c: Likewise.
38897 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38898 and x32_gnu_pltexit.
38900 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38901 __ELF_NATIVE_CLASS.
38902 (La_x32_regs): New macro.
38903 (La_x32_retval): Likewise.
38904 (la_x32_gnu_pltenter): New function prototype.
38905 (la_x32_gnu_pltexit): Likewise.
38907 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38909 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38914 * configure.in (libc_cv_cc_nofma): Check for option to disable
38915 generation of FMA instructions.
38916 * configure: Regenerate.
38917 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38918 * sysdeps/ieee754/dbl-64/Makefile: New file.
38919 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38920 Remove brandred-fma4.
38921 (CFLAGS-brandred-fma4.c): Remove.
38922 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38923 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38925 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38928 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38930 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38931 LLONG_MAX != LONG_MAX.
38932 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38933 (_fitoa_word): Likewise.
38934 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38935 LLONG_MAX != LONG_MAX.
38936 * stdio-common/_itowa.h: Include <_itoa.h>.
38937 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38938 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38939 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38940 only if not defined.
38941 (_ITOA_WORD_TYPE): Likewise.
38942 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38943 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38945 2012-03-21 David S. Miller <davem@davemloft.net>
38947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38949 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38951 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38952 of x86_64 when setting libc_cv_slibdir, libdir and
38954 * sysdeps/unix/sysv/linux/configure: Regenerated.
38956 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38958 * manual/lang.texi (Old Varargs): Remove section.
38959 (How Variadic): Update menu.
38960 (va_start): Do not mention varargs.h.
38962 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38963 Joseph Myers <joseph@codesourcery.com>
38965 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38967 * configure: Regenerated.
38969 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38971 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38972 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38975 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38978 * Makefile (files-for-dist): Remove NOTES.
38979 (NOTES): Remove rule.
38980 * README: Don't refer to NOTES.
38981 * manual/creature.texi: Don't include macros.texi.
38982 * manual/intro.texi (creature.texi): Remove comment referring to
38985 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38986 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38987 * configure: Regenerated.
38988 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38989 LIBC_TRY_CC_OPTION.
38990 (libc_cv_as_i686): Likewise.
38991 (libc_cv_cc_avx): Likewise.
38992 (libc_cv_cc_sse2avx): Likewise.
38993 (libc_cv_cc_fma4): Likewise.
38994 (libc_cv_cc_novzeroupper): Likewise.
38995 * sysdeps/i386/configure: Regenerated.
38998 * sysdeps/i386/fpu/s_cexp.S: Remove.
38999 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39000 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39001 * math/libm-test.inc (cexp_test): Add more tests.
39002 * sysdeps/i386/fpu/libm-test-ulps: Update.
39003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39005 2012-03-21 Allan McRae <allan@archlinux.org>
39007 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39009 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39012 * math/w_exp2.c: Do not include <float.h>.
39013 (o_threshold, u_threshold): Remove.
39014 (__exp2): Calculate result before checking finiteness and calling
39016 * math/w_exp2f.c: Likewise.
39017 * math/w_exp2l.c: Likewise.
39018 * math/libm-test.inc (exp2_test): Require overflow exception for
39022 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39023 range of signed 64-bit integers before using fistpll. Remove
39024 checks for whether integers fit in mantissa bits.
39025 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39026 the range of signed 32-bit integers before using fistpl. Remove
39027 checks for whether integers fit in mantissa bits.
39028 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39029 (__ieee754_powl): Test for y outside the range of signed 64-bit
39030 integers before using fistpll. Reduce 64-bit values to 63-bit
39032 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39033 divide-by-zero is raised for zero to large negative powers.
39034 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39035 (__ieee754_powl): Test for y outside the range of signed 64-bit
39036 integers before using fistpll. Reduce 64-bit values to 63-bit
39038 * math/libm-test.inc (pow_test): Add more tests.
39040 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39042 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39043 <stdio-common/_itoa.h>.
39044 * debug/segfault.c: Likewise.
39045 * elf/dl-cache.c: Likewise.
39046 * elf/dl-minimal.c: Likewise.
39047 * elf/dl-misc.c: Likewise.
39048 * elf/dl-sysdep.c: Likewise.
39049 * elf/dl-version.c: Likewise.
39050 * elf/rtld.c: Likewise.
39051 * hurd/hurdsock.c: Likewise.
39052 * hurd/lookup-retry.c: Likewise.
39053 * malloc/malloc.c: Likewise.
39054 * malloc/mtrace.c: Likewise.
39055 * nscd/nscd_getgr_r.c: Likewise.
39056 * nscd/nscd_getpw_r.c: Likewise.
39057 * nscd/nscd_getserv_r.c: Likewise.
39058 * posix/getopt_init.c: Likewise.
39059 * posix/wordexp.c: Likewise.
39060 * stdio-common/_itoa.c: Likewise.
39061 * stdio-common/printf_fphex.c: Likewise.
39062 * stdio-common/vfprintf.c: Likewise.
39063 * string/_strerror.c: Likewise.
39064 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39065 * sysdeps/i386/i686/hp-timing.h: Likewise.
39066 * sysdeps/mach/_strerror.c: Likewise.
39067 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39068 * sysdeps/mach/hurd/sethostid.c: Likewise.
39069 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39070 * sysdeps/mach/xpg-strerror.c: Likewise.
39071 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39072 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39073 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39074 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39075 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39076 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39077 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39078 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39079 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39080 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39081 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39082 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39083 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39084 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39085 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39086 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39087 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39088 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39089 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39090 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39091 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39093 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39095 * stdio-common/_itoa.h: Moved to ...
39096 * sysdeps/generic/_itoa.h: Here.
39098 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39100 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39101 instead of "_itoa.h" and "_itowa.h".
39102 * stdio-common/vfprintf.: Likewise.
39104 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39106 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39108 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39109 (__signbit): Likwise.
39110 (llrintf): Likwise.
39113 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39115 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39118 2012-03-20 Joseph Myers <joseph@codesourcery.com>
39120 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39121 OVERFLOW_EXCEPTION_OK.
39122 * math/libm-test.inc ("Philosophy"): Update comment about
39124 (OVERFLOW_EXCEPTION): Define.
39125 (OVERFLOW_EXCEPTION_OK): Likewise.
39126 (INVALID_EXCEPTION_OK): Renumber.
39127 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39128 (IGNORE_ZERO_INF_SIGN): Likewise.
39129 (test_exceptions): Handle FE_OVERFLOW.
39130 (exp10_test): Expect overflow exceptions.
39131 (exp2_test): Likewise.
39132 (expm1_test): Likewise.
39133 (nextafter_test): Likewise.
39134 (pow_test): Likewise.
39135 (scalbn_test): Likewise.
39136 (scalbln_test): Likewise.
39138 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39140 * sysdeps/x86_64/bits/atomic.h
39141 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39143 (atomic_exchange_acq): Likewise.
39144 (__arch_exchange_and_add_body): Likewise.
39145 (__arch_add_body): Likewise.
39146 (atomic_add_negative): Likewise.
39147 (atomic_add_zero): Likewise.
39149 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39151 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39152 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39154 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39156 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39157 Check __x86_64__ instead of __WORDSIZE.
39159 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39161 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39163 2012-03-19 David S. Miller <davem@davemloft.net>
39165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39167 * sysdeps/sparc/fpu/fenv_private.h: New file.
39168 * sysdeps/sparc/fpu/math_private.h: Use it.
39169 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39171 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39172 (libc_feholdexcept_setroundl): Remove.
39173 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39175 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39176 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39178 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39180 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39181 int64_t instead of long int.
39182 (INSERT_WORDS64): Likwise.
39184 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39186 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39187 _Unwind_GetCFA return to _Unwind_Ptr first.
39189 2012-03-19 Joseph Myers <joseph@codesourcery.com>
39192 * math/s_clog.c: Include <float.h>.
39193 (__clog): Scale large or subnormal inputs.
39194 * math/s_clogf.c: Likewise.
39195 * math/s_clogl.c: Likewise.
39196 * math/s_clog10.c: Include <float.h>.
39197 (M_LOG10_2): Define.
39198 (__clog10): Scale large or subnormal inputs.
39199 * math/s_clog10f.c: Likewise.
39200 * math/s_clog10l.c: Likewise.
39201 * math/libm-test.inc (clog_test): Add more tests.
39202 (clog10_test): Likewise.
39203 * sysdeps/i386/fpu/libm-test-ulps: Update.
39204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39207 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39209 * math/libm-test.inc (atan2_test): Add another test.
39211 * Makerules (common-objdir-compile): Remove.
39212 * sysdeps/unix/Makefile (config-generated): Do not add
39213 $(unix-generated) to variable.
39214 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39215 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39217 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39219 [generic bits/local_lim.h] (before-compile): Do not append to
39221 [generic bits/local_lim.h] (common-generated): Likewise.
39222 [generic sys/param.h] (before-compile): Do not append to variable.
39223 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39224 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39225 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39226 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39228 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39229 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39230 [generic sys/param.h] ($(addprefix
39231 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39232 [generic sys/param.h] (common-generated): Do not append to
39234 [generic sys/param.h] (sysdep_headers): Likewise.
39235 [generic bits/errno.h] (before-compile): Do not append to
39237 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39239 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39240 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39241 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39242 [generic bits/errno.h] (common-generated): Do not append to
39244 [generic bits/ioctls.h] (before-compile): Do not append to
39246 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39248 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39249 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39250 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39252 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39253 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39254 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39255 [generic bits/ioctls.h] (common-generated): Do not append to
39257 [generic sys/syscall.h] (syscall.h): Remove variable.
39258 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39260 [generic sys/syscall.h] (before-compile): Do not append to
39262 [generic sys/syscall.h] (common-generated): Likewise.
39263 * sysdeps/unix/errnos-tmpl.c: Remove file.
39264 * sysdeps/unix/errnos.awk: Likewise.
39265 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39266 * sysdeps/unix/ioctls.awk: Likewise.
39267 * sysdeps/unix/mk-local_lim.c: Likewise.
39268 * sysdeps/unix/snarf-ioctls: Likewise.
39270 2012-03-19 Richard Henderson <rth@twiddle.net>
39272 * sysdeps/i386/fpu/fenv_private.h: New file.
39273 * sysdeps/i386/fpu/math_private.h: Use it.
39274 (math_opt_barrier, math_force_eval): Remove.
39275 (libc_feholdexcept_setround_53bit): Remove.
39276 (libc_feupdateenv_53bit): Remove.
39277 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39278 (math_opt_barrier, math_force_eval): Remove.
39279 (libc_feholdexcept): Remove.
39280 (libc_feholdexcept_setround): Remove.
39281 (libc_fetestexcept, libc_fesetenv): Remove.
39282 (libc_feupdateenv_test): Remove.
39283 (libc_feupdateenv, libc_feholdsetround): Remove.
39284 (libc_feresetround): Remove.
39286 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39287 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39289 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39290 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39291 (libc_feupdateenv_testl): New.
39292 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39293 (libc_feupdateenv_testf): New.
39294 (libc_feupdateenv): Use libc_feupdateenv_test.
39295 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39296 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39298 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39299 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39300 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39301 (libc_feresetround_noex): New.
39302 (libc_feresetround_noexf): New.
39303 (libc_feresetround_noexl): New.
39304 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39305 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39306 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39307 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39309 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39310 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39312 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39313 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39314 SET_RESTORE_ROUND_NOEX.
39315 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39316 SET_RESTORE_ROUND_NOEXF.
39317 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39318 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39319 (libc_feholdsetroundf): New.
39320 (libc_feresetround, libc_feresetroundf): New.
39322 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39323 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39324 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39326 * sysdeps/generic/math_private.h: Include <fenv.h>.
39327 (default_libc_feholdexcept): New.
39328 (default_libc_feholdexcept_setround): New.
39329 (default_libc_fesetenv, default_libc_feupdateenv): New.
39330 (libc_feholdexcept): Only define if undefined.
39331 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39332 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39333 (libc_feholdexcept_setroundl): Likewise.
39334 (libc_feholdexcept_setround_53bit): Likewise.
39335 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39336 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39337 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39338 (libc_feupdateenv_53bit): Likewise.
39339 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39340 (libc_feholdexcept): Convert from macro to inline function.
39341 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39342 (libc_fesetenv, libc_feupdateenv): Likewise.
39344 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39345 not previously defined.
39346 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39347 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39348 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39349 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39350 * sysdeps/ieee754/flt-32/math_private.h: New file.
39351 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39352 math_private.h below SET_FLOAT_WORD.
39353 (__isnan, __isinf_ns, __finite): Remove.
39354 (__isnanf, __isinf_nsf, __finitef): Remove.
39356 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39360 2012-03-17 David S. Miller <davem@davemloft.net>
39363 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39366 2012-03-16 David S. Miller <davem@davemloft.net>
39368 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39372 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39374 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39375 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39376 sysdep_routines when subdir is sysvipc.
39377 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39378 __getshmlba helper.
39380 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39382 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39384 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39387 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39389 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39390 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39391 (__lround): Renamed to ...
39392 (__llround): This. Replace long int with long long int.
39393 Define lround functions as aliases of llround functions.
39394 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39396 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39398 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39399 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39400 adresses to uintptr_t. Replace "long int" and "unsigned long
39401 int" with "greg_t" on va_arg.
39403 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39405 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39406 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39408 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39409 Move e_machine check before EI_CLASS check. Handle x32
39410 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39411 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39412 SKIP_EM_IA_64 and include
39413 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39415 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39416 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39417 (add_system_dir): New macro.
39419 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39420 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39422 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39433 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39435 * math/w_j0f.c (j0f): Likewise.
39437 * math/w_j0l.c (__j0l): Likewise.
39439 * math/w_j1.c (j1): Likewise.
39441 * math/w_j1f.c (j1f): Likewise.
39443 * math/w_j1l.c (__j1l): Likewise.
39445 * math/w_jn.c (jn): Likewise.
39447 * math/w_jnf.c (jnf): Likewise.
39449 * math/w_jnl.c (__jnl): Likewise.
39451 * math/libm-test.inc (j0_test): Add more tests.
39452 (j1_test): Likewise.
39453 (jn_test): Likewise. Add trailing semicolon to existing test.
39454 (y0_test): Likewise.
39455 (y1_test): Likewise.
39456 * sysdeps/i386/fpu/libm-test-ulps: Update.
39457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39461 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39462 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39463 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39464 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39465 (__tanl): Set errno for infinite argument.
39466 * sysdeps/i386/fpu/mptan.c: Remove.
39467 * sysdeps/i386/fpu/s_tan.S: Likewise.
39468 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39469 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39470 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39471 * math/libm-test.inc (tan_test): Add more tests and enable more
39472 tests for double and long double.
39473 * sysdeps/i386/fpu/libm-test-ulps: Update.
39474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39476 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39478 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39479 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39481 2012-03-16 Roland McGrath <roland@hack.frob.com>
39483 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39484 * configure.in: Use it for both main tree and add-ons.
39485 * configure: Regenerated.
39487 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39489 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39491 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39493 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39497 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39498 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39499 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39500 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39501 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39503 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39504 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39505 != 0 for prec == 2.
39506 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39507 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39508 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39509 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39510 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39511 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39512 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39513 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39514 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39515 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39516 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39517 * math/libm-test.inc (cos_test): Add more tests and enable more
39518 tests for long double.
39519 (sin_test): Likewise.
39520 (sincos_test): Likewise.
39521 * sysdeps/i386/fpu/libm-test-ulps: Update.
39522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39524 2012-03-16 David S. Miller <davem@davemloft.net>
39526 * sysdeps/sparc/fpu/math_private.h: New file.
39528 2012-03-15 David S. Miller <davem@davemloft.net>
39530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39540 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39544 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39545 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39547 * sysdeps/sparc/sparc-ifunc.h: New file.
39548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39572 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39573 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39574 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39575 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39576 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39577 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39579 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39582 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39583 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39586 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39587 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39588 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39589 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39590 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39591 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39593 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39595 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39599 2012-03-15 Andreas Jaeger <aj@suse.de>
39602 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39603 ieee754/flt-32 implementation for sin, cos and sincos.
39604 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39605 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39606 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39607 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39608 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39609 ieee754/flt-32 implementation for tan.
39611 * math/libm-test.inc (cos_test): Enable some large input tests for
39613 (sin_test): Likewise.
39614 (sincos_test): Likewise.
39615 (tan_test): Add tests for large input.
39617 * sysdeps/i386/fpu/libm-test-ulps: Update.
39619 2012-03-15 Andreas Jaeger <aj@suse.de>
39622 * math/libm-test.inc (cos_test): Add more test cases.
39623 (sin_test): Likewise.
39624 (sincos_test): Likewise.
39626 2012-03-15 Andreas Jaeger <aj@suse.de>
39629 * math/libm-test.inc (cos_test): Add a test case for large input
39631 (sin_test): Likewise.
39632 (sincos_test): Likewise.
39634 2012-03-15 Andreas Jaeger <aj@suse.de>
39635 Joseph Myers <joseph@codesourcery.com>
39638 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39639 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39640 * sysdeps/i386/fpu/branred.c: Likewise.
39641 * sysdeps/i386/fpu/dosincos.c: Likewise.
39642 * sysdeps/i386/fpu/mpa.c: Likewise.
39643 * sysdeps/i386/fpu/s_cos.S: Likewise.
39644 * sysdeps/i386/fpu/s_sin.S: Likewise.
39645 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39646 * sysdeps/i386/fpu/sincos32.c: Likewise.
39648 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39650 (libc_feupdateenv_53bit): Define.
39651 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39653 (libc_feupdateenv_53bit): Define.
39655 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39656 53 bit (without extend i386 double precision).
39658 * math/libm-test.inc (sincos_test): Add tests for large input.
39662 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39664 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39668 2012-03-15 David S. Miller <davem@davemloft.net>
39670 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39671 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39672 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39673 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39679 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39697 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39698 fmin/fmax sysdep routines.
39699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39701 2012-03-14 David S. Miller <davem@davemloft.net>
39703 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39704 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39706 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39707 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39708 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39709 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39710 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39711 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39712 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39713 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39714 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39723 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39724 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39725 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39726 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39727 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39728 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39729 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39730 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39731 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39775 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39780 * sysdeps/sparc/configure.in: New file.
39781 * sysdeps/sparc/configure: Generate.
39782 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39783 * configure: Regenerate.
39784 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39785 * config.make.in (have-as-vis3): New.
39786 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39787 available use -Av9d instead of -Av9a.
39788 * sysdeps/sparc/sparc64/Makefile: Likewise.
39789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39798 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39799 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39800 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39801 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39802 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39804 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39805 fzeros/fnegs to load 0x80000000 into a float register instead of
39807 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39809 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39811 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39813 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39814 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39815 ($(inst_includedir)/bits/syscall.h): Remove rule.
39816 ($(objpfx)bits/syscall.d): Include instead of
39817 $(objpfx)syscall-list.d.
39818 (generated): Change syscall-list.h and syscall-list.d to
39819 bits/syscall.h and bits/syscall.d.
39821 2012-03-14 Roland McGrath <roland@hack.frob.com>
39824 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39826 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39829 * math/s_csqrt.c: Include <float.h>.
39830 (__csqrt): Scale large or subnormal inputs.
39831 * math/s_csqrtf.c: Likewise.
39832 * math/s_csqrtl.c: Likewise.
39833 * math/libm-test.inc (csqrt_test): Add more tests.
39834 * sysdeps/i386/fpu/libm-test-ulps: Update.
39835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39838 * math/libm-test.inc (hypot_test): Add more tests.
39840 2012-03-13 David S. Miller <davem@davemloft.net>
39843 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39844 double-precision for the calculation instead of scaling.
39846 2012-03-13 Joseph Myers <joseph@codesourcery.com>
39848 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39849 manipulate bits before adding and subtracting TWO52[sx].
39850 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39851 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39853 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39855 2012-03-13 David S. Miller <davem@davemloft.net>
39857 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39858 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39859 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39860 rtld-global-offsets.h
39861 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39863 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39866 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39868 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39869 'err' in the ifdef scope in which it is actually used.
39871 * nss/nss_db/db-init.c: Include string.h
39873 2012-03-12 David S. Miller <davem@davemloft.net>
39875 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39876 masking out of the most significant byte of random value used.
39877 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39878 Fix coding style in previous change.
39880 * sysdeps/unix/sysv/linux/kernel-features.h
39881 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39882 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39884 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39887 2012-03-11 David S. Miller <davem@davemloft.net>
39889 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39890 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39891 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39892 for 'resultvar' otherwise things get truncated on 64-bit.
39894 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39895 Fix masking out of the most significant byte of random value used.
39897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39899 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39903 2012-03-09 David S. Miller <davem@davemloft.net>
39905 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39906 variables with appropriate CPP guards.
39907 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39908 from the frame pointer, not the stack pointer. Correct layout
39909 comments. Fix test on resulting framesize and the management of
39910 the outregs buffer for pltexit. Preserve floating point return
39911 values across _dl_call_pltexit call.
39912 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39913 framesize and the management of the outregs buffer for pltexit.
39914 Preserve floating point return values across _dl_call_pltexit
39916 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39917 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39918 (la_sparc64_gnu_pltexit): New functions.
39919 (print_exit): Fix format string for return register value.
39921 2012-03-10 Joseph Myers <joseph@codesourcery.com>
39923 * sunrpc/Makefile (others): Add rpcgen.
39924 ($(objpfx)rpcgen): Remove special build rule and dependency on
39926 * sunrpc/rpcgen.c: New file.
39928 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39931 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39932 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39933 * sysdeps/i386/crti.S: Likewise.
39934 * sysdeps/i386/crtn.S: Likewise.
39935 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39936 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39937 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39938 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39939 * sysdeps/sh/crti.S: Likewise.
39940 * sysdeps/sh/crtn.S: Likewise.
39941 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39944 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39946 * locale/programs/locfile-kw.gperf: Likewise.
39947 * locale/programs/charmap-kw.h: Regenerated.
39948 * locale/programs/locfile-kw.h: Likewise.
39951 * intl/plural.y: Replace FSF snail mail address with URL.
39952 * intl/plural.c: Regenerated.
39954 2012-03-09 Richard Henderson <rth@twiddle.net>
39956 * include/math_private.h: Remove file.
39957 * math/math_private.h: Move file ...
39958 * sysdeps/generic/math_private.h: ... here.
39960 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39961 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39962 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39964 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39965 and <math_private.h>.
39966 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39967 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39968 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39969 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39970 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39971 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39972 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39973 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39974 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39975 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39976 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39977 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39978 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39979 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39980 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39981 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39982 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39983 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39984 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39985 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39986 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39987 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39988 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39989 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39990 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39991 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39992 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39993 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39994 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39995 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39996 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39997 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39998 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39999 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40000 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40001 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40002 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40003 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40004 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40005 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40006 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40007 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40008 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40009 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40010 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40011 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40012 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40013 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40014 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40015 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40016 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40017 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40018 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40019 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40020 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40021 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40022 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40023 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40024 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40025 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40026 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40027 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40028 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40029 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40030 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40031 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40032 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40033 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40034 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40035 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40036 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40037 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40038 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40039 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40040 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40041 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40042 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40043 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40044 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40045 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40046 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40047 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40048 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40049 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40050 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40051 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40052 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40053 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40054 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40055 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40056 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40057 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40058 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40059 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40060 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40061 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40062 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40063 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40064 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40065 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40066 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40067 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40068 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40069 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40070 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40071 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40072 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40073 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40074 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40075 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40076 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40077 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40078 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40079 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40080 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40081 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40082 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40083 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40084 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40085 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40086 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40087 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40088 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40089 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40090 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40091 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40092 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40093 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40094 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40095 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40096 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40097 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40098 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40099 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40100 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40101 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40102 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40103 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40104 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40105 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40106 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40107 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40108 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40109 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40110 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40111 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40112 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40113 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40114 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40115 * sysdeps/ieee754/k_standard.c: Likewise.
40116 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40117 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40118 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40119 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40120 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40121 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40122 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40123 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40124 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40125 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40126 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40127 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40128 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40129 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40130 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40131 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40132 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40133 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40134 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40135 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40136 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40137 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40138 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40139 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40140 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40141 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40142 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40143 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40144 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40145 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40146 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40147 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40148 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40149 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40150 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40151 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40152 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40153 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40154 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40155 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40156 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40157 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40158 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40159 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40160 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40161 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40162 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40163 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40164 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40165 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40166 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40167 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40168 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40169 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40170 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40171 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40172 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40173 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40174 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40175 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40176 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40177 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40178 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40179 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40180 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40181 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40182 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40183 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40184 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40185 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40186 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40187 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40188 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40189 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40190 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40191 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40192 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40193 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40194 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40195 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40196 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40197 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40198 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40199 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40200 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40201 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40202 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40203 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40204 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40205 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40206 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40207 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40208 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40209 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40210 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40211 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40212 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40213 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40214 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40215 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40216 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40217 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40218 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40219 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40220 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40221 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40222 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40223 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40224 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40225 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40226 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40227 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40228 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40229 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40230 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40231 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40232 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40233 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40234 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40235 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40236 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40237 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40238 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40239 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40240 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40241 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40242 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40243 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40244 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40245 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40246 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40247 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40248 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40249 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40250 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40251 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40252 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40253 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40254 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40255 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40256 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40257 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40258 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40259 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40260 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40261 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40262 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40263 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40264 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40265 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40266 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40267 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40268 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40269 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40270 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40271 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40272 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40273 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40274 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40275 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40276 * sysdeps/ieee754/s_lib_version.c: Likewise.
40277 * sysdeps/ieee754/s_matherr.c: Likewise.
40278 * sysdeps/ieee754/s_signgam.c: Likewise.
40279 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40280 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40281 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40282 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40283 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40284 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40285 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40286 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40287 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40288 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40289 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40290 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40291 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40292 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40293 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40294 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40295 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40296 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40297 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40298 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40299 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40301 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40303 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40304 * sunrpc/rpc_main.c: Likewise.
40305 * sunrpc/rpc_svcout.c: Likewise.
40307 2012-03-09 David S. Miller <davem@davemloft.net>
40309 * include/math_private.h: New file.
40311 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40313 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40314 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40315 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40316 from <bits/socket_type.h>.
40317 (enum __socket_type): Don't define here.
40318 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40320 bits/socket_type.h.
40323 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40324 checking __USE_GNU.
40326 * Makerules ($(inst_includedir)/%.h): New rule.
40327 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40328 (install-others): Remove variable setting.
40329 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40331 2012-03-08 Richard Henderson <rth@twiddle.net>
40333 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40334 from macro to inline function; merge with the
40335 !__LIBC_INTERNAL_MATH_INLINES version.
40336 (__ieee754_sqrtf): Likewise.
40338 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40339 to inline function.
40340 (__rintf, __floor, __floorf): Likewise.
40342 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40343 macro to inline function.
40344 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40346 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40347 not <math/math_private.h>.
40349 2012-03-08 David S. Miller <davem@davemloft.net>
40351 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40353 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40355 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40357 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40359 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40360 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40362 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40364 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40365 be defined individually, they must be defined as a block. Define
40366 S for printing a string instead of hidint the different by using a
40367 macro for adding the 'l'.
40368 * stdio-common/tst-fphex-wide.c: Adjust.
40370 2012-03-07 Marek Polacek <polacek@redhat.com>
40372 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40374 2012-03-08 Marek Polacek <polacek@redhat.com>
40377 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40378 * stdio-common/tst-fphex.c: Define a few macros to make the
40379 test reusable. Use them.
40380 * stdio-common/tst-fphex-wide.c: New file.
40382 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40385 * manual/macros.texi (gnusystems): New macro.
40386 (nongnusystems): Likewise.
40387 (gnulinuxhurdsystems): Likewise.
40388 (gnuhurdsystems): Likewise..
40389 (gnulinuxsystems): Likewise.
40390 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40391 variants of the GNU system, not "GNU system".
40392 * manual/conf.texi: Likewise.
40393 * manual/errno.texi: Likewise. Update example of errno macro
40395 * manual/filesys.texi: Likewise.
40396 (getumask): Document as specific to GNU/Hurd.
40397 * manual/install.texi: Likewise. Reword some references to
40399 * manual/intro.texi: Likewise.
40400 * manual/io.texi: Likewise.
40401 (File Name Portability): Detail which constraints are inapplicable
40402 to all GNU systems and which are only inapplicable to GNU/Hurd.
40403 * manual/job.texi: Likewise.
40404 * manual/llio.texi: Likewise.
40405 (O_NOCTTY): Document as present on GNU/Linux.
40406 * manual/maint.texi: Likewise.
40407 * manual/memory.texi: Likewise.
40408 * manual/pattern.texi: Likewise.
40409 * manual/pipe.texi: Likewise.
40410 * manual/process.texi: Likewise.
40411 * manual/resource.texi: Likewise.
40412 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40414 * manual/setjmp.texi: Likewise.
40415 * manual/signal.texi: Likewise.
40416 * manual/startup.texi: Likewise.
40417 * manual/stdio.texi: Likewise.
40418 * manual/terminal.texi: Likewise.
40419 (ONLCR): Document as POSIX.
40420 (OXTABS): Document availability on GNU/Linux as XTABS.
40421 (ONOEOT): Document availability separately from other bits.
40422 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40423 * manual/time.texi: Likewise.
40424 * manual/users.texi: Likewise.
40425 * INSTALL: Regenerated.
40426 * sysdeps/gnu/errlist.c: Regenerated.
40428 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40429 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40430 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40432 * configure: Regenerated.
40434 2012-03-07 Joseph Myers <joseph@codesourcery.com>
40436 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40437 default includes instead of AC_HEADER_CHECK.
40438 * sysdeps/i386/configure: Regenerated.
40441 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40442 * math/s_cacoshf.c (__cacoshf): Likewise.
40443 * math/s_cacoshl.c (__cacoshl): Likewise.
40444 * math/s_casinh.c (__casinh): Set signs of result from argument.
40445 * math/s_casinhf.c (__casinhf): Likewise.
40446 * math/s_casinhl.c (__casinhl): Likewise.
40447 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40448 (casinh_test): Add more tests.
40449 * sysdeps/i386/fpu/libm-test-ulps: Update.
40450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40452 2012-03-07 Ulrich Drepper <drepper@gmail.com>
40454 * po/zh_TW.po: Update from translation team.
40456 * login/Makefile (distribute): Remove variable.
40457 * catgets/Makefile: Likewise.
40458 * mach/Makefile: Likewise.
40459 * malloc/Makefile: Likewise.
40460 * misc/Makefile: Likewise.
40461 * iconv/Makefile: Likewise.
40462 * nscd/Makefile: Likewise.
40463 * hurd/Makefile: Likewise.
40464 * manual/Makefile: Likewise.
40465 * locale/Makefile: Likewise.
40466 * intl/Makefile: Likewise.
40467 * conform/Makefile: Likewise.
40468 * nss/Makefile: Likewise.
40469 * time/Makefile: Likewise.
40470 * soft-fp/Makefile: Likewise.
40471 * dirent/Makefile: Likewise.
40472 * gmon/Makefile: Likewise.
40473 * po/Makefile: Likewise.
40474 * rt/Makefile: Likewise.
40475 * socket/Makefile: Likewise.
40476 * math/Makefile: Likewise.
40477 * signal/Makefile: Likewise.
40478 * debug/Makefile: Likewise.
40479 * elf/Makefile: Likewise.
40480 * timezone/Makefile: Likewise.
40481 * stdlib/Makefile: Likewise.
40482 * iconvdata/Makefile: Likewise.
40483 * sunrpc/Makefile: Likewise.
40484 * io/Makefile: Likewise.
40485 * argp/Makefile: Likewise.
40486 * inet/Makefile: Likewise.
40487 * hesiod/Makefile: Likewise.
40488 * grp/Makefile: Likewise.
40489 * csu/Makefile: Likewise.
40490 * wctype/Makefile: Likewise.
40491 * crypt/Makefile: Likewise.
40492 * libio/Makefile: Likewise.
40493 * string/Makefile: Likewise.
40494 * nis/Makefile: Likewise.
40495 * resolv/Makefile: Likewise.
40496 * stdio-common/Makefile: Likewise.
40497 * wcsmbs/Makefile: Likewise.
40498 * dlfcn/Makefile: Likewise.
40499 * posix/Makefile: Likewise.
40502 * timezone/Makefile: Don't install timezone files, just the programs
40505 2012-03-06 Ulrich Drepper <drepper@gmail.com>
40507 * nss/databases.def: Add missing gshadow entry.
40509 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40511 2012-03-06 Marek Polacek <polacek@redhat.com>
40514 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40515 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40516 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40517 * stdio-common/tst-long-dbl-fphex.c: New file.
40519 2012-03-06 David S. Miller <davem@davemloft.net>
40521 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40522 (set_obp_int): New function.
40523 (get_obp_int): New function.
40524 (__get_clockfreq_via_dev_openprom): Likewise.
40525 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40526 Avoid unused variable warnings on 'val' and use builtin_expect.
40527 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40529 (INLINE_CLONE_SYSCALL): Likewise.
40531 2012-03-05 David S. Miller <davem@davemloft.net>
40533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40535 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40539 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40540 only for |x| >= 40.
40541 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40543 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
40545 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40546 Replace gettimeofday with __vdso_gettimeofday.
40548 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40549 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40550 __vdso_clock_gettime and __vdso_getcpu.
40552 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40553 time with __vdso_time.
40555 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40557 * manual/lang.texi (size_t): Note types to which size_t may be
40558 equivalent with the GNU C Library, but do not describe when
40559 differences between them are significant.
40561 2012-03-05 Andreas Jaeger <aj@suse.de>
40563 * sysdeps/i386/fpu/libm-test-ulps: Update.
40565 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40568 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40569 (__ieee754_pow): Save and restore rounding mode and use
40570 round-to-nearest for main computations.
40571 * math/libm-test.inc (pow_test_tonearest): New function.
40572 (pow_test_towardzero): Likewise.
40573 (pow_test_downward): Likewise.
40574 (pow_test_upward): Likewise.
40575 (main): Call the new functions.
40576 * sysdeps/i386/fpu/libm-test-ulps: Update.
40577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40580 * math/libm-test.inc (cosh_test_tonearest): New function.
40581 (cosh_test_towardzero): Likewise.
40582 (cosh_test_downward): Likewise.
40583 (cosh_test_upward): Likewise.
40584 (sinh_test_tonearest): Likewise.
40585 (sinh_test_towardzero): Likewise.
40586 (sinh_test_downward): Likewise.
40587 (sinh_test_upward): Likewise.
40588 (main): Call the new functions.
40589 * sysdeps/i386/fpu/libm-test-ulps: Update.
40590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40592 2012-03-05 Tom de Vries <tom@codesourcery.com>
40594 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40595 default stack guard is set in last bytes.
40596 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40598 2012-03-05 Kees Cook <keescook@chromium.org>
40600 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40603 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40604 possibly allocate from heap instead of stack.
40605 * stdio-common/bug-vfprintf-nargs.c: New file.
40606 * stdio-common/Makefile (tests): Add nargs overflow test.
40608 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40612 2012-03-03 Marek Polacek <polacek@redhat.com>
40614 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40615 * math/math_private.h: Likewise.
40616 * stdlib/tst-strtod.c: Likewise.
40617 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40618 * sysdeps/x86_64/bits/atomic.h: Likewise.
40620 2012-03-02 David S. Miller <davem@davemloft.net>
40622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40626 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40627 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40628 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40629 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40631 2012-03-02 Roland McGrath <roland@hack.frob.com>
40634 * manual/examples/README: New file, says the example source files
40635 can be used under GPL>=2.
40636 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40637 line containing just "*/".
40638 * manual/examples/add.c: Add copyright header (GPL>=2).
40639 * manual/examples/argp-ex1.c: Likewise.
40640 * manual/examples/argp-ex2.c: Likewise.
40641 * manual/examples/argp-ex3.c: Likewise.
40642 * manual/examples/argp-ex4.c: Likewise.
40643 * manual/examples/atexit.c: Likewise.
40644 * manual/examples/db.c: Likewise.
40645 * manual/examples/dir.c: Likewise.
40646 * manual/examples/dir2.c: Likewise.
40647 * manual/examples/execinfo.c: Likewise.
40648 * manual/examples/filecli.c: Likewise.
40649 * manual/examples/filesrv.c: Likewise.
40650 * manual/examples/fmtmsgexpl.c: Likewise.
40651 * manual/examples/genpass.c: Likewise.
40652 * manual/examples/inetcli.c: Likewise.
40653 * manual/examples/inetsrv.c: Likewise.
40654 * manual/examples/isockad.c: Likewise.
40655 * manual/examples/longopt.c: Likewise.
40656 * manual/examples/memopen.c: Likewise.
40657 * manual/examples/memstrm.c: Likewise.
40658 * manual/examples/mkfsock.c: Likewise.
40659 * manual/examples/mkisock.c: Likewise.
40660 * manual/examples/mygetpass.c: Likewise.
40661 * manual/examples/pipe.c: Likewise.
40662 * manual/examples/popen.c: Likewise.
40663 * manual/examples/rprintf.c: Likewise.
40664 * manual/examples/search.c: Likewise.
40665 * manual/examples/select.c: Likewise.
40666 * manual/examples/setjmp.c: Likewise.
40667 * manual/examples/sigh1.c: Likewise.
40668 * manual/examples/sigusr.c: Likewise.
40669 * manual/examples/stpcpy.c: Likewise.
40670 * manual/examples/strdupa.c: Likewise.
40671 * manual/examples/strftim.c: Likewise.
40672 * manual/examples/strncat.c: Likewise.
40673 * manual/examples/subopt.c: Likewise.
40674 * manual/examples/swapcontext.c: Likewise.
40675 * manual/examples/termios.c: Likewise.
40676 * manual/examples/testopt.c: Likewise.
40677 * manual/examples/testpass.c: Likewise.
40678 * manual/examples/timeval_subtract.c: Likewise.
40681 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40683 * manual/timeval_subtract.c.texi: ... here, new file.
40685 2012-03-02 David S. Miller <davem@davemloft.net>
40687 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40689 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40692 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40693 (__sin): Save and restore rounding mode and use round-to-nearest
40694 for all computations.
40695 (__cos): Save and restore rounding mode and use round-to-nearest
40696 for all computations.
40697 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40699 (tan): Save and restore rounding mode and use round-to-nearest for
40701 * math/libm-test.inc (cos_test_tonearest): New function.
40702 (cos_test_towardzero): Likewise.
40703 (cos_test_downward): Likewise.
40704 (cos_test_upward): Likewise.
40705 (sin_test_tonearest): Likewise.
40706 (sin_test_towardzero): Likewise.
40707 (sin_test_downward): Likewise.
40708 (sin_test_upward): Likewise.
40709 (tan_test_tonearest): Likewise.
40710 (tan_test_towardzero): Likewise.
40711 (tan_test_downward): Likewise.
40712 (tan_test_upward): Likewise.
40713 (main): Call the new functions.
40714 * sysdeps/i386/fpu/libm-test-ulps: Update.
40715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40718 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40719 small n, then large n, before computing and testing k+n.
40720 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40721 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40723 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40725 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40726 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40727 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40728 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40729 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40730 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40731 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40732 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40733 * math/libm-test.inc (scalbn_test): Add more tests.
40734 (scalbln_test): Likewise.
40736 * manual/filesys.texi (mode_t): Describe constraints on size and
40737 signedness, not exact equivalence to a particular type.
40739 (ino64_t): Likewise.
40741 (nlink_t): Likewise.
40742 (blkcnt_t): Likewise.
40743 (blkcnt64_t): Likewise.
40744 * manual/llio.texi (off_t): Likewise.
40747 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40748 (__ieee754_exp): Save and restore rounding mode and use
40749 round-to-nearest for all computations.
40750 * math/libm-test.inc (exp_test_tonearest): New function.
40751 (exp_test_towardzero): Likewise.
40752 (exp_test_downward): Likewise.
40753 (exp_test_upward): Likewise.
40754 (main): Call the new functions.
40755 * sysdeps/i386/fpu/libm-test-ulps: Update.
40756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40758 2012-03-01 Chris Demetriou <cgd@google.com>
40760 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40761 have predictable order.
40763 2012-03-01 David S. Miller <davem@davemloft.net>
40765 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40767 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40768 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40769 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40770 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40772 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40773 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40774 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40776 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40777 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40778 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40779 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40780 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40784 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40785 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40786 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40788 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40789 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40790 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40791 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40792 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40793 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40794 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40795 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40796 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40797 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40798 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40799 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40800 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40801 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40802 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40803 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40804 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40805 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40806 * sysdeps/sparc/elf/configure: Regenerated.
40808 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40810 * configure.in (AS, LD): Require binutils 2.20 or later.
40811 * configure: Regenerated.
40812 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40813 as required minimum version.
40814 * INSTALL: Regenerated.
40818 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40819 before squaring exponent.
40820 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40821 bottom long double and 27 bits of top long double before squaring
40823 * math/libm-test.inc (erfc_test): Add more tests.
40824 * sysdeps/i386/fpu/libm-test-ulps: Update.
40825 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40828 2012-03-01 Kai Tietz <ktietz@redhat.com>
40830 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40831 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40832 containing bit-fields.
40833 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40834 * soft-fp/single.h (_FP_UNION_S): Likewise.
40835 * soft-fp/double.h (_FP_UNION_D): Likewise.
40837 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40840 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40841 not include ../strcmp.S.
40842 [USE_AS_STRNCASECMP_L]: Likewise.
40843 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40844 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40845 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40846 (__strncasecmp_l_ia32): Define as alias to
40847 __strncasecmp_l_nonascii.
40850 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40851 * sysdeps/i386/fpu/libm-test-ulps: Update.
40852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40854 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40857 2012-02-29 Jeff Law <law@redhat.com>
40859 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40860 out of bounds read.
40862 2012-02-29 Marek Polacek <polacek@redhat.com>
40865 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40866 * elf/Makefile: Add rules to run tst-unused-dep.out.
40868 2012-02-28 David S. Miller <davem@davemloft.net>
40870 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40871 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40872 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40873 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40874 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40875 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40877 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40879 * math/libm-test.inc (llround_test): Move one test from
40880 lround_test. Use TEST_f_L in moved test.
40881 (lround_test): Move misplaced test to llround_test. Add testcase
40884 2012-02-28 Ulrich Drepper <drepper@gmail.com>
40886 * sysdeps/x86_64/fpu/e_expf.S: New file.
40887 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40889 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40892 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40893 of remain_len that may cause incomplete multi-byte character and
40895 * posix/bug-regex33.c: New file.
40896 * posix/Makefile (tests): Add bug-regex33.
40898 2012-02-28 Joseph Myers <joseph@codesourcery.com>
40900 * manual/macros.texi: New file.
40901 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40902 * manual/libc.texinfo: Include macros.texi.
40903 * manual/creatute.texi: Likewise.
40904 * manual/install.texi: Likewise.
40905 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40906 @glibcadj{} in references to the GNU C Library.
40907 * manual/charset.texi: Likewise.
40908 * manual/conf.texi: Likewise.
40909 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40910 when not using those macros.
40911 * manual/creature.texi: Likewise.
40912 * manual/crypt.texi: Likewise.
40913 * manual/errno.texi: Likewise.
40914 * manual/filesys.texi: Likewise.
40915 * manual/header.texi: Likewise.
40916 * manual/install.texi: Likewise.
40917 * manual/intro.texi: Likewise.
40918 * manual/io.texi: Likewise.
40919 * manual/job.texi: Likewise.
40920 * manual/lang.texi: Likewise.
40921 * manual/libc.texiinfo: Likewise.
40922 * manual/llio.texi: Likewise.
40923 * manual/locale.texi: Likewise.
40924 * manual/maint.texi: Likewise.
40925 * manual/math.texi: Likewise.
40926 * manual/memory.texi: Likewise.
40927 * manual/message.texi: Likewise.
40928 * manual/nss.texi: Likewise.
40929 * manual/pattern.texi: Likewise.
40930 * manual/process.texi: Likewise.
40931 * manual/resource.texi: Likewise.
40932 * manual/search.texi: Likewise.
40933 * manual/setjmp.texi: Likewise.
40934 * manual/signal.texi: Likewise.
40935 * manual/socket.texi: Likewise.
40936 * manual/startup.texi: Likewise.
40937 * manual/stdio.texi: Likewise.
40938 * manual/string.texi: Likewise.
40939 * manual/sysinfo.texi: Likewise.
40940 * manual/syslog.texi: Likewise.
40941 * manual/terminal.texi: Likewise.
40942 * manual/time.texi: Likewise.
40943 * manual/users.texi: Likewise.
40944 * INSTALL: Regenerated.
40945 * NOTES: Regenerated.
40946 * sysdeps/gnu/errlist.c: Regenerated.
40948 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40950 * include/dirent.h: Include <dirstream.h> before
40953 2012-02-28 David S. Miller <davem@davemloft.net>
40955 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40956 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40957 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40958 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40960 2012-02-27 David S. Miller <davem@davemloft.net>
40962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40964 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40965 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40968 frame pointer instead of stack pointer relative arg slot.
40969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40970 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40971 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40973 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40976 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40978 2012-02-27 David S. Miller <davem@davemloft.net>
40980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40984 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40985 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40986 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40987 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40989 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40991 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40992 later. Allow versions 5-9.
40993 * configure: Regenerated.
40994 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40995 required minimum version and 4.6 as recommended version. Do not
40996 mention bugs in GCC 2.7 and 2.8.
40997 * INSTALL: Regenerated.
40999 2012-02-27 David S. Miller <davem@davemloft.net>
41001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41005 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41006 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41007 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41008 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41010 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41011 manipulate bits before adding and subtracting TWO112[sx].
41012 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41014 2012-02-27 Roland McGrath <roland@hack.frob.com>
41017 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41018 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41019 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41020 being in POSIX, because they are in 1003.1-2008.
41022 * rt/tst-aio.c: Include <fcntl.h>.
41023 * rt/tst-aio7.c: Likewise.
41024 * rt/tst-aio64.c: Likewise.
41026 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41028 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41030 * manual/install.texi (--with-headers): Describe headers as
41031 interface headers, not private headers.
41032 (Specific advice for GNU/Linux systems): Describe use of headers
41033 from "make headers_install", not private headers from older
41035 * INSTALL: Regenerated.
41036 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41038 * sysdeps/unix/sysv/linux/configure: Regenerated.
41040 * manual/llio.texi (fclean): Remove documentation.
41042 * manual/Makefile (libc-texi-generated): New variable. Include
41044 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41045 $(libc-texi-generated), not duplicated list of files.
41046 (version.texi, stamp-version): New rules.
41047 (realclean): Remove $(libc-texi-generated), not individual files
41048 from that list. Do not remove dir-add.texinfo.
41049 * manual/libc.texinfo: Comment out uses of edition numbers and
41050 references to printed manual. Remove last-updated dates.
41051 (EDITION): Comment out.
41053 (VERSION, UPDATED): Remove.
41054 (version.texi): Include.
41056 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41058 * sysdeps/posix/spawni.c: Include <signal.h>.
41059 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41060 * sysdeps/pthread/aio_fsync.c: Likewise.
41062 2012-02-26 Ulrich Drepper <drepper@gmail.com>
41064 * conform/Makefile (tests): Run only when not cross-compiling and
41065 when fast-check is not defined.
41067 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41068 * conform/data/limits.h-data: Fixes for POSIX2008.
41069 * conform/run-conformtest.sh: Run all tests.
41070 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41072 * include/bits/dlfcn.h: Likewise.
41073 * include/langinfo.h: Likewise.
41074 * include/monetary.h: Likewise.
41075 * include/sys/poll.h: Likewise.
41077 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41079 * posix/spawn.h: Define __need_sigset_t.
41080 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41081 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41082 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41083 to get sigevent_t only.
41084 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41085 only for __USE_GNU.
41086 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41087 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41088 process_vm_writev only for __USE_GNU.
41089 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41091 * conform/Makefile: For now ignore errors from run-conformtest.
41092 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41093 POSIX to avoid namespace pollution. Don't prepend headers.
41094 * conform/data/aio.h-data: Fixes for POSIX testing.
41095 * conform/data/fcntl.h-data: Likewise.
41096 * conform/data/glob.h-data: Likewise.
41097 * conform/data/grp.h-data: Likewise.
41098 * conform/data/pthread.h-data: Likewise.
41099 * conform/data/pwd.h-data: Likewise.
41100 * conform/data/signal.h-data: Likewise.
41101 * conform/data/spawn.h-data: Likewise.
41102 * conform/data/stdio.h-data: Likewise.
41103 * conform/data/stdlib.h-data: Likewise.
41104 * conform/data/stropts.h-data: Likewise.
41105 * conform/data/sys/mman.h-data: Likewise.
41106 * conform/data/sys/stat.h-data: Likewise.
41107 * conform/data/sys/types.h-data: Likewise.
41108 * conform/data/sys/wait.h-data: Likewise.
41109 * conform/data/time.h-data: Likewise.
41110 * conform/data/unistd.h-data: Likewise.
41111 * conform/data/utime.h-data: Likewise.
41113 * io/sys/stat.h: fchmod was always in POSIX.
41114 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41115 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41116 * rt/aio.h: Define __need_timespec before including <time.h>.
41117 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41118 struct. Add forward declaration of pthread_attr_t and use it in
41120 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41121 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41122 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41123 always remove CLK_TCK definition.
41125 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41127 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41129 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41131 * conform/run-conformtest.sh: New file.
41132 * conform/Makefile: Run run-conformtest for tests.
41133 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41136 * conform/data/uchar.h-data: New file.
41137 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41138 * conform/data/arpa/inet.h-data: Likewise.
41139 * conform/data/assert.h-data: Likewise.
41140 * conform/data/complex.h-data: Likewise.
41141 * conform/data/cpio.h-data: Likewise.
41142 * conform/data/ctype.h-data: Likewise.
41143 * conform/data/dirent.h-data: Likewise.
41144 * conform/data/dlfcn.h-data: Likewise.
41145 * conform/data/errno.h-data: Likewise.
41146 * conform/data/fcntl.h-data: Likewise.
41147 * conform/data/float.h-data: Likewise.
41148 * conform/data/fmtmsg.h-data: Likewise.
41149 * conform/data/fnmatch.h-data: Likewise.
41150 * conform/data/ftw.h-data: Likewise.
41151 * conform/data/glob.h-data: Likewise.
41152 * conform/data/grp.h-data: Likewise.
41153 * conform/data/iconv.h-data: Likewise.
41154 * conform/data/inttypes.h-data: Likewise.
41155 * conform/data/langinfo.h-data: Likewise.
41156 * conform/data/libgen.h-data: Likewise.
41157 * conform/data/limits.h-data: Likewise.
41158 * conform/data/locale.h-data: Likewise.
41159 * conform/data/math.h-data: Likewise.
41160 * conform/data/monetary.h-data: Likewise.
41161 * conform/data/mqueue.h-data: Likewise.
41162 * conform/data/ndbm.h-data: Likewise.
41163 * conform/data/net/if.h-data: Likewise.
41164 * conform/data/netdb.h-data: Likewise.
41165 * conform/data/netinet/in.h-data: Likewise.
41166 * conform/data/nl_types.h-data: Likewise.
41167 * conform/data/poll.h-data: Likewise.
41168 * conform/data/pthread.h-data: Likewise.
41169 * conform/data/pwd.h-data: Likewise.
41170 * conform/data/regex.h-data: Likewise.
41171 * conform/data/sched.h-data: Likewise.
41172 * conform/data/search.h-data: Likewise.
41173 * conform/data/semaphore.h-data: Likewise.
41174 * conform/data/setjmp.h-data: Likewise.
41175 * conform/data/signal.h-data: Likewise.
41176 * conform/data/spawn.h-data: Likewise.
41177 * conform/data/stdarg.h-data: Likewise.
41178 * conform/data/stdio.h-data: Likewise.
41179 * conform/data/stdlib.h-data: Likewise.
41180 * conform/data/string.h-data: Likewise.
41181 * conform/data/strings.h-data: Likewise.
41182 * conform/data/stropts.h-data: Likewise.
41183 * conform/data/sys/ipc.h-data: Likewise.
41184 * conform/data/sys/mman.h-data: Likewise.
41185 * conform/data/sys/msg.h-data: Likewise.
41186 * conform/data/sys/resource.h-data: Likewise.
41187 * conform/data/sys/select.h-data: Likewise.
41188 * conform/data/sys/sem.h-data: Likewise.
41189 * conform/data/sys/shm.h-data: Likewise.
41190 * conform/data/sys/socket.h-data: Likewise.
41191 * conform/data/sys/stat.h-data: Likewise.
41192 * conform/data/sys/statvfs.h-data: Likewise.
41193 * conform/data/sys/time.h-data: Likewise.
41194 * conform/data/sys/timeb.h-data: Likewise.
41195 * conform/data/sys/times.h-data: Likewise.
41196 * conform/data/sys/types.h-data: Likewise.
41197 * conform/data/sys/uio.h-data: Likewise.
41198 * conform/data/sys/un.h-data: Likewise.
41199 * conform/data/sys/utsname.h-data: Likewise.
41200 * conform/data/sys/wait.h-data: Likewise.
41201 * conform/data/syslog.h-data: Likewise.
41202 * conform/data/tar.h-data: Likewise.
41203 * conform/data/termios.h-data: Likewise.
41204 * conform/data/utime.h-data: Likewise.
41205 * conform/data/utmpx.h-data: Likewise.
41206 * conform/data/varargs.h-data: Likewise.
41207 * conform/data/wchar.h-data: Likewise.
41208 * conform/data/wctype.h-data: Likewise.
41209 * conform/data/wordexp.h-data: Likewise.
41211 * include/stropts.h: New file.
41212 * include/uchar.h: New file.
41213 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41214 * include/assert.h: Likewise.
41215 * include/ctype.h: Likewise.
41216 * include/dirent.h: Likewise.
41217 * include/dlfcn.h: Likewise.
41218 * include/fcntl.h: Likewise.
41219 * include/fnmatch.h: Likewise.
41220 * include/glob.h: Likewise.
41221 * include/grp.h: Likewise.
41222 * include/libio.h: Likewise.
41223 * include/locale.h: Likewise.
41224 * include/math.h: Likewise.
41225 * include/net/if.h: Likewise.
41226 * include/netdb.h: Likewise.
41227 * include/netinet/in.h: Likewise.
41228 * include/pthread.h: Likewise.
41229 * include/pwd.h: Likewise.
41230 * include/regex.h: Likewise.
41231 * include/sched.h: Likewise.
41232 * include/search.h: Likewise.
41233 * include/setjmp.h: Likewise.
41234 * include/signal.h: Likewise.
41235 * include/stdio.h: Likewise.
41236 * include/stdlib.h: Likewise.
41237 * include/string.h: Likewise.
41238 * include/sys/cdefs.h: Likewise.
41239 * include/sys/mman.h: Likewise.
41240 * include/sys/msg.h: Likewise.
41241 * include/sys/resource.h: Likewise.
41242 * include/sys/select.h: Likewise.
41243 * include/sys/socket.h: Likewise.
41244 * include/sys/stat.h: Likewise.
41245 * include/sys/statvfs.h: Likewise.
41246 * include/sys/time.h: Likewise.
41247 * include/sys/times.h: Likewise.
41248 * include/sys/uio.h: Likewise.
41249 * include/sys/utsname.h: Likewise.
41250 * include/sys/wait.h: Likewise.
41251 * include/termios.h: Likewise.
41252 * include/time.h: Likewise.
41253 * include/ulimit.h: Likewise.
41254 * include/unistd.h: Likewise.
41255 * include/utime.h: Likewise.
41256 * include/wchar.h: Likewise.
41257 * include/wctype.h: Likewise.
41258 * include/wordexp.h: Likewise.
41260 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41262 * time/time.h: TIME_UTC must be a macro.
41263 Make timespec_get available for ISO C11 only as well.
41265 2012-02-24 Ulrich Drepper <drepper@gmail.com>
41267 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41268 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41270 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41272 * configure.in: Use -o not -a in test for unsupported multi-arch.
41274 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41276 * manual/texinfo.tex: Update to version 2012-01-19.16.
41278 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41280 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41282 2012-02-24 Roland McGrath <roland@hack.frob.com>
41285 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41286 * manual/fdl-1.3.texi: New file.
41287 * manual/fdl-1.1.texi: File removed.
41290 * manual/libc.texinfo (FDL_VERSION): New @set.
41291 Use it for mention of FDL in cover text.
41292 (Documentation License): Use it in @include file name.
41294 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41295 Roland McGrath <roland@hack.frob.com>
41298 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41299 (not LONG_LONG_MAX and LONG_LONG_MIN.
41300 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41301 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41303 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41305 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41309 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41310 manipulate bits before adding and subtracting TWO23[sx].
41311 * math/libm-test.inc (nearbyint_test): Add more tests.
41313 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41316 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41317 bits before adding and subtracting TWO23[sx].
41318 * math/libm-test.inc (rint_test): Add more tests.
41319 (rint_test_tonearest): Likewise.
41320 (rint_test_towardzero): Likewise.
41321 (rint_test_downward): Likewise.
41322 (rint_test_upward: Likewise.
41324 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41327 * include/stdc-predef.h: New file. Extracted from features.h.
41328 * include/features.h: Include stdc-predef.h.
41329 * Makefile (headers): Add stdc-predef.h.
41330 * CONFORMANCE (Compiler limitations): Update.
41332 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41334 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41336 2012-02-21 David S. Miller <davem@davemloft.net>
41338 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41339 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41341 2012-02-20 David S. Miller <davem@davemloft.net>
41343 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41344 using a normal save/restore sequence, rather than allocating a
41345 dummy stack frame just to store a frame pointer and restore.
41346 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41348 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41350 * manual/install.texi: Fix stray word in line-wrapped comment.
41352 2012-02-20 David S. Miller <davem@davemloft.net>
41354 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41355 both binutils and gcc support GOTDATA.
41357 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41358 "rd %pc" in the PIC register setup sequences.
41360 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41361 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41362 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41363 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41364 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41365 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41366 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41367 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41368 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41369 (SYSCALL_ERROR_HANDLER): Likewise.
41370 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41371 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41372 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41373 (SYSCALL_ERROR_HANDLER): Likewise.
41375 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41376 (HAVE_GCC_GOTDATA): New.
41377 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41378 relocation support in both binutils and gcc.
41379 * sysdeps/sparc/elf/configure: Regenerate.
41381 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41382 * sysdeps/sparc/sparc32/elf/configure: Delete.
41383 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41384 * sysdeps/sparc/sparc64/elf/configure: Delete.
41385 * sysdeps/sparc/elf/configure.in: New file.
41386 * sysdeps/sparc/elf/configure: Generate.
41388 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41389 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41390 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41391 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41392 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41394 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41396 * manual/install.texi: Do not mention specific glibc version
41398 * manual/libc.texinfo (VERSION, UPDATED): Update.
41399 (@copying): Use @copyright{} and range of years.
41401 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41404 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41405 [crti.S not in sysdirs] (generated): Do not append.
41406 [crti.S not in sysdirs] (omit-deps): Likewise.
41407 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41408 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41409 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41410 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41411 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41413 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41414 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41415 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41416 * csu/defs.awk: Remove file.
41417 * sysdeps/generic/initfini.c: Likewise.
41418 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41420 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41423 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41425 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41426 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41427 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41428 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41429 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41430 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41432 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41433 (__EPOLL_PACKED): Define to empty if not defined by
41435 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41436 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41439 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41441 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41442 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41443 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41444 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41446 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41447 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41450 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41452 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41454 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41455 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41456 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41459 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41461 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41462 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41464 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41466 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41467 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41469 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41471 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41474 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41476 * math/w_acos.c: Use non-signaling floating-point comparisons.
41477 * math/w_acosf.c: Likewise.
41478 * math/w_acosh.c: Likewise.
41479 * math/w_acoshf.c: Likewise.
41480 * math/w_acoshl.c: Likewise.
41481 * math/w_acosl.c: Likewise.
41482 * math/w_asin.c: Likewise.
41483 * math/w_asinf.c: Likewise.
41484 * math/w_asinl.c: Likewise.
41485 * math/w_atanh.c: Likewise.
41486 * math/w_atanhf.c: Likewise.
41487 * math/w_atanhl.c: Likewise.
41488 * math/w_exp2.c: Likewise.
41489 * math/w_exp2f.c: Likewise.
41490 * math/w_exp2l.c: Likewise.
41491 * math/w_j0.c: Likewise.
41492 * math/w_j0f.c: Likewise.
41493 * math/w_j0l.c: Likewise.
41494 * math/w_j1.c: Likewise.
41495 * math/w_j1f.c: Likewise.
41496 * math/w_j1l.c: Likewise.
41497 * math/w_jn.c: Likewise.
41498 * math/w_jnf.c: Likewise.
41499 * math/w_log.c: Likewise.
41500 * math/w_log10.c: Likewise.
41501 * math/w_log10f.c: Likewise.
41502 * math/w_log10l.c: Likewise.
41503 * math/w_log2.c: Likewise.
41504 * math/w_log2f.c: Likewise.
41505 * math/w_log2l.c: Likewise.
41506 * math/w_logf.c: Likewise.
41507 * math/w_logl.c: Likewise.
41508 * math/w_sqrt.c: Likewise.
41509 * math/w_sqrtf.c: Likewise.
41510 * math/w_sqrtl.c: Likewise.
41511 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41512 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41513 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41514 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41515 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41517 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41520 * manual/string.texi (strnlen): Use correct parameter name in
41521 equivalent expression.
41523 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41526 * manual/users.texi (seteuid): Consistently use neweuid for
41529 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41532 * manual/nss.texi (Services in the NSS configuration): Correct
41533 list of services in example configuration file.
41535 2012-02-19 Nick Bowler <nbowler@draconx.ca>
41538 * manual/arith.texi: Remove statements about negative zero
41539 behaving identically to zero.
41541 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41544 * manual/install.texi: Do not document upgrading from libc5.
41546 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41549 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41551 2012-02-18 David S. Miller <davem@davemloft.net>
41553 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41554 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41555 %o7 across the call.
41556 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41558 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41559 SETUP_PIC_REG_LEAF.
41560 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41561 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41562 * sysdeps/sparc/crtn.S: Likewise.
41564 2012-02-17 Ulrich Drepper <drepper@gmail.com>
41566 * aout/Makefile: Remove.
41568 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41571 * manual/examples/argp-ex1.c (main): Format definition in GNU
41573 * manual/examples/argp-ex2.c (main): Likewise.
41574 * manual/examples/argp-ex3.c (main): Likewise.
41575 * manual/examples/argp-ex4.c (main): Likewise.
41576 * manual/examples/longopt.c (main): Use new-style prototype
41578 * manual/examples/strncat.c (main): Specify return type and use
41579 (void) for arguments.
41580 * manual/examples/subopt.c (main): Use char **argv argument.
41582 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41585 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41588 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41591 * manual/string.texi (strchr): Change when strchrnul is
41594 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41597 * manual/locale.texi (setlocale): Document LOCPATH.
41599 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41602 * manual/process.texi (execle): Move @dots{} before last argument.
41604 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41607 * manual/charset.texi (Generic Charset Conversion): Fix typo
41608 (LC_TYPE -> LC_CTYPE).
41610 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41613 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41614 (scalbnf): Likewise.
41615 (scalbnl): Likewise.
41616 (scalbln): Likewise.
41617 (scalblnf): Likewise.
41618 (scalblnl): Likewise.
41619 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41620 (vwarnx): Likewise.
41623 * manual/filesys.texi (telldir): Use braces around return type.
41624 * manual/llio.texi (mmap): Add space after comma.
41625 (mmap64): Likewise.
41626 * manual/math.texi (jn): Use @var{} on parameter names.
41632 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41634 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41636 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41637 (sched_get_priority_max): Likewise.
41638 * manual/signal.texi (sigvec): Add space after comma.
41639 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41641 (if_indextoname): Likewise.
41642 (if_freenameindex): Likewise.
41643 (sendto): Use ',' instead of '.' in prototype.
41644 * manual/startup.texi (syscall): Use @dots{} instead of literal
41646 * manual/stdio.texi (__fpending): Separate initial words of
41647 paragraph from @deftypefun line.
41648 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41650 (vsyslog): Use @var{} on parameter names.
41651 * manual/terminal.texi (stty): Use @var{} on parameter names.
41652 * manual/users.texi (getutmp): Use @var{} on parameter names.
41653 (getutmpx): Likewise.
41655 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41658 * manual/stdio.texi (fopen): Fix typos in description of
41661 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41664 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41665 get clock_id definition.
41667 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41670 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41671 (madvise): Cast every argument to void on its own.
41673 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41676 * manual/startup.texi (Exit Status): Fix typo.
41678 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41681 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41682 * manual/examples/argp-ex2.c: Likewise.
41683 * manual/examples/argp-ex3.c: Likewise.
41685 2012-02-16 Richard Henderson <rth@redhat.com>
41687 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41688 * sysdeps/s390/s390-32/initfini.c: Remove.
41689 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41690 * sysdeps/s390/s390-64/initfini.c: Remove.
41692 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41694 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41695 compiler output for sysdeps/generic/initfini.c.
41696 * sysdeps/sh/elf/initfini.c: Remove file.
41698 2012-02-16 David S. Miller <davem@davemloft.net>
41701 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41703 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41704 * sysdeps/sparc/crti.S: New file.
41705 * sysdeps/sparc/crtn.S: New file.
41706 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41707 * sysdeps/sparc/sparc64/Makefile: Likewise.
41709 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41712 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41714 2012-02-15 Roland McGrath <roland@hack.frob.com>
41717 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41719 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41720 (write, read, close): Likewise.
41721 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41723 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41725 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41726 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41727 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41728 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41730 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41731 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41734 2012-02-14 Marek Polacek <polacek@redhat.com>
41736 * sysdeps/x86_64/crti.S: New file.
41737 * sysdeps/x86_64/crtn.S: New file.
41738 * sysdeps/x86_64/elf/initfini.c: Remove file.
41740 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41742 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41743 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41744 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41745 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41747 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41751 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41753 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41754 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41755 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41756 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41758 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41762 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41764 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41765 __feraiseexcept instead of feraiseexcept.
41767 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41768 nanosleep invocations.
41769 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41770 strings, and add error checking for a nanosleep invocations.
41772 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41774 Replace FSF snail mail address with URLs, as per GNU coding standards.
41775 Most of the snail mail addresses were wrong anyway, and omitting
41776 them makes the source code easier to maintain. Almost all of the
41777 changes are to license notices and to locale LC_IDENTIFICATION
41778 addresses, except for this one:
41779 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41780 not its snail mail address.
41782 2012-02-09 Richard Henderson <rth@twiddle.net>
41784 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41785 of kernel-features.h.
41787 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41789 2012-02-08 Marek Polacek <polacek@redhat.com>
41791 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41792 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41793 * sysdeps/gnu/_G_config.h: Likewise.
41794 * sysdeps/generic/_G_config.h: Likewise.
41796 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41798 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41802 * sysdeps/powerpc/powerpc32/crti.S: New file.
41803 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41804 * sysdeps/powerpc/powerpc64/crti.S: New file.
41805 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41807 * Makeconfig (have-initfini): Don't set.
41808 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41809 * configure.in (nopic_initfini): Don't substitute.
41810 * config.h.in (HAVE_INITFINI): Don't #undef.
41811 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41812 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41814 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41816 Support crti.S and crtn.S provided directly by architectures.
41817 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41818 [crti.S in sysdirs] (omit-deps): Likewise.
41819 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41820 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41821 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41822 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41823 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41824 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41825 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41826 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41827 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41828 compiler output for sysdeps/generic/initfini.c.
41829 * sysdeps/i386/elf/Makefile: Remove file.
41830 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41832 2012-02-07 Marek Polacek <polacek@redhat.com>
41834 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41835 * sysdeps/gnu/_G_config.h: Likewise.
41836 * sysdeps/mach/hurd/_G_config.h: Likewise.
41838 2012-02-07 Marek Polacek <polacek@redhat.com>
41840 * math/Makefile (tests): Add tst-CMPLX2.
41841 * math/tst-CMPLX2.c: New file.
41843 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41845 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41847 * math/libm-test.inc (jn_test): Add missing L suffix.
41849 2012-02-06 Marek Polacek <polacek@redhat.com>
41851 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41852 * sysdeps/i386/fpu/e_powf.S: Likewise.
41853 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41854 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41855 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41856 * sysdeps/i386/fpu/e_pow.S: Likewise.
41857 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41858 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41859 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41860 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41861 * sysdeps/i386/fpu/e_log2.S: Likewise.
41862 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41863 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41864 * sysdeps/i386/fpu/e_powl.S: Likewise.
41865 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41866 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41867 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41868 * sysdeps/i386/fpu/e_logl.S: Likewise.
41869 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41870 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41871 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41872 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41873 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41874 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41875 * sysdeps/i386/fpu/e_log.S: Likewise.
41876 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41877 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41878 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41879 * sysdeps/i386/fpu/e_logf.S: Likewise.
41880 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41881 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41882 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41883 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41884 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41885 * sysdeps/i386/fpu/e_log10.S: Likewise.
41886 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41887 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41888 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41889 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41890 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41891 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41892 * sysdeps/i386/asm-syntax.h: Likewise.
41893 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41894 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41895 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41896 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41897 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41898 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41899 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41900 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41901 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41902 * sysdeps/powerpc/sysdep.h: Likewise.
41903 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41904 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41906 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41909 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41911 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41913 * sysdeps/i386/sysdep.h: Include <features.h>.
41914 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41917 2012-02-05 Joseph Myers <joseph@codesourcery.com>
41919 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41921 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41924 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41926 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41927 (SETUP_PIC_REG): Use GET_PC_THUNK.
41928 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41931 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41933 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41934 for non-PIC compilation.
41935 (SETUP_PIC_REG): Add .p2align directive.
41936 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41937 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41938 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41939 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41940 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41941 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41942 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41943 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41944 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41945 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41946 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41947 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41948 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41949 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41950 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41951 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41952 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41953 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41954 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41955 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41956 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41957 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41958 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41959 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41960 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41961 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41962 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41963 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41964 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41965 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41966 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41967 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41968 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41969 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41970 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41971 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41972 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41973 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41974 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41975 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41976 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41978 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41980 * math/tst-CMPLX.c: Include <stdio.h>.
41982 2012-01-31 Joseph Myers <joseph@codesourcery.com>
41984 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41986 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41987 * sysdeps/sparc/bits/mathdef.h: Likewise.
41989 2012-01-31 Marek Polacek <polacek@redhat.com>
41991 * libio/libio.h: Don't define _PARAMS.
41992 * locale/programs/config.h: Don't define PARAMS.
41993 * stdlib/strtol_l.c: Likewise.
41994 (__strtol_l): Remove PARAMS from the prototype.
41996 2012-01-31 Ulrich Drepper <drepper@gmail.com>
41998 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41999 names. Just use the correct names. Remove unnecessary wrapper
42001 * malloc/arena.c: Likewise.
42002 * malloc/hooks.c: Likewise.
42004 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42005 ARENA_TEST says not to. Simplify test for creation of a new arena.
42006 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42008 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42010 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42012 (update_get_addr): New function.
42013 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42014 GET_ADDR_MODULE parameter.
42016 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42018 * crypt/cert.c: Remove __STDC__ conditionals.
42019 * crypt/crypt-entry.c: Likewise.
42020 * crypt/crypt_util.c: Likewise.
42021 * libio/filedoalloc.c: Likewise.
42022 * libio/fileops.c: Likewise.
42023 * libio/genops.c: Likewise.
42024 * libio/iofclose.c: Likewise.
42025 * libio/iofdopen.c: Likewise.
42026 * libio/iofopen.c: Likewise.
42027 * libio/iofopen64.c: Likewise.
42028 * libio/iogetdelim.c: Likewise.
42029 * libio/iopopen.c: Likewise.
42030 * libio/obprintf.c: Likewise.
42031 * libio/oldfileops.c: Likewise.
42032 * libio/oldiofclose.c: Likewise.
42033 * libio/oldiofdopen.c: Likewise.
42034 * libio/oldiofopen.c: Likewise.
42035 * libio/oldiopopen.c: Likewise.
42036 * libio/wfiledoalloc.c: Likewise.
42037 * libio/wgenops.c: Likewise.
42038 * locale/programs/xmalloc.c: Likewise.
42039 * misc/syslog.c: Likewise.
42040 * stdio-common/xbug.c: Likewise.
42041 * string/memchr.c: Likewise.
42042 * string/memcmp.c: Likewise.
42043 * string/memrchr.c: Likewise.
42044 * string/rawmemchr.c: Likewise.
42045 * sysdeps/posix/getcwd.c: Likewise.
42046 * time/strftime_l.c: Likewise.
42048 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42050 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42051 * config.make.in (config-cflags-sse2avx): Define.
42052 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42055 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42057 * scripts/config.guess: Update from upstream config git repository.
42058 * scripts/config.sub: Likewise.
42060 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42062 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42064 (R_TILEPRO_*, R_TILEGX_*): New macros.
42066 * scripts/firstversions.awk: Fix bug in version range handling.
42068 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42070 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42072 * include/sys/epoll.h: New file.
42073 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42076 2012-01-28 Ulrich Drepper <drepper@gmail.com>
42078 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42079 Avoid unnecessary __WORDSIZE == 64 test.
42080 (fmaxf): Use VEX format if possible.
42085 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42086 * math/math_private.h: Remove libc_fegetround* and
42088 * sysdeps/i386/configure.in: Check for -msse2avx.
42089 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42090 also if SSE2AVX is defined.
42091 Remove libc_fegetround* and libc_fesetround*.
42092 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42093 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42094 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42096 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42097 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42098 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42099 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42100 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42102 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42104 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42106 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42108 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42110 2012-01-27 Ulrich Drepper <drepper@gmail.com>
42113 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42115 * Makeconfig (libm): Define.
42116 * elf/Makefile: Add rules to build and run tst-relsort1.
42117 * elf/tst-relsort1.c: New file.
42118 * elf/tst-relsort1mod1.c: New file.
42119 * elf/tst-relsort1mod2.c: New file.
42121 2012-01-27 Joseph Myers <joseph@codesourcery.com>
42123 * math/s_ldexp.c: Remove __STDC__ conditionals.
42124 * math/s_ldexpf.c: Likewise.
42125 * math/s_ldexpl.c: Likewise.
42126 * math/s_nextafter.c: Likewise.
42127 * math/s_nexttowardf.c: Likewise.
42128 * math/s_significand.c: Likewise.
42129 * math/s_significandf.c: Likewise.
42130 * math/s_significandl.c: Likewise.
42131 * math/w_jnl.c: Likewise.
42132 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42133 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42134 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42135 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42136 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42137 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42138 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42139 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42140 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42141 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42142 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42143 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42144 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42145 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42146 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42147 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42148 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42149 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42150 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42151 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42152 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42153 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42154 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42155 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42156 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42157 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42158 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42159 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42160 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42161 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42162 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42163 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42164 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42165 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42166 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42167 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42168 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42169 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42170 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42171 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42172 * sysdeps/ieee754/k_standard.c: Likewise.
42173 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42174 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42175 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42176 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42177 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42178 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42179 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42180 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42181 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42182 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42183 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42184 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42185 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42186 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42187 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42188 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42189 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42190 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42191 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42192 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42193 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42194 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42195 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42196 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42197 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42198 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42199 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42200 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42201 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42202 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42203 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42204 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42205 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42206 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42207 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42208 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42209 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42210 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42211 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42212 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42213 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42214 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42215 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42216 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42217 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42218 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42219 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42220 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42221 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42222 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42223 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42224 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42225 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42226 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42227 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42228 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42229 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42230 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42231 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42232 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42233 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42234 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42235 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42236 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42237 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42238 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42239 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42240 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42241 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42242 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42243 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42244 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42245 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42246 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42247 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42248 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42249 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42250 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42251 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42252 * sysdeps/ieee754/s_matherr.c: Likewise.
42253 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42254 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42255 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42256 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42258 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42260 * crypt/md5.h: Remove __STDC__ conditionals.
42261 * libio/libioP.h: Likewise.
42262 * locale/programs/config.h: Likewise.
42263 * sysdeps/generic/sysdep.h: Likewise.
42264 * sysdeps/i386/asm-syntax.h: Likewise.
42265 * sysdeps/s390/asm-syntax.h: Likewise.
42266 * sysdeps/unix/sysdep.h: Likewise.
42267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42270 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42272 * libio/libio.h: Remove __STDC__ conditionals.
42273 * malloc/obstack.h: Likewise.
42274 * math/complex.h: Likewise.
42275 * math/math.h: Likewise.
42276 * sysdeps/generic/_G_config.h: Likewise.
42277 * sysdeps/gnu/_G_config.h: Likewise.
42278 * sysdeps/mach/hurd/_G_config.h: Likewise.
42279 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42280 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42281 * sysdeps/sparc/bits/mathdef.h: Likewise.
42283 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42286 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42287 Clean up HAS_* macros.
42288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42289 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42291 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42293 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42294 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42295 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42296 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42297 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42299 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42301 * elf/tst-unique3.cc (gets): Remove declaration.
42302 * elf/tst-unique3lib.cc (gets): Likewise.
42303 * elf/tst-unique3lib2.cc (gets): Likewise.
42304 * elf/tst-unique4.cc (gets): Likewise.
42306 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42308 * include/stdio.h: Add C++ protection. Add gets declarations and
42310 * debug/tst-chk1.c: Don't declare gets here.
42311 * stdio-common/tst-gets.c: Likewise.
42313 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42315 * posix/glob: Remove directory.
42317 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42319 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42321 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42323 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42324 of the non-standard EPFNOSUPPORT.
42326 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42328 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42329 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42330 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42332 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42334 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42336 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42338 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42340 * nscd/grpcache.c (cache_addgr): Likewise.
42341 * nscd/hstcache.c (cache_addhst): Likewise.
42342 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42343 * nscd/pwdcache.c (cache_addpw): Likewise.
42344 * nscd/servicescache.c (cache_addserv): Likewise.
42346 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42348 * malloc/malloc.c: Various cleanups.
42349 * malloc/hooks.c: Likewise.
42351 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42352 * stdlib/bug-fmtmsg1.c: New file.
42354 * stdlib/fmtmsg.c (init): Add missing unlock.
42355 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42357 2012-01-12 Marek Polacek <polacek@redhat.com>
42359 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42362 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42364 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42365 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42366 macro to ensure uniqueness of label name.
42367 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42368 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42370 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42372 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42374 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42375 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42376 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42377 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42379 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42381 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42383 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42384 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42385 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42387 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42389 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42390 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42391 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42392 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42394 * math/bits/math-finite.h: Add ldexp support.
42396 2012-01-10 Marek Polacek <polacek@redhat.com>
42398 * locale/programs/localedef.h (show_archive_content): Add noreturn
42401 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42403 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42405 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42407 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42409 * io/Makefile (headers): Add bits/poll2.h.
42411 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42414 typo #include statement.
42416 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42418 * include/sys/cdefs.h: Define __attribute_alloc_size.
42419 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42420 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42421 * elf/pldd.c: Likewise.
42422 * iconv/iconv_charmap.c: Likewise.
42423 * iconv/iconvconfig.c: Likewise.
42424 * iconv/strtab.c: Likewise.
42425 * locale/programs/locale.c: Likewise.
42426 * locale/programs/localedef.h: Likewise.
42427 * locale/programs/simple-hash.c: Likewise.
42428 * nscd/nscd.h: Likewise.
42429 * nss/makedb.c: Likewise.
42430 * sysdeps/generic/ldconfig.h: Likewise.
42431 * locale/programs/localedef.c: Remove xmalloc prototype.
42432 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42434 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42436 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42439 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42441 * math/Makefile (tests): Add tst-CMPLX.
42442 * math/tst-CMPLX.c: New file.
42444 * math/complex.h (CMPLXL): Fix typo.
42446 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42447 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42449 * debug/tst-chk1.c: Add poll and ppoll tests.
42450 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42451 * include/sys/poll.h: Add hidden proto for ppoll.
42452 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42453 * sysdeps/mach/hurd/ppoll.c: Likewise.
42454 * io/ppoll.c: Likewise.
42455 * debug/poll_chk.c: New file.
42456 * debug/ppoll_chk.c: New file.
42457 * include/bits/poll2.h: New file.
42458 * io/bits/poll2.h: New file.
42461 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42463 * configure.in: static is always set to yes. Remove.
42464 * config.make.in: Don't set build-static.
42465 * Makeconfig: Remove use of build-static.
42466 * dlfcn/Makefile: Likewise.
42467 * elf/Makefile: Likewise.
42468 * math/Makefile: Likewise.
42469 * misc/Makefile: Likewise.
42470 * nptl/Makefile: Likewise.
42471 * sysdeps/mach/hurd/Makefile: Likewise.
42473 * configure.in: PWD_P is not used anymore.
42474 * config.make.in: Remove PWD_P entry.
42476 * configure.in: Remove last remnants of RANLIB.
42477 No need to check for signed size_t anymore.
42478 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42480 Remove __builtin_expect test because we require at least gcc 3.4.
42481 * aclocal.m4: Likewise.
42483 * wcsmbs/mbrtoc16.c: Implement using towc function.
42484 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42485 * wcsmbs/wcsmbsload.c: Likewise.
42486 * iconv/gconv_simple.c: Likewise.
42487 * iconv/gconv_int.h: Likewise.
42488 * iconv/gconv_builtin.h: Likewise.
42489 * iconv/iconv_prog.c: Remove CHAR16 handling.
42491 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42493 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42495 * configure.in: Remove --with-elf and --enable-bounded options.
42496 Dont set base_machine for ia64. More non-ELF conditions removed.
42497 Remove testing and setting of leading underscore information.
42498 * config.make.in (build-bounded): Set to no.
42499 * config.h.in: Remove NO_UNDERSCORES entry.
42500 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42502 * csu/start.c: Remove !NO_UNDERSCORE code.
42503 * locale/localeinfo.h: Likewise.
42504 * sysdeps/generic/machine-gmon.h: Likewise.
42505 * sysdeps/generic/sysdep.h: Likewise.
42506 * sysdeps/i386/sysdep.h: Likewise.
42507 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42508 * sysdeps/mach/sysdep.h: Likewise.
42509 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42510 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42511 * sysdeps/sh/sysdep.h: Likewise.
42512 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42513 * sysdeps/unix/i386/sysdep.S: Likewise.
42514 * sysdeps/unix/sparc/start.c: Likewise.
42515 * sysdeps/unix/sparc/sysdep.S: Likewise.
42516 * sysdeps/unix/sparc/sysdep.h: Likewise.
42517 * sysdeps/unix/start.c: Likewise.
42518 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42519 * sysdeps/x86_64/sysdep.h: Likewise.
42521 2012-01-07 Ulrich Drepper <drepper@gmail.com>
42524 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42526 * argp/argp-fmtstream.h: Use const instead __const.
42527 * argp/argp.h: Likewise.
42528 * assert/assert.h: Likewise.
42529 * bits/fenv.h: Likewise.
42530 * bits/sched.h: Likewise.
42531 * bits/sigset.h: Likewise.
42532 * bits/sigthread.h: Likewise.
42533 * catgets/nl_types.h: Likewise.
42534 * conform/data/pthread.h-data: Likewise.
42535 * crypt/crypt-private.h: Likewise.
42536 * crypt/crypt.h: Likewise.
42537 * crypt/crypt_util.c: Likewise.
42538 * ctype/ctype.h: Likewise.
42539 * debug/execinfo.h: Likewise.
42540 * debug/mbsnrtowcs_chk.c: Likewise.
42541 * debug/mbsrtowcs_chk.c: Likewise.
42542 * debug/wcsnrtombs_chk.c: Likewise.
42543 * debug/wcsrtombs_chk.c: Likewise.
42544 * debug/wcstombs_chk.c: Likewise.
42545 * dirent/dirent.h: Likewise.
42546 * dlfcn/dlfcn.h: Likewise.
42547 * elf/neededtest4.c: Likewise.
42548 * grp/grp.h: Likewise.
42549 * gshadow/gshadow.h: Likewise.
42550 * iconv/gconv.h: Likewise.
42551 * iconv/gconv_int.h: Likewise.
42552 * iconv/gconv_simple.c: Likewise.
42553 * iconv/iconv.h: Likewise.
42554 * iconv/loop.c: Likewise.
42555 * iconv/skeleton.c: Likewise.
42556 * include/aio.h: Likewise.
42557 * include/aliases.h: Likewise.
42558 * include/argz.h: Likewise.
42559 * include/arpa/inet.h: Likewise.
42560 * include/assert.h: Likewise.
42561 * include/dirent.h: Likewise.
42562 * include/dlfcn.h: Likewise.
42563 * include/execinfo.h: Likewise.
42564 * include/fcntl.h: Likewise.
42565 * include/fenv.h: Likewise.
42566 * include/glob.h: Likewise.
42567 * include/grp.h: Likewise.
42568 * include/libintl.h: Likewise.
42569 * include/mntent.h: Likewise.
42570 * include/netdb.h: Likewise.
42571 * include/pwd.h: Likewise.
42572 * include/rpc/netdb.h: Likewise.
42573 * include/sched.h: Likewise.
42574 * include/search.h: Likewise.
42575 * include/shadow.h: Likewise.
42576 * include/signal.h: Likewise.
42577 * include/stdio.h: Likewise.
42578 * include/stdlib.h: Likewise.
42579 * include/string.h: Likewise.
42580 * include/sys/socket.h: Likewise.
42581 * include/sys/stat.h: Likewise.
42582 * include/sys/statfs.h: Likewise.
42583 * include/sys/statvfs.h: Likewise.
42584 * include/sys/syslog.h: Likewise.
42585 * include/sys/time.h: Likewise.
42586 * include/sys/uio.h: Likewise.
42587 * include/time.h: Likewise.
42588 * include/unistd.h: Likewise.
42589 * include/utmp.h: Likewise.
42590 * include/wchar.h: Likewise.
42591 * include/wctype.h: Likewise.
42592 * inet/aliases.h: Likewise.
42593 * inet/arpa/inet.h: Likewise.
42594 * inet/netinet/ether.h: Likewise.
42595 * inet/netinet/in.h: Likewise.
42596 * intl/libintl.h: Likewise.
42597 * io/bits/fcntl2.h: Likewise.
42598 * io/fcntl.h: Likewise.
42599 * io/ftw.h: Likewise.
42600 * io/sys/poll.h: Likewise.
42601 * io/sys/stat.h: Likewise.
42602 * io/sys/statfs.h: Likewise.
42603 * io/sys/statvfs.h: Likewise.
42604 * io/utime.h: Likewise.
42605 * libio/bits/stdio.h: Likewise.
42606 * libio/bits/stdio2.h: Likewise.
42607 * libio/libio.h: Likewise.
42608 * libio/libioP.h: Likewise.
42609 * libio/stdio.h: Likewise.
42610 * locale/lc-ctype.c: Likewise.
42611 * locale/locale.h: Likewise.
42612 * login/utmp.h: Likewise.
42613 * malloc/arena.c: Likewise.
42614 * malloc/malloc.c: Likewise.
42615 * malloc/malloc.h: Likewise.
42616 * malloc/mcheck.c: Likewise.
42617 * malloc/mtrace.c: Likewise.
42618 * math/bits/mathcalls.h: Likewise.
42619 * math/fenv.h: Likewise.
42620 * math/math_private.h: Likewise.
42621 * misc/bits/error.h: Likewise.
42622 * misc/bits/syslog.h: Likewise.
42623 * misc/err.h: Likewise.
42624 * misc/error.h: Likewise.
42625 * misc/fstab.h: Likewise.
42626 * misc/mntent.h: Likewise.
42627 * misc/regexp.h: Likewise.
42628 * misc/search.h: Likewise.
42629 * misc/sgtty.h: Likewise.
42630 * misc/sys/mman.h: Likewise.
42631 * misc/sys/syslog.h: Likewise.
42632 * misc/sys/uio.h: Likewise.
42633 * misc/sys/xattr.h: Likewise.
42634 * misc/ttyent.h: Likewise.
42635 * nis/rpcsvc/ypclnt.h: Likewise.
42636 * nss/nss.h: Likewise.
42637 * posix/bits/unistd.h: Likewise.
42638 * posix/fnmatch.h: Likewise.
42639 * posix/glob.h: Likewise.
42640 * posix/sched.h: Likewise.
42641 * posix/spawn.h: Likewise.
42642 * posix/sys/wait.h: Likewise.
42643 * posix/unistd.h: Likewise.
42644 * posix/wordexp.h: Likewise.
42645 * pwd/pwd.h: Likewise.
42646 * resolv/netdb.h: Likewise.
42647 * resource/sys/resource.h: Likewise.
42648 * rt/aio.h: Likewise.
42649 * rt/bits/mqueue2.h: Likewise.
42650 * rt/mqueue.h: Likewise.
42651 * shadow/shadow.h: Likewise.
42652 * signal/signal.h: Likewise.
42653 * socket/send.c: Likewise.
42654 * socket/sendto.c: Likewise.
42655 * socket/sys/socket.h: Likewise.
42656 * stdio-common/printf.h: Likewise.
42657 * stdlib/bits/stdlib.h: Likewise.
42658 * stdlib/fmtmsg.h: Likewise.
42659 * stdlib/monetary.h: Likewise.
42660 * stdlib/stdlib.h: Likewise.
42661 * stdlib/ucontext.h: Likewise.
42662 * streams/stropts.h: Likewise.
42663 * string/argz.h: Likewise.
42664 * string/bits/string2.h: Likewise.
42665 * string/string.h: Likewise.
42666 * string/strings.h: Likewise.
42667 * sunrpc/rpc/auth.h: Likewise.
42668 * sunrpc/rpc/auth_des.h: Likewise.
42669 * sunrpc/rpc/clnt.h: Likewise.
42670 * sunrpc/rpc/netdb.h: Likewise.
42671 * sunrpc/rpc/pmap_clnt.h: Likewise.
42672 * sunrpc/rpc/xdr.h: Likewise.
42673 * sysdeps/generic/inttypes.h: Likewise.
42674 * sysdeps/generic/net/if.h: Likewise.
42675 * sysdeps/generic/sys/swap.h: Likewise.
42676 * sysdeps/gnu/net/if.h: Likewise.
42677 * sysdeps/gnu/utmpx.h: Likewise.
42678 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42679 * sysdeps/i386/i486/bits/string.h: Likewise.
42680 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42681 * sysdeps/s390/bits/string.h: Likewise.
42682 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42683 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42684 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42685 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42686 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42687 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42688 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42689 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42690 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42691 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42692 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42693 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42694 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42695 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42696 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42697 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42698 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42699 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42700 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42701 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42702 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42703 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42704 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42705 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42706 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42707 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42708 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42709 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42710 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42711 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42712 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42713 * sysvipc/sys/ipc.h: Likewise.
42714 * sysvipc/sys/msg.h: Likewise.
42715 * sysvipc/sys/sem.h: Likewise.
42716 * sysvipc/sys/shm.h: Likewise.
42717 * termios/termios.h: Likewise.
42718 * time/sys/time.h: Likewise.
42719 * time/time.h: Likewise.
42720 * wcsmbs/bits/wchar2.h: Likewise.
42721 * wcsmbs/uchar.h: Likewise.
42722 * wcsmbs/wchar.h: Likewise.
42723 * wctype/wctype.h: Likewise.
42726 * Makeconfig: Remove all but ELF support including AIX support.
42727 * Makerules: Likewise.
42728 * config.h.in: Likewise.
42729 * config.make.in: Likewise.
42730 * configure: Likewise.
42731 * configure.in: Likewise.
42732 * csu/Makefile: Likewise.
42733 * csu/version.c: Likewise.
42734 * debug/Makefile: Likewise.
42735 * dlfcn/Makefile: Likewise.
42736 * elf/Makefile: Likewise.
42737 * extra-lib.mk: Likewise.
42738 * iconv/Makefile: Likewise.
42739 * include/libc-symbols.h: Likewise.
42740 * include/shlib-compat.h: Likewise.
42741 * resolv/Makefile: Likewise.
42742 * resolv/res_libc.c: Likewise.
42743 * rt/Makefile: Likewise.
42744 * sysdeps/i386/asm-syntax.h: Likewise.
42745 * sysdeps/i386/sysdep.h: Likewise.
42746 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42747 * sysdeps/mach/sysdep.h: Likewise.
42748 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42749 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42750 * sysdeps/s390/asm-syntax.h: Likewise.
42751 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42752 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42753 * sysdeps/sh/sysdep.h: Likewise.
42754 * sysdeps/unix/sparc/sysdep.h: Likewise.
42755 * sysdeps/wordsize-32/divdi3.c: Likewise.
42756 * sysdeps/x86_64/sysdep.h: Likewise.
42758 * argp/Versions: Remove _argp_unlock_xxx.
42761 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42762 * abilist/libBrokenLocale.abilist: Likewise.
42763 * abilist/libanl.abilist: Likewise.
42764 * abilist/libc.abilist: Likewise.
42765 * abilist/libcrypt.abilist: Likewise.
42766 * abilist/libdl.abilist: Likewise.
42767 * abilist/libm.abilist: Likewise.
42768 * abilist/libnsl.abilist: Likewise.
42769 * abilist/libpthread.abilist: Likewise.
42770 * abilist/libresolv.abilist: Likewise.
42771 * abilist/librt.abilist: Likewise.
42772 * abilist/libthread_db.abilist: Likewise.
42773 * abilist/libutil.abilist: Likewise.
42774 * abilist/libnss_db.abilist: New file.
42776 * scripts/abilist.awk: Add support for indirect functions.
42778 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42780 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42782 * shlib-versions: Remove entries for ports architectures.
42784 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42786 * elf/stackguard-macros.h: Remove support for IA-64.
42787 * elf/tst-auditmod1.c: Likewise.
42788 * sysdeps/generic/ldsodefs.h: Likewise.
42790 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42791 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42795 * configure.in: Remove --enable-omitfp support.
42797 * config.make.in: Likewise.
42798 * Makeconfig: Likewise.
42799 * manual/install.texi: Likewise.
42801 In case anyone cares, the IA-64 architecture could move to ports.
42802 * sysdeps/ia64/*: Removed.
42803 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42804 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42807 * configure.in: Remove entries for unsupported architectures.
42810 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42811 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42813 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42814 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42815 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42816 fall back to using wcrtomb.
42817 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42818 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42820 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42821 * wcsmbs/tst-c16c32-1.c: New file.
42823 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42826 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42828 * elf/tst-unique3.cc: Add explicit declaration of gets.
42829 * elf/tst-unique3lib.cc: Likewise.
42830 * elf/tst-unique3lib2.cc: Likewise.
42831 * elf/tst-unique4.cc: Likewise.
42833 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42835 2012-01-06 Joseph Myers <joseph@codesourcery.com>
42838 * assert/assert.h (static_assert): Don't define for C++.
42839 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42840 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42842 2012-01-03 Ulrich Drepper <drepper@gmail.com>
42844 * iconv/loop.c (single loop): Fix assertion in storing of
42847 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42849 2012-01-01 Ulrich Drepper <drepper@gmail.com>
42851 * posix/getconf.c: Update copyright year.
42852 * nss/getent.c: Likewise.
42853 * nss/makedb.c: Likewise.
42854 * iconv/iconvconfig.c: Likewise.
42855 * iconv/iconv_prog.c: Likewise.
42856 * elf/ldconfig.c: Likewise.
42857 * elf/pldd.c: Likewise.
42858 * elf/sotruss.ksh: Likewise.
42859 * catgets/gencat.c: Likewise.
42860 * csu/version.c: Likewise.
42861 * elf/ldd.bash.in: Likewise.
42862 * elf/sprof.c (print_version): Likewise.
42863 * locale/programs/locale.c: Likewise.
42864 * locale/programs/localedef.c: Likewise.
42865 * login/programs/pt_chown.c: Likewise.
42866 * nscd/nscd.c (print_version): Likewise.
42867 * debug/xtrace.sh: Likewise.
42868 * malloc/memusage.sh: Likewise.
42869 * malloc/mtrace.pl: Likewise.
42870 * debug/catchsegv.sh: Likewise.
42872 2011-12-30 Jakub Jelinek <jakub@redhat.com>
42874 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42877 2011-12-24 Ulrich Drepper <drepper@gmail.com>
42880 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42881 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42883 * iconv/gconv_int.h: Likewise.
42884 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42885 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42886 from libc for GLIBC_2.16.
42887 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42888 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42889 * wcsmbs/uchar.h: Really define mbstate_t.
42890 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42891 * wcsmbs/c16rtomb.c: New file.
42892 * wcsmbs/mbrtoc16.c: New file.
42893 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42894 for C/POSIX locale.
42895 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42896 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42898 * wcsmbs/wchar.h: Add missing __restrict.
42900 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42903 * time/Makefile (routines): Add timespec_get.
42904 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42905 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42906 timespec for ISO C11.
42907 * time/timespec_get.c: New file.
42908 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42909 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42912 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42913 * stdlib/stdlib.h: Declare aligned_alloc.
42914 * Versions.def: Add GLIBC_2.16 for libc.
42915 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42918 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42921 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42925 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42928 * assert/assert.h (static_assert): Define.
42930 * version.h: Update for 2.16 development version.
42933 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42936 * version.h (RELEASE): Bump for 2.15 release.
42937 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42939 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42940 Patch by Marek Polacek <mpolacek@redhat.com>.
42942 * bits/byteswap.h: Protect long long constants with __extension__.
42943 * sysdeps/i386/bits/byteswap.h: Likewise.
42944 * sysdeps/ia64/bits/byteswap.h: Likewise.
42945 * sysdeps/s390/bits/byteswap.h: Likewise.
42946 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42948 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42951 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42952 destination buffer.
42953 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42955 2011-12-23 Marek Polacek <polacek@redhat.com>
42957 * elf/dl-addr.c (determine_info): Add inline keyword.
42958 * elf/tst-auditmod4b.c (check_avx): Likewise.
42959 * elf/tst-auditmod6b.c (check_avx): Likewise.
42960 * elf/tst-auditmod6c.c (check_avx): Likewise.
42961 * elf/tst-auditmod7b.c (check_avx): Likewise.
42963 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42965 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42968 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42971 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42972 processing for last bytes.
42974 2011-08-06 Bruno Haible <bruno@clisp.org>
42977 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42978 U+0385, not to U+1FEE.
42981 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42982 entry for U+00A5 U+0301.
42984 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42987 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42988 buffer for the output is too small.
42990 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42994 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42995 SSE flags if possible.
42997 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43000 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43001 processing for last bytes.
43003 2011-12-22 Joseph Myers <joseph@codesourcery.com>
43005 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43006 (syscall-list-default-options, syscall-list-default-condition)
43007 (syscall-list-includes): Define.
43008 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43009 list of ABIs and options and #if conditions for each ABI. Do not
43010 handle common syscalls between ABIs specially.
43011 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43013 (syscall-list-variants, syscall-list-32bit-options)
43014 (syscall-list-32bit-condition, syscall-list-64bit-options)
43015 (syscall-list-64bit-condition): Define.
43016 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43017 (syscall-list-variants, syscall-list-32bit-options)
43018 (syscall-list-32bit-condition, syscall-list-64bit-options)
43019 (syscall-list-64bit-condition): Define.
43020 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43022 (syscall-list-variants, syscall-list-32bit-options)
43023 (syscall-list-32bit-condition, syscall-list-64bit-options)
43024 (syscall-list-64bit-condition): Define.
43025 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43027 (syscall-list-variants, syscall-list-32bit-options)
43028 (syscall-list-32bit-condition, syscall-list-64bit-options)
43029 (syscall-list-64bit-condition): Define.
43031 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43033 * locale/iso-639.def: Add brx entry.
43036 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43037 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43039 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43040 __feraiseexcept_renamed.
43042 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43045 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43046 EPOLLET with unsigned values.
43047 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43048 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43050 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43051 to large cancellation.
43052 * math/s_cacoshf.c: Likewise.
43053 * math/s_cacoshl.c: Likewise.
43055 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43059 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43060 * math/s_cacoshf.c: Likewise.
43061 * math/s_cacoshl.c: Likewise.
43063 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43066 * iconv/gconv.h: Define __GCONV_SWAP.
43067 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43068 * iconvdata/utf-16.c: Likewise.
43069 * iconvdata/utf-32.c: Likewise.
43071 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43074 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43075 numerator after shifting it by one limb.
43077 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43079 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43080 under [__USE_EXTERN_INLINES].
43082 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43085 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43087 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43089 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43090 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43092 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43093 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43094 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43095 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43096 for strncasecmp/strncasecmp_l compilation.
43097 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43098 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43100 2011-12-08 Marek Polacek <mpolacek@redhat.com>
43103 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43106 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43109 * time/tzfile.c (__tzfile_read): Check values from file header.
43111 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43113 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43114 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43115 * powerpc/powerpc32/dl-start.S: Likewise.
43116 * powerpc/powerpc32/elf/start.S: Likewise.
43117 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43118 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43119 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43120 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43121 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43122 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43123 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43124 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43125 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43126 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43127 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43128 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43129 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43130 * powerpc/powerpc32/memset.S: Likewise.
43131 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43132 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43133 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43134 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43135 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43136 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43137 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43138 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43139 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43140 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43141 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43142 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43143 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43145 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43147 * math/libm-test.inc: Added more nearbyint tests.
43148 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43149 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43150 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43151 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43153 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43155 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43158 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43160 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43161 Add wcscpy-ssse3 wcscpy-c.
43162 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43163 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43164 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43165 * sysdeps/x86_64/wcschr.S: New file.
43166 * sysdeps/x86_64/wcsrchr.S: New file.
43167 * string/test-strcmp.c: Remove checking of wcscmp function for
43169 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43170 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43171 wcsrchr-sse2 wcsrchr-c.
43172 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43173 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43174 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43175 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43176 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43177 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43178 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43179 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43180 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43181 * wcsmbc/wcschr.c (WCSCHR): New macro.
43183 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43185 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43186 * wcsmbs/test-wcsrchr.c: New file.
43187 * string/test-strrchr.c: Add wcsrchr support.
43189 * wcsmbs/test-wcscpy.c: New file.
43190 * string/test-strcpy.c: Add wcscpy support.
43193 2011-12-10 Ulrich Drepper <drepper@gmail.com>
43195 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43198 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43201 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43203 2011-12-04 Ulrich Drepper <drepper@gmail.com>
43205 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43206 Minor optimizations.
43208 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43209 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43210 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43212 2011-12-03 Ulrich Drepper <drepper@gmail.com>
43214 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43215 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43216 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43217 for gcc to avoid warnings.
43218 * inet/Makefile (tests): Add tst-checks.
43219 * inet/tst-checks.c: New file.
43221 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43224 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43227 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43228 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43230 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43232 2011-12-02 Ulrich Drepper <drepper@gmail.com>
43234 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43237 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43239 2011-11-29 Joseph Myers <joseph@codesourcery.com>
43241 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43242 conditional on GCC version.
43243 (__arch_compare_and_exchange_val_8_acq)
43244 (__arch_compare_and_exchange_val_16_acq)
43245 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43246 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43247 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43249 2011-12-02 Joseph Myers <joseph@codesourcery.com>
43251 * sysdeps/sh/backtrace.c: New file.
43253 2011-12-02 Andreas Schwab <schwab@redhat.com>
43255 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43258 2011-12-01 Andreas Schwab <schwab@redhat.com>
43260 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43261 falling back to utime.
43263 2011-11-30 Andreas Schwab <schwab@redhat.com>
43265 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43266 expectations for float.
43268 2011-11-29 Andreas Schwab <schwab@redhat.com>
43270 * locale/weight.h (findidx): Add parameter len.
43271 * locale/weightwc.h (findidx): Likewise.
43272 * posix/fnmatch_loop.c (FCT): Adjust caller.
43273 * posix/regcomp.c (build_equiv_class): Likewise.
43274 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43275 * posix/regexec.c (check_node_accept_bytes): Likewise.
43276 * string/strcoll_l.c (STRCOLL): Likewise.
43277 * string/strxfrm_l.c (STRXFRM): Likewise.
43279 2011-11-17 Ulrich Drepper <drepper@gmail.com>
43281 * Makefile.in: Remove CVSOPT handling.
43282 * configure.in: Remove use of AC_REVISION.
43283 * iconvdata/Makefile (distribute): No need to filter out CVS.
43284 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43287 2011-11-16 Andreas Schwab <schwab@redhat.com>
43289 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43290 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43291 [USE_AS_STRNCASECMP_L]: Likewise.
43292 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43293 NO_TLS_DIRECT_SEG_REFS.
43294 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43295 Fix argument offsets for non-PIC.
43296 [USE_AS_STRNCASECMP_L]: Likewise.
43297 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43298 NO_TLS_DIRECT_SEG_REFS.
43300 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43302 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43304 * locale/loadlocale.c (_nl_load_locale): Likewise.
43306 2011-11-15 Andreas Schwab <schwab@redhat.com>
43308 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43309 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43310 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43311 (SYSCALL_GETTIME): Set errno on error.
43313 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43314 count references to noai6ai_cached.
43316 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43318 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43320 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43321 FD_CLOEXEC for /proc/self/maps.
43323 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43324 FD_CLOEXEC for /proc/meminfo.
43326 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43329 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43330 FD_CLOEXEC for given file.
43332 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43334 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43335 FD_CLOEXEC for /etc/hosts.
43336 (_gethtent): Likewise.
43338 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43340 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43341 cancellation and set FD_CLOEXEC for /etc/netgroup.
43343 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43344 reading /etc/publickey.
43346 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43347 allow cancellation when reading /etc/group.
43349 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43351 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43353 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43354 when using data file.
43356 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43358 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43359 (write_nis_obj): Use "c" and "e" in fopen.
43361 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43363 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43365 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43367 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43369 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43372 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43374 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43376 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43378 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43379 file parsing and set FD_CLOEXEC.
43381 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43383 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43385 2011-11-14 Andreas Schwab <schwab@redhat.com>
43387 * malloc/arena.c (arena_get2): Don't call reused_arena when
43388 _int_new_arena failed.
43390 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43392 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43393 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43394 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43395 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43396 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43397 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43398 to compile strcasecmp and strncasecmp.
43399 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43400 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43402 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43404 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43406 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43407 locale-defines.sym to gen-as-const-headers.
43408 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43409 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43410 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43411 to compile strcasecmp and strncasecmp.
43412 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43413 strcasecmp_l and strncasecmp_l.
43414 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43415 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43416 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43417 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43418 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43419 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43420 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43421 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43422 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43423 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43424 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43426 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43428 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43429 result of SYSDEP_GETTIME_CPU to retval.
43430 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43431 parameter list to macro. Remove trailing semicolon. Adjust users.
43433 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43436 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43438 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43440 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43441 from unused variable.
43443 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43445 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43448 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43451 * sunrpc/rpc_prot.c (rejected): Fix case value.
43453 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43454 unsigned long long int to avoid warnings in shift.
43456 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43458 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43461 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43462 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43463 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43465 * nis/nis_table.c (nis_list): Use variable of correct type for
43466 result of __follow_path call.
43468 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43470 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43471 of math functions ceil, trunc, floor, round, and sqrt, when
43472 avaliable on the platform.
43473 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43475 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43476 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43477 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43479 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43481 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43482 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43484 2011-11-11 Roland McGrath <roland@hack.frob.com>
43486 * include/unistd.h: Fix __readlink return type.
43487 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43489 2011-11-11 Ulrich Drepper <drepper@gmail.com>
43491 * stdlib/ucontext.h: Undo last change for makecontext.
43493 2011-11-11 Andreas Schwab <schwab@redhat.com>
43495 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43497 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43498 * setjmp/setjmp.h: Mark functions as non-leaf.
43499 * setjmp/bits/setjmp2.h: Likewise.
43500 * stdlib/ucontext.h: Likewise.
43502 2011-11-10 Andreas Schwab <schwab@redhat.com>
43504 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43505 (reused_arena): Don't check arena limit.
43506 (arena_get2): Atomically check arena limit.
43508 2011-11-08 Ulrich Drepper <drepper@gmail.com>
43510 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43511 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43513 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43516 2011-11-07 Andreas Schwab <schwab@redhat.com>
43518 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43519 handler when locking.
43521 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43522 Fix size of allocated buffer.
43524 2011-11-04 Andreas Schwab <schwab@redhat.com>
43527 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43528 declarations for long double functions.
43529 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43531 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43533 2011-11-03 Andreas Schwab <schwab@redhat.com>
43535 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43538 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43541 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43543 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43545 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43547 * include/alloca.h (stackinfo_alloca_round): Define.
43548 (extend_alloca): Use it.
43549 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43550 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43553 * scripts/check-local-headers.sh: Ignore libaudit.h.
43555 * nscd/Makefile (extra-objs): Make recursively expanded.
43557 2011-11-01 Ulrich Drepper <drepper@gmail.com>
43559 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43560 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43562 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43563 * posix/tst-rfc3484-2.c: Likewise.
43564 * posix/tst-rfc3484-3.c: Likewise.
43566 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43568 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43570 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43571 process_vm_writev from libc using GLIBC_2.15 version.
43573 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43575 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43577 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43580 2011-10-31 Ulrich Drepper <drepper@gmail.com>
43583 * nss/getent.c (initgroups_keys): Show error message in case no group
43586 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43587 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43588 __bump_nl_timestamp.
43589 * nscd/connections (nscd_init): When host database is served open
43590 netlink socket and request notification about configuration changes.
43591 (main_loop_poll): Track netlink file descriptor and bump timestamp
43592 in case data becomes available.
43593 (main_loop_epoll): Likewise.
43594 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43595 (database_pers_head): Add extra_data fileds.
43596 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43597 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43598 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43600 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43601 in6ai data, call __free_in6ai.
43602 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43603 Add -DHAVE_NETLINK.
43604 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43605 interface information. Reuse previous data if netlink timestamp
43607 (__bump_nl_timestamp): New function.
43608 (__free_in6ai): New function.
43610 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43612 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43613 close_not_cancel_no_status here.
43614 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43616 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43619 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43622 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43623 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43624 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43626 2011-07-03 Andreas Jaeger <aj@suse.de>
43629 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43630 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43631 * math/libm-test.inc (sin_test): Add test case.
43633 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43636 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43637 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43639 * elf/chroot_canon.c (chroot_canon): Cleanups.
43641 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43644 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43645 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43647 * string/test-strchr.c: Make usable for strchrnul testing.
43648 * string/test-strchrnul.c: New file.
43649 * string/Makefile (strop-tests): Add strchrnul.
43651 * po/it.po: Update from translation team.
43652 * po/es.po: Likewise.
43654 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43656 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43657 the three constants needed as parameters. Drop the others.
43658 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43659 __m128i_strloadu_tolower.
43660 Create and initialize variable zero and use it in all the places
43661 where _mm_setzero_si128 was used.
43663 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43664 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43665 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43666 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43668 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43669 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43670 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43671 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43672 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43673 __mpranred, __mptan.
43674 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43675 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43676 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43677 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43678 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43679 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43680 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43681 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43682 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43684 2011-10-28 Andreas Schwab <schwab@redhat.com>
43686 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43687 redefine if SHARED.
43688 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43691 wide char related routines to wcsmbs subdir.
43693 2011-10-27 Andreas Schwab <schwab@redhat.com>
43696 * misc/sys/cdefs.h (__THROWNL): Define.
43697 * posix/unistd.h: Use __THREADNL instead of __THREAD
43698 for memory synchronization functions.
43700 2011-10-26 Roland McGrath <roland@hack.frob.com>
43703 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43705 * manual/stdio.texi (Obstack Streams): Node removed.
43707 2011-10-26 Andreas Schwab <schwab@redhat.com>
43709 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43710 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43711 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43713 * math/math_private.h (math_force_eval): Allow non-addressable
43715 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43717 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43719 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43720 file is not needed.
43722 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43723 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43724 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43725 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43726 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43727 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43728 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43729 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43731 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43732 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43733 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43734 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43735 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43736 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43737 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43738 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43739 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43740 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43741 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43742 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43743 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43744 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43745 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43746 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43747 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43748 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43749 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43751 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43752 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43754 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43755 place. Use VEX encoding when compiling for AVX.
43757 2011-10-25 Andreas Schwab <schwab@redhat.com>
43759 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43760 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43762 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43764 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43766 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43767 useless if() expression.
43768 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43769 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43770 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43771 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43772 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43773 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43774 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43775 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43776 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43777 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43778 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43779 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43780 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43781 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43782 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43783 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43784 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43785 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43786 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43788 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43790 2011-10-25 Andreas Schwab <schwab@redhat.com>
43792 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43794 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43796 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43798 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43799 .text section. Avoid duplicate constants.
43800 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43801 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43802 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43803 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43804 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43805 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43806 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43807 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43808 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43809 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43810 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43811 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43812 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43813 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43814 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43815 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43816 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43817 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43818 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43819 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43820 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43821 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43822 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43823 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43824 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43825 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43826 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43827 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43828 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43829 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43830 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43831 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43832 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43833 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43834 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43835 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43836 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43837 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43838 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43839 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43840 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43841 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43842 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43843 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43844 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43846 2011-10-24 Ulrich Drepper <drepper@gmail.com>
43848 * sysdeps/x86_64/dla.h: Move to ...
43849 * sysdeps/x86_64/fpu/dla.h: ...here.
43850 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43851 situations. Use __builtin_fma only for gcc 4.6 and up.
43853 * config.make.in: Add have-mfma4 entry.
43854 * configure.in: Substitute libc_cv_cc_fma4.
43855 * math/Makefile (dbl-only-routines): Add sincostab.
43856 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43857 Use __sincostab not sincos.
43858 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43860 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43861 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43862 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43863 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43865 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43866 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43867 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43868 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43870 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43871 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43873 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43874 define aliases when function name is a macro.
43875 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43876 sysdeps/ieee754/dbl-64/sincos.tbl.
43877 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43878 fma4-enabled routines.
43879 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43880 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43881 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43882 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43883 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43884 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43885 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43886 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43887 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43888 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43889 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43890 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43891 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43892 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43893 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43894 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43895 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43896 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43897 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43898 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43899 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43900 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43901 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43902 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43903 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43904 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43905 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43906 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43907 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43908 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43910 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43912 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43913 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43914 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43915 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43916 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43917 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43918 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43919 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43921 2011-10-24 Andreas Schwab <schwab@redhat.com>
43923 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43925 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43927 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43929 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43931 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43933 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43934 Remove unused variable magic_bits.
43935 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43937 * string/strnlen.c: Define and use STRNLEN macro.
43938 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43939 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43940 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43941 * wcsmbs/wcslen.c: Define and use WCSLEN.
43942 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43943 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43944 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43945 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43946 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43947 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43948 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43950 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43953 strnlen-sse2-no-bsf.
43954 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43955 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43956 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43957 Add strnlen support.
43958 (USE_AS_STRNLEN): New macro.
43959 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43960 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43961 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43962 * sysdeps/x86_64/wcslen.S: New file.
43964 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43966 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43967 XMM-moves are used for copying on small sizes.
43969 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43971 * wcsmbs/Makefile (strop-tests): Add wcschr.
43972 * wcsmbs/test-wcschr.c: New file.
43973 * string/test-strchr.c: Update.
43974 Add wcschr support.
43977 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43979 * wcsmbs/Makefile (strop-tests): Add wcslen.
43980 * wcsmbs/test-wcslen.c: New file.
43981 * string/test-strlen.c: Update.
43982 Add wcslen support.
43985 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43987 * po/it.po: Update from translation team.
43989 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43991 * sysdeps/x86_64/wcscmp.S: Update.
43992 Fix wrong comparison semantics.
43993 wcscmp shall use signed comparison not unsigned.
43994 Don't use substraction to avoid overflow bug.
43995 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43996 * wcsmbc/wcscmp.c: Likewise.
43997 * string/test-strcmp.c: Likewise.
43998 Add new tests to check cases with negative values.
44000 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44002 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44003 * sysdeps/x86_64/dla.h: ...here. New file.
44004 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44005 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44006 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44007 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44008 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44009 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44010 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44011 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44012 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44014 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44016 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44017 __ynl_finite aliases.
44019 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44023 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44025 [DLA_FMA] (EMULV): Use DLA_FMA.
44026 [DLA_FMA] (MUL12): Use EMULV.
44027 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44028 that are not needed.
44029 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44030 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44031 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44032 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44033 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44034 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44035 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44037 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44039 * math/s_nan.c: Undef __nan.
44040 * math/s_nanf.c: Undef __nanf.
44041 * math/s_nanl.c: Undef __nanl.
44042 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44045 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44047 * math/s_catan.c: Add branch predictions.
44048 * math/s_catanf.c: Likewise.
44049 * math/s_catanh.c: Likewise.
44050 * math/s_catanhf.c: Likewise.
44051 * math/s_catanhl.c: Likewise.
44052 * math/s_catanl.c: Likewise.
44053 * math/s_cexp.c: Likewise.
44054 * math/s_cexpf.c: Likewise.
44055 * math/s_cexpl.c: Likewise.
44056 * math/s_clog.c: Likewise.
44057 * math/s_clog10.c: Likewise.
44058 * math/s_clog10f.c: Likewise.
44059 * math/s_clog10l.c: Likewise.
44060 * math/s_clogf.c: Likewise.
44061 * math/s_clogl.c: Likewise.
44062 * math/s_csqrt.c: Likewise.
44063 * math/s_csqrtf.c: Likewise.
44064 * math/s_csqrtl.c: Likewise.
44065 * math/s_ctanf.c: Likewise.
44066 * math/s_ctanh.c: Likewise.
44067 * math/s_ctanhf.c: Likewise.
44068 * math/s_ctanhl.c: Likewise.
44069 * math/s_ctanl.c: Likewise.
44071 * math/math_private.h: Define __nan, __nanf, __nanl.
44072 * math/s_cacosh.c: Include <math_private.h>.
44073 * math/s_cacoshl.c: Likewise.
44074 * math/s_casinh.c: Likewise.
44075 * math/s_casinhf.c: Likewise.
44076 * math/s_casinhl.c: Likewise.
44077 * math/s_ccos.c: Rely entire on ccosh.
44078 * math/s_ccosf.c: Rely entire on ccoshf.
44079 * math/s_ccosl.c: Rely entirely on ccoshl.
44080 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44081 Remove tests for FE_INVALID.
44082 * math/s_ccoshf.c: Likewise.
44083 * math/s_ccoshl.c: Likewise.
44084 * math/s_csin.c: Likewise.
44085 * math/s_csinf.c: Likewise.
44086 * math/s_csinh.c Likewise.
44087 * math/s_csinhf.c: Likewise.
44088 * math/s_csinhl.c: Likewise.
44089 * math/s_csinl.c: Likewise.
44090 * math/s_ctan.c: Likewise.
44091 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44092 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44093 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44095 2011-10-21 Ulrich Drepper <drepper@gmail.com>
44097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44098 compilation problems.
44100 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44103 2011-10-20 Ulrich Drepper <drepper@gmail.com>
44105 * sysdeps/i386/configure.in: Test for -mfma4 option.
44106 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44107 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44108 COMMON_CPUID_INDEX_80000001.
44109 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44110 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44111 use it if FMA3 is not supported.
44112 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44114 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44115 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44117 2011-10-20 Andreas Schwab <schwab@redhat.com>
44120 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44121 it would create a cycle with a link time dependency.
44123 2011-10-19 Ulrich Drepper <drepper@gmail.com>
44125 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44127 * string/Makefile (strop-tests): Add rawmemchr.
44128 * string/test-rawmemchr.c: New file.
44130 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44131 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44132 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44133 when compiling str{,n}casecmp and when AVX is available. Hook up
44134 new optimized code in initializers.
44136 2011-10-19 Andreas Schwab <schwab@redhat.com>
44138 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44139 __feraiseexcept instead of feraiseexcept.
44141 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44143 * math/math_private.h: Define defaults for libc_fetestexcept and
44145 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44146 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44147 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44148 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44149 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44150 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44151 libc_fetestexcept and libc_feupdateenv.
44153 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44154 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44155 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44156 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44157 libc_feholdexcept_setround.
44159 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44160 Add s_nearbyint-c and s_nearbyintf-c.
44161 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44162 nearbyintf inlines.
44163 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44164 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44165 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44166 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44168 * math/math_private.h: Define defaults for libc_fegetround,
44169 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44170 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44171 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44172 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44173 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44174 standard functions.
44175 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44176 Remove comments and hacks for old compiler versions.
44177 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44178 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44179 libc_feholdexceptl.
44181 2011-10-18 Andreas Schwab <schwab@redhat.com>
44183 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44184 (__feraiseexcept_renamed): Add __NTH.
44185 (feraiseexcept): Add __NTH. Rename local variables to fix
44186 namespace violations.
44188 2011-10-17 Ulrich Drepper <drepper@gmail.com>
44190 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44192 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44194 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44195 recently added interfaces.
44196 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44198 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44199 about macro parameter expansion.
44201 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44202 __NO_MATH_INLINES is defined. Cleanups.
44204 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44205 and __floorf is target has SSE4.1.
44206 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44207 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44208 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44209 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44211 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44213 (floorf): Likewise.
44215 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44217 2011-10-17 Andreas Schwab <schwab@redhat.com>
44219 * misc/sys/cdefs.h: Fix last change.
44221 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44224 2011-10-16 Ulrich Drepper <drepper@gmail.com>
44226 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44228 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44229 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44230 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44231 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44232 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44233 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44234 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44235 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44236 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44237 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44238 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44239 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44240 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44241 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44242 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44243 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44244 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44245 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44246 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44247 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44248 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44249 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44251 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44252 ceil, ceilf, floor, floorf.
44254 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44255 Perform IRELATIVE relocations last.
44257 * elf/do-rel.h: Add another parameter nrelative, replacing the
44258 local variable with the same name. Change name of the function
44259 to end in Rel or Rela (uppercase).
44260 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44261 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44262 elf_dynamic_do_##reloc function.
44264 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44266 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44267 is sufficient, at least on modern CPUs.
44269 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44271 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44272 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44274 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44276 * math/bits/math-finite.h: Add entries for exp.
44277 * math/e_expl.c: Add __*_finite alias.
44278 * sysdeps/i386/fpu/e_exp.S: Likewise.
44279 * sysdeps/i386/fpu/e_expf.S: Likewise.
44280 * sysdeps/i386/fpu/e_expl.c: Likewise.
44281 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44282 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44283 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44284 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44285 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44286 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44287 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44289 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44290 is sufficient, at least on modern CPUs.
44292 * ctype/ctype-info.c (__ctype_init): Define.
44293 * include/ctype.h (__ctype_init): Declare.
44294 (__ctype_b_loc): The variable is always initialized.
44295 (__ctype_toupper_loc): Likewise.
44296 (__ctype_tolower_loc): Likewise.
44297 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44298 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44300 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44302 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44304 * configure.in: Also look in $cxxmachine/include for C++ system
44307 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44309 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44310 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44311 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44312 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44313 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44314 (USE_AS_WMEMCMP): New macro.
44316 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44317 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44318 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44319 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44320 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44321 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44322 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44323 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44324 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44325 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44326 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44327 (USE_AS_WMEMCMP): New macro.
44328 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44329 * sysdeps/string/test-memcmp.c: Update.
44330 Fix simple_wmemcmp.
44332 * wcsmbs/wmemcmp.c: Update.
44333 (WMEMCMP): New macro.
44336 2011-10-12 Andreas Jaeger <aj@suse.de>
44339 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44341 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44343 * libio/iofwide.c (do_length): Avoid warning.
44345 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44347 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44349 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44351 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44352 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44353 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44354 * sysdeps/i386/i686/fpu/e_log.S: New file.
44355 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44356 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44358 * ctype/ctype.h: Add support for inlined isXXX functions when
44359 compiling C++ code.
44361 2011-10-14 Andreas Schwab <schwab@redhat.com>
44363 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44365 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44367 2011-10-13 Roland McGrath <roland@hack.frob.com>
44370 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44372 2011-10-13 Andreas Schwab <schwab@redhat.com>
44374 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44375 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44378 * sysdeps/x86_64/memrchr.S: Check for zero size.
44380 * string/stratcliff.c: Add memrchr tests.
44382 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44384 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44385 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44386 rawmemchr-sse2 rawmemchr-sse2-bsf.
44387 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44388 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44389 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44390 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44391 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44392 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44393 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44394 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44395 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44396 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44397 * string/memrchr.c (MEMRCHR): New macro.
44399 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44401 Add integration with gcc's -ffinite-math-only and optimize wrapper
44403 * Versions.def: Define GLIBC_2.15 version for libm.
44404 * math/Makefile (headers): Add bits/math-finite.h.
44405 * math/bits/math-finite.h: New file.
44406 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44407 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44408 * math/e_acoshl.c: Add __*_finite alias.
44409 * math/e_acosl.c: Likewise.
44410 * math/e_asinl.c: Likewise.
44411 * math/e_atan2l.c: Likewise.
44412 * math/e_atanhl.c: Likewise.
44413 * math/e_coshl.c: Likewise.
44414 * math/e_exp10.c: Likewise.
44415 * math/e_exp10f.c: Likewise.
44416 * math/e_exp10l.c: Likewise.
44417 * math/e_exp2l.c: Likewise.
44418 * math/e_fmodl.c: Likewise.
44419 * math/e_gammal_r.c: Likewise.
44420 * math/e_hypotl.c: Likewise.
44421 * math/e_j0l.c: Likewise.
44422 * math/e_j1l.c: Likewise.
44423 * math/e_jnl.c: Likewise.
44424 * math/e_lgammal_r.c: Likewise.
44425 * math/e_log10l.c: Likewise.
44426 * math/e_log2l.c: Likewise.
44427 * math/e_logl.c: Likewise.
44428 * math/e_powl.c: Likewise.
44429 * math/e_sinhl.c: Likewise.
44430 * math/e_sqrtl.c: Likewise.
44431 * math/e_scalb.c: Completely rewritten and optimized.
44432 * math/e_scalbf.c: Likewise.
44433 * math/e_scalbl.c: Likewise.
44434 * math/w_acos.c: Likewise.
44435 * math/w_acosf.c: Likewise.
44436 * math/w_acosl.c: Likewise.
44437 * math/w_acosh.c: Likewise.
44438 * math/w_acoshf.c: Likewise.
44439 * math/w_acoshl.c: Likewise.
44440 * math/w_asin.c: Likewise.
44441 * math/w_asinf.c: Likewise.
44442 * math/w_asinl.c: Likewise.
44443 * math/w_atan2.c: Likewise.
44444 * math/w_atan2f.c: Likewise.
44445 * math/w_atan2l.c: Likewise.
44446 * math/w_atanh.c: Likewise.
44447 * math/w_atanhf.c: Likewise.
44448 * math/w_atanhl.c: Likewise.
44449 * math/w_exp10.c: Likewise.
44450 * math/w_exp10f.c: Likewise.
44451 * math/w_exp10l.c: Likewise.
44452 * math/w_fmod.c: Likewise.
44453 * math/w_fmodf.c: Likewise.
44454 * math/w_fmodl.c: Likewise.
44455 * math/w_j0.c: Likewise.
44456 * math/w_j0f.c: Likewise.
44457 * math/w_j0l.c: Likewise.
44458 * math/w_j1.c: Likewise.
44459 * math/w_j1f.c: Likewise.
44460 * math/w_j1l.c: Likewise.
44461 * math/w_jn.c: Likewise.
44462 * math/w_jnf.c: Likewise.
44463 * math/w_log.c: Likewise.
44464 * math/w_logf.c: Likewise.
44465 * math/w_logl.c: Likewise.
44466 * math/w_log10.c: Likewise.
44467 * math/w_log10f.c: Likewise.
44468 * math/w_log10l.c: Likewise.
44469 * math/w_log2.c: Likewise.
44470 * math/w_log2f.c: Likewise.
44471 * math/w_log2l.c: Likewise.
44472 * math/w_pow.c: Likewise.
44473 * math/w_powf.c: Likewise.
44474 * math/w_powl.c: Likewise.
44475 * math/w_remainder.c: Likewise.
44476 * math/w_remainderf.c: Likewise.
44477 * math/w_remainderl.c: Likewise.
44478 * math/w_scalb.c: Likewise.
44479 * math/w_scalbf.c: Likewise.
44480 * math/w_scalbl.c: Likewise.
44481 * math/w_sqrt.c: Likewise.
44482 * math/w_sqrtf.c: Likewise.
44483 * math/w_sqrtl.c: Likewise.
44484 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44485 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44487 * math/math_private.h: Declare __kernel_standard_f.
44488 * math/w_cosh.c: Remove cruft and optimize a bit.
44489 * math/w_coshf.c: Likewise.
44490 * math/w_coshl.c: Likewise.
44491 * math/w_exp2.c: Likewise.
44492 * math/w_exp2f.c: Likewise.
44493 * math/w_exp2l.c: Likewise.
44494 * math/w_hypot.c: Likewise.
44495 * math/w_hypotf.c: Likewise.
44496 * math/w_hypotl.c: Likewise.
44497 * math/w_lgamma.c: Likewise.
44498 * math/w_lgamma_r.c: Likewise.
44499 * math/w_lgammaf.c: Likewise.
44500 * math/w_lgammaf_r.c: Likewise.
44501 * math/w_lgammal.c: Likewise.
44502 * math/w_lgammal_r.c: Likewise.
44503 * math/w_sinh.c: Likewise.
44504 * math/w_sinhf.c: Likewise.
44505 * math/w_sinhl.c: Likewise.
44506 * math/w_tgamma.c: Likewise.
44507 * math/w_tgammaf.c: Likewise.
44508 * math/w_tgammal.c: Likewise.
44509 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44510 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44511 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44512 Minor optimizations. Pretty printing. Remove cruft.
44513 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44514 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44515 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44516 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44517 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44518 * sysdeps/i386/fpu/e_asin.S: Likewise.
44519 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44520 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44521 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44522 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44523 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44524 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44525 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44526 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44527 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44528 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44529 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44530 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44531 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44532 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44533 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44534 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44535 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44536 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44537 * sysdeps/i386/fpu/e_log.S: Likewise.
44538 * sysdeps/i386/fpu/e_log10.S: Likewise.
44539 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44540 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44541 * sysdeps/i386/fpu/e_log2.S: Likewise.
44542 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44543 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44544 * sysdeps/i386/fpu/e_logf.S: Likewise.
44545 * sysdeps/i386/fpu/e_logl.S: Likewise.
44546 * sysdeps/i386/fpu/e_pow.S: Likewise.
44547 * sysdeps/i386/fpu/e_powf.S: Likewise.
44548 * sysdeps/i386/fpu/e_powl.S: Likewise.
44549 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44550 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44551 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44552 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44553 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44554 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44555 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44556 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44557 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44558 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44559 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44560 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44561 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44562 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44563 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44564 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44565 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44566 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44567 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44568 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44569 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44570 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44571 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44572 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44573 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44574 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44575 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44576 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44577 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44578 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44579 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44580 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44581 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44582 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44583 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44584 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44585 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44586 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44587 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44588 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44589 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44590 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44591 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44592 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44593 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44594 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44595 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44596 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44597 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44598 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44599 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44600 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44601 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44602 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44603 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44604 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44605 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44606 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44607 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44608 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44609 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44610 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44611 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44612 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44613 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44614 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44615 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44616 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44617 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44618 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44619 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44620 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44621 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44622 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44623 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44624 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44625 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44626 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44627 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44628 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44629 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44630 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44631 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44632 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44633 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44634 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44635 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44636 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44637 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44638 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44639 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44640 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44641 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44642 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44643 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44644 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44645 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44646 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44647 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44648 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44649 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44650 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44651 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44652 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44653 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44654 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44655 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44656 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44657 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44658 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44659 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44660 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44661 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44662 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44663 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44664 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44665 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44666 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44667 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44668 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44669 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44670 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44671 (__isnanf): Likewise.
44672 (__isinf_ns): Likewise.
44673 (__isinf_nsf): Likewise.
44674 (__finite): Likewise.
44675 (__finitef): Likewise.
44676 (__ieee754_sqrt): Define as macro.
44677 (__ieee754_sqrtf): Define as macro.
44678 (__ieee754_sqrtl): Define as macro.
44679 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44681 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44682 __FINITE_MATH_ONLY__ consistent.
44683 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44685 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44687 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44690 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44692 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44694 * po/ja.po: Update from translation team.
44696 2011-10-08 Roland McGrath <roland@hack.frob.com>
44698 * locale/programs/locarchive.c (prepare_address_space): New function.
44699 (create_archive, enlarge_archive, open_archive): Use it.
44701 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44702 inside [SHARED], where it is used.
44704 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44706 * nss/getent.c (netgroup_keys): Remove unused variable.
44707 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44709 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44711 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44712 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44713 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44714 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44715 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44716 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44717 * math/Makefile (libm-calls): Add s_isinf_ns.
44718 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44719 * math/multc3.c: Likewise.
44720 * math/s_casin.c: Likewise.
44721 * math/s_casinf.c: Likewise.
44722 * math/s_casinl.c: Likewise.
44723 * math/s_ccos.c: Likewise.
44724 * math/s_ccosf.c: Likewise.
44725 * math/s_ccosl.c: Likewise.
44726 * math/s_ctan.c: Likewise.
44727 * math/s_ctanf.c: Likewise.
44728 * math/s_ctanh.c: Likewise.
44729 * math/s_ctanhf.c: Likewise.
44730 * math/s_ctanhl.c: Likewise.
44731 * math/s_ctanl.c: Likewise.
44732 * math/w_fmod.c: Likewise.
44733 * math/w_fmodf.c: Likewise.
44734 * math/w_fmodl.c: Likewise.
44735 * math/w_remainder.c: Likewise.
44736 * math/w_remainderf.c: Likewise.
44737 * math/w_remainderl.c: Likewise.
44738 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44739 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44740 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44741 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44742 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44743 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44744 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44745 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44747 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44749 * stdio-common/printf_fphex.c: Likewise.
44750 * stdio-common/printf_size.c: Likewise.
44752 * math/e_exp10.c: Include math_private.h using <...> not "...".
44753 * math/e_exp10f.c: Likewise.
44754 * math/e_exp10l.c: Likewise.
44755 * math/e_exp2l.c: Likewise.
44756 * math/e_j0l.c: Likewise.
44757 * math/e_j1l.c: Likewise.
44758 * math/e_jnl.c: Likewise.
44759 * math/e_lgammal_r.c: Likewise.
44760 * math/e_rem_pio2l.c: Likewise.
44761 * math/e_scalb.c: Likewise.
44762 * math/e_scalbf.c: Likewise.
44763 * math/e_scalbl.c: Likewise.
44764 * math/k_cosl.c: Likewise.
44765 * math/k_sinl.c: Likewise.
44766 * math/k_tanl.c: Likewise.
44767 * math/s_cacoshf.c: Likewise.
44768 * math/s_catan.c: Likewise.
44769 * math/s_catanf.c: Likewise.
44770 * math/s_catanh.c: Likewise.
44771 * math/s_catanhf.c: Likewise.
44772 * math/s_catanhl.c: Likewise.
44773 * math/s_catanl.c: Likewise.
44774 * math/s_ccosh.c: Likewise.
44775 * math/s_ccoshf.c: Likewise.
44776 * math/s_ccoshl.c: Likewise.
44777 * math/s_cexp.c: Likewise.
44778 * math/s_cexpf.c: Likewise.
44779 * math/s_cexpl.c: Likewise.
44780 * math/s_clog.c: Likewise.
44781 * math/s_clog10.c: Likewise.
44782 * math/s_clog10f.c: Likewise.
44783 * math/s_clog10l.c: Likewise.
44784 * math/s_clogf.c: Likewise.
44785 * math/s_clogl.c: Likewise.
44786 * math/s_csin.c: Likewise.
44787 * math/s_csinf.c: Likewise.
44788 * math/s_csinh.c: Likewise.
44789 * math/s_csinhf.c: Likewise.
44790 * math/s_csinhl.c: Likewise.
44791 * math/s_csinl.c: Likewise.
44792 * math/s_csqrt.c: Likewise.
44793 * math/s_csqrtf.c: Likewise.
44794 * math/s_csqrtl.c: Likewise.
44795 * math/s_ctan.c: Likewise.
44796 * math/s_ctanf.c: Likewise.
44797 * math/s_ctanh.c: Likewise.
44798 * math/s_ctanhf.c: Likewise.
44799 * math/s_ctanhl.c: Likewise.
44800 * math/s_ctanl.c: Likewise.
44801 * math/s_ldexp.c: Likewise.
44802 * math/s_ldexpf.c: Likewise.
44803 * math/s_ldexpl.c: Likewise.
44804 * math/s_significand.c: Likewise.
44805 * math/s_significandf.c: Likewise.
44806 * math/s_significandl.c: Likewise.
44807 * math/w_acos.c: Likewise.
44808 * math/w_acosf.c: Likewise.
44809 * math/w_acosh.c: Likewise.
44810 * math/w_acoshf.c: Likewise.
44811 * math/w_acoshl.c: Likewise.
44812 * math/w_acosl.c: Likewise.
44813 * math/w_asin.c: Likewise.
44814 * math/w_asinf.c: Likewise.
44815 * math/w_asinl.c: Likewise.
44816 * math/w_atan2.c: Likewise.
44817 * math/w_atan2f.c: Likewise.
44818 * math/w_atan2l.c: Likewise.
44819 * math/w_atanh.c: Likewise.
44820 * math/w_atanhf.c: Likewise.
44821 * math/w_atanhl.c: Likewise.
44822 * math/w_cosh.c: Likewise.
44823 * math/w_coshf.c: Likewise.
44824 * math/w_coshl.c: Likewise.
44825 * math/w_dremf.c: Likewise.
44826 * math/w_exp10.c: Likewise.
44827 * math/w_exp10f.c: Likewise.
44828 * math/w_exp10l.c: Likewise.
44829 * math/w_exp2.c: Likewise.
44830 * math/w_exp2f.c: Likewise.
44831 * math/w_fmod.c: Likewise.
44832 * math/w_fmodf.c: Likewise.
44833 * math/w_fmodl.c: Likewise.
44834 * math/w_hypot.c: Likewise.
44835 * math/w_hypotf.c: Likewise.
44836 * math/w_hypotl.c: Likewise.
44837 * math/w_j0.c: Likewise.
44838 * math/w_j0f.c: Likewise.
44839 * math/w_j0l.c: Likewise.
44840 * math/w_j1.c: Likewise.
44841 * math/w_j1f.c: Likewise.
44842 * math/w_j1l.c: Likewise.
44843 * math/w_jn.c: Likewise.
44844 * math/w_jnf.c: Likewise.
44845 * math/w_jnl.c: Likewise.
44846 * math/w_lgamma.c: Likewise.
44847 * math/w_lgamma_r.c: Likewise.
44848 * math/w_lgammaf.c: Likewise.
44849 * math/w_lgammaf_r.c: Likewise.
44850 * math/w_lgammal.c: Likewise.
44851 * math/w_lgammal_r.c: Likewise.
44852 * math/w_log.c: Likewise.
44853 * math/w_log10.c: Likewise.
44854 * math/w_log10f.c: Likewise.
44855 * math/w_log10l.c: Likewise.
44856 * math/w_log2.c: Likewise.
44857 * math/w_log2f.c: Likewise.
44858 * math/w_log2l.c: Likewise.
44859 * math/w_logf.c: Likewise.
44860 * math/w_logl.c: Likewise.
44861 * math/w_pow.c: Likewise.
44862 * math/w_powf.c: Likewise.
44863 * math/w_powl.c: Likewise.
44864 * math/w_remainder.c: Likewise.
44865 * math/w_remainderf.c: Likewise.
44866 * math/w_remainderl.c: Likewise.
44867 * math/w_scalb.c: Likewise.
44868 * math/w_scalbf.c: Likewise.
44869 * math/w_scalbl.c: Likewise.
44870 * math/w_sinh.c: Likewise.
44871 * math/w_sinhf.c: Likewise.
44872 * math/w_sinhl.c: Likewise.
44873 * math/w_sqrt.c: Likewise.
44874 * math/w_sqrtf.c: Likewise.
44875 * math/w_sqrtl.c: Likewise.
44876 * math/w_tgamma.c: Likewise.
44877 * math/w_tgammaf.c: Likewise.
44878 * math/w_tgammal.c: Likewise.
44880 * po/ja.po: Update from translation team.
44882 2011-09-29 Andreas Jaeger <aj@suse.de>
44885 * sunrpc/netname.c (netname2host): Fix logic.
44889 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44891 * math/w_remainder.c (__remainder): Likewise.
44892 * math/w_remainderf.c (__remainderf): Likewise.
44893 * math/libm-test.inc (remainder_test): Add test cases.
44895 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44897 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44900 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44902 * string/test-memcmp.c: Avoid unncessary #defines.
44903 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44905 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44907 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44908 Use new sse2 version for core i3 - i7 as it's faster
44909 than sse42 version.
44910 (bit_Prefer_PMINUB_for_stringop): New.
44911 * sysdeps/x86_64/rawmemchr.S: Update.
44912 Replace with faster SSE2 version.
44913 * sysdeps/x86_64/memrchr.S: New file.
44914 * sysdeps/x86_64/memchr.S: Update.
44915 Replace with faster SSE2 version.
44917 2011-09-12 Marek Polacek <mpolacek@redhat.com>
44919 * elf/dl-load.c (lose): Add cast to avoid warning.
44921 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44923 * po/ca.po: Update from translation team.
44925 * inet/getnetgrent_r.c: Hook up nscd.
44926 * nscd/Makefile (routines): Add nscd_netgroup.
44927 (nscd-modules): Add netgroupcache.
44928 (CFLAGS-netgroupcache.c): Define.
44929 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44930 (cache_search): Add const to second parameter.
44931 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44933 (dbs): Add netgrdb entry.
44934 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44935 (verify_persistent_db): Handle netgrdb.
44936 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44937 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44939 (netgroup_response_header): Define.
44940 (innetgroup_response_header): Define.
44941 (datahead): Add netgroup_response_header and innetgroup_response_header
44943 * nscd/nscd.conf: Add entries for netgroup cache.
44944 * nscd/nscd.h (dbtype): Add netgrdb.
44945 (_PATH_NSCD_NETGROUP_DB): Define.
44946 (netgroup_iov_disabled): Declare.
44947 (xmalloc, xcalloc, xrealloc): Move declarations here.
44948 (cache_search): Adjust prototype.
44949 Add netgroup-related prototypes.
44950 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44951 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44952 (__nscd_innetgr): Declare.
44953 * nscd/selinux.c (perms): Use access_vector_t as element type and
44954 add netgroup-related initializers.
44955 * nscd/netgroupcache.c: New file.
44956 * nscd/nscd_netgroup.c: New file.
44957 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44958 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44959 For four parameters use innetgr.
44960 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44961 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44962 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44963 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44965 * nscd/connections.c (register_traced_file): Don't register file
44966 for disabled databases.
44968 2011-10-06 Ulrich Drepper <drepper@gmail.com>
44970 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44972 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44973 from tree and freeing node.
44975 2011-09-25 Jiri Olsa <jolsa@redhat.com>
44977 * nss/nsswitch.c (__nss_database_lookup): Handle
44978 nss_parse_service_list out of memory case.
44980 2011-09-15 Jiri Olsa <jolsa@redhat.com>
44982 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44983 out of memory case.
44985 2011-10-04 Andreas Schwab <schwab@redhat.com>
44987 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44988 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44990 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44991 elf_machine_rela, elf_machine_lazy_rel.
44992 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44993 (ELF_DYNAMIC_DO_REL): Likewise.
44994 (ELF_DYNAMIC_DO_RELA): Likewise.
44995 (ELF_DYNAMIC_RELOCATE): Likewise.
44996 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44997 to ELF_DYNAMIC_DO_REL.
44998 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44999 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45000 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45002 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45003 skip_ifunc, don't call ifunc function if non-zero.
45004 (elf_machine_rela): Likewise.
45005 (elf_machine_lazy_rel): Likewise.
45006 (elf_machine_lazy_rela): Likewise.
45007 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45008 (elf_machine_lazy_rel): Likewise.
45009 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45011 (elf_machine_lazy_rel): Likewise.
45012 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45014 (elf_machine_lazy_rel): Likewise.
45015 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45016 (elf_machine_lazy_rel): Likewise.
45017 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45018 (elf_machine_lazy_rel): Likewise.
45019 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45020 (elf_machine_lazy_rel): Likewise.
45021 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45022 (elf_machine_lazy_rel): Likewise.
45023 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45024 (elf_machine_lazy_rel): Likewise.
45025 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45026 (elf_machine_lazy_rel): Likewise.
45028 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45030 * nss/nss_files/files-init.c (_nss_files_init): Use static
45031 initialization for all the *_traced_file variables.
45033 2011-09-28 Andreas Schwab <schwab@redhat.com>
45035 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45037 2011-09-27 Roland McGrath <roland@hack.frob.com>
45040 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45042 2011-09-27 Andreas Schwab <schwab@redhat.com>
45044 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45045 Reread the line before reparsing it.
45047 2011-09-26 Andreas Schwab <schwab@redhat.com>
45049 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45051 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45052 Maxim Kuvyrkov <maxim@codesourcery.com>
45053 Joseph Myers <joseph@codesourcery.com>
45055 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45056 if needed for __stack_chk_guard.
45058 2011-09-19 Roland McGrath <roland@hack.frob.com>
45060 * sysdeps/posix/spawni.c (script_execute): Always define it.
45061 It will be optimized away if unused.
45062 (maybe_script_execute): New function.
45063 (__spawni): Call it.
45065 * Makerules: Don't include tls.make.
45066 (config-tls): Always set to thread.
45067 * tls.make.c: File removed.
45069 2011-09-19 Mike Frysinger <vapier@gentoo.org>
45071 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45072 * config.make.in (CPPFLAGS-config): New substituted variable.
45074 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45076 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45079 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45080 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45082 2011-09-15 Roland McGrath <roland@hack.frob.com>
45084 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45085 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45086 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45087 (CALL_FAIL): Likewise.
45088 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45089 (CALL_FAIL): Macro removed.
45090 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45092 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45094 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45095 for __FINITE_MATH_ONLY__ == 1.
45097 2011-09-15 Andreas Schwab <schwab@redhat.com>
45099 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45100 __ieee754_sqrt instead of sqrt.
45101 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45102 __ieee754_sqrtf instead of sqrtf.
45103 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45104 __floorf instead of floorf.
45105 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45106 __floorf, __truncf instead of floorf, truncf.
45108 2011-09-14 Ulrich Drepper <drepper@gmail.com>
45110 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45112 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45113 __extern_always_inline.
45114 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45117 2011-09-14 Andreas Schwab <schwab@redhat.com>
45119 * elf/rtld.c (dl_main): Also relocate in dependency order when
45120 doing symbol dependency testing.
45122 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45124 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45125 Always define `refsym'.
45127 2011-09-13 Andreas Schwab <schwab@redhat.com>
45129 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45130 (__FD_ELT): Renamed from __FDELT.
45131 * misc/bits/select2.h (__FD_ELT): Likewise.
45132 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45133 __FD_MASK instead of __FDELT, __FDMASK.
45134 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45136 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45139 * elf/Makefile (gen-ldd): Fix pattern.
45141 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45142 (init_tls): Likewise.
45144 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45146 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45148 2011-09-12 Andreas Schwab <schwab@redhat.com>
45150 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45151 `struct cmsghdr *' instead of `void *'.
45152 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45155 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45157 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45159 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45160 ldd_rewrite_script.
45162 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45164 * configure.in: Remove --with-tls option.
45165 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45166 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45167 out in case it is missing.
45168 * sysdeps/ia64/elf/configure.in: Likewise.
45169 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45170 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45171 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45172 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45173 * sysdeps/sh/elf/configure.in: Likewise.
45174 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45175 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45176 * sysdeps/x86_64/elf/configure.in: Likewise.
45177 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45178 * sysdeps/mach/hurd/tls.h: Likewise.
45181 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45184 * configure.in: Fix use of AC_INIT.
45186 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45188 2011-09-10 Ulrich Drepper <drepper@gmail.com>
45190 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45192 * malloc/hooks.c: Likewise.
45195 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45196 variables statically.
45197 (narenas): Initialize.
45198 (list_lock): Initialize.
45199 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45200 initializtion of main_arena and list_lock. Small cleanups.
45201 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45202 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45203 Add initializers to main_arena and mp_.
45204 (malloc_state): Remove pagesize member. Change all users to use
45207 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45208 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45209 is always initialized.
45211 * malloc/malloc.c: Removed unused configurations and dead code.
45212 * malloc/arena.c: Likewise.
45213 * malloc/hooks.c: Likewise.
45214 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45216 * include/tls.h: Removed. USE___THREAD must always be defined.
45217 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45218 * elf/dl-libc.c: Likewise.
45219 * elf/dl-tsd.c: Likewise.
45220 * include/errno.h: Likewise.
45221 * include/netdb.h: Likewise.
45222 * include/resolv.h: Likewise.
45223 * inet/herrno-loc.c: Likewise.
45224 * inet/herrno.c: Likewise.
45225 * malloc/arena.c: Likewise.
45226 * malloc/hooks.c: Likewise.
45227 * malloc/malloc.c: Likewise.
45228 * resolv/res-state.c: Likewise.
45229 * resolv/res_libc.c: Likewise.
45230 * sysdeps/i386/dl-machine.h: Likewise.
45231 * sysdeps/ia64/dl-machine.h: Likewise.
45232 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45233 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45234 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45235 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45236 * sysdeps/sh/dl-machine.h: Likewise.
45237 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45238 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45239 * sysdeps/unix/i386/sysdep.S: Likewise.
45240 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45241 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45242 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45243 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45244 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45245 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45246 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45247 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45248 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45249 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45250 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45251 * sysdeps/x86_64/dl-machine.h: Likewise.
45252 * tls.make.c: Likewise.
45254 * configure.in: Remove --with-__thread option. Make tests for
45255 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45256 tls_model attribute fail if no support is available. Remove
45258 * Makeconfig: Adjust for dropped configure option. All features are
45260 * Makerules: Likewise.
45261 * Versions.def: Likewise.
45262 * argp/argp-fmtstream.c: Likewise.
45263 * argp/argp-fmtstream.h: Likewise.
45264 * argp/argp-help.c: Likewise.
45265 * assert/assert.c: Likewise.
45266 * config.h.in: Likewise.
45267 * config.make.in: Likewise.
45268 * configure: Likewise.
45269 * configure.in: Likewise.
45270 * csu/Versions: Likewise.
45271 * csu/init.c: Likewise.
45272 * elf/tst-audit2.c: Likewise.
45273 * elf/tst-tls10.c: Likewise.
45274 * elf/tst-tls10.h: Likewise.
45275 * elf/tst-tls11.c: Likewise.
45276 * elf/tst-tls12.c: Likewise.
45277 * elf/tst-tls14.c: Likewise.
45278 * elf/tst-tlsmod11.c: Likewise.
45279 * elf/tst-tlsmod12.c: Likewise.
45280 * elf/tst-tlsmod13.c: Likewise.
45281 * elf/tst-tlsmod13a.c: Likewise.
45282 * elf/tst-tlsmod14a.c: Likewise.
45283 * elf/tst-tlsmod15b.c: Likewise.
45284 * elf/tst-tlsmod16a.c: Likewise.
45285 * elf/tst-tlsmod16b.c: Likewise.
45286 * elf/tst-tlsmod7.c: Likewise.
45287 * elf/tst-tlsmod8.c: Likewise.
45288 * elf/tst-tlsmod9.c: Likewise.
45289 * gmon/gmon.c: Likewise.
45290 * grp/fgetgrent_r.c: Likewise.
45291 * grp/putgrent.c: Likewise.
45292 * hurd/fopenport.c: Likewise.
45293 * include/libc-symbols.h: Likewise.
45294 * include/tls.h: Likewise.
45295 * intl/gettextP.h: Likewise.
45296 * intl/loadinfo.h: Likewise.
45297 * locale/global-locale.c: Likewise.
45298 * locale/localeinfo.h: Likewise.
45299 * mach/devstream.c: Likewise.
45300 * malloc/arena.c: Likewise.
45301 * malloc/set-freeres.c: Likewise.
45302 * misc/err.c: Likewise.
45303 * misc/getttyent.c: Likewise.
45304 * misc/mntent_r.c: Likewise.
45305 * posix/getopt.c: Likewise.
45306 * posix/wordexp.c: Likewise.
45307 * pwd/fgetpwent_r.c: Likewise.
45308 * resolv/Versions: Likewise.
45309 * resolv/res_hconf.c: Likewise.
45310 * shadow/fgetspent_r.c: Likewise.
45311 * shadow/putspent.c: Likewise.
45312 * stdio-common/printf_fphex.c: Likewise.
45313 * stdio-common/tmpfile.c: Likewise.
45314 * stdlib/abort.c: Likewise.
45315 * stdlib/fmtmsg.c: Likewise.
45316 * sunrpc/auth_unix.c: Likewise.
45317 * sunrpc/clnt_perr.c: Likewise.
45318 * sunrpc/clnt_tcp.c: Likewise.
45319 * sunrpc/clnt_udp.c: Likewise.
45320 * sunrpc/clnt_unix.c: Likewise.
45321 * sunrpc/openchild.c: Likewise.
45322 * sunrpc/svc_simple.c: Likewise.
45323 * sunrpc/svc_tcp.c: Likewise.
45324 * sunrpc/svc_udp.c: Likewise.
45325 * sunrpc/svc_unix.c: Likewise.
45326 * sunrpc/xdr.c: Likewise.
45327 * sunrpc/xdr_array.c: Likewise.
45328 * sunrpc/xdr_rec.c: Likewise.
45329 * sunrpc/xdr_ref.c: Likewise.
45330 * sunrpc/xdr_stdio.c: Likewise.
45332 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45334 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45336 2011-07-03 Andreas Jaeger <aj@suse.de>
45338 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45339 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45340 regenerate with gen-libm-tests.pl.
45342 2010-05-12 Petr Baudis <pasky@suse.cz>
45345 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45346 around j0() zero points by switching to j1().
45347 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45348 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45349 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45350 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45352 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45354 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45356 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45358 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45359 Patch in part by Pavel Roskin <proski@gnu.org>.
45362 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45364 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45365 Free memory block if necessary.
45368 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45369 be NULL. Don't lock in this case.
45371 2011-09-09 Roland McGrath <roland@hack.frob.com>
45373 * elf/elf.h (ELFOSABI_GNU): New macro.
45374 (ELFOSABI_LINUX): Define to that.
45376 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45378 * string/strncat.c (strncat): Undef the symbol in case it has been
45379 defined in bits/string.h.
45381 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45383 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45385 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45388 2011-08-17 Andreas Jaeger <aj@suse.de>
45390 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45392 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45393 Ian Lance Taylor <iant@google.com>
45395 * math/libm-test.inc (lround_test): New testcase.
45396 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45398 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45400 * Makefile: Remove support for automatic cvs check-ins.
45401 * Makerules: Likewise.
45402 * config.make.in: Likewise.
45403 * configure.in: Likewise.
45404 * intl/Makefile: Likewise.
45405 * locale/Makefile: Likewise.
45406 * po/Makefile: Likewise.
45407 * posix/Makefile: Likewise.
45408 * sysdeps/gnu/Makefile: Likewise.
45409 * sysdeps/mach/hurd/Makefile: Likewise.
45410 * sysdeps/sparc/sparc32/Makefile: Likewise.
45413 * posix/Makefile (bug-regex32-ENV): Define.
45414 Patch by John Stanley <jpsinthemix@verizon.net>.
45416 * misc/Makefile (headers): Add bits/select2.h.
45417 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45418 * misc/bits/select2.h: New file.
45419 * include/bits/select2.h: New file.
45420 * debug/Makefile (routines): Add fdelt_chk.
45421 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45422 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45424 * debug/fdelt_chk.c: New file.
45426 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45427 * wcsmbs/test-wmemcmp.c: Likewise.
45428 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45429 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45431 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45433 * string/Makefile (strop-tests): Add memcmp.
45434 * string/test-wmemcmp.c: New file.
45435 * string/test-memcmp.c: Add wmemcmp support.
45437 2011-09-08 Roland McGrath <roland@hack.frob.com>
45440 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45443 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45444 garbage value in a __mach_port_mod_refs call in the cases of the
45445 task-self and thread-self ports.
45447 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45449 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45451 2011-09-08 Andreas Schwab <schwab@redhat.com>
45453 * elf/dl-load.c (lose): Check for non-null L.
45455 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45457 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45459 * elf/dl-libc.c (dlerror_run): Pass back error code from
45463 * elf/dl-load.c (lose): Free l_origin if it is valid.
45465 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45467 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45468 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45469 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45470 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45471 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45472 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45474 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45476 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45477 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45478 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45479 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45480 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45481 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45482 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45483 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45484 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45485 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45487 2011-08-15 Alan Modra <amodra@gmail.com>
45490 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45491 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45492 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45493 ppc_mcount to static-only-routines.
45494 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45496 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45497 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45499 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45501 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45502 for finite and infinity parameters.
45504 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45506 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45507 and add nop instructions for throughput optimization.
45508 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45510 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45512 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45513 aligned copy for power7 with vector-scalar instructions.
45514 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45516 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45518 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45521 2011-09-07 Andreas Schwab <schwab@redhat.com>
45524 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45527 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45529 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45530 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45531 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45532 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45535 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45537 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45538 Forgot to demangle the pointer.
45540 * sysdeps/i386/sysdep.h: Define atom_text_section.
45541 * sysdeps/x86_64/sysdep.h: Likewise.
45542 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45543 section with atom_text_section.
45544 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45545 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45546 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45547 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45548 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45550 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45551 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45552 already be defined. Change to take two parameters and don't assign
45553 result to variable. Adjust all users.
45554 Define INTERNAL_GETTIME if not already defined.
45555 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45558 HAVE_CLOCK_GETTIME_VSYSCALL.
45559 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45561 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45562 gettimeofday vsyscall, just use time.
45564 2011-09-06 Andreas Schwab <schwab@redhat.com>
45566 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45569 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45571 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45573 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45575 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45576 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45577 syscall if possible.
45579 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45581 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45582 e_ident. Don't pass to find_mapsXX.
45583 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45585 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45588 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45589 * sysdeps/x86_64/multiarch/strchr.S: Update.
45590 Check bit_slow_BSF bit.
45591 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45592 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45593 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45595 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45598 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45600 (tryshell): Define.
45601 (__spawni): Change last parameter to be flag. Test
45602 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45603 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45604 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45605 * posix/spawni.c: Likewise.
45606 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45607 * posix/spawnp.c: Likewise. Change normal version to use
45608 SPAWN_XFLAGS_USE_PATH.
45609 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45610 SPAWN_XFLAGS_TRY_SHELL.
45613 * posix/glob.h: Remove gcc 1.x support.
45616 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45618 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45620 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45621 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45623 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45624 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45625 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45626 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45627 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45628 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45630 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45632 * sysdeps/x86_64/wcscmp.S: New file.
45634 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45635 wcscmp-c wcscmp-sse2
45636 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45637 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45638 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45639 * wcsmbs/wcscmp.c: Allow renaming.
45641 2011-09-05 David S. Miller <davem@davemloft.net>
45643 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45644 stack slot, rather than the struct return pointer slot.
45645 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45646 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45648 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45650 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45652 * po/ja.po: Update from translation team.
45655 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45656 kernel in 64-bit binaries.
45658 2011-09-01 David S. Miller <davem@davemloft.net>
45660 * elf/elf.h (HWCAP_SPARC_*): Move to..
45661 * sysdeps/sparc/sysdep.h: this new file and add new values.
45662 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45663 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45664 _DL_HWCAP_COUNT to 24.
45665 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45667 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45668 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45669 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45670 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45671 instead of magic constants.
45672 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45674 2011-08-31 David S. Miller <davem@davemloft.net>
45676 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45677 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45678 Reimplement to do errno handling inline.
45679 (SYSCALL_ERROR_HANDLER): New macro.
45680 (__SYSCALL_STRING): Do not do errno handling in asm.
45681 (__CLONE_SYSCALL_STRING): Delete.
45682 (__INTERNAL_SYSCALL_STRING): Delete.
45683 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45684 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45685 (PSEUDO): Reimplement to do errno handling inline.
45686 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45687 (SYSCALL_ERROR_HANDLER): New macro.
45688 (__SYSCALL_STRING): Do not do errno handling in asm.
45689 (__CLONE_SYSCALL_STRING): Delete.
45690 (__INTERNAL_SYSCALL_STRING): Delete.
45691 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45692 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45694 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45695 (inline_syscall*): Add 'err' argument.
45696 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45697 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45698 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45699 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45701 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45702 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45704 2011-08-30 Andreas Schwab <schwab@redhat.com>
45706 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45708 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45710 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45713 2011-08-24 David S. Miller <davem@davemloft.net>
45715 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45717 2011-08-24 Andreas Schwab <schwab@redhat.com>
45719 * elf/Makefile: Add rules to build and run unload8 test.
45720 * elf/unload8.c: New file.
45721 * elf/unload8mod1.c: New file.
45722 * elf/unload8mod1x.c: New file.
45723 * elf/unload8mod2.c: New file.
45724 * elf/unload8mod3.c: New file.
45726 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45729 2011-08-23 David S. Miller <davem@davemloft.net>
45731 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45732 subtract stack bias.
45733 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45734 %sp not %fp in calculations.
45735 (_JMPBUF_UNWINDS_ADJ): Likewise.
45737 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45738 (aio_suspend): Call it to force an exception region around the
45739 AIO_MISC_WAIT() invocation.
45741 2011-08-23 Andreas Schwab <schwab@redhat.com>
45743 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45746 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45748 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45750 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45751 and <dl-machine.h>.
45752 (Elf64_FuncDesc): Remove.
45754 2011-08-22 David S. Miller <davem@davemloft.net>
45756 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45757 sigaltstack check, add missing cfi directives.
45758 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45759 missing cfi directives, and sigaltstack handling.
45761 2011-08-16 Andreas Schwab <schwab@redhat.com>
45764 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45765 object is seen twice.
45766 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45768 * elf/Makefile (distribute): Add tst-initorder2.c.
45769 (tests): Add tst-initorder2.
45770 (modules-names): Add tst-initorder2a tst-initorder2b
45771 tst-initorder2c tst-initorder2d. Add rules to build them.
45772 ($(objpfx)tst-initorder2.out): New rule.
45773 * elf/tst-initorder2.c: New file.
45774 * elf/tst-initorder2.exp: New file.
45776 2011-08-22 Andreas Schwab <schwab@redhat.com>
45778 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45780 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45781 dependencies back to end of function.
45783 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45784 $(elfobjdir)/ld.so.
45786 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45788 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45789 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45790 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45791 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45792 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45793 of __vdso_gettimeofday.
45794 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45795 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45797 (_libc_vdso_platform_setup): Remove initialization of
45798 __vdso_gettimeofday and __vdso_time.
45800 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45802 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45803 and fgetc_unlocked.
45804 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45807 * elf/dl-open.c (add_to_global): Report additions to the global scope
45808 for LD_DEBUG=scopes.
45809 (dl_open_worker): Also print scope of newly loaded dependencies.
45810 (_dl_show_scope): Indicate if there is no scope.
45813 * stdio-common/Makefile (tests): Add bug24.
45814 * stdio-common/bug24.c: New file.
45816 2011-08-19 Andreas Jaeger <aj@suse.de>
45819 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45820 non-existant file when using close-on-exec mode.
45822 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45824 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45825 the very first instruction.
45827 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45828 the CFI state in the end.
45829 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45830 inclusion of dl-trampoline.h.
45831 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45833 2011-08-19 Andreas Schwab <schwab@redhat.com>
45835 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45836 expectations for long double.
45838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45839 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45841 2011-08-14 David S. Miller <davem@davemloft.net>
45843 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45844 artificual limit depends upon the system page size.
45846 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45848 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45849 * resolv/Makefile: Define CFLAGS-libresolv.
45851 2011-08-17 Andreas Schwab <schwab@redhat.com>
45853 * nss/makedb.c (compute_tables): Make variables used in nested
45856 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45858 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45859 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45860 if buffer was too small.
45862 * elf/pldd.c (main): Attach to all threads in the process.
45863 Rewrite /proc handling to use *at functions.
45865 2011-08-16 Ulrich Drepper <drepper@gmail.com>
45867 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45868 specifies first scope to show.
45869 (dl_open_worker): Update callers. Move printing scope of new
45870 object to before the relocation.
45871 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45872 * sysdeps/generic/ldsodefs.h: Update declaration.
45874 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45875 string for the scope number.
45877 2011-08-14 Ulrich Drepper <drepper@gmail.com>
45879 * nscd/servicescache.c (cache_addserv): Make sure written is always
45882 2011-08-14 Roland McGrath <roland@hack.frob.com>
45884 * sysdeps/i386/i486/bits/atomic.h
45885 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45886 statement expression, so as to suppress "set but not used" warning.
45887 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45889 * string/strncat.c (STRNCAT): Use prototype definition.
45891 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45892 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45894 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45895 (localedef-modules): Add localedef.
45896 (locale-modules): Add locale.
45898 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45899 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45900 to avoid a warning.
45902 2011-08-14 David S. Miller <davem@davemloft.net>
45904 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45905 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45907 2011-08-13 Ulrich Drepper <drepper@gmail.com>
45909 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45910 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45911 * elf/rtld.c (dl_main): Set l_name of vDSO.
45912 Call _dl_show_scope when DL_DEBUG_SCOPES.
45913 (process_dl_debug): Recognize scopes flag and also set it for all.
45914 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45915 Declare _dl_show_scope.
45917 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45918 (do_dlopen): Pass caller_dlopen to dl_open.
45919 (__libc_dlopen_mode): Initialize caller_dlopen.
45921 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45922 of libc. Make tolower call locale-independent. Optimize a bit by
45923 using isdigit instead of isalnum.
45924 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45926 2011-08-12 Ulrich Drepper <drepper@gmail.com>
45928 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45929 was a dependency or dynamically loaded.
45931 2011-08-11 Ulrich Drepper <drepper@gmail.com>
45933 * intl/l10nflist.c: Allow architecture-specific pop function.
45934 * sysdeps/x86_64/l10nflist.c: New file.
45936 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45939 2011-08-10 Andreas Schwab <schwab@redhat.com>
45941 * include/dirent.h: Add libc_hidden_proto for scandirat and
45942 scandirat64. Don't declare __scandirat64.
45943 * dirent/scandirat.c: Add libc_hidden_def.
45944 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45945 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45947 2011-08-10 David S. Miller <davem@davemloft.net>
45949 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45951 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45952 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45953 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45955 2011-08-09 Ulrich Drepper <drepper@gmail.com>
45957 * Versions.def [libc]: Add GLIBC_2.15.
45958 * dirent/Makefile (routines): Add scandirat and scandirat64.
45959 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45961 * dirent/dirent.h: Declare scandirat and scandirat64.
45962 * dirent/scandirat.c: New file.
45963 * dirent/scandirat64.c: New file.
45964 * sysdeps/wordsize-64/scandirat.c: New file.
45965 * sysdeps/wordsize-64/scandirat64.c: New file.
45966 * dirent/opendir.c: Define opendirat.
45967 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45969 * dirent/scandir64.c: Adjust for scandir.c change.
45970 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45971 __scandirat64, and __scandir_cancel_handler.
45972 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45973 additional parameter and use openat instead of open (outside of ld.so).
45974 Add new __opendir as wrapper around __opendirat.
45975 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45976 here without requiring old scandirat implementation.
45978 2011-08-08 Ulrich Drepper <drepper@gmail.com>
45980 * dirent/scandir.c (cancel_handler): Renamed to
45981 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45982 defined. Adjust users.
45983 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45984 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45986 2011-08-04 Ulrich Drepper <drepper@gmail.com>
45988 * string/test-string.h (IMPL): Use __STRING to expand name and then
45991 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45994 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45996 * string/Makefile: Update.
45997 (strop-tests): Append strncat.
45998 * string/test-wcscmp.c: New file.
45999 New comprehensive test for wcscmp.
46000 * string/test-strcmp.c: Update.
46001 (WIDE): New define.
46003 2011-07-22 Andreas Schwab <schwab@redhat.com>
46005 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46008 2011-07-26 Andreas Schwab <schwab@redhat.com>
46010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46011 encoding to ACE if AI_IDN.
46013 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46015 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46016 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46018 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46020 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46021 Fix overflow bug in strncat.
46022 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46024 * string/test-strncat.c: Update.
46025 Add new tests for checking overflow bugs.
46027 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46029 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46030 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46031 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46032 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46033 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46034 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46035 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46036 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46037 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46039 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46040 (USE_AS_STRCAT): Define.
46041 Add strcat and strncat support.
46042 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46044 2011-07-25 Andreas Schwab <schwab@redhat.com>
46046 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46047 __n bigger than INT_MAX+1.
46048 (__strncmp_g): Likewise.
46050 2011-07-23 Ulrich Drepper <drepper@gmail.com>
46052 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46053 * libio/stido.h: Likewise.
46055 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46057 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46060 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46061 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46062 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46063 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46064 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46067 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46070 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46072 (_dl_x86_64_save_sse): Likewise.
46074 2011-07-22 Ulrich Drepper <drepper@gmail.com>
46076 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46078 (_dl_x86_64_save_sse): Likewise.
46080 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46082 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46084 2011-07-21 Andreas Schwab <schwab@redhat.com>
46086 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46088 (_dl_x86_64_save_sse): Use correct AVX check.
46090 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46092 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46093 bug in strncpy/strncat.
46094 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46096 2011-07-21 Ulrich Drepper <drepper@gmail.com>
46098 * string/tester.c (test_strcat): Add tests for different alignments
46099 of source and destination.
46100 (test_strncat): Likewise.
46102 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46105 * posix/glob.c (glob): Check passed in values before using them in
46106 expressions to avoid some overflows.
46107 (glob_in_dir): Likewise.
46110 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46111 check for AVX enablement so that we don't crash with old kernels and
46113 * elf/tst-audit4.c: Add same checks here.
46114 * elf/tst-audit6.c: Likewise.
46116 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46118 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46120 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46122 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46124 * po/cs.po: Update from translation team.
46125 * po/bg.po: Likewise.
46127 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46129 * misc/sys/cdefs.h: Add support for const attribute.
46130 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46131 to gnu_dev_{major,minor,makedev} functions.
46133 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46135 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46137 2011-07-20 Andreas Schwab <schwab@redhat.com>
46139 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46142 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46144 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46145 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46146 register in order to avoid conflicts with the soft frame pointer
46147 being held in r11 when necessary.
46148 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46149 (INTERNAL_VSYSCALL_NCS): Likewise.
46151 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46153 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46154 * elf/dl-fini.c (_dl_fini): Adjust caller.
46155 * elf/dl-close.c (_dl_close_worker): Likewise.
46156 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46158 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46160 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46161 "aux_cache->nlibs < 0".
46163 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46164 in the reload-count case.
46166 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46169 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46170 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46171 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46172 * sysdeps/x86_64/multiarch/strcat.S: New file.
46173 * sysdeps/x86_64/multiarch/strncat.S: New file.
46174 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46175 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46176 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46177 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46178 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46179 (USE_AS_STRCAT): Define.
46180 Add strcat and strncat support.
46181 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46182 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46183 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46184 * string/strncat.c: Update.
46185 (USE_AS_STRNCAT): Define.
46186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46187 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46189 * sysdeps/x86_64/multiarch/init-arch.h
46190 (bit_Prefer_PMINUB_for_stringop): New.
46191 (index_Prefer_PMINUB_for_stringop): Likewise.
46192 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46193 bit_Prefer_PMINUB_for_stringop.
46195 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46197 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46199 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46200 of casting of buffer.
46201 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46202 buffer32 and buffer64.
46203 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46204 writes instead of casting of buffer.
46205 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46207 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46210 2011-07-19 Andreas Schwab <schwab@redhat.com>
46212 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46214 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46216 * nscd/nscd.c (termination_handler): Don't do anything for a database
46217 if it has not yet been initialized.
46219 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46221 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46223 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46225 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46227 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46229 * po/nl.po: Update from translation team.
46230 * po/sv.po: Likewise.
46232 2011-07-16 Roland McGrath <roland@hack.frob.com>
46234 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46235 now disallowed by GCC.
46237 * configure.in (use-default-link): Default to yes if a test -shared
46238 link meets our qualifications.
46239 * configure: Regenerated.
46241 * config.make.in (output-format): New variable.
46242 * configure.in: Check for ld --print-output-format support.
46243 * configure: Regenerated.
46244 * Makerules ($(common-objpfx)format.lds)
46245 [$(output-format) != unknown]: Just use $(output-format),
46246 instead of the linker-script munging.
46248 2011-07-14 Roland McGrath <roland@hack.frob.com>
46250 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46251 of $(common-objpfx)shlib.lds.
46252 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46254 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46255 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46257 * configure.in (-z relro check): Adjust test code to add a large
46258 writable data section after it.
46259 * configure: Regenerated.
46261 2011-07-11 Roland McGrath <roland@hack.frob.com>
46263 * configure.in (-z relro check): Fix test code to make the variable
46265 * configure: Regenerated.
46267 2011-07-11 Ulrich Drepper <drepper@gmail.com>
46269 * nscd/nscd.h (struct traced_file): Define.
46270 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46271 elements. Add traced_files.
46272 (inotify_fd): Declare.
46273 (register_traced_file): Declare.
46274 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46275 (inotify_fd): Export.
46276 (resolv_conf_descr): Remove.
46277 (nscd_init): Move inotify descriptor creation to main.
46278 Don't register files for notification here.
46279 (register_traced_file): New function.
46280 (invalidate_cache): Don't use reset_res to determine whether to call
46281 res_init, go through the list of registered files.
46282 (main_loop_poll): The inotify descriptors are now stored in the
46283 structures for the traced files.
46284 (main_loop_epoll): Likewise
46285 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46286 to __nss_disable_nscd.
46287 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46288 for a database anymore. Check the records for all the registered
46290 * nss/Makefile (libnss_files-routines): Add files-init.
46291 (libnss_db-routines): Add db-init.
46292 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46293 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46294 * nss/nss_db/db-init.c: New file.
46295 * nss/nss_files/files-init.c: New file.
46296 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46297 __nss_lookup_function.
46298 (__nss_lookup_function): Call nss_load_library.
46299 (nss_load_all_libraries): New function.
46300 (__nss_disable_nscd): Take parameter with callback function for files
46301 to register. Set is_nscd. Load all the DSOs for the NSS modules
46302 used for the cached services.
46303 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46304 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46305 options for features to all the files in nscd.
46307 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46309 2011-07-10 Roland McGrath <roland@hack.frob.com>
46311 * csu/elf-init.c (__libc_csu_init): Comment typo.
46313 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46315 * po/pl.po: Update from translation team.
46316 * po/ja.po: Likewise.
46317 * po/ru.po: Likewise.
46318 * po/ko.po: Likewise.
46319 * po/fr.po: Likewise.
46321 2011-07-09 Roland McGrath <roland@hack.frob.com>
46323 * configure.in (.ctors/.dtors header and trailer check):
46324 Use an empirical test on a built program.
46325 * configure: Regenerated.
46327 * configure.in (-z relro check): Use an empirical test on a built DSO.
46328 Detect, but do not require, on ia64.
46329 * configure: Regenerated.
46331 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46332 Update tests that use readelf to use $READELF instead.
46333 * configure: Regenerated.
46335 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46337 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46338 if the result is not used.
46340 2011-07-05 Andreas Jaeger <aj@suse.de>
46343 * stdlib/tst-strtod.c: Add testcase.
46345 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46347 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46348 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46349 The latter has a higher limit. Take additional parameter to pass to
46351 (__pathconf): Pass file to __statfs_link_max.
46352 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46354 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46358 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46359 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46361 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46362 (__statfs_filesize_max): Likewise.
46363 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46365 2011-07-05 Andreas Jaeger <aj@suse.de>
46367 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46369 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46371 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46373 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46376 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46378 * Makefile (strop-tests): Add strncat.
46379 * string/test-strncat.c: New file.
46381 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46383 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46385 2011-06-21 Andreas Jaeger <aj@suse.de>
46387 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46388 Copy rule from iconvdata/Makefile.
46390 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46393 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46394 but no long options are defined, just return 'W'.
46396 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46399 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46401 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46403 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46405 (innetgr): Likewise.
46407 2011-07-05 Roland McGrath <roland@hack.frob.com>
46409 * config.make.in (install_root): Default to $(DESTDIR).
46411 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46413 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46415 2011-07-02 Roland McGrath <roland@hack.frob.com>
46417 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46419 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46420 containing directory rather than embedding absolute directory names.
46422 * scripts/check-local-headers.sh: Rewritten using awk.
46423 Match by word, not by line. Print error messages for matches.
46424 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46426 * Makerules [shlib-lds-flags empty]:
46427 ($(common-objpfx)libc_pic.opts): New target.
46428 ($(common-objpfx)libc_pic.os.clean): New target.
46429 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46431 * config.make.in (OBJCOPY): New variable.
46432 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46433 * configure: Regenerated.
46435 * config.make.in (use-default-link): New variable.
46436 * configure.in (use_default_link): Grok --with-default-link to set it.
46437 * configure: Regenerated.
46438 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46439 (shlib-lds, shlib-lds-flags): Define to empty.
46441 * Makerules (shlib-lds): New variable.
46442 (shlib-lds-flags): New variable.
46443 (build-shlib, build-moduile, build-module-asneeded): Use it.
46444 ($(common-objpfx)libc.so): Use $(shlib-lds).
46445 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46446 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46448 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46449 DT_FLAGS/DT_FLAGS_1 with zero flags.
46451 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46452 linker script munging.
46454 2011-07-02 Ulrich Drepper <drepper@gmail.com>
46456 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46458 * crypt/sha512.c (sha512_process_block): Perform total addition using
46459 128-bit if possible.
46460 (__sha512_finish_ctx): Likewise.
46461 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46463 * crypt/sha256.c (SWAP64): Define.
46464 (sha256_process_block): Perform total addition using 64-bit if
46466 (__sha256_finish_ctx): Likewise.
46468 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46470 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46471 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46472 * nscd/hstcache.c (cache_addhst): Likewise.
46473 * nscd/grpcache.c (cache_addgr): Likewise.
46474 * nscd/aicache.c (addhstaiX): Likewise
46475 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46477 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46479 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46480 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46481 * nscd/hstcache.c (cache_addhst): Likewise.
46482 * nscd/grpcache.c (cache_addgr): Likewise.
46483 * nscd/aicache.c (addhstaiX): Likewise
46485 2011-07-01 Andreas Schwab <schwab@redhat.com>
46487 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46488 domain only when needed.
46490 2011-06-30 Andreas Schwab <schwab@redhat.com>
46492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46493 is always restored.
46495 2011-06-29 Ulrich Drepper <drepper@gmail.com>
46497 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46498 are re-adding the entry.
46499 * nscd/servicescache.c (cache_addserv): Likewise.
46501 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46503 * sysdeps/generic/dl-irel.h: fix protection against multiple
46505 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46507 2011-06-28 Ulrich Drepper <drepper@gmail.com>
46510 * malloc/memusage.sh: Fix quoting in message.
46511 * debug/xtrace.sh: Likewise.
46513 * configure.in: Remove support for --experimental-malloc option, make
46515 * config.make.in: Likewise.
46516 * malloc/Makefile: Likewise.
46518 2011-06-27 Andreas Schwab <schwab@redhat.com>
46520 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46521 two-byte characters.
46523 2011-06-27 Roland McGrath <roland@hack.frob.com>
46525 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46526 AC_CACHE_CHECK invocation.
46527 * configure: Regenerated.
46529 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46531 2011-06-27 Ulrich Drepper <drepper@gmail.com>
46534 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46535 bit from old_res_options.
46537 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46539 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46540 value type for setfct.
46542 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46544 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46545 __gettimeofday instead of gettimeofday.
46547 2011-06-26 Ulrich Drepper <drepper@gmail.com>
46549 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46551 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46553 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46555 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46558 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46560 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46561 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46562 strcpy-sse2-unaligned strncpy-sse2-unaligned
46563 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46564 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46565 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46566 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46567 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46568 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46569 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46570 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46571 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46572 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46573 (STRCPY): Support SSE2 and SSSE3 versions.
46575 2011-06-24 Ulrich Drepper <drepper@gmail.com>
46578 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46579 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46580 kernels which artificially limit size of requests.
46582 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46584 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46585 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46586 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46587 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46588 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46589 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46590 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46591 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46592 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46593 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46594 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46595 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46596 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46597 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46598 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46600 Enable unaligned load optimization for Intel Core i3, i5 and i7
46602 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46604 (index_Fast_Unaligned_Load): Define.
46605 (HAS_FAST_UNALIGNED_LOAD): Define.
46607 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46609 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46611 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46614 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46615 until it is clear that the information is realy needed.
46616 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46618 2011-06-22 Andreas Schwab <schwab@redhat.com>
46620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46622 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46624 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46625 /sys/devices/system/cpu/online if it is usable.
46627 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46628 reading the information from the /proc filesystem to once a second.
46630 2011-06-21 Andreas Jaeger <aj@suse.de>
46632 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46633 NULL after inclusion of kernel headers.
46635 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46637 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46638 calls to internal_setent.
46641 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46642 addresses using gethostbyname4_r ignore IPv4 addresses.
46644 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46645 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46647 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46649 2011-06-20 David S. Miller <davem@davemloft.net>
46651 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46653 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46655 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46656 (elf_irel): Use it.
46657 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46658 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46659 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46660 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46661 * sysdeps/x86_64/dl-irel.h: Likewise.
46663 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46664 * elf/dl-sym.c: Likewise.
46666 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46668 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46669 need to dereference resplen2.
46671 2011-06-14 Andreas Schwab <schwab@redhat.com>
46673 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46675 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46677 * Makeconfig: Define vardbdir and inst_vardbdir.
46678 * nss/Makefile: Add rules to install db-Makefile.
46680 * nss/nss_db/db-XXX.c: Cleanup.
46682 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46683 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46685 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46686 * nss/makedb.c: Implement -g option to specify that value strings
46687 are generated and should not be added to table iterated over for
46689 * nss/nss_db/db-initgroups.c: New file.
46691 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46694 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46695 (internal_getgrouplist): Adjust to name change.
46696 Update use_initgroups_entry if this is not the first call.
46697 * nss/databases.def: Add initgroups entry.
46699 * nss/makedb.c (compute_tables): Check result of multiple hash table
46700 sizes to minimize maximum chain length.
46702 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46704 * Versions.def: Add entry for libnss_db.
46705 * shlib-versions: Likewise.
46706 * nss/Makefile: Add rules to build libnss_db.
46707 * nss/Versions: Add libnss_db information. Organize libnss_files
46709 * nss/db-Makefile: Add gshadow support. Change rules for the new
46710 makedb progra. Some minor improvements to generate smaller files.
46711 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46713 * nss/makedb.c: ...here.
46714 Improve database format to be smaller and require less memory at
46716 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46718 * nss/nss_db/db-netgrp.c: Likewise.
46719 * nss/nss_db/db-open.c: Likewise.
46720 * nss/nss_files/flies-XXX.x: Adjust comments.
46721 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46722 * nss/nss_files/files-grp.c: Likewise.
46723 * nss/nss_files/files-hosts.c: Likewise.
46724 * nss/nss_files/files-network.c: Likewise.
46725 * nss/nss_files/files-proto.c: Likewise.
46726 * nss/nss_files/files-pwd.c: Likewise.
46727 * nss/nss_files/files-rpc.c: Likewise.
46728 * nss/nss_files/files-service.c: Likewise.
46729 * nss/nss_files/files-sgrp.c: Likewise.
46730 * nss/nss_files/files-spwd.c: Likewise.
46731 * nss/nss_db/db-alias.c: Removed.
46732 * nss/nss_db/dummy-db.h: Removed.
46734 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46736 * nss/makedb.c: Rewritten to not use database library.
46737 * nss/Makefile: Update to build new makedb program.
46739 2011-06-14 Andreas Jaeger <aj@suse.de>
46741 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46742 memset declaration.
46744 2011-06-10 Andreas Schwab <schwab@redhat.com>
46746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46749 2011-06-10 Roland McGrath <roland@hack.frob.com>
46751 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46752 * elf/Makefile ($(objpfx)ld.so): Likewise.
46754 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46755 Don't list ld.so twice in dependencies.
46757 * posix/bug-regex31.c: Include <stdlib.h>.
46759 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46761 * nis/nss_compat/compat-spwd.c
46762 (getspent_next_nss_netgr): Remove unused variable.
46763 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46765 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46766 nonmembers" output to use the right array.
46768 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46770 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46772 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46773 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46774 * catgets/gencat.c (read_input_file): Likewise.
46775 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46777 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46778 variable definition inside #if's controlling its use.
46780 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46782 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46784 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46786 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46789 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46791 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46792 * configure: Regenerated.
46794 * Makerules: Revert last change.
46795 * elf/Makefile: Likewise.
46797 2011-06-09 Roland McGrath <roland@hack.frob.com>
46799 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46800 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46801 (reloc-link): Likewise.
46803 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46805 * elf/Makefile: Add rules to build pldd.
46806 * elf/pldd.c: New file.
46807 * elf/pldd-xx.c: New file.
46809 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46811 * version.h: Update for 2.15 development version.
46813 2011-06-07 David S. Miller <davem@davemloft.net>
46815 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46817 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46818 elf_machine_lazy_rel): Likewise.
46819 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46820 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46821 elf_machine_lazy_rel): Likewise.
46822 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46823 dl_hwcap via passed in argument.
46824 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46827 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46829 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46831 2011-06-06 Roland McGrath <roland@hack.frob.com>
46834 * manual/fdl-1.1.texi: New file, verbatim from:
46835 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46836 * manual/lgpl-2.1.texi: New file, verbatim from:
46837 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46838 * manual/Makefile (licenses): New variable, list those new file names.
46840 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46842 * manual/fdl.texi: File removed.
46843 * manual/lesser.texi: File removed.
46844 * manual/libc.texinfo (Copying, Documentation License):
46845 Use new @include file names, put @appendix directive before @include.
46847 2011-06-04 Jakub Jelinek <jakub@redhat.com>
46850 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46851 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46852 (mq_open): Add __NTH.
46854 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46857 Assume Intel Core i3/i5/i7 processor if AVX is available.
46859 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46861 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46864 2011-05-31 Andreas Schwab <schwab@redhat.com>
46866 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46867 memory. Use alloca_account. Fix memory leak when retrying.
46869 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46871 * version.h (RELEASE): Bump for 2.14 release.
46872 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46874 * config.make.in (RANLIB): Remove entry.
46876 2011-05-30 Ulrich Drepper <drepper@gmail.com>
46878 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46879 (libc.pot): Work around missing support for .ksh extension in xgettext.
46882 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46883 if both request failed.
46884 (send_dg): In case of server errors clear resplen or *resplen2.
46887 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46888 when there are multiple maps.
46889 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46890 (_dl_fini): Remove test here.
46892 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46894 2011-05-29 Ulrich Drepper <drepper@gmail.com>
46897 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46898 bit from old_res_options.
46899 (gaih_inet): Likewise.
46902 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46905 * resolv/res_init.c (res_setoptions): Make the code more compact.
46908 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46912 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46914 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46917 * malloc/malloc.h: Declare malloc hook variables as volatile.
46919 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46923 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46924 raise in the comment.
46925 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46926 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46927 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46929 2011-05-28 Ulrich Drepper <drepper@gmail.com>
46932 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46933 grow the buffers more if it already has to be sufficient.
46934 (build_wcs_upper_buffer): Likewise.
46935 * posix/regexec.c (check_matching): Likewise.
46936 (clean_state_log_if_needed): Likewise.
46937 (extend_buffers): Don't enlarge buffers beyond size of the input
46939 Patches mostly by Emil Wojak <emil@wojak.eu>.
46940 * posix/bug-regex32.c: New file.
46941 * posix/Makefile (tests): Add bug-regex32.
46943 * locale/findlocale.c (_nl_find_locale): Return right away if
46944 _nl_explode_name failed.
46945 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46947 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46949 * debug/xtrace.sh: Unify messages.
46950 * malloc/memusage.sh: Likewise.
46953 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46954 time symbol from vDSO. Substitute with vsyscall if not available.
46955 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46958 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46959 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46960 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46961 Add sendmmsg and internal_sendmmsg.
46962 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46963 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46964 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46966 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46967 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46968 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46970 2011-05-27 Ulrich Drepper <drepper@gmail.com>
46973 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46974 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46976 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46980 * iconvdata/Makefile (tests): Add bug-iconv9.
46981 * iconvdata/bug-iconv9.c: New file.
46983 2011-05-27 Andreas Schwab <schwab@redhat.com>
46986 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46988 2011-05-25 Jakub Jelinek <jakub@redhat.com>
46990 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46991 (struct user_regs_struct): Change intcs field back to cs.
46993 2011-05-25 Ulrich Drepper <drepper@gmail.com>
46995 * po/ja.po: Update from translation team.
46997 2011-05-23 Ulrich Drepper <drepper@gmail.com>
47000 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47001 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47003 2011-05-20 Andreas Schwab <schwab@redhat.com>
47005 * stdlib/longlong.h: Update from GCC.
47007 2011-05-23 Andreas Schwab <schwab@redhat.com>
47009 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47011 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47012 Add parameter name.
47013 (__sysconf): Pass it down.
47015 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47018 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47020 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47021 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47022 add in in __libc_use_alloca calls. Adjust callers.
47023 (glob): Use malloc in some situations.
47025 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47026 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47029 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47031 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47032 and CLOCK_BOOTTIME_ALARM.
47035 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47038 * string/_strerror.c (__strerror_r): Print negative errors as signed
47042 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47043 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47044 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47046 * configure.in: Fix typo in redirection and correct removal of test
47047 files in two cases.
47050 * locale/setlocale.c (new_composite_name): Fix test to check for
47051 identical name of all categories.
47054 * libio/filedoalloc.c (local_isatty): New function.
47055 (_IO_file_doallocate): Use local_isatty.
47056 * stdio-common/perror.c (perror): In case a new stream is used
47057 forward the stream error.
47058 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47061 2011-05-20 Ulrich Drepper <drepper@gmail.com>
47064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47066 * include/alloca.h (extend_alloca_account): Define.
47069 * posix/regex.h: Fix comments with documentation of user-accessible
47070 fields after compilation and describe correct free'ing of pattern
47071 after re_compile_pattern.
47072 Patch by Reuben Thomas <rrt@sc3d.org>.
47074 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47076 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47077 and -mno-altivec to prevent the compiler from using Altivec and/or
47078 VSX instructions when the corresponding registers are not available.
47080 2011-05-19 Andreas Schwab <schwab@redhat.com>
47082 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47084 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47086 * libio/freopen.c (freopen): Use __dup2, not dup2.
47087 * libio/freopen64.c (freopen64): Likewise.
47089 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47092 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47093 * math/Makefile (tests): Add test-powl.
47094 (CFLAGS-test-powl.c): Define.
47095 * math/test-powl.c: New file.
47097 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47099 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47101 2011-05-17 Ulrich Drepper <drepper@gmail.com>
47104 * iconvdata/gb18030.c: Update to GB18020-2005.
47106 2011-05-16 Ulrich Drepper <drepper@gmail.com>
47108 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47109 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47110 Patch by Aharon Robbins <arnold@skeeve.com>.
47113 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47117 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47118 through underflows.
47121 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47122 point to strings before performing equality test for error_one_per_line
47126 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47129 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47130 (struct user_fpregs_struct): Avoid __uint*_t types.
47133 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47134 symbol info. Use it instead of calling _dl_addr locally.
47135 (lock_and_info): New function.
47136 (tr_freehook): Call lock_and_info and pass symbol info as additional
47137 parameter to tr_where.
47138 (tr_mallochook): Likewise.
47139 (tr_reallochook): Likewise.
47140 (tr_memalignhook): Likewise.
47142 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47143 used and couldn't be at all thread-safe.
47145 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47147 * libio/freopen.c (freopen): Don't close old file descriptor
47148 before the new one is opened. Instead dup the new file descriptor
47149 to the old one after the new stream is created.
47150 * libio/freopen64.c (freopen64): Likewise.
47151 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47152 * libio/fileops.c (_IO_new_file_close_it): Handle new
47153 _IO_FLAGS2_NOCLOSE flag.
47154 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47155 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47156 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47157 _IO_FLAGS2_NOCLOSE flag.
47158 * include/unistd.h: Add hidden_proto for dup3.
47159 Define __have_dup3.
47160 * io/dup3.c: Define hidden symbol.
47161 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47164 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47165 when an incomplete long option is used.
47166 * posix/tst-getopt_long1.c: New file.
47167 * posix/Makefile (tests): Add tst-getopt_long1.
47170 * scripts/config.guess: Update from autoconf-2.68.
47171 * scripts/config.sub: Likewise.
47174 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47176 (has_cpuclock): ...this. New function.
47177 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47178 macro here based on has_cpuclock code.
47181 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47182 First byte (not low byte) is now always NUL.
47183 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47185 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47186 Use non-cancelable interfaces.
47189 * locale/iso-639.def: Add entry for Sorani.
47192 * include/stdlib.h: Move include protection to the right place.
47193 Define abort_msg_s. Declare __abort_msg with it.
47194 * stdlib/abort.c (__abort_msg): Adjust type.
47195 * assert/assert.c (__assert_fail_base): New function. Majority
47196 of code from __assert_fail. Allocate memory for __abort_msg with
47198 (__assert_fail): Now call __assert_fail_base.
47199 * assert/assert-perr.c: Remove bulk of implementation. Use
47200 __assert_fail_base.
47201 * include/assert.hL Declare __assert_fail_base.
47202 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47204 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47206 2011-05-14 Ulrich Drepper <drepper@gmail.com>
47210 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47211 until all modules are registered in the DTV.
47212 * elf/Makefile: Add rules to build and run tst-tls19.
47213 * elf/tst-tls19.c: New file.
47214 * elf/tst-tls19mod1.c: New file.
47215 * elf/tst-tls19mod2.c: New file.
47216 * elf/tst-tls19mod3.c: New file.
47217 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47220 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47224 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47225 two-byte sequence errors.
47226 * iconvdata/Makefile (tests): Add bug-iconv8.
47227 * iconvdata/bug-iconv8.c: New file.
47230 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47233 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47236 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47237 (dummy_getcfa): New function.
47238 (init): Get _Unwind_GetCFA address, use dummy if not found.
47239 (backtrace_helper): In recursion check, also check whether CFA changes.
47240 (__backtrace): Completely initialize arg.
47242 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47243 storing incomplete byte sequence in state object. Avoid testing for
47244 guaranteed too small input if we know there is enough data available.
47246 2011-05-11 Andreas Schwab <schwab@redhat.com>
47248 * Makeconfig (+link-pie): Indent.
47249 * Rules (binaries-pie): Define if $(have-fpie) and
47251 (binaries-shared): Also filter out $(binaries-pie).
47252 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47253 * nscd/Makefile (others-pie): Add nscd.
47254 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47255 ($(objpfx)nscd): Remove command override.
47256 * login/Makefile (others-pie): Add pt_chown.
47257 ($(objpfx)pt_chown): Remove command override.
47258 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47259 remove command overrides.
47261 2011-05-13 Ulrich Drepper <drepper@gmail.com>
47263 * libio/tst_putwc.c: Fix error messages.
47266 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47267 currently writing and seek to current position when not.
47268 * libio/Makefile (tests): Add bug-fclose1.
47269 * libio/bug-fclose1.c: New file.
47271 2011-05-12 Ulrich Drepper <drepper@gmail.com>
47274 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47275 don't set DF_1_NODELETE here.
47276 (do_lookup_x): When entering new entry test for copy relocation
47277 and if necessary set DF_1_NODELETE flag.
47278 * elf/tst-unique4.cc: New file.
47279 * elf/tst-unique4.h: New file.
47280 * elf/tst-unique4lib.cc: New file.
47281 * elf/Makefile: Add rules to build and run tst-unique4.
47282 Patch by Piotr Bury <pbury@goahead.com>.
47284 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47287 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47290 * misc/mntent_r.c (addmntent): Flush the stream after the output
47293 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47294 (is_trusted_path_normalize): Skip initial colon. Append slash
47295 to empty buffer. Duplicate is_trusted_path code but allow
47296 constructed patch to be prefix.
47297 (is_dst): Allow $ORIGIN followed by /.
47298 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47299 Correct testing of result of is_trusted_path_normalize
47300 (decompose_rpath): Fix warning.
47302 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47305 * grp/initgroups.c (internal_getgrouplist): When we found the service
47306 list through the initgroups entry in nsswitch.conf do not always
47307 continue on a successful lookup. Don't always use the
47308 __nss_group_database value if it is set.
47309 * nss/nsswitch.conf (initgroups): Change action for successful db
47310 lookup to continue for compatibility.
47312 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47315 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47317 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47319 * iconvdata/tst-tables.sh: Likewise.
47320 * iconvdata/cp770.c: New file.
47321 * iconvdata/cp771.c: New file.
47322 * iconvdata/cp772.c: New file.
47323 * iconvdata/cp773.c: New file.
47324 * iconvdata/cp774.c: New file.
47325 * iconvdata/testdata/CP770: New file.
47326 * iconvdata/testdata/CP770..UTF8: New file.
47327 * iconvdata/testdata/CP771: New file.
47328 * iconvdata/testdata/CP771..UTF8: New file.
47329 * iconvdata/testdata/CP772: New file.
47330 * iconvdata/testdata/CP772..UTF8: New file.
47331 * iconvdata/testdata/CP773: New file.
47332 * iconvdata/testdata/CP773..UTF8: New file.
47333 * iconvdata/testdata/CP774: New file.
47334 * iconvdata/testdata/CP774..UTF8: New file.
47336 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47338 * iconvdata/gen-8bit-gap.sh: Likewise.
47339 * iconvdata/gen-8bit.sh: Likewise.
47341 * locale/iso-639.def: Add ary entry.
47344 * locale/C-translit.h.in: Add U20A1 transliteration.
47347 * locale/iso-639.def: Add wae entry.
47348 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47351 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47355 * locale/C-translit.h.in: Add entry for U20B9.
47356 Patch by pravin.d.s@gmail.com.
47358 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47361 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47362 ENAMETOOLONG use generic getcwd.
47363 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47364 in rtld. Use *stat64.
47365 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47366 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47367 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47368 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47369 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47370 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47371 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47372 __fstatat64 macros.
47373 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47374 * dirent/rewinddir.c: Add libc_hidden_def.
47375 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47376 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47378 * include/dirent.h (__alloc_dir): Add flags parameter.
47379 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47380 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47382 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47383 from fdopendir if O_CLOEXEC is already set.
47385 2011-03-15 Alan Modra <amodra@gmail.com>
47387 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47388 l_tls_firstbyte_offset non-zero. Save padding offset in
47389 l_tls_firstbyte_offset for later use.
47390 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47391 freeing static tls block.
47393 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47395 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47396 where #ifdef was intended. The intent is to prevent ARG_MAX from
47397 being defined by the kernel headers.
47399 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47402 * resolv/resolv.h: Define RES_NOTLDQUERY.
47403 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47404 no-tld-query and set RES_NOTLDQUERY.
47405 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47406 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47407 modern BIND to search name as TLD unless forbidden.
47409 2011-05-07 Petr Baudis <pasky@suse.cz>
47410 Ulrich Drepper <drepper@gmail.com>
47413 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47414 (is_trusted_path): ...to here.
47415 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47416 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47417 using is_trusted_path_normalize() in setuid scripts.
47419 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47421 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47422 __BEGIN/__END_DECLS.
47424 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47426 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47427 NSS_STATUS_NOTFOUND if no record was found.
47429 2011-05-05 Andreas Schwab <schwab@redhat.com>
47431 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47432 (headers-not-in-tirpc): Remove rpc/netdb.h
47433 * resolv/netdb.h: Revert last change.
47435 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47437 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47438 circular dependency between libgcc.a and libc.a.
47440 2011-05-05 Andreas Schwab <schwab@redhat.com>
47442 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47443 * nis/Makefile: Don't install rpcsvc/*.
47444 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47445 instead of <rpc/types.h>.
47446 (MAXHOSTNAMELEN): Define.
47448 2011-05-03 Andreas Schwab <schwab@redhat.com>
47450 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47452 2011-04-28 Maciej Babinski <mbabinski@google.com>
47455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47456 gethostbyname4_r when IPv6 results are possible.
47458 2011-05-02 Ulrich Drepper <drepper@gmail.com>
47461 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47462 _PC_PIPE_BUF handling.
47464 2011-04-30 Bruno Haible <bruno@clisp.org>
47467 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47468 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47470 * inet/getnameinfo.c (getnameinfo): Likewise.
47472 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47474 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47475 to groups setting in database lookup.
47476 * nss/nsswitch.conf: Add initgroups entry.
47478 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47481 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47483 Patch by Eric Blake <eblake@redhat.com>.
47485 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47487 * sunrpc/Makefile (need-export-routines): Add svc_run.
47488 (routines): Remove svc_run.
47489 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47490 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47491 * sunrpc/svc_run.c (svc_run): Likewise.
47492 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47494 2011-04-21 Ulrich Drepper <drepper@gmail.com>
47496 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47497 problem in reallocation in last patch.
47499 2011-04-20 Ulrich Drepper <drepper@gmail.com>
47501 * sunrpc/Makefile: Move inclusion of Rules.
47503 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47505 * nss/nss_files/files-initgroups.c: New file.
47506 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47507 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47508 _nss_files_initgroups_dyn.
47510 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47512 * elf/elf.h (R_ARM_IRELATIVE): Define.
47514 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47516 * po/ru.po: Update from translation team.
47518 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47520 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47523 2011-02-06 Mike Frysinger <vapier@gentoo.org>
47526 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47527 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47528 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47529 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47530 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47532 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47534 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47536 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47537 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47538 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47540 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47543 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47545 * stdlib/bug-getcontext.c: New file.
47546 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47548 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47550 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47551 instructions into .machine "z9-109".
47552 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47553 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47555 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47557 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47558 between environment variables and auxiliary vector.
47560 2011-04-16 Ulrich Drepper <drepper@gmail.com>
47562 * Makefile: Add rules to build linkobj/libc.so.
47563 * include/libc-symbols.h: Define libc_hidden_nolink.
47564 * include/rpc/auth.h: Mark functions which are to be hidden.
47565 * include/rpc/auth_des.h: Likewise.
47566 * include/rpc/auth_unix.h: Likewise.
47567 * include/rpc/clnt.h: Likewise.
47568 * include/rpc/des_crypt.h: Likewise.
47569 * include/rpc/key_prot.h: Likewise.
47570 * include/rpc/pmap_clnt.h: Likewise.
47571 * include/rpc/pmap_prot.h: Likewise.
47572 * include/rpc/pmap_rmt.h: Likewise.
47573 * include/rpc/rpc_msg.h: Likewise.
47574 * include/rpc/svc.h: Likewise.
47575 * include/rpc/svc_auth.h: Likewise.
47576 * include/rpc/xdr.h: Likewise.
47577 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47578 * nss/Makefile: Likewise.
47579 * sunrpc/Makefile: Don't install headers. Build library with normal
47580 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47581 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47582 for the compat linking library. Remove use of INTDEF/INTUSE.
47583 * sunrpc/auth_none.c: Likewise.
47584 * sunrpc/auth_unix.c: Likewise.
47585 * sunrpc/authdes_prot.c: Likewise.
47586 * sunrpc/authuxprot.c: Likewise.
47587 * sunrpc/clnt_gen.c: Likewise.
47588 * sunrpc/clnt_perr.c: Likewise.
47589 * sunrpc/clnt_raw.c: Likewise.
47590 * sunrpc/clnt_simp.c: Likewise.
47591 * sunrpc/clnt_tcp.c: Likewise.
47592 * sunrpc/clnt_udp.c: Likewise.
47593 * sunrpc/clnt_unix.c: Likewise.
47594 * sunrpc/des_crypt.c: Likewise.
47595 * sunrpc/des_soft.c: Likewise.
47596 * sunrpc/get_myaddr.c: Likewise.
47597 * sunrpc/key_call.c: Likewise.
47598 * sunrpc/key_prot.c: Likewise.
47599 * sunrpc/netname.c: Likewise.
47600 * sunrpc/pm_getmaps.c: Likewise.
47601 * sunrpc/pm_getport.c: Likewise.
47602 * sunrpc/pmap_clnt.c: Likewise.
47603 * sunrpc/pmap_prot.c: Likewise.
47604 * sunrpc/pmap_prot2.c: Likewise.
47605 * sunrpc/pmap_rmt.c: Likewise.
47606 * sunrpc/publickey.c: Likewise.
47607 * sunrpc/rpc_cmsg.c: Likewise.
47608 * sunrpc/rpc_common.c: Likewise.
47609 * sunrpc/rpc_dtable.c: Likewise.
47610 * sunrpc/rpc_prot.c: Likewise.
47611 * sunrpc/rpc_thread.c: Likewise.
47612 * sunrpc/rtime.c: Likewise.
47613 * sunrpc/svc.c: Likewise.
47614 * sunrpc/svc_auth.c: Likewise.
47615 * sunrpc/svc_authux.c: Likewise.
47616 * sunrpc/svc_raw.c: Likewise.
47617 * sunrpc/svc_run.c: Likewise.
47618 * sunrpc/svc_simple.c: Likewise.
47619 * sunrpc/svc_tcp.c: Likewise.
47620 * sunrpc/svc_udp.c: Likewise.
47621 * sunrpc/svc_unix.c: Likewise.
47622 * sunrpc/svcauth_des.c: Likewise.
47623 * sunrpc/xcrypt.c: Likewise.
47624 * sunrpc/xdr.c: Likewise.
47625 * sunrpc/xdr_array.c: Likewise.
47626 * sunrpc/xdr_float.c: Likewise.
47627 * sunrpc/xdr_intXX_t.c: Likewise.
47628 * sunrpc/xdr_mem.c: Likewise.
47629 * sunrpc/xdr_rec.c: Likewise.
47630 * sunrpc/xdr_ref.c: Likewise.
47631 * sunrpc/xdr_sizeof.c: Likewise.
47632 * sunrpc/xdr_stdio.c: Likewise.
47634 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47637 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47638 * sysdeps/ia64/dl-tls.h: Likewise.
47639 * sysdeps/powerpc/dl-tls.h: Likewise.
47640 * sysdeps/s390/dl-tls.h: Likewise.
47641 * sysdeps/sh/dl-tls.h: Likewise.
47642 * sysdeps/sparc/dl-tls.h: Likewise.
47643 * sysdeps/x86_64/dl-tls.h: Likewise.
47644 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47646 2011-03-14 Andreas Schwab <schwab@redhat.com>
47648 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47649 rpath element also skip the following colon.
47650 (expand_dynamic_string_token): Add is_path parameter and pass
47651 down to DL_DST_REQUIRED and _dl_dst_substitute.
47652 (decompose_rpath): Call expand_dynamic_string_token with
47653 non-zero is_path. Ignore empty rpaths.
47654 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47657 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47662 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47665 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47666 Patch by Filipe David Manana <fdmanana@apache.org>.
47668 2011-04-07 Andreas Schwab <schwab@redhat.com>
47670 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47671 Maintain aligned stack.
47672 (CHECK_RSP): Remove unused macro.
47674 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47676 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47677 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47679 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47681 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47683 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47685 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47688 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47689 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47690 * sysdeps/x86_64/memmove.c: New file.
47691 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47692 (memcpy): Renamed to ...
47693 (__new_memcpy): This.
47694 (memcpy): Provide GLIBC_2_14 memcpy.
47695 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47696 (memcpy): Provide GLIBC_2_2_5 memcpy.
47698 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47701 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47703 2011-03-30 Andreas Schwab <schwab@redhat.com>
47705 * misc/syncfs.c: New file.
47706 * misc/Makefile (routines): Add syncfs.
47707 * posix/unistd.h: Declare syncfs.
47708 * sysdeps/unix/syscalls.list: Add syncfs.
47710 2011-04-01 Andreas Schwab <schwab@redhat.com>
47712 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47714 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47715 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47716 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47717 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47718 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47719 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47720 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47722 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47724 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47725 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47726 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47727 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47728 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47729 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47730 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47732 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47733 sync_file_range.c with -fexceptions.
47734 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47735 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47736 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47737 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47738 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47739 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47740 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47741 sync_file_range as cancellation point
47742 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47743 now a wrapper around __call_sync_file_range with cancellation handling.
47744 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47745 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47746 function name to __call_sync_file_range.
47747 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47748 Add call_sync_file_range.
47750 2011-04-01 Andreas Schwab <schwab@redhat.com>
47752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47755 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47757 * iconv/iconv.h: Fix typo in comment.
47758 * io/fcntl.h: Likewise.
47759 * libio/stdio.h: Likewise.
47760 * posix/spawn.h: Likewise.
47761 * posix/unistd.h: Likewise.
47762 * stdlib/stdlib.h: Likewise.
47763 * time/time.h: Likewise.
47764 * wcsmbs/wchar.h: Likewise.
47766 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47767 open_by_handle): Add.
47768 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47769 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47770 Augment a few comments.
47771 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47772 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47773 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47774 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47775 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47776 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47779 * io/fcntl.h (AT_EMPTY_PATH): Define.
47781 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47783 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47784 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47785 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47787 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47788 * Versions.def: Add GLIBC_2.14.
47789 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47792 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47794 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47796 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47798 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47801 * string/test-strncmp.c (do_page_test): New function.
47802 (check2): Likewise.
47803 (test_main): Call check2.
47804 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47806 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47809 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47810 Handle cache information in CPU leaf 4.
47811 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47813 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47816 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47817 character representation.
47818 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47820 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47822 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47823 END(__isnan) to END(__isnanf) to match function entry point/label
47824 EALIGN(__isnanf,...).
47826 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47828 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47830 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47833 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47834 copy from the symbol referenced in the relocation to initialize the
47836 Patch by Piotr Bury <pbury@goahead.com>.
47837 * elf/Makefile: Add rules to build and tst-unique3.
47838 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47839 * elf/tst-unique3.cc: New file.
47840 * elf/tst-unique3.h: New file.
47841 * elf/tst-unique3lib.cc: New file.
47842 * elf/tst-unique3lib2.cc: New file.
47844 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47846 2011-03-10 Mike Frysinger <vapier@gentoo.org>
47848 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47849 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47852 2011-03-06 Ulrich Drepper <drepper@gmail.com>
47854 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47855 to-be-loaded object along a path to loader is ld.so.
47857 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47858 Ulrich Drepper <drepper@gmail.com>
47860 * sysdeps/x86_64/memset.S: After aligning destination, code
47861 branches to different locations depending on the value of
47862 misalignment, when multiarch is enabled. Fix this.
47864 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47866 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47867 Set _x86_64_preferred_memory_instruction for AMD processsors.
47868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47869 Set bit_Prefer_SSE_for_memop for AMD processors.
47871 2011-03-04 Ulrich Drepper <drepper@gmail.com>
47873 * libio/fmemopen.c (fmemopen): Optimize a bit.
47875 2011-03-03 Andreas Schwab <schwab@redhat.com>
47877 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47879 2011-03-03 Roland McGrath <roland@redhat.com>
47881 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47883 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47885 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47886 __bzero_ultra1 instead of __memset_ultra1.
47888 2011-02-23 Andreas Schwab <schwab@redhat.com>
47889 Ulrich Drepper <drepper@gmail.com>
47892 * include/link.h (struct link_map): Add l_orig_initfini.
47893 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47894 returning unsuccessfully.
47895 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47896 close of a file loaded at startup, restore the original l_initfini
47898 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47899 list, store the pointer.
47900 * elf/Makefile ($(objpfx)noload-mem): New rule.
47901 (noload-ENV): Define.
47902 (tests): Add $(objpfx)noload-mem.
47903 * elf/noload.c: Include <memcheck.h>.
47904 (main): Call mtrace. Close all opened handles.
47906 2011-02-17 Andreas Schwab <schwab@redhat.com>
47909 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47910 dependencies are missing.
47912 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47914 Fix __if_freereq crash: Unlike the generic version which uses free,
47916 * sysdeps/mach/hurd/ifreq.h: New file.
47918 2011-01-27 Petr Baudis <pasky@suse.cz>
47919 Ulrich Drepper <drepper@gmail.com>
47922 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47923 to extend_alloca().
47924 * stdio-common/bug23.c: New file.
47925 * stdio-common/Makefile (tests): Add bug23.
47927 2010-09-28 Andreas Schwab <schwab@redhat.com>
47928 Ulrich Drepper <drepper@gmail.com>
47931 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47932 before performing relro protection. At old place add assertion
47933 to make sure nothing changed.
47935 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47936 Glauber de Oliveira Costa <glommer@gmail.com>
47938 * elf/elf.h: Add new ARM TLS relocs.
47940 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47943 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47945 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47947 * sysdeps/wordsize-64/tst-writev.c: New file.
47949 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47951 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47952 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47953 insns in _dl_start to prevent a TOC reference before relocs are
47956 2011-02-15 Ulrich Drepper <drepper@gmail.com>
47959 * Makeconfig: Remove RANLIB definition.
47960 * Makerules: Don't use RANLIB.
47961 * aclocal.m4: Remove ranlib test.
47962 * configure.in: No need to check for ranlib.
47963 * elf/rtld-Rules: Don't use RANLIB.
47965 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47967 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47969 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47970 inclusion protection macro.
47972 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47973 SIGRTMIN and SIGRTMAX and print information in that case only when
47974 SIGRTMIN is defined.
47976 2011-02-11 Jakub Jelinek <jakub@redhat.com>
47978 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47979 arginfo fn returning -1.
47981 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47982 and thousands string is zero terminated.
47984 2011-02-03 Andreas Schwab <schwab@redhat.com>
47986 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47987 sysdeps/unix/sysv/linux/bits/socket.h.
47989 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47991 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47992 (__CPU_COUNT): Remove old macros.
47993 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47994 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47995 (__CPU_ALLOC, __CPU_FREE): Add macros.
47996 (__sched_cpualloc, __sched_cpufree): Add declarations.
47998 2011-02-05 Ulrich Drepper <drepper@gmail.com>
48000 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48001 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48002 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48003 (readdhstai): Return value of addhstaiX call.
48004 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48005 (addgrbyX): Return value returned by cache_addgr.
48006 (readdgrbyname): Return value returned by addgrbyX.
48007 (readdgrbygid): Likewise.
48008 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48009 (addpwbyX): Return value returned by cache_addpw.
48010 (readdpwbyname): Return value returned by addhstbyX.
48011 (readdpwbyuid): Likewise.
48012 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48013 (addservbyX): Return value returned by cache_addserv.
48014 (readdservbyname): Return value returned by addservbyX:
48015 (readdservbyport): Likewise.
48016 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48017 (addhstbyX): Return value returned by cache_addhst.
48018 (readdhstbyname): Return value returned by addhstbyX.
48019 (readdhstbyaddr): Likewise.
48020 (readdhstbynamev6): Likewise.
48021 (readdhstbyaddrv6): Likewise.
48022 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48023 (readdinitgroups): Return value returned by addinitgroupsX.
48024 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48025 (prune_cache): Keep track of timeout value of re-added entries.
48026 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48027 * nscd/nscd.h: Adjust prototypes of readd* functions.
48029 2011-02-04 Roland McGrath <roland@redhat.com>
48031 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48032 (nis_stats): Likewise.
48033 * nis/nis_modify.c (nis_modify): Likewise.
48034 * nis/nis_remove.c (nis_remove): Likewise.
48035 * nis/nis_add.c (nis_add): Likewise.
48037 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48039 * posix/fnmatch_loop.c: Add some consts.
48041 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48043 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48046 * config.make.in (config-cflags-novzeroupper): Define.
48047 * configure.in: Substitute libc_cv_cc_novzeroupper.
48048 * elf/Makefile (AVX-CFLAGS): Define.
48049 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48050 (CFLAGS-tst-auditmod4a.c): Likewise.
48051 (CFLAGS-tst-auditmod4b.c): Likewise.
48052 (CFLAGS-tst-auditmod6b.c): Likewise.
48053 (CFLAGS-tst-auditmod6c.c): Likewise.
48054 (CFLAGS-tst-auditmod7b.c): Likewise.
48055 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48057 2011-02-02 Ulrich Drepper <drepper@gmail.com>
48059 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48060 function to the callback.
48061 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48063 2011-02-02 Andreas Schwab <schwab@redhat.com>
48065 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48068 2011-01-19 Ulrich Drepper <drepper@gmail.com>
48071 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48073 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48075 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48078 * elf/Makefile: Add rules to build and run new test.
48079 * elf/tst-initorder.c: New file.
48080 * elf/tst-initorder.exp: New file.
48081 * elf/tst-initordera1.c: New file.
48082 * elf/tst-initordera2.c: New file.
48083 * elf/tst-initordera3.c: New file.
48084 * elf/tst-initordera4.c: New file.
48085 * elf/tst-initorderb1.c: New file.
48086 * elf/tst-initorderb2.c: New file.
48087 * elf/tst-order-a1.c: New file.
48088 * elf/tst-order-a2.c: New file.
48089 * elf/tst-order-a3.c: New file.
48090 * elf/tst-order-a4.c: New file.
48091 * elf/tst-order-b1.c: New file.
48092 * elf/tst-order-b2.c: New file.
48093 * elf/tst-order-main.c: New file.
48094 New test case by George Gensure <werkt0@gmail.com>.
48096 2010-10-01 Andreas Schwab <schwab@redhat.com>
48098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48099 decoding ACE if AI_CANONIDN.
48101 2011-01-18 Ulrich Drepper <drepper@gmail.com>
48103 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48105 2011-01-17 Ulrich Drepper <drepper@gmail.com>
48107 * version.h (RELEASE): Bump for 2.13 release.
48108 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48110 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48112 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48114 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48115 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48116 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48117 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48118 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48119 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48121 * posix/getconf.c: Update copyright year.
48122 * catgets/gencat.c: Likewise.
48123 * csu/version.c: Likewise.
48124 * debug/catchsegv.sh: Likewise.
48125 * debug/xtrace.sh: Likewise.
48126 * elf/ldconfig.c: Likewise.
48127 * elf/ldd.bash.in: Likewise.
48128 * elf/sprof.c (print_version): Likewise.
48129 * iconv/iconv_prog.c: Likewise.
48130 * iconv/iconvconfig.c: Likewise.
48131 * locale/programs/locale.c: Likewise.
48132 * locale/programs/localedef.c: Likewise.
48133 * malloc/memusage.sh: Likewise.
48134 * malloc/mtrace.pl: Likewise.
48135 * nscd/nscd.c (print_version): Likewise.
48136 * nss/getent.c: Likewise.
48138 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48139 PF_CAIF, and PF_ALG.
48140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48142 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48144 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48145 (modules-names): Use them.
48146 (ifunc-test-modules, ifunc-pie-tests): Define.
48147 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48148 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48149 (test-extras): Likewise.
48150 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48151 $(compile-command.c).
48152 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48153 (all-built-dso): Define.
48154 (check-textrel.out, check-execstack.out): Depend on it.
48156 * configure.in: Don't override --enable-multi-arch.
48158 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48161 * nscd/hstcache.c (tryagain): Define.
48162 (cache_addhst): Return tryagain not notfound for temporary errors.
48163 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48166 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48169 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48170 to make the syscall.
48171 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48174 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48175 and fall back to matching as normal character if the string ends before
48176 the matching ']' is found. This is what POSIX requires.
48177 * posix/testfnm.c: Adjust test result.
48178 * posix/globtest.sh: Adjust test result. Add new test.
48179 * posix/tst-fnmatch.input: Likewise.
48180 * posix/tst-fnmatch2.c: Add new test.
48182 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48184 * elf/Makefile (check-execstack): Revert last change. Depend on
48186 (check-execstack.h): New target.
48187 (generated): Add check-execstack.h.
48188 * elf/check-execstack.c: Include "check-execstack.h".
48189 (main): Revert last change.
48190 (handle_file): Return zero if GNU_STACK is absent and
48191 DEFAULT_STACK_PERMS doesn't include PF_X.
48193 2011-01-13 Ulrich Drepper <drepper@gmail.com>
48195 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48196 in child fails because the descriptor is already closed.
48197 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48198 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48199 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48202 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48206 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48207 temporary buffer used to handle multi lookups locally.
48208 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48210 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48212 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48215 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48217 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48218 alignment for SSE2.
48220 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48223 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48224 characters. When rounding increased number of integer digits recompute
48226 * stdio-common/tst-grouping.c: New file.
48227 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48229 2011-01-09 Ulrich Drepper <drepper@gmail.com>
48231 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48232 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48234 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48236 * bits/select.h: Likewise.
48238 2011-01-08 Ulrich Drepper <drepper@gmail.com>
48240 * po/ja.po: Update from translation team.
48242 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
48245 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48246 implementation just like for lxstat, fxstatat, et al.
48248 2010-12-27 Jim Meyering <meyering@redhat.com>
48251 * posix/regexec.c (build_trtable): Return failure indication upon
48252 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48254 2010-12-25 Ulrich Drepper <drepper@gmail.com>
48257 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48258 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48259 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48260 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48263 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48266 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48267 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48269 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48271 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48272 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48273 script has SORT_BY_INIT_PRIORITY.
48274 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48275 NO_CTORS_DTORS_SECTIONS is defined.
48276 * elf/soinit.c: Likewise.
48277 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48278 NO_CTORS_DTORS_SECTIONS is defined.
48279 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48280 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48281 * sysdeps/sh/init-first.c: Likewise.
48282 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48284 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48286 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48287 always use the slow path.
48289 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48291 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48292 similar rule which adds the sysdep directories to the header search in
48293 order to pick up the correct platform stackinfo.h.
48294 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48295 perform test if it is, otherwise return successfully without testing.
48296 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48297 DEFAULT_STACK_PERMS define in stackinfo.h.
48298 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48299 defined in stackinfo.h.
48300 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48301 DEFAULT_STACK_PERMS defined in stackinfo.h.
48302 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48303 * sysdeps/ia64/stackinfo.h: Likewise.
48304 * sysdeps/s390/stackinfo.h: Likewise.
48305 * sysdeps/sh/stackinfo.h: Likewise.
48306 * sysdeps/sparc/stackinfo.h: Likewise.
48307 * sysdeps/x86_64/stackinfo.h: Likewise.
48308 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48309 PF_X for powerpc64. Retain PF_X for powerpc32.
48311 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48313 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48315 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48316 GETDENTS_64BIT_ALIGNED.
48318 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48320 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48322 2010-12-10 Andreas Schwab <schwab@redhat.com>
48324 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48327 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48328 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48330 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48331 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48333 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48336 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48339 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48341 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48343 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48345 * po/it.po: Update from translation team.
48347 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48349 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48352 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48354 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48356 2010-11-24 Andreas Schwab <schwab@redhat.com>
48358 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48360 (gaih_getanswer_slice): Likewise.
48362 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48364 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48366 2010-05-31 Petr Baudis <pasky@suse.cz>
48369 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48370 silently even in the chroot mode.
48372 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48374 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48375 last patch a bit. Pretty printing
48377 2010-05-31 Petr Baudis <pasky@suse.cz>
48380 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48381 initialization of skip_initgroups_dyn.
48383 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48385 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48386 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48388 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48390 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48392 2010-11-11 Andreas Schwab <schwab@redhat.com>
48394 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48395 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48396 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48397 ($(objpfx)tst-fnmatch-mem): New rule.
48398 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48399 * posix/tst-fnmatch.c (main): Call mtrace.
48401 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48404 Support Intel processor model 6 and model 0x2c.
48406 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48408 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48411 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48414 * string/test-strncasecmp.c (check_result): New function.
48415 (do_one_test): Use it.
48416 (check1): New function.
48417 (test_main): Use it.
48418 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48419 Support strcasecmp and strncasecmp.
48421 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48424 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48425 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48427 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48429 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48433 * sysdeps/x86_64/multiarch/bzero.S: New file.
48434 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48435 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48436 * sysdeps/x86_64/multiarch/memset.S: New file.
48437 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48439 Set bit_Prefer_SSE_for_memop for Intel processors.
48440 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48442 (index_Prefer_SSE_for_memop): Define.
48443 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48445 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
48447 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48448 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48450 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48453 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48454 (__x86_64_raw_data_cache_size_half): Likewise.
48455 (__x86_64_raw_shared_cache_size): Likewise.
48456 (__x86_64_raw_shared_cache_size_half): Likewise.
48458 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48459 (__x86_64_raw_data_cache_size_half): Likewise.
48460 (__x86_64_raw_shared_cache_size): Likewise.
48461 (__x86_64_raw_shared_cache_size_half): Likewise.
48462 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48463 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48464 and __x86_64_raw_shared_cache_size_half. Round
48465 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48466 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48467 to multiple of 256 bytes.
48469 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48472 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48473 of inacessible symlinks. Verify result of symlink before returning it.
48474 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48475 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48477 2010-10-28 Erich Ritz <erichritz@gmail.com>
48479 * math/math.h (isinf): Fix typo in comment.
48481 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48483 * po/da.po: Update from translation team.
48485 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48487 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48488 is added to the list.
48490 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48491 Ulrich Drepper <drepper@gmail.com>
48493 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48494 the global list here. Move code to...
48495 (_dl_add_to_namespace_list): ...here. New function.
48496 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48497 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48498 * elf/dl-load.c (lose): Don't remove the element from the list.
48499 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48500 (_dl_map_object): Likewise.
48502 2010-10-25 Ulrich Drepper <drepper@gmail.com>
48505 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48506 into all bytes of SSE register.
48507 Patch by Richard Li <richardpku@gmail.com>.
48509 2010-10-24 Ulrich Drepper <drepper@gmail.com>
48512 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48515 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48517 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48518 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48519 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48520 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48525 2010-10-22 Andreas Schwab <schwab@redhat.com>
48527 * include/dlfcn.h (__RTLD_SECURE): Define.
48528 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48529 mode & __RTLD_SECURE instead.
48530 (open_path): Rename preloaded parameter to secure.
48531 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48532 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48533 * elf/dl-deps.c (openaux): Likewise.
48534 * elf/rtld.c (struct map_args): Remove is_preloaded.
48535 (map_doit): Don't use it.
48536 (dl_main): Likewise.
48537 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48538 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48540 2010-09-09 Andreas Schwab <schwab@redhat.com>
48542 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48543 (sysd-rules-targets): Remove duplicates.
48544 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48545 rtld-%.$o dependency.
48547 2010-10-18 Andreas Schwab <schwab@redhat.com>
48549 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48550 _dl_map_object do it.
48552 2010-10-19 Ulrich Drepper <drepper@gmail.com>
48554 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48555 fast fma builtins, define the macros in the C99 standard.
48556 (FP_FAST_FMAF): Likewise.
48557 (FP_FAST_FMAL): Likewise.
48558 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48560 * bits/mathdef.h: Update copyright year.
48561 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48563 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48565 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48566 builtins, define the macros in the C99 standard.
48567 (FP_FAST_FMAF): Likewise.
48568 (FP_FAST_FMAL): Likewise.
48569 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48571 (FP_FAST_FMAF): Likewise.
48573 2010-10-15 Jakub Jelinek <jakub@redhat.com>
48576 * math/libm-test.inc (fma_test): Some new testcases.
48577 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48578 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48579 y and infinite z. Do multiplication by C already in long double.
48580 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48581 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48582 y and infinite z. Do bitwise or of inexact bit into u.d.
48583 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48584 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48585 * sysdeps/i386/fpu/s_fma.S: Removed.
48586 * sysdeps/i386/fpu/s_fmal.S: Removed.
48588 2010-10-16 Jakub Jelinek <jakub@redhat.com>
48591 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48592 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48593 computation is not scheduled after fetestexcept. Fix value
48594 of minimum denormal long double.
48596 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48599 * math/libm-test.inc (fma_test): Add some more tests.
48600 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48603 2010-10-15 Andreas Schwab <schwab@redhat.com>
48605 * scripts/data/localplt-s390-linux-gnu.data: New file.
48606 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48608 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48611 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48612 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48614 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48616 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48617 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48618 if one of x and y is very large and the other is subnormal.
48619 * sysdeps/s390/fpu/s_fmaf.c: New file.
48620 * sysdeps/s390/fpu/s_fma.c: New file.
48621 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48622 * sysdeps/powerpc/fpu/s_fma.S: New file.
48623 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48624 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48625 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48627 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48630 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48632 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48633 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48634 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48635 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48636 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48637 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48638 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48640 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48643 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48644 * posix/bug-regex31.input: Add test case.
48646 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48648 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48649 * posix/bug-regex31.input: New file.
48652 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48653 (parse_sub_exp): Fix last change, use postorder.
48655 * posix/bug-regex31.c: New file.
48656 * posix/Makefile: Add rules to build and run bug-regex31.
48658 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48661 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48664 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48665 to have entries in sys_siglist.
48668 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48671 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48674 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48675 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48676 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48677 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48678 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48679 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48680 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48681 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48682 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48683 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48684 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48685 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48686 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48687 * math/ftestexcept.c (fetestexcept): Likewise.
48688 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48689 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48690 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48691 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48692 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48693 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48694 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48696 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48699 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48702 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48704 * string/bug-strstr1.c: New file.
48705 * string/Makefile: Add rules to build and run bug-strstr1.
48707 2010-10-05 Eric Blake <eblake@redhat.com>
48710 * string/str-two-way.h (two_way_long_needle): Always clear memory
48711 when skipping input due to the shift table.
48713 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48716 * malloc/mcheck.c: Handle large requests.
48719 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48720 for strncmp and strncasecmp.
48721 * string/stratcliff.c: Add tests for strcmp and strncmp.
48722 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48724 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48726 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48729 2010-09-30 Andreas Jaeger <aj@suse.de>
48731 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48732 (CGROUP_SUPER_MAGIC): Define.
48733 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48734 Handle btrfs and cgroup file systems.
48735 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48738 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48740 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48741 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48743 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48746 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48747 trying to locate the ELF header.
48749 2010-09-27 Andreas Schwab <schwab@redhat.com>
48752 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48753 Mask out sign-bit copies when constructing f_fsid.
48755 2010-09-24 Petr Baudis <pasky@suse.cz>
48757 * debug/stack_chk_fail_local.c: Add missing licence exception.
48758 * debug/warning-nop.c: Likewise.
48760 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48762 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48763 implementing getdents64 using getdents syscall, set d_type if
48764 __ASSUME_GETDENTS32_D_TYPE.
48766 2010-09-16 Andreas Schwab <schwab@redhat.com>
48768 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48769 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48771 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48774 * posix/unistd.h: Undo change of feature selection for ftruncate from
48777 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48779 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48782 2010-09-20 Andreas Schwab <schwab@redhat.com>
48784 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48786 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48788 2010-09-14 Andreas Schwab <schwab@redhat.com>
48790 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48791 variables after CHECK_SP call.
48792 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48794 2010-09-13 Andreas Schwab <schwab@redhat.com>
48795 Ulrich Drepper <drepper@redhat.com>
48797 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48798 re-relocationg ld.so.
48799 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48800 _dl_init_paths call.
48801 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48804 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48806 * resolv/res_init.c (__res_vinit): Count the default server we added.
48808 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48809 Ulrich Drepper <drepper@redhat.com>
48812 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48813 (____longjmp_chk): Use %ebx for saving value across system call.
48816 2010-09-06 Andreas Schwab <schwab@redhat.com>
48818 * manual/Makefile: Don't mix pattern rules with normal rules.
48820 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48822 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48824 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48825 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48826 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48827 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48828 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48831 2010-09-04 Ulrich Drepper <drepper@redhat.com>
48834 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48835 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48837 2010-09-02 Ulrich Drepper <drepper@redhat.com>
48839 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48840 * sysdeps/x86_64/addmul_1.S: Likewise.
48841 * sysdeps/x86_64/lshift.S: Likewise.
48842 * sysdeps/x86_64/mul_1.S: Likewise.
48843 * sysdeps/x86_64/rshift.S: Likewise.
48844 * sysdeps/x86_64/sub_n.S: Likewise.
48845 * sysdeps/x86_64/submul_1.S: Likewise.
48847 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48849 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48850 Define __sched_param instead of SCHED_* and sched_param when
48851 <bits/sched.h> is included with __need_schedparam defined.
48852 * bits/sched.h [__need_schedparam]
48853 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48854 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48855 (__defined_schedparam): Define to 1.
48856 (__sched_param): New structure, identical to sched_param.
48857 (__need_schedparam): Undefine.
48859 2010-08-31 Mike Frysinger <vapier@gentoo.org>
48861 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48862 (epoll_create1): Declare.
48864 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48866 2010-08-31 Andreas Schwab <schwab@redhat.com>
48869 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48870 shifting retval into place.
48872 2010-09-01 Ulrich Drepper <drepper@redhat.com>
48874 * nis/rpcsvc/nis.h: Update copyright notice.
48875 * nis/rpcsvc/nis.x: Likewise.
48876 * nis/rpcsvc/nis_callback.h: Likewise.
48877 * nis/rpcsvc/nis_callback.x: Likewise.
48878 * nis/rpcsvc/nis_object.x: Likewise.
48879 * nis/rpcsvc/nis_tags.h: Likewise.
48880 * nis/rpcsvc/yp.h: Likewise.
48881 * nis/rpcsvc/yp.x: Likewise.
48882 * nis/rpcsvc/ypupd.h: Likewise.
48883 * nis/yp_xdr.c: Likewise.
48884 * nis/ypupdate_xdr.c: Likewise.
48886 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48887 mainly the body of pmap_getport. Add parameters to specify timeouts.
48888 (pmap_getport): Use __libc_rpc_getport.
48889 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48890 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48891 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48893 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48898 2010-08-27 Roland McGrath <roland@redhat.com>
48900 * sysdeps/i386/i686/multiarch/Makefile
48901 (CFLAGS-varshift.c): New variable.
48903 2010-08-27 Ulrich Drepper <drepper@redhat.com>
48905 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48906 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48908 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48910 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48912 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48914 * sysdeps/x86_64/strlen.S: Unroll the loop.
48915 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48916 strlen-sse2 strlen-sse2-bsf.
48917 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48918 __strlen_no_bsf if bit_Slow_BSF is set.
48919 (__strlen_sse42): Removed.
48920 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48921 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48923 2010-08-25 Roland McGrath <roland@redhat.com>
48925 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48926 * sysdeps/x86_64/multiarch/varshift.c: New file.
48927 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48928 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48929 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48930 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48932 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48934 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48935 strlen-sse2 strlen-sse2-bsf.
48936 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48937 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48938 (__strlen_sse2): Removed.
48939 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48940 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48942 bit_Slow_BSF for Atom.
48943 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48944 (index_Slow_BSF): Define.
48945 (HAS_SLOW_BSF): Define.
48947 2010-08-25 Ulrich Drepper <drepper@redhat.com>
48950 * resolv/res_init.c (__res_vinit): When no server address at all
48951 is given default to loopback.
48953 2010-08-24 Roland McGrath <roland@redhat.com>
48955 * configure.in: Remove config-name.h generation.
48956 * configure: Regenerated.
48957 * config-name.in: File removed.
48958 * scripts/config-uname.sh: New file.
48959 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48960 ($(objdir)config-name.h): New target.
48962 * sunrpc/rpc_parse.h: Avoid nested comment.
48964 2010-08-24 Richard Henderson <rth@redhat.com>
48965 Ulrich Drepper <drepper@redhat.com>
48966 H.J. Lu <hongjiu.lu@intel.com>
48968 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48970 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48971 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48972 _mm_alignr_epi8 with _mm_loadu_si128.
48973 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48974 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48975 (__m128i_shift_right): Removed.
48976 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48977 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48978 * sysdeps/x86_64/multiarch/varshift.h: New file.
48979 * sysdeps/x86_64/multiarch/varshift.S: New file.
48981 2010-08-21 Mike Frysinger <vapier@gentoo.org>
48983 * configure.in: Move assembler checks to before sysdep dir checking.
48985 2010-08-20 Petr Baudis <pasky@suse.cz>
48987 * LICENSES: Sync the sunrpc license.
48989 2010-08-19 Ulrich Drepper <drepper@redhat.com>
48991 * sunrpc/auth_des.c: Update copyright notice once again.
48992 * sunrpc/auth_none.c: Likewise.
48993 * sunrpc/auth_unix.c: Likewise.
48994 * sunrpc/authdes_prot.c: Likewise.
48995 * sunrpc/authuxprot.c: Likewise.
48996 * sunrpc/bindrsvprt.c: Likewise.
48997 * sunrpc/clnt_gen.c: Likewise.
48998 * sunrpc/clnt_perr.c: Likewise.
48999 * sunrpc/clnt_raw.c: Likewise.
49000 * sunrpc/clnt_simp.c: Likewise.
49001 * sunrpc/clnt_tcp.c: Likewise.
49002 * sunrpc/clnt_udp.c: Likewise.
49003 * sunrpc/clnt_unix.c: Likewise.
49004 * sunrpc/des_crypt.c: Likewise.
49005 * sunrpc/des_soft.c: Likewise.
49006 * sunrpc/get_myaddr.c: Likewise.
49007 * sunrpc/getrpcport.c: Likewise.
49008 * sunrpc/key_call.c: Likewise.
49009 * sunrpc/key_prot.c: Likewise.
49010 * sunrpc/openchild.c: Likewise.
49011 * sunrpc/pm_getmaps.c: Likewise.
49012 * sunrpc/pm_getport.c: Likewise.
49013 * sunrpc/pmap_clnt.c: Likewise.
49014 * sunrpc/pmap_prot.c: Likewise.
49015 * sunrpc/pmap_prot2.c: Likewise.
49016 * sunrpc/pmap_rmt.c: Likewise.
49017 * sunrpc/rpc/auth.h: Likewise.
49018 * sunrpc/rpc/auth_unix.h: Likewise.
49019 * sunrpc/rpc/clnt.h: Likewise.
49020 * sunrpc/rpc/des_crypt.h: Likewise.
49021 * sunrpc/rpc/key_prot.h: Likewise.
49022 * sunrpc/rpc/netdb.h: Likewise.
49023 * sunrpc/rpc/pmap_clnt.h: Likewise.
49024 * sunrpc/rpc/pmap_prot.h: Likewise.
49025 * sunrpc/rpc/pmap_rmt.h: Likewise.
49026 * sunrpc/rpc/rpc.h: Likewise.
49027 * sunrpc/rpc/rpc_des.h: Likewise.
49028 * sunrpc/rpc/rpc_msg.h: Likewise.
49029 * sunrpc/rpc/svc.h: Likewise.
49030 * sunrpc/rpc/svc_auth.h: Likewise.
49031 * sunrpc/rpc/types.h: Likewise.
49032 * sunrpc/rpc/xdr.h: Likewise.
49033 * sunrpc/rpc_clntout.c: Likewise.
49034 * sunrpc/rpc_cmsg.c: Likewise.
49035 * sunrpc/rpc_common.c: Likewise.
49036 * sunrpc/rpc_cout.c: Likewise.
49037 * sunrpc/rpc_dtable.c: Likewise.
49038 * sunrpc/rpc_hout.c: Likewise.
49039 * sunrpc/rpc_main.c: Likewise.
49040 * sunrpc/rpc_parse.c: Likewise.
49041 * sunrpc/rpc_parse.h: Likewise.
49042 * sunrpc/rpc_prot.c: Likewise.
49043 * sunrpc/rpc_sample.c: Likewise.
49044 * sunrpc/rpc_scan.c: Likewise.
49045 * sunrpc/rpc_scan.h: Likewise.
49046 * sunrpc/rpc_svcout.c: Likewise.
49047 * sunrpc/rpc_tblout.c: Likewise.
49048 * sunrpc/rpc_util.c: Likewise.
49049 * sunrpc/rpc_util.h: Likewise.
49050 * sunrpc/rpcinfo.c: Likewise.
49051 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49052 * sunrpc/rpcsvc/key_prot.x: Likewise.
49053 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49054 * sunrpc/rpcsvc/mount.x: Likewise.
49055 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49056 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49057 * sunrpc/rpcsvc/rex.x: Likewise.
49058 * sunrpc/rpcsvc/rstat.x: Likewise.
49059 * sunrpc/rpcsvc/rusers.x: Likewise.
49060 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49061 * sunrpc/rpcsvc/spray.x: Likewise.
49062 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49063 * sunrpc/rtime.c: Likewise.
49064 * sunrpc/svc.c: Likewise.
49065 * sunrpc/svc_auth.c: Likewise.
49066 * sunrpc/svc_authux.c: Likewise.
49067 * sunrpc/svc_raw.c: Likewise.
49068 * sunrpc/svc_run.c: Likewise.
49069 * sunrpc/svc_simple.c: Likewise.
49070 * sunrpc/svc_tcp.c: Likewise.
49071 * sunrpc/svc_udp.c: Likewise.
49072 * sunrpc/svc_unix.c: Likewise.
49073 * sunrpc/svcauth_des.c: Likewise.
49074 * sunrpc/xcrypt.c: Likewise.
49075 * sunrpc/xdr.c: Likewise.
49076 * sunrpc/xdr_array.c: Likewise.
49077 * sunrpc/xdr_float.c: Likewise.
49078 * sunrpc/xdr_mem.c: Likewise.
49079 * sunrpc/xdr_rec.c: Likewise.
49080 * sunrpc/xdr_ref.c: Likewise.
49081 * sunrpc/xdr_sizeof.c: Likewise.
49082 * sunrpc/xdr_stdio.c: Likewise.
49084 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49087 2010-08-19 Andreas Schwab <schwab@redhat.com>
49089 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49091 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
49093 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49094 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49095 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49096 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49097 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49098 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49099 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49100 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49101 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49102 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49103 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49104 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49105 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49106 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49108 2010-07-26 Anton Blanchard <anton@samba.org>
49110 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49111 * malloc/arena.c (heap_trim): Likewise.
49113 2010-08-16 Ulrich Drepper <drepper@redhat.com>
49115 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49117 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49118 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49120 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49122 * sysdeps/i386/elf/Makefile: New file.
49124 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49126 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49127 from fanotify_init.
49128 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49129 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49131 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49133 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49135 * sysdeps/multiarch/strcmp.S: Likewise.
49137 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49139 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49140 strncase_l-nonascii.
49141 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49142 Add strncase_l-ssse3.
49143 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49144 * sysdeps/x86_64/strcmp.S: Likewise.
49145 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49146 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49147 * sysdeps/x86_64/strncase.S: New file.
49148 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49149 * sysdeps/x86_64/strncase_l.S: New file.
49150 * string/Makefile (strop-tests): Add strncasecmp.
49151 * string/test-strncasecmp.c: New file.
49153 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49156 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49157 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49159 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49161 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49163 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49165 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49166 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49167 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49169 2010-05-01 Alan Modra <amodra@gmail.com>
49171 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49172 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49173 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49174 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49175 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49176 tidying. Don't tail-call __sigjmp_save for static lib.
49177 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49179 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49180 (CALL_MCOUNT): Add eh info, and nop after bl.
49181 (TAIL_CALL_SYSCALL_ERROR): New macro.
49182 (PSEUDO_RET): Use it.
49183 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49184 Correct save location of integer regs and cr.
49185 (_dl_profile_resolve): Correct cr save location. Delete nops
49186 after bl when SHARED. Reduce cfi size a little by better
49187 placement of cfi directives.
49188 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49189 make a stack frame. Instead use parm save area as a temp.
49190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49191 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49193 Don't make a stack frame for parent, use parm save area.
49194 Increase child stack frame to 112 bytes. Don't save unused reg,
49195 and adjust reg usage. Set up cfi on error recovery and
49196 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49198 (__makecontext): Add dummy nop after jump to exit.
49199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49200 Use correct parm save area and cr save, reduce stack frame.
49201 Correct cfi for possible PSEUDO_RET frame setup.
49202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49203 Branch to local label emitted by PSEUDO_RET rather than
49206 2010-08-12 Andreas Schwab <schwab@redhat.com>
49209 * locale/programs/locale.c (print_assignment): New function.
49210 (show_locale_vars): Use it.
49212 2010-08-11 Ulrich Drepper <drepper@redhat.com>
49214 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49216 (struct statfs64): Likewise.
49217 (_STATFS_F_FLAGS): Define.
49218 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49219 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49220 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49221 (ST_VALID): Define locally.
49222 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49223 __statvfs_getflags, use the provided value.
49224 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49225 __ASSUME_STATFS_F_FLAGS.
49227 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49229 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49230 Add sys/fanotify.h.
49231 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49232 fanotify_mask for GLIBC_2.13.
49233 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49234 fanotify_init and fanotify_mark.
49235 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49236 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49238 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49240 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49241 prlimit64 for GLIBC_2.13.
49242 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49244 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49247 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49248 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49249 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49250 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49252 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49255 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49256 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49258 * nss/Makefile: Add rules to build and run tst-nss-test1.
49259 * shlib-versions: Add entry for libnss_test1.
49260 * nss/nss_test1.c: New file.
49261 * nss/tst-nss-test1.c: New file.
49263 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49264 (__nss_configure_lookup): Set appropriate entry in
49265 __nss_configure_lookup to true.
49266 * nss/nsswitch.h: Define enum with indeces of databases in
49267 databases and __nss_database_custom arrays. Declare
49268 __nss_database_custom.
49269 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49270 to avoid using nscd when custom rules are installed.
49271 * nss/getXXbyYY_r.c: Likewise.
49272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49274 * nss/nss_files/files-parse.c: Whitespace fixes.
49276 2010-08-09 Ulrich Drepper <drepper@redhat.com>
49279 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49280 * posix/fnmatch_loop.c: Likewise.
49282 2010-07-17 Andi Kleen <ak@linux.intel.com>
49284 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49285 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49286 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49287 * Versions.def [GLIBC_2.13]: Add.
49289 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49291 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49292 Also fail if tpwd after pwuid call is NULL.
49294 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49296 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49297 when converting to ms.
49299 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49301 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49302 EOPNOTSUPP errors with ENOTTY.
49303 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49304 EOPNOTSUPP errors with ENOTTY.
49306 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49308 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49309 Add strcasecmp_l-ssse3.
49310 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49312 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49313 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49314 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49316 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49318 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49320 * string/Makefile (strop-tests): Add strcasecmp.
49321 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49322 strcasecmp_l-nonascii.
49323 (gen-as-const-headers): Add locale-defines.sym.
49324 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49325 * sysdeps/x86_64/strcasecmp.S: New file.
49326 * sysdeps/x86_64/strcasecmp_l.S: New file.
49327 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49328 * sysdeps/x86_64/locale-defines.sym: New file.
49329 * string/test-strcasecmp.c: New file.
49331 * string/test-strcasestr.c: Test both ends of the range of characters.
49332 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49334 2010-07-29 Roland McGrath <roland@redhat.com>
49337 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49339 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49341 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49344 2010-07-27 Andreas Schwab <schwab@redhat.com>
49346 * manual/memory.texi (Malloc Tunable Parameters): Document
49349 2010-07-26 Roland McGrath <roland@redhat.com>
49352 * configure.in (-fgnu89-inline check): Set and substitute
49353 gnu89_inline, not libc_cv_gnu89_inline.
49354 * configure: Regenerated.
49355 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49357 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49359 * string/test-strnlen.c: New file.
49360 * string/Makefile (strop-tests): Add strnlen.
49361 * string/tester.c (test_strnlen): Add a few more test cases.
49362 * string/tst-strlen.c: Better error reporting.
49364 * sysdeps/x86_64/strnlen.S: New file.
49366 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49368 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49369 lower-latency instructions.
49371 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49373 * string/test-strcasestr.c: New file.
49374 * string/test-strstr.c: New file.
49375 * string/Makefile (strop-tests): Add strstr and strcasestr.
49376 * string/str-two-way.h: Don't undefine MAX.
49377 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49379 2010-07-21 Andreas Schwab <schwab@redhat.com>
49381 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49382 strcasestr-nonascii.
49383 (CFLAGS-strcasestr-nonascii.c): Define.
49384 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49385 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49386 Remove unused attribute.
49388 2010-07-20 Roland McGrath <roland@redhat.com>
49390 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49391 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49392 ld.so.cache was broken. With it, there is no way to disable dsocaps
49393 like LD_HWCAP_MASK can disable hwcaps.
49395 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49397 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49399 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49401 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49402 call in strcasestr.
49403 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49404 __strcasestr_sse42_nonascii.
49405 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49406 strcasestr-nonascii.c.
49407 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49409 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49411 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49412 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49413 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49414 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49416 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49418 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49421 2010-07-06 Andreas Schwab <schwab@redhat.com>
49424 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49427 2010-07-06 Ulrich Drepper <drepper@redhat.com>
49429 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49430 _PC_PIPE_BUF using F_GETPIPE_SZ.
49432 2010-07-05 Roland McGrath <roland@redhat.com>
49434 * manual/arith.texi (Rounding Functions): Fix rint description
49435 implicit in round description.
49437 2010-07-02 Ulrich Drepper <drepper@redhat.com>
49439 * elf/Makefile: Fix linking for a few tests to make recent linker
49442 2010-06-30 Andreas Schwab <schwab@redhat.com>
49444 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49445 $(common-objpfx)libc_nonshared.a.
49447 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
49449 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49450 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49451 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49452 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49453 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49454 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49455 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49456 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49471 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49472 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49473 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49474 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49475 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49476 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49477 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49478 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49479 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49480 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49481 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49482 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49498 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49500 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49501 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49502 * string/memmove.c (memmove): Renamed to ...
49503 (MEMMOVE): ...this. Default to memmove.
49504 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49505 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49507 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49508 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49509 mempcpy-ssse3-back memmove-ssse3-back.
49510 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49511 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49512 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49513 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49514 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49515 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49516 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49517 * sysdeps/x86_64/multiarch/memmove.c: New file.
49518 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49519 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49520 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49521 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49522 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49523 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49525 (index_Fast_Copy_Backward): Define.
49526 (HAS_ARCH_FEATURE): Define.
49527 (HAS_FAST_REP_STRING): Define.
49528 (HAS_FAST_COPY_BACKWARD): Define.
49530 2010-06-21 Andreas Schwab <schwab@redhat.com>
49532 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49533 Restore proper fallback handling.
49535 2010-06-19 Ulrich Drepper <drepper@redhat.com>
49538 * posix/group_member.c (__group_member): Correct checking loop.
49540 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49541 OOM in getpwuid_r correctly. Return error number when the caller
49542 should return, otherwise -1.
49543 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49544 call returning > 0 value.
49545 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49547 2010-06-07 Andreas Schwab <schwab@redhat.com>
49549 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49550 libc_nonshared.a from targets in modules-names.
49552 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49554 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49557 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
49559 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49560 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49561 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49562 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49564 2010-06-02 Andreas Schwab <schwab@redhat.com>
49566 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49568 2010-06-14 Ulrich Drepper <drepper@redhat.com>
49570 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49572 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49573 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49574 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49575 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49576 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49577 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49579 2010-06-14 Roland McGrath <roland@redhat.com>
49581 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49583 2010-06-07 Jakub Jelinek <jakub@redhat.com>
49585 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49586 __REDIRECT followed by __THROW.
49587 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49588 * posix/getopt.h (getopt): Likewise.
49590 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49592 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49593 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49594 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49596 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49597 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49599 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49601 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49603 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49607 Properly check family and model.
49609 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49611 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49613 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49615 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49617 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49619 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49622 2010-05-19 Andreas Schwab <schwab@redhat.com>
49624 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49627 2010-05-21 Andreas Schwab <schwab@redhat.com>
49629 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49630 and internal_recvmmsg.
49631 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49632 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49633 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49634 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49636 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49637 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49638 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49640 2010-05-20 Andreas Schwab <schwab@redhat.com>
49642 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49644 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49646 POWER7 optimizations.
49647 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49648 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49650 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49652 * version.h: Update for 2.13 development version.
49654 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49656 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49657 exceptions. Return 0.
49659 2010-05-07 Roland McGrath <roland@redhat.com>
49661 * elf/ldconfig.c (main): Add a const.
49663 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49665 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49666 (args_options): Add no-idn option.
49667 (ahosts_keys_int): Add idn_flags to ai_flags.
49668 (parse_option): Handle 'i' option to clear idn_flags.
49670 * malloc/malloc.c (_int_free): Possible race in the most recently
49671 added check. Only act on the data if no current modification
49674 See ChangeLog.17 for earlier changes.