1 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4 (HAVE_WCTYPE_H): Likewise.
5 (HAVE_ISWCTYPE): Likewise.
6 (ENABLE_NLS): Likewise.
7 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
10 * posix/regex_internal.c: Check if DEBUG is defined and is
13 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14 (HAVE_MBSRTOWCS): Likewise.
15 * posix/fnmatch.c: Include string.h unconditionally.
17 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
19 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
22 2014-07-31 Roland McGrath <roland@hack.frob.com>
24 * sysdeps/generic/safe-fatal.h: New file.
25 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
26 * nptl/forward.c: Include it.
27 (__pthread_unwind): Use __safe_fatal as default action, rather
28 than a bogus use of INTERNAL_SYSCALL that could never work.
30 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
31 * configure.ac (libc_cv_builtin_trap): New test.
32 * configure: Regenerated.
33 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
34 (ABORT_INSTRUCTION): Define using __builtin_trap.
36 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
37 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
38 * sysdeps/nptl/nptl-signals.h: New file.
39 * nptl/pthreadP.h: Include <nptl-signals.h>.
41 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
43 * sysdeps/s390/s390-64/utf16-utf32-z9.c
44 (ONE_DIRECTION): Define.
45 * sysdeps/s390/s390-64/utf8-utf16-z9.c
46 (ONE_DIRECTION): Define.
47 * sysdeps/s390/s390-64/utf8-utf32-z9.c
48 (ONE_DIRECTION): Define.
50 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
52 * sysdeps/s390/Makefile: Delete file.
53 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
54 * sysdeps/s390/__longjmp.c: Delete file.
55 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
56 Remove fields __flags and __reserved.
57 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
59 * sysdeps/s390/rtld-__longjmp.c: Delete file.
60 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
61 * sysdeps/s390/rtld-setjmp.S: Likewise.
62 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
63 * sysdeps/s390/s390-32/__longjmp.c: ... here.
64 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
65 * sysdeps/s390/s390-32/setjmp.S: ... here.
67 (__sigsetjmp): Remove setting __flags field.
68 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
69 * sysdeps/s390/s390-64/__longjmp.c: ... here.
70 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
71 * sysdeps/s390/s390-64/setjmp.S: ... here.
73 (__sigsetjmp): Remove setting __flags field.
74 * sysdeps/s390/setjmp.S: Delete file.
75 * sysdeps/s390/sigjmp.c: Likewise.
76 * sysdeps/s390/v1-longjmp.c: Likewise.
77 * sysdeps/s390/v1-setjmp.h: Likewise.
78 * sysdeps/s390/v1-sigjmp.c: Likewise.
79 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
80 Remove v1-longjmp_chk.
81 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
82 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
83 Include debug/longjmp_chk.c and add versioning.
84 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
85 Include nptl/pt-longjmp.c and add versioning.
86 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
87 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
89 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
91 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
92 (__getcontext): Remove setting __flags field.
94 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
95 Don't restore upper high grps.
96 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
98 (__swapcontext): Remove setting uc_flags field.
99 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
101 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
103 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
105 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
106 (__getcontext): Remove setting __flags field.
108 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
109 (__swapcontext): Remove setting uc_flags field.
110 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
111 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
112 Remove fields uc_high_gprs and __reserved.
113 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
114 New file with reverted content.
115 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
116 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
118 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
121 2014-07-31 Andreas Schwab <schwab@suse.de>
123 * config.h.in (HAVE_IFUNC): Define to 0.
124 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
127 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
129 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
130 memmove-avx-unaligned, memcpy-avx-unaligned and
131 mempcpy-avx-unaligned.
132 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
133 Add tests for AVX memcpy functions.
134 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
135 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
137 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
138 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
140 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
141 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
143 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
144 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
145 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
147 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
150 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
153 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
156 * manual/llio.texi: Add section about open file description locks.
157 * manual/examples/ofdlocks.c: Example of open file description
159 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
160 F_OFD_SETLK, and F_OFD_SETLKW.
162 2014-07-23 Allan McRae <allan@archlinux.org>
164 * po/es.po: Update Spanish translation from translation project.
166 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
168 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
170 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
173 * sysdeps/arm/dl-machine.h (elf_machine_rela)
174 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
175 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
177 2014-07-17 Joseph Myers <joseph@codesourcery.com>
180 * math/fesetenv.c (__fesetenv)
181 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
182 * math/feupdateenv.c (__feupdateenv)
183 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
185 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
186 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
187 (__ASSUME_SOCKETCALL): Do not define.
189 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
190 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
191 (__ASSUME_SOCKETCALL): Do not define.
192 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
193 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
194 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
195 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
196 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
197 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
198 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
199 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
201 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
202 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
203 (__ASSUME_SOCKETCALL): Do not define.
204 (__ASSUME_IPC64): Define unconditionally.
205 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
206 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
207 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
208 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
209 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
210 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
211 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
214 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
215 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
216 (__ASSUME_SOCKETCALL): Do not define.
217 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
218 (__ASSUME_FUTEX_LOCK_PI): Likewise.
219 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
220 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
221 (__ASSUME_REQUEUE_PI): Define unconditionally.
222 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
223 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
224 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
225 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
226 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
227 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
229 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
230 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
231 (__ASSUME_SOCKETCALL): Do not define.
232 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
233 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
234 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
235 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
236 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
237 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
239 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
240 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
241 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
242 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
243 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
244 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
245 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
246 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
247 (__ASSUME_GETCPU_SYSCALL): Likewise.
249 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
250 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
251 cases for individual architectures.
252 * sysdeps/gnu/configure: Regenerated.
253 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
254 LIBC_SLIBDIR_RTLDDIR.
255 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
256 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
257 LIBC_SLIBDIR_RTLDDIR.
258 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
260 LIBC_SLIBDIR_RTLDDIR.
261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
263 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
264 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
266 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
267 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
269 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
270 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
271 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
272 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
274 * sysdeps/aarch64/shlib-versions: Move to ...
275 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
276 * sysdeps/alpha/shlib-versions: Move to ...
277 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
278 * sysdeps/arm/shlib-versions: Move to ...
279 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
280 * sysdeps/hppa/shlib-versions: Move all contents except for
281 libgcc_s entry to ...
282 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
284 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
285 * sysdeps/ia64/shlib-versions: Move to ...
286 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
288 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
289 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
290 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
291 * sysdeps/microblaze/shlib-versions: Move to ...
292 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
293 * sysdeps/mips/shlib-versions: Move to ...
294 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
296 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
297 * sysdeps/tile/shlib-versions: Move to ...
298 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
299 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
301 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
302 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
304 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
306 2014-07-17 Will Newton <will.newton@linaro.org>
308 * sysdeps/arm/bits/atomic.h
309 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
310 (__arch_compare_and_exchange_bool_16_int): Likewise.
311 (__arch_compare_and_exchange_bool_64_int): Likewise.
313 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
316 2014-07-16 Roland McGrath <roland@hack.frob.com>
318 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
319 just Linux configurations. Test empirically that the compiler sets
320 __ARM_EABI__, rather than using the tuple to decide.
321 * sysdeps/arm/preconfigure: Regenerated.
322 * sysdeps/unix/sysv/linux/arm/configure: File removed.
323 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
324 contents appended ...
325 * sysdeps/arm/configure.ac: ... here.
326 * sysdeps/arm/configure: Regenerated.
328 2014-07-15 Roland McGrath <roland@hack.frob.com>
330 * nptl/pthread_kill.c: New file.
331 * nptl/pthread_sigmask.c: New file.
332 * nptl/pthread_sigqueue.c: New file.
334 * sysdeps/nptl/lowlevellock.h: New file.
335 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
336 * sysdeps/nptl/lowlevellock-futex.h: New file.
338 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
339 Remove dead declarations.
341 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
343 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
344 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
346 * sysdeps/x86_64/configure.ac: Likewise.
347 * sysdeps/i386/configure: Regenerated.
348 * sysdeps/x86_64/configure: Likewise.
349 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
350 memset-avx2 only if config-cflags-avx2 is yes.
351 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
352 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
354 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
355 only if HAVE_AVX2_SUPPORT is defined.
356 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
358 2014-07-14 Alan Modra <amodra@gmail.com>
361 * elf/elf.h (DT_PPC64_NUM): Correct value.
362 * NEWS: Add to fixed bug list.
364 2014-07-13 Jim Meyering <meyering@fb.com>
367 regex: don't deref NULL upon heap allocation failure
368 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
369 failure in one more place.
370 To trigger the segfault, configure grep -with-included-regex,
371 build it, and run these commands:
372 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
374 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
376 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
378 2014-07-11 Richard Henderson <rth@redhat.com>
380 * sysdeps/aarch64/libm-test-ulps: Update.
382 2014-07-10 Florian Weimer <fweimer@redhat.com>
385 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
386 * nptl/allocatestack.c (__nptl_setxid_error): New function.
387 (__nptl_setxid): Initialize error member. Call
389 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
390 * nptl/descr.h (struct xid_command): Add error member.
391 * nptl/tst-setuid3.c: New file.
392 * nptl/Makefile (tests): Add it.
394 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
396 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
398 (__lll_trylock): Use __lll_base_trylock.
399 (__lll_cond_trylock): Likewise.
401 2014-07-10 Roland McGrath <roland@hack.frob.com>
403 * nptl/pthread_create.c (start_thread): Use atomic_or and
404 lll_futex_wake directly rather than lll_robust_dead.
405 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
406 (lll_robust_dead): Macro removed.
407 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
408 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
409 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
410 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
411 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
412 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
413 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
414 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
415 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
416 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
417 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
418 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
419 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
420 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
421 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
423 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
424 Use atomic_compare_and_exchange_val_acq directly rather than
426 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
427 (__lll_robust_trylock, lll_robust_trylock): Removed.
428 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
429 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
430 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
431 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
432 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
433 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
434 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
435 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
436 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
437 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
438 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
439 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
440 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
441 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
443 2014-07-02 Florian Weimer <fweimer@redhat.com>
445 * manual/locale.texi (Locale Names): New section documenting
446 locale name syntax. Adjust menu and node chaining accordingly.
447 (Choosing Locale): Reference Locale Names, Locale Categories.
448 Mention setting LC_ALL=C. Reflect that name syntax is now
450 (Locale Categories): New section title. Reference Locale Names.
451 LC_ALL is an environment variable, but not a category.
452 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
453 description, now in Locale Name. Reference that section. Locale
454 name syntax is now documented.
456 2014-07-02 Florian Weimer <fweimer@redhat.com>
459 * locale/findlocale.c (name_present, valid_locale_name): New
461 (_nl_find_locale): Use the loc_name variable to store name
462 candidates. Call name_present and valid_locale_name to check and
463 validate locale names. Return an error if the locale is invalid.
465 2014-07-02 Florian Weimer <fweimer@redhat.com>
467 * locale/setlocale.c (setlocale): Use strdup for allocating
470 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
473 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
474 [!_LIBC && ENABLE_NLS]: Include gettext.h.
475 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
477 [USE_UNLOCKED_IO]: Include unlocked-io.h.
478 [!_LIBC]: Include code for Windows and Cygwin.
479 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
480 Include prototype for int strerror_r.
481 [!_LIBC] (is_open): New function.
482 (flush_stdout): New function.
483 (print_errno_message): Use it.
485 (error_at_line): Likewise.
486 (error_tail) Add function attribute macros. Use
489 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
491 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
493 * io/ftw.c: Include sys/param.h unconditionally.
495 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
498 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
500 (freecache): New function to free CACHE on exit.
502 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
505 2014-07-09 David S. Miller <davem@davemloft.net>
507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
509 * sysdeps/sparc/nptl/internaltypes.h: Delete.
510 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
511 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
512 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
513 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
514 * sysdeps/sparc/nptl/sem_init.c: Likewise.
515 * sysdeps/sparc/nptl/sem_post.c: Likewise.
516 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
517 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
518 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
519 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
520 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
521 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
523 2014-07-09 Andreas Schwab <schwab@suse.de>
525 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
527 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
530 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
532 2014-07-09 Will Newton <will.newton@linaro.org>
534 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
535 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
536 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
537 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
538 * sysdeps/hppa/start.S (_start): Likewise.
540 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
542 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
544 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
547 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
549 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
550 after checking that it is non-NULL.
552 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
554 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
556 * sysdeps/powerpc/memmove.c: Remove file.
557 * sysdeps/powerpc/powerpc32/power4/memcopy.h
558 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
559 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
560 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
561 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
562 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
563 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
564 string memmove instead of removed powerpc one.
566 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
567 [weak_alias]: Fix compiler warning due trailing data.
568 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
569 [weak_alias]: Likewise.
570 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
571 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
573 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
574 (__libc_ifunc_impl_list): Add memmove functions.
576 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
578 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
580 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
582 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
584 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
586 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
588 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
590 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
592 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
594 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
596 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
598 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
600 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
602 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
604 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
606 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
608 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
610 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
613 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
615 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
616 to avoid alignment traps in non-cacheable memory.
617 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
619 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
621 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
622 file: multiarch power7 memmove.
623 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
624 multiarch default memmove.
625 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
626 multiarch memove for powerpc32/power4.
628 * string/bcopy.c: Use full path to include memmove.c.
629 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
631 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
633 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
636 and memmove implementations.
637 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
638 optimized multiarch memmove for POWER7/powerpc64.
639 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
640 default multiarch memmove for powerpc64.
641 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
642 multiarch for powerpc64.
643 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
644 for POWER7/powerpc64.
645 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
646 memmove for POWER7/powerpc64.
648 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
651 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
652 __ELF_NATIVE_CLASS equal to 64.
654 2014-07-07 Roland McGrath <roland@hack.frob.com>
656 * sysdeps/nptl/lowlevellock.h: File removed.
658 * NEWS: NPTL is no longer an add-on!
659 * nptl/internaltypes.h: Moved ...
660 * sysdeps/nptl/internaltypes.h: ... here.
661 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
662 * sysdeps/nptl/fork.c: Likewise.
663 * sysdeps/nptl/gai_misc.h: Likewise.
664 * sysdeps/nptl/librt-cancellation.c: Likewise.
665 * sysdeps/nptl/jmp-unwind.c: Likewise.
666 * sysdeps/nptl/setxid.h: Likewise.
667 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
668 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
669 * sysdeps/unix/sysv/linux/arm/Implies: New file.
670 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
671 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
672 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
673 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
674 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
675 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
676 * sysdeps/unix/sysv/linux/mips/Implies: New file.
677 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
678 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
679 * sysdeps/unix/sysv/linux/sh/Implies: New file.
680 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
681 * sysdeps/unix/sysv/linux/tile/Implies: New file.
682 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
683 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
684 * nptl/Makeconfig: Moved ...
685 * sysdeps/nptl/Makeconfig: ... here.
686 * nptl/configure: File removed.
687 * nptl/ANNOUNCE: File removed.
688 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
689 * sysdeps/unix/sysv/linux/configure: Regenerated.
691 * nptl/Makefile (routines): Add libc_pthread_init,
692 libc_multiple_threads, register-atfork and unregister-atfork.
693 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
694 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
695 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
696 pthread-pi-defines.sym, structsem.sym.
697 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
698 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
699 [$(subdir) = nptl] (tests): Add tst-setgetname.
700 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
701 * sysdeps/unix/sysv/linux/sigaction.c: Just include
702 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
703 [!LIBC_SIGACTION]: Remove aliases.
704 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
705 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
706 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
707 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
708 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
709 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
710 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
711 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
712 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
713 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
714 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
715 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
716 __libc_allocate_rtsig_private.
717 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
718 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
719 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
720 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
721 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
722 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
723 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
724 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
725 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
726 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
727 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
728 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
729 * nptl/internaltypes.h: ... here.
730 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
731 * sysdeps/nptl/jmp-unwind.c: ... here.
732 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
733 * nptl/libc-lowlevellock.c: ... here.
734 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
735 * nptl/libc_multiple_threads.c: ... here.
736 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
737 * nptl/libc_pthread_init.c: ... here.
738 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
739 * nptl/lowlevelbarrier.sym: ... here.
740 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
741 * nptl/lowlevelcond.sym: ... here.
742 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
743 * nptl/lowlevellock.c: ... here.
744 * nptl/lowlevellock.h: Moved ...
745 * sysdeps/nptl/lowlevellock.h: ... here.
746 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
747 * nptl/lowlevelrobustlock.c: ... here.
748 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
749 * nptl/lowlevelrobustlock.sym: ... here.
750 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
751 * nptl/lowlevelrwlock.sym: ... here.
752 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
753 * nptl/pt-fork.c: ... here.
754 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
755 * nptl/pthread-pi-defines.sym: ... here.
756 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
757 * nptl/pthread_attr_getaffinity.c: ... here.
758 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
759 * nptl/pthread_attr_setaffinity.c: ... here.
760 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
761 * nptl/pthread_mutex_cond_lock.c: ... here.
762 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
764 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
765 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
766 * nptl/pthread_once.c: ... here, replacing old file.
767 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
768 * nptl/pthread_yield.c: ... here.
769 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
770 * nptl/register-atfork.c: ... here.
771 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
772 * nptl/sem_post.c: ... here.
773 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
774 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
775 * nptl/sem_timedwait.c: ... here.
776 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
777 * nptl/sem_trywait.c: ... here.
778 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
779 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
780 * nptl/sem_wait.c: ... here.
781 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
782 * nptl/structsem.sym: ... here.
783 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
784 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
785 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
786 * nptl/unregister-atfork.c: ... here.
787 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
788 * nptl/unwindbuf.sym: ... here.
789 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
790 * sysdeps/nptl/fork.c: ... here.
791 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
792 * sysdeps/nptl/fork.h: ... here.
793 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
794 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
795 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
796 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
797 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
798 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
799 * sysdeps/unix/sysv/linux/getpid.c: ... here.
800 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
801 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
802 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
803 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
804 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
805 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
806 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
807 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
808 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
809 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
810 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
811 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
812 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
813 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
814 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
815 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
816 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
817 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
818 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
819 * sysdeps/unix/sysv/linux/raise.c: ... here.
820 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
821 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
822 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
823 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
824 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
825 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
826 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
827 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
828 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
829 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
830 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
831 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
832 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
833 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
834 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
836 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
838 * sysdeps/generic/memcopy.h: Add comment for
839 MEMCPY_OK_FOR_FWD_MEMMOVE.
841 2014-07-04 Will Newton <will.newton@linaro.org>
843 * string/memchr.c: Merge from gnulib.
844 [_LIBC]: Remove conditionals.
845 (__ptr_t): Remove define.
846 (LONG_MAX_32_BITS): Likewise.
847 (LONG_MAX): Likewise.
848 (MEMCHR): Use ANSI prototype and optimize algorithm.
850 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
852 2014-07-03 Roland McGrath <roland@hack.frob.com>
854 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
855 (lll_futex_timed_wait_bitset): Fix syscall argument count.
857 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
858 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
859 in a bare environment with no <stdlib.h> installed.
860 * sysdeps/nptl/configure: Regenerated.
862 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
864 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
865 AC_EGREP_CPP for kernel header checks, so they only succeed if
866 including <linux/version.h> actually works right.
867 * sysdeps/unix/sysv/linux/configure: Regenerated.
869 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
870 value so it's not diagnosed as unused.
872 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
873 thing) with "ifeq ($(subdir),rt)".
875 2014-07-03 Richard Henderson <rth@redhat.com>
877 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
878 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
879 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
881 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
882 (math_force_eval): New.
884 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
885 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
887 * sysdeps/alpha/fpu/s_round.c: Remove file.
888 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
890 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
891 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
892 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
893 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
894 (_dl_start, print_statistics): Likewise.
895 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
896 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
898 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
899 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
900 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
901 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
902 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
903 (HP_SMALL_TIMING_AVAIL): Define.
904 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
905 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
906 (HP_SMALL_TIMING_AVAIL): Define.
907 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
908 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
910 * sysdeps/aarch64/hp-timing.h: New file.
912 * sysdeps/generic/hp-timing.h: Remove dead comment.
913 * sysdeps/generic/hp-timing-common.h: New file.
914 * sysdeps/alpha/hp-timing.h: Include it.
915 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
916 * sysdeps/i386/i686/hp-timing.h: Likewise.
917 * sysdeps/ia64/hp-timing.h: Likewise.
918 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
919 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
920 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
921 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
922 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
923 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
926 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
927 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
928 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
929 * elf/rtld.c (_dl_start_final): Likewise.
930 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
931 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
932 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
933 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
934 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
935 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
936 (HP_TIMING_DIFF_INIT): Remove.
937 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
938 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
939 (HP_TIMING_DIFF_INIT): Remove.
940 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
941 * sysdeps/i386/i686/hp-timing.c: Remove file.
942 * sysdeps/x86_64/hp-timing.c: Remove file.
943 * sysdeps/ia64/hp-timing.c: Remove file.
944 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
945 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
946 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
947 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
949 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
950 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
951 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
952 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
953 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
954 (HP_TIMING_ACCUM): Remove.
955 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
956 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
957 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
959 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
960 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
961 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
962 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
963 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
964 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
965 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
966 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
968 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
970 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
972 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
974 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
976 Sync up with gettext.
977 * intl/loadmsgcat.c: Define O_BINARY if not defined.
978 [_MSC_VER]: Include malloc.h
979 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
980 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
981 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
982 TEMP_FAILURE_RETRY. Cast return of alloca.
983 [!_LIBC] Call gl_rwlock_init.
984 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
986 2014-07-02 Roland McGrath <roland@hack.frob.com>
988 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
989 before checking its value.
991 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
993 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
995 * debug/memcpy_chk.c: Don't include pagecopy.h.
996 * debug/mempcpy_chk.c: Likewise.
997 * string/memcpy.c: Likewise.
998 * string/memmove.c: Likewise.
999 * sysdeps/powerpc/memmove.c: Likewise.
1000 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1001 definition of PAGE_COPY_FWD_MAYBE here...
1002 * sysdeps/generic/pagecopy.h: ... from here.
1003 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1005 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1006 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1008 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1009 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1011 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1012 (__libc_ifunc_impl_list): Likewise.
1013 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1014 multiarch strcat for PPC64.
1015 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1016 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1018 2014-07-02 Roland McGrath <roland@hack.frob.com>
1020 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1022 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1024 * intl/loadmsgcat.c: Remove declaration of
1025 get_sysdep_segment_value.
1026 (get_sysdep_segment_value): Use ISO C style.
1027 (_nl_load_domain): Use ISO C style. Get rid of redundant
1028 semicolon. Fix typo and formatting in comment.
1029 (_nl_unload_domain): Use ISO C style.
1031 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1033 2014-07-02 Will Newton <will.newton@linaro.org>
1035 * malloc/obstack.c: Merge from gnulib master.
1036 [HAVE_CONFIG_H]: Remove conditional code.
1037 [!_LIBC]: Include config.h.
1038 [!ELIDE_CODE]: Don't include inttypes.h, include
1039 stdint.h unconditionally.
1040 (print_and_abort): Mark as _Noreturn.
1041 (_obstack_allocated_p): Mark as __attribute_pure__.
1042 (obstack_free): Rename to __obstack_free.
1043 [!__attribute__]: Remove conditional code.
1044 * malloc/obstack.h: Merge from gnulib master.
1045 [__cplusplus]: Move conditional down.
1046 [!__attribute_pure__]: Define __attribute_pure__ here
1047 if it is not already defined.
1048 (_obstack_memory_used): Mark as __attribute_pure__.
1049 [!__obstack_free]: Define as obstack_free.
1050 [__GNUC__]: Remove check for ancient NeXT gcc.
1052 2014-07-02 Will Newton <will.newton@linaro.org>
1053 Paul Eggert <eggert@cs.ucla.edu>
1055 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1057 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1059 * resolv/gethnamaddr.c: Add comment warning that the file is
1062 2014-07-01 Carlos O'Donell <carlos@redhat.com>
1064 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1067 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1068 entry for aio_cancel and aio_cancel64.
1069 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1070 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1071 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1072 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1073 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1074 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1075 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1076 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1077 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1078 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1079 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1080 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1081 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1083 2014-07-01 Roland McGrath <roland@hack.frob.com>
1085 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1086 * nptl/pthread_mutex_lock.c: Likewise.
1087 * nptl/pthread_mutex_timedlock.c: Likewise.
1088 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1090 2014-07-01 Richard henderson <rth@redhat.com>
1092 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1093 (__isnan, __isnanl): Remove.
1094 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1096 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1098 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1100 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1102 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1104 * resolv/nss_dns/dns-host.c (getanswer_r)
1105 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1107 2014-07-01 Joseph Myers <joseph@codesourcery.com>
1109 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1110 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1112 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1113 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1115 2014-07-01 Roland McGrath <roland@hack.frob.com>
1117 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1118 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1120 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1121 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1123 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1124 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1126 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1127 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1129 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1130 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1131 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1132 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1134 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1135 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1136 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1137 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1138 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1140 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1142 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1143 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1144 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1145 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1146 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1147 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1148 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1149 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1150 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1151 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1152 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1153 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1154 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1155 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1156 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1157 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1158 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1159 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1160 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1161 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1163 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1164 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1165 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1166 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1167 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1168 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1169 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1170 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1172 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1174 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1175 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1176 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1179 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1183 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1185 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1186 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1188 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1190 * sysdeps/arm/libm-test-ulps: Regenerated.
1192 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1193 Roland McGrath <roland@hack.frob.com>
1195 * test-skeleton.c (signal_handler): Kill the whole process group
1196 before killing the child individually.
1197 (main): Report any failure on `setpgid'.
1199 2014-06-30 Roland McGrath <roland@hack.frob.com>
1201 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1202 from _TLS_H to _ARM_NPTL_TLS_H.
1203 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1204 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1206 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1209 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1210 (__expm1l): Return argument unchanged when small but not
1213 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1215 (_FP_UNPACK_RAW_1_P): Likewise.
1216 (_FP_PACK_RAW_1): Likewise.
1217 (_FP_PACK_RAW_1_P): Likewise.
1218 (_FP_MUL_MEAT_1_wide): Likewise.
1219 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1220 (_FP_MUL_MEAT_1_hard): Likewise.
1221 (_FP_DIV_MEAT_1_imm): Likewise.
1222 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1223 (_FP_DIV_MEAT_1_udiv): Likewise.
1224 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1225 (_FP_UNPACK_RAW_2): Likewise.
1226 (_FP_UNPACK_RAW_2_P): Likewise.
1227 (_FP_PACK_RAW_2): Likewise.
1228 (_FP_PACK_RAW_2_P): Likewise.
1229 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1230 (_FP_MUL_MEAT_2_wide): Likewise.
1231 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1232 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1233 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1234 (_FP_MUL_MEAT_2_gmp): Likewise.
1235 (_FP_DIV_MEAT_2_udiv): Likewise.
1236 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1237 (_FP_FRAC_SRL_4): Likewise.
1238 (_FP_FRAC_SRST_4): Likewise.
1239 (_FP_FRAC_SRS_4): Likewise.
1240 (_FP_UNPACK_RAW_4): Likewise.
1241 (_FP_UNPACK_RAW_4_P): Likewise.
1242 (_FP_PACK_RAW_4): Likewise.
1243 (_FP_PACK_RAW_4_P): Likewise.
1244 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1245 (_FP_MUL_MEAT_4_wide): Likewise.
1246 (_FP_MUL_MEAT_4_gmp): Likewise.
1247 (umul_ppppmnnn): Likewise.
1248 (_FP_DIV_MEAT_4_udiv): Likewise.
1249 (__FP_FRAC_ADD_4): Likewise.
1250 (__FP_FRAC_SUB_3): Likewise.
1251 (__FP_FRAC_SUB_4): Likewise.
1252 (__FP_FRAC_DEC_3): Likewise.
1253 (__FP_FRAC_DEC_4): Likewise.
1254 (__FP_FRAC_ADDI_4): Likewise.
1255 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1256 (_FP_FRAC_SRL_8): Likewise.
1257 (_FP_FRAC_SRS_8): Likewise.
1259 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1261 (FP_UNPACK_RAW_EP): Likewise.
1262 (FP_PACK_RAW_E): Likewise.
1263 (FP_PACK_RAW_EP): Likewise.
1264 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1265 (_FP_ISSIGNAN): Likewise.
1266 (_FP_ADD_INTERNAL): Likewise.
1267 (_FP_FMA): Likewise.
1268 (_FP_CMP): Likewise.
1269 (_FP_SQRT): Likewise.
1270 (_FP_TO_INT): Likewise.
1271 (_FP_FROM_INT): Likewise.
1272 (FP_EXTEND): Likewise.
1273 (_FP_DIV_MEAT_N_loop): Likewise.
1275 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1277 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1280 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1283 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1284 result with correct sign in case of exponents that produce
1285 overflow except for X very close to 1.
1287 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1289 mktime: merge #if/#ifdef usage from glibc
1290 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1291 as that works with both Glibc's and Gnulib's style.
1292 See thread starting at Siddhesh Poyarekar's bug report at:
1293 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1295 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1297 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1298 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1299 * sysdeps/tile/tilegx/memmove.c: Remove file.
1301 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1303 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1304 abi-name definition.
1305 * scripts/soversions.awk: Do not handle or generate ABI lines.
1306 * shlib-versions: Remove ABI entries.
1307 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1308 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1310 2014-06-27 Roland McGrath <roland@hack.frob.com>
1312 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1313 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1314 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1315 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1316 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1317 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1318 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1320 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1322 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1323 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1324 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1325 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1326 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1327 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1328 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1329 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1330 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1331 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1332 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1333 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1334 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1336 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1337 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1338 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1339 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1340 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1341 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1343 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1344 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1346 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1347 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1348 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1349 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1351 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1352 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1353 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1354 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1355 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1356 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1357 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1358 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1360 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1361 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1362 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1363 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1365 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1366 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1368 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1369 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1370 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1371 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1373 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1375 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1376 Identical file removed.
1377 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1379 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1380 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1381 Identical file removed.
1382 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1383 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1384 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1386 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1387 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1388 Identical file removed.
1389 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1390 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1391 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1392 Identical file removed.
1393 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1394 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1395 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1396 Identical file removed.
1397 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1398 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1399 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1400 Identical file removed.
1401 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1403 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1404 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1405 Identical file removed.
1406 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1408 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1409 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1410 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1411 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1412 Identical file removed.
1413 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1415 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1417 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1418 Identical file removed.
1419 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1421 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1422 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1423 Identical file removed.
1424 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1426 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1427 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1428 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1429 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1430 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1431 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1433 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1434 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1435 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1437 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1438 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1439 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1440 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1441 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1443 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
1446 * nscd/nscd.c (monitor_child): Return exit status of child
1447 instead of return value from wait syscall.
1449 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1451 * configure.ac (libc_commonpagesize): Remove variable.
1452 (libc_relro_required): Likewise.
1453 (libc_cv_z_relro): Remove configure test.
1454 * configure: Regenerated.
1455 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1457 (libc_relro_required): Likewise.
1458 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1459 (libc_relro_required): Likewise.
1460 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1461 (libc_relro_required): Likewise.
1462 * sysdeps/arm/preconfigure: Regenerated.
1463 * sysdeps/ia64/preconfigure: Remove file.
1464 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1466 (libc_relro_required): Likewise.
1470 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1471 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1472 recompute overflowing results in original rounding mode.
1473 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1474 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1475 recompute overflowing results in original rounding mode.
1476 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1477 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1478 recompute overflowing results in original rounding mode.
1479 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1480 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1481 recompute overflowing results in original rounding mode.
1482 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1483 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1484 recompute overflowing results in original rounding mode.
1485 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1486 (libc_feholdsetround_ctx): New macro.
1487 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1488 * sysdeps/i386/fpu/libm-test-ulps: Update.
1489 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1491 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1493 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1494 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1495 corresponding .cpsetup call.
1497 2014-06-26 Roland McGrath <roland@hack.frob.com>
1499 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1500 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1501 * sysdeps/arm/Makefile [$(subdir) = csu]
1502 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1503 (static-only-routines): Add aeabi_read_tp here.
1504 (shared-only-routines): Add libc-aeabi_read_tp here.
1505 (CFLAGS-libc-start.c): Add -fexceptions here.
1506 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1507 (sysdep_routines, static-only-routines, shared-only-routines):
1508 Don't add to these here.
1509 (CFLAGS-libc-start.c): Likewise.
1511 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1512 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1513 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1514 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1515 * sysdeps/arm/Makefile [$(subdir) = rt]
1516 (librt-sysdep_routines, librt-shared-only-routines):
1517 Append rt-aeabi_unwind_cpp_pr1 here.
1518 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1519 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1520 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1521 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1522 Append nptl-aeabi_unwind_cpp_pr1 here.
1523 (tests): Filter out tst-cleanupx4 here.
1524 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1525 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1526 Don't do those here.
1528 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1530 * scripts/list-sources.sh: Do not handle ports specially.
1532 2014-06-26 Roland McGrath <roland@hack.frob.com>
1534 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1535 * sysdeps/arm/feupdateenv.c: Likewise.
1537 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1539 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1541 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1542 trailing whitespace removed.
1543 * scripts/config.guess: Update to version 2014-03-23.
1544 * scripts/config.sub: Update to version 2014-05-01
1545 * scripts/install-sh: Update to version 2013-12-25.23.
1546 * scripts/move-if-change: Update from gnulib.
1548 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1550 * debug/memmove_chk.c: Remove pagecopy.h include.
1552 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1554 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1555 identical to gnulib mktime.
1557 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1559 * configure.ac: Do not test for machine being rs6000. Do not test
1561 * configure: Regenerated.
1563 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1565 * configure: Regenerated.
1566 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1567 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1568 Remove configure test.
1569 * sysdeps/arm/configure: Regenerated.
1570 * sysdeps/nptl/configure.ac: Do not check
1571 libc_cv_asm_cfi_directives.
1572 * sysdeps/nptl/configure: Regenerated.
1573 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1574 * sysdeps/x86_64/nptl/configure: Remove generated file.
1575 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1577 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1579 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1581 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1582 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1583 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1586 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1587 instead of whether it is defined.
1588 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1589 * sysdeps/hppa/dl-machine.h: Likewise.
1590 * sysdeps/ia64/dl-machine.h: Likewise.
1591 * sysdeps/m68k/dl-machine.h: Likewise.
1592 * sysdeps/microblaze/dl-machine.h: Likewise.
1593 * sysdeps/mips/dl-machine.: Likewise.
1594 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1595 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1596 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1597 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1598 * sysdeps/sh/dl-machine.h: Likewise.
1599 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1600 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1601 * sysdeps/tile/dl-machine.h: Likewise.
1602 * sysdeps/x86_64/dl-machine.h: Likewise.
1604 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1606 (verify_persistent_db): Likewise.
1608 2014-06-26 Roland McGrath <roland@hack.frob.com>
1610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1611 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1613 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1616 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1619 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1621 Identical file removed.
1622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1623 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1625 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1627 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1629 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1631 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1634 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1636 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1638 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1641 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1643 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1645 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1647 Identical file removed.
1648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1649 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1651 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1654 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1657 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1659 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1661 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1663 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1665 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1668 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1671 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1673 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1676 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1678 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1680 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1682 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1683 * sysdeps/unix/sysv/linux/s390/Versions
1684 (libpthread: GLIBC_2.19): New version set.
1685 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1686 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1687 (librt: GLIBC_2.3.3): New version set.
1688 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1689 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1690 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1691 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1692 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1693 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1694 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1695 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1696 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1697 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1698 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1699 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1700 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1701 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1702 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1703 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1704 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1705 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1706 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1707 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1708 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1709 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1710 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1711 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1712 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1713 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1714 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1715 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1716 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1717 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1718 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1719 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1720 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1721 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1722 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1723 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1724 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1725 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1726 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1727 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1728 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1729 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1730 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1731 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1732 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1734 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1735 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1736 (__libc_vfork): Define the function under this name.
1737 [!NOT_IN_libc] (__vfork): Make this an alias.
1738 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1739 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1740 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1741 (__libc_vfork): Define the function under this name.
1742 [!NOT_IN_libc] (__vfork): Make this an alias.
1743 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1744 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1745 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1746 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1747 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1748 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1750 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1751 code that was previously under [RESET_PID].
1752 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1753 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1754 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1756 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1757 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1758 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1759 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1760 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1761 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1762 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1763 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1764 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1765 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1766 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1768 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1769 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1770 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1771 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1772 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1773 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1774 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1775 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1776 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1777 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1778 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1779 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1780 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1781 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1782 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1783 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1784 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1785 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1786 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1787 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1788 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1789 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1790 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1791 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1792 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1793 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1794 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1795 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1796 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1798 2014-06-25 Roland McGrath <roland@hack.frob.com>
1800 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1801 that was previously under [RESET_PID].
1802 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1804 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1806 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1807 not undefine and redefine.
1808 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1809 [O_CLOEXEC]: Make code unconditional.
1810 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1811 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1812 <kernel-features.h>.
1813 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1814 conditional variable definition.
1815 (shm_open) [O_CLOEXEC]: Make code unconditional.
1816 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1819 * configure.ac (USE_REGPARMS): Don't define here.
1820 * configure: Regenerated.
1821 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1822 * sysdeps/i386/configure: Regenerated.
1824 * nptl/createthread.c: Don't include kernel-features.h.
1825 * nptl/pthread_cancel.c: Likewise.
1826 * nptl/pthread_condattr_setclock.c: Likewise.
1827 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1828 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1829 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1830 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1831 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1832 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1833 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1834 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1835 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1836 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1837 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1838 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1839 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1840 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1841 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1842 * nscd/gai.c: Likewise.
1843 * nss/nss_db/db-open.c: Likewise.
1844 * sysdeps/generic/ldsodefs.h: Likewise.
1845 * sysdeps/sh/nptl/tls.h: Likewise.
1846 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1847 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1848 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1849 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1850 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1851 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1852 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1853 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1854 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1855 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1856 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1857 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1858 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1859 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1860 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1861 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1862 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1863 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1864 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1865 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1866 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1867 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1868 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1869 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1870 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1871 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1872 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1873 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1874 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1875 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1876 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1877 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1878 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1879 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1880 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1881 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1882 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1883 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1884 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1885 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1886 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1887 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1888 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1889 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1890 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1891 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1892 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1893 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1894 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1895 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1896 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1897 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1898 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1899 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1900 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1901 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1902 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1903 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1926 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1927 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1928 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1929 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1930 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1931 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1932 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1933 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1934 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1935 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1936 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1937 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1938 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1939 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1940 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1941 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1942 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1943 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1944 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1945 * sysdeps/unix/sysv/linux/system.c: Likewise.
1946 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1947 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1948 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1949 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1950 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1951 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1952 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1954 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1955 * configure: Regenerated.
1956 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1958 * configure.ac (base_machine): Do not set specially for particular
1960 * configure: Regenerated.
1961 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1962 settings from configure.ac.
1963 * sysdeps/i386/preconfigure: New file.
1964 * sysdeps/s390/preconfigure: Likewise.
1965 * sysdeps/sh/preconfigure: Likewise.
1966 * sysdeps/sparc/preconfigure: Likewise.
1968 2014-06-25 Roland McGrath <roland@hack.frob.com>
1970 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1971 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1972 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1973 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1974 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1975 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1976 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1977 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1978 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1979 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1980 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1981 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1982 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1983 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1984 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1985 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1986 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1987 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1988 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1990 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1991 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1992 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1993 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1994 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1995 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1996 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1997 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1998 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1999 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2000 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2001 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2002 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2003 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2004 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2005 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2006 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2007 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2008 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2009 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2010 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2011 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2012 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2013 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2014 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2015 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2016 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2017 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2018 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2019 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2020 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2021 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2022 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2023 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2024 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2025 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2026 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2027 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2030 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2032 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2035 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2038 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2040 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2043 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2045 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2047 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2049 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2052 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2055 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2057 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2060 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2062 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2064 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2066 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2068 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2071 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2074 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2076 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2079 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2081 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2083 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2085 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2088 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2091 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2093 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2096 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2098 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2100 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2102 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2104 * timezone/checktab.awk: Update from tzcode 2014e.
2105 * timezone/private.h: Likewise.
2106 * timezone/tzfile.h: Likewise.
2107 * timezone/zdump.c: Likewise.
2108 * timezone/zic.c: Likewise.
2110 * sysdeps/unix/sysv/linux/kernel-features.h
2111 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2112 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2113 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2114 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2115 Remove conditional code.
2117 2014-06-25 Will Newton <will.newton@linaro.org>
2119 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2120 (_dl_arm_cap_flags): Add HWCAP2 values.
2121 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2122 (_DL_HWCAP_COUNT): Increase to 37.
2123 (_DL_HWCAP_LAST): New define.
2124 (_DL_HWCAP2_LAST): New define.
2125 (_dl_procinfo): Add support for printing
2127 (_dl_string_hwcap): Use _dl_hwcap_string.
2129 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2133 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2135 * README: Do not mention ports directory.
2137 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2139 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2140 <kernel-features.h>.
2141 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2142 conditional variable definition.
2143 (__futimes): Update comment.
2144 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2145 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2148 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2149 arguments close to 0.
2150 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2152 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2154 * math/auto-libm-test-in: Add more tests of exp10.
2155 * math/auto-libm-test-out: Regenerated.
2156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2158 * sysdeps/unix/sysv/linux/kernel-features.h
2159 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2160 * sysdeps/unix/sysv/linux/readv.c: Do not include
2161 <kernel-features.h>.
2162 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2163 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2164 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2166 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2168 * sysdeps/unix/sysv/linux/writev.c: Do not include
2169 <kernel-features.h>.
2170 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2171 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2172 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2174 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2177 2014-06-25 Will Newton <will.newton@linaro.org>
2179 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2180 comment changes throughout the file. Remove checks
2181 for HAVE_*_H definitions that are not required.
2182 (__gen_tempname): Call abort if an unknown kind value is
2185 2014-06-25 Andreas Schwab <schwab@suse.de>
2188 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2189 scalbln, scalblnf, scalblnl in libc.
2191 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2194 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2195 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2196 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2198 2014-06-24 Roland McGrath <roland@hack.frob.com>
2200 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2201 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2202 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2203 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2205 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2206 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2208 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2209 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2210 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2211 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2212 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2213 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2214 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2215 * sysdeps/x86/bits/semaphore.h: ... here.
2216 * sysdeps/x86/nptl/elide.h: Moved ...
2217 * sysdeps/x86/elide.h: ... here.
2218 * sysdeps/x86_64/nptl/Implies: File removed.
2219 * sysdeps/i386/nptl/Implies: File removed.
2221 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2224 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2225 return the argument for normal arguments with exponent below -64.
2226 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2228 * math/auto-libm-test-in: Add another test of expm1.
2229 * math/auto-libm-test-out: Regenerated.
2232 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2233 calling __erfcl for arguments at least 16.
2234 * math/auto-libm-test-in: Add more tests of erf.
2235 * math/auto-libm-test-out: Regenerated.
2237 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2238 individual architectures.
2239 * sysdeps/unix/sysv/linux/configure: Regenerated.
2240 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2241 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2242 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2243 (ldd_rewrite_script): Define variable.
2244 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2249 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2250 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2251 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2252 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2253 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2254 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2255 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2256 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2258 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2261 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2262 Rename member __data.d to __data.__elision_data.
2264 2014-06-24 Wilco <wdijkstr@arm.com>
2266 * NEWS: Add 16918 to fixed bug list.
2268 2014-06-24 Wilco <wdijkstr@arm.com>
2270 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2272 2014-06-24 Wilco <wdijkstr@arm.com>
2274 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2275 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2276 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2277 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2278 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2279 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2280 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2283 2014-06-24 Wilco <wdijkstr@arm.com>
2285 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2287 2014-06-24 Wilco <wdijkstr@arm.com>
2289 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2290 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2291 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2292 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2294 2014-06-24 Wilco <wdijkstr@arm.com>
2297 * sysdeps/arm/feupdateenv.c (feupdateenv):
2298 Rewrite to reduce FPSCR accesses and fix return value.
2300 2014-06-24 Wilco <wdijkstr@arm.com>
2302 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2303 Optimize to avoid unnecessary FPSCR writes.
2304 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2305 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2306 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2307 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2309 2014-06-24 Wilco <wdijkstr@arm.com>
2311 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2312 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2313 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2314 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2315 Call libc_fetestexcept_vfp.
2316 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2317 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2318 __SOFTFP__ ifdef so that they can be built for softfp.
2320 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2322 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2323 argument type signed char.
2325 * Makerules (check-abi): Dump diff of symlist if the test
2328 2014-06-23 Roland McGrath <roland@hack.frob.com>
2330 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2333 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2334 Remove unused variable ST.
2336 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2340 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2341 small arguments before calling __expm1.
2342 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2343 small arguments before calling __expm1f.
2344 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2345 small arguments before calling __expm1l.
2346 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2348 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2349 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2350 spurious underflow for some cosh tests.
2351 * math/auto-libm-test-out: Regenerated.
2352 * sysdeps/i386/fpu/libm-test-ulps: Update.
2355 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2356 (__ieee754_y1): Set errno if return value overflows.
2357 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2358 (__ieee754_y1f): Set errno if return value overflows.
2359 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2360 (__ieee754_y1l): Set errno if return value overflows.
2361 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2362 (__ieee754_y1l): Set errno if return value overflows.
2363 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2364 * math/auto-libm-test-out: Regenerated.
2366 * math/gen-auto-libm-tests.c: Document use of
2367 ignore-zero-inf-sign.
2368 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2369 (input_flags): Add ignore-zero-inf-sign.
2370 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2371 * math/gen-libm-test.pl (generate_testfile): Handle
2372 ignore-zero-inf-sign.
2373 * math/auto-libm-test-in: Mark some cpow tests with
2374 ignore-zero-inf-sign and some with xfail-rounding.
2375 * math/auto-libm-test-out: Regenerated.
2376 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2377 * sysdeps/i386/fpu/libm-test-ulps: Update.
2378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2381 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2382 overflowing or underflowing operations take place with sign of
2384 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2385 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2386 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2387 (__ieee754_pow): Recompute overflowing and underflowing results in
2388 original rounding mode.
2389 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2390 (__powl_helper): Allow negative argument X and scale negated value
2391 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2392 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2393 overflowing or underflowing operations take place with sign of
2395 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2397 * math/auto-libm-test-in: Add more tests of pow.
2398 * math/auto-libm-test-out: Regenerated.
2399 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2400 (pow_tonearest_test_data): Remove.
2401 (pow_test_tonearest): Likewise.
2402 (pow_towardzero_test_data): Likewise.
2403 (pow_test_towardzero): Likewise.
2404 (pow_downward_test_data): Likewise.
2405 (pow_test_downward): Likewise.
2406 (pow_upward_test_data): Likewise.
2407 (pow_test_upward): Likewise.
2408 (main): Don't call removed functions.
2409 * sysdeps/i386/fpu/libm-test-ulps: Update.
2410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2412 2014-06-23 Roland McGrath <roland@hack.frob.com>
2414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2588 2014-06-23 Will Newton <will.newton@linaro.org>
2589 Wilco <wdijkstr@arm.com>
2591 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2592 implementation. Include get-rounding-mode.h.
2593 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2594 [!libc_feholdsetround_noex_ctx]: Define
2595 libc_feholdsetround_noex_ctx.
2596 [!libc_feholdsetround_noexf_ctx]: Define
2597 libc_feholdsetround_noexf_ctx.
2598 [!libc_feholdsetround_noexl_ctx]: Define
2599 libc_feholdsetround_noexl_ctx.
2600 (libc_feholdsetround_ctx): New function.
2601 (libc_feresetround_ctx): New function.
2602 (libc_feholdsetround_noex_ctx): New function.
2603 (libc_feresetround_noex_ctx): New function.
2605 2014-06-23 Roland McGrath <roland@hack.frob.com>
2607 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2608 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2609 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2610 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2611 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2612 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2614 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2615 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2616 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2617 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2618 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2619 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2620 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2621 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2622 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2623 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2624 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2626 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2628 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2629 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2630 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2631 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2632 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2634 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2635 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2636 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2637 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2638 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2639 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2640 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2641 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2643 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2644 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2646 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2647 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2648 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2649 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2651 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2652 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2653 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2654 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2655 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2656 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2657 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2658 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2659 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2660 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2662 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2664 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2665 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2666 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2667 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2668 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2669 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2670 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2671 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2672 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2673 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2674 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2675 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2676 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2678 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2679 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2680 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2681 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2682 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2683 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2685 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2686 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2687 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2688 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2689 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2691 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2692 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2693 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2694 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2695 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2696 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2697 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2698 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2699 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2700 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2701 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2702 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2703 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2704 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2705 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2706 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2707 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2708 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2709 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2710 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2711 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2712 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2713 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2714 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2715 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2716 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2717 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2718 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2720 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2722 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2723 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2724 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2725 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2726 (IPV6_PMTUDISC_INTERFACE): Likewise.
2727 (IPV6_PMTUDISC_OMIT): Likewise.
2729 2014-06-23 Andreas Schwab <schwab@suse.de>
2731 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2732 Remove unused errout label.
2734 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2736 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2737 macro: hardware supports Vector Crypto instructions.
2739 2014-06-23 Will Newton <will.newton@linaro.org>
2741 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2742 rather than __builtin_expect.
2744 * elf/dl-lookup.c (undefined_msg): Remove variable.
2745 (_dl_lookup_symbol_x): Replace undefined_msg with string
2748 * elf/dl-lookup.c (do_lookup_unique): New function.
2749 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2750 to a separate function.
2752 2014-06-23 Andreas Schwab <schwab@suse.de>
2755 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2756 before reading the next line.
2758 2014-06-23 Will Newton <will.newton@linaro.org>
2760 * test-skeleton.c (signal_handler): Use printf and %m
2761 rather than perror. Use printf rather than fprintf to
2762 stderr. Use puts rather than fputs to stderr.
2765 2014-06-22 Ludovic Courtès <ludo@gnu.org>
2767 * nscd/nscd.c (thread_info_t): Remove typedef.
2768 (thread_info): Remove variable.
2770 2014-06-21 Allan McRae <allan@archlinux.org>
2772 * NEWS: Mention CVE-2014-4043.
2774 2014-06-20 Roland McGrath <roland@hack.frob.com>
2776 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2777 * nptl/smp.h: ... here.
2779 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2781 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2782 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2783 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2784 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2786 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2787 * nptl/stack-aliasing.h: New file.
2788 * sysdeps/i386/i686/stack-aliasing.h: New file.
2789 * sysdeps/i386/i686/nptl/Makefile: File removed.
2790 * sysdeps/x86_64/stack-aliasing.h: New file.
2791 * sysdeps/x86_64/nptl/Makefile
2792 (CFLAGS-pthread_create.c): Variable removed.
2794 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2795 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2797 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2798 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2801 2014-06-21 Joseph Myers <joseph@codesourcery.com>
2803 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2804 (__ASSUME_SIGFRAME_V2): Remove macro.
2805 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2806 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2807 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2808 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2809 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2810 Declare as function. Remove conditional macro definitions.
2811 (__default_rt_sa_restorer): Likewise.
2812 (__default_sa_restorer_v1): Remove declaration.
2813 (__default_sa_restorer_v2): Likewise.
2814 (__default_rt_sa_restorer_v1): Likewise.
2815 (__default_rt_sa_restorer_v2): Likewise.
2816 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2817 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2818 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2820 2014-06-20 Roland McGrath <roland@hack.frob.com>
2822 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2823 (libpthread-routines): Add sysdep.
2824 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2825 * sysdeps/unix/sysv/linux/sparc/Versions
2826 (libpthread: GLIBC_2.3.3): New version set.
2827 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2828 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2829 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2830 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2831 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2832 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2834 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2835 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2836 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2837 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2838 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2839 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2840 * sysdeps/sparc/nptl/sem_init.c: ... here.
2841 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2842 * sysdeps/sparc/nptl/sem_post.c: ... here.
2843 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2844 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2845 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2846 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2847 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2848 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2849 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2850 (libpthread-routines): Add cpu_relax.
2851 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2853 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2854 (librt: GLIBC_2.3.3): New version set.
2855 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2856 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2857 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2858 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2859 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2860 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2861 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2862 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2864 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2865 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2866 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2867 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2868 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2869 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2870 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2871 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2872 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2873 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2875 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2877 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2879 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2881 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2883 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2885 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2887 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2889 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2891 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2893 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2895 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2897 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2898 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2899 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2900 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2901 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2902 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2903 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2904 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2905 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2906 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2907 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2909 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2911 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2912 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2913 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2915 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2917 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2918 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2919 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2920 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2921 * nscd/nscd.c: Likewise.
2922 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2923 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2924 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2925 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2927 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2928 <kernel-features.h>.
2929 (init_mq_netlink): Remove conditional have_sock_cloexec
2930 definitions. Remove code conditional on have_sock_cloexec < 0.
2931 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2932 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2933 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2934 <kernel-features.h>.
2935 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2936 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2938 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2940 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2941 Add tests for memset_chk and memset.
2943 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2946 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2949 * elf/tst-dl-iter-static.c: New file.
2950 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2952 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2955 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2957 * sysdeps/unix/sysv/linux/kernel-features.h
2958 (__ASSUME_F_GETOWN_EX): Remove macro.
2959 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2960 <kernel-features.h>.
2961 (miss_F_GETOWN_EX): Remove variable or macro.
2962 (do_fcntl): Do not check miss_F_GETOWN_EX.
2963 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2965 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2967 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2968 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2969 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2971 * sysdeps/unix/sysv/linux/kernel-features.h
2972 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2973 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2974 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2975 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2977 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2980 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2981 Fix calculation of the symbol's value.
2982 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2983 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2984 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2985 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2986 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2987 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2988 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2989 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2990 (modules-names): Add `tst-armtlsdescmod',
2991 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2992 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2993 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2994 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2995 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2996 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2997 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2998 ($(objpfx)tst-armtlsdescloc): New dependency.
2999 ($(objpfx)tst-armtlsdescextnow): Likewise.
3000 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3001 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3003 * sysdeps/arm/configure: Regenerate.
3005 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3007 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3008 (__atfct_seterrno_2): Likewise.
3009 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3010 <kernel-features.h>.
3011 (__ASSUME_ATFCTS): Do not undefine and redefine.
3012 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3013 (__have_atfcts): Remove conditional definition.
3014 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3015 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3016 unreachable if [__ASSUME_ATFCTS].
3017 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3018 not undefine and redefine.
3019 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3020 <kernel-features.h>.
3021 (faccessat) [__NR_faccessat]: Make code unconditional.
3022 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3023 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3024 <kernel-features.h>.
3025 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3026 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3027 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3028 <kernel-features.h>.
3029 (fchownat) [__NR_fchownat]: Make code unconditional.
3030 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3031 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3032 <kernel-features.h>.
3033 (futimesat) [__NR_futimesat]: Make code unconditional.
3034 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3035 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3036 <kernel-features.h>.
3037 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3038 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3039 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3040 <kernel-features.h>.
3041 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3042 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3043 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3044 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3045 <kernel-features.h>.
3046 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3047 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3048 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3049 <kernel-features.h>.
3050 (linkat) [__NR_linkat]: Make code unconditional.
3051 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3052 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3053 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3054 <kernel-features.h>.
3055 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3056 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3057 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3058 <kernel-features.h>.
3059 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3060 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3061 * sysdeps/unix/sysv/linux/openat.c: Do not include
3062 <kernel-features.h>.
3063 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3064 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3065 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3066 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3067 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3068 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3069 <kernel-features.h>.
3070 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3071 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3072 result of INLINE_SYSCALL directly, not via int variable.
3073 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3074 <kernel-features.h>.
3075 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3076 (renameat) [__NR_renameat]: Make code unconditional.
3077 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3078 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3079 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3080 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3081 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3082 (__ASSUME_ATFCTS): Do not undefine and redefine.
3083 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3084 <kernel-features.h>.
3085 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3086 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3087 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3088 <kernel-features.h>.
3089 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3090 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3091 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3092 (__ASSUME_ATFCTS): Do not undefine and redefine.
3093 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3094 <kernel-features.h>.
3095 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3096 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3097 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3098 <kernel-features.h>.
3099 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3100 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3102 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3104 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3106 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3109 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3110 constructed tree before returning error.
3111 * posix/bug-regexp36.c: Expand test case.
3113 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3116 * math/libm-test.inc (scalbln_test_date):
3117 Add errno expectations.
3118 * math/w_scalblnf.c: New File.
3119 Add wrapper which checks for setting errno to ERANGE.
3120 Add weak_alias for corresponding scalbln function.
3121 * math/w_scalbln.c: Likewise.
3122 * math/w_scalblnl.c: Likewise.
3123 * math/Makefile (libm-calls): Add w_scalbln.
3124 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3125 Remove weak_alias for corresponding scalbln function.
3126 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3127 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3128 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3129 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3130 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3131 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3132 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3133 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3134 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3135 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3136 Remove long_double_symbol for scalblnl function in libm, libc.
3137 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3138 Add wrapper which checks for setting errno to ERANGE.
3139 Add long_double_symbol for scalblnl function in libm, libc.
3140 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3141 Remove long_double_symbol for scalblnl in libm.
3142 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3143 Add wrapper which checks for setting errno to ERANGE.
3144 Add long_double_symbol for scalblnl function in libm.
3145 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3146 Do not use wrapper because of own implementation.
3148 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3150 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3151 3 bytes for __pad1 for x32.
3152 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3154 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3155 H.J. Lu <hongjiu.lu@intel.com>
3157 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3158 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3159 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3160 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3161 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3163 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3166 * posix/regcomp.c (parse_expression): Deallocate partially
3167 constructed tree before returning error.
3168 * posix/Makefile.c (tests): Add bug-regex36.
3169 (generated): Add bug-regex36.mtrace.
3170 (tests-special): Add $(objpfx)bug-regex36-mem.out
3171 (bug-regex36-ENV): New variable.
3172 ($(objpfx)bug-regex36-mem.out): New rule.
3173 * posix/bug-regex36.c: New file.
3175 2014-06-19 Will Newton <will.newton@linaro.org>
3177 * malloc/malloc.c (systrim): If extra is zero then return
3180 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3182 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3184 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3186 * sysdeps/aarch64/strchr.S: New file.
3188 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3191 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3192 from arguments -2 or below.
3193 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3194 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3196 2014-06-18 Andreas Schwab <schwab@suse.de>
3199 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3200 of a bracket expr not to run off the end of the string.
3201 * posix/Makefile (tests): Add tst-fnmatch3.
3202 * posix/tst-fnmatch3.c: New file.
3204 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3206 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3207 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3208 [$(cross-compiling) = no]: Likewise.
3209 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3210 [$(cross-compiling) = no]: Likewise.
3212 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3215 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3216 double, adjusted for any remainder from the high double.
3217 * math/libm-test.inc (nearbyint): Add tests.
3220 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3222 * nptl/sysdeps/powerpc/Makefile: Moved ...
3223 * sysdeps/powerpc/nptl/Makefile: ... here.
3224 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3225 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3226 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3227 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3228 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3229 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3230 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3231 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3232 * nptl/sysdeps/powerpc/tls.h: Moved ...
3233 * sysdeps/powerpc/nptl/tls.h: ... here.
3235 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3238 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3239 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3240 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3241 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3242 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3243 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3244 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3245 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3246 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3248 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3250 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3252 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3254 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3257 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3260 2014-06-16 Florian Weimer <fweimer@redhat.com>
3263 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3264 non-executed part of the test.
3266 2014-06-16 Andreas Schwab <schwab@suse.de>
3268 * string/bits/string2.h (strdup, strndup): Update feature guard.
3270 2014-06-14 David S. Miller <davem@davemloft.net>
3272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3274 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3276 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3277 that was previously under [RESET_PID].
3278 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3280 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3281 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3282 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3283 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3284 (__libc_vfork): New strong alias.
3285 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3287 2014-06-14 Andi Kleen <ak@linux.intel.com>
3289 * sysdeps/generic/elide.h: New file.
3291 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3293 * Makefile (installed-headers): Adjust path of pthread.h header.
3295 2014-06-13 Roland McGrath <roland@hack.frob.com>
3297 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3298 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3299 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3300 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3302 * nptl/sysdeps/s390/Makefile: Moved ...
3303 * sysdeps/s390/nptl/Makefile: ... here.
3304 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3305 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3306 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3307 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3308 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3309 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3310 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3311 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3312 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3313 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3314 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3315 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3316 * nptl/sysdeps/s390/tls.h: Moved ...
3317 * sysdeps/s390/nptl/tls.h: ... here.
3319 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3320 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3322 2014-06-13 David S. Miller <davem@davemloft.net>
3324 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3325 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3326 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3327 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3328 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3329 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3330 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3331 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3332 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3333 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3334 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3335 Remove RESET_PID cpp guards.
3336 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3337 Remove RESET_PID cpp guards.
3338 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3340 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3342 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3345 2014-06-13 Andi Kleen <ak@linux.intel.com>
3347 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3348 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3349 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3350 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3351 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3352 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3353 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3354 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3355 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3356 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3357 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3358 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3359 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3360 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3361 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3362 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3363 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3364 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3365 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3366 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3368 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3369 (pthread_rwlock_rdlock): Add elision.
3370 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3371 (pthread_rwlock_wrlock): Add elision.
3372 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3373 (pthread_rwlock_trywrlock): Add elision.
3374 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3375 (pthread_rwlock_tryrdlock): Add elision.
3376 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3377 (pthread_rwlock_tryrdlock): Add elision unlock.
3378 * nptl/sysdeps/pthread/pthread.h:
3379 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3380 (PTHREAD_RWLOCK_INITIALIZER,
3381 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3382 Handle new elision field.
3383 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3384 * sysdeps/arm/nptl/bits/pthreadtypes.h
3385 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3386 * sysdeps/sh/nptl/bits/pthreadtypes.h
3387 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3388 * sysdeps/tile/nptl/bits/pthreadtypes.h
3389 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3390 * sysdeps/a/nptl/bits/pthreadtypes.h
3391 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3392 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3393 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3394 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3395 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3396 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3397 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3398 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3399 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3400 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3401 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3402 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3403 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3404 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3405 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3406 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3407 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3408 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3409 (elision_init): Set try_xbegin to zero when no RTM.
3410 * sysdeps/x86/nptl/bits/pthreadtypes.h
3411 (pthread_rwlock_t): Change __pad1 to __rwelision.
3412 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3414 2014-06-13 Andi Kleen <ak@linux.intel.com>
3416 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3417 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3418 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3419 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3421 2014-06-13 Meador Inge <meadori@codesourcery.com>
3424 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3425 that the cached result has been set before returning it.
3427 2014-06-12 Roland McGrath <roland@hack.frob.com>
3429 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3430 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3431 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3432 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3433 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3434 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3436 * nptl/sysdeps/sparc/Makefile: Moved ...
3437 * sysdeps/sparc/nptl/Makefile: ... here.
3438 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3439 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3440 * nptl/sysdeps/sparc/tls.h: Moved ...
3441 * sysdeps/sparc/nptl/tls.h: ... here.
3442 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3443 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3444 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3445 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3446 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3447 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3448 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3449 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3450 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3451 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3452 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3453 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3454 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3455 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3456 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3457 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3458 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3459 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3461 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3462 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3464 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3465 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3467 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3468 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3471 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3473 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3474 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3476 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3477 (struct list_links): Type removed.
3478 (struct thread_node, struct timer_node): Replace struct list_links
3479 with struct list_head.
3480 (list_unlink_ip): Likewise.
3481 * sysdeps/pthread/timer_routines.c
3482 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3483 (list_append, list_insbefore): Likewise.
3484 (list_init): Function removed.
3485 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3486 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3487 * sysdeps/pthread/Makefile: ... here, new file.
3489 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3490 * sysdeps/nptl/Implies: ... here.
3491 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3492 * nptl/sysdeps/pthread/list.h: Moved ...
3493 * include/list.h: ... here.
3494 * nptl/sysdeps/pthread/createthread.c: Moved ...
3495 * nptl/createthread.c: ... here.
3496 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3497 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3498 * nptl/pt-longjmp.c: ... here.
3499 * nptl/sysdeps/pthread/Makefile: Moved ...
3500 * sysdeps/nptl/Makefile: ... here.
3501 * nptl/sysdeps/pthread/Subdirs: Moved ...
3502 * sysdeps/nptl/Subdirs: ... here.
3503 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3504 * sysdeps/nptl/aio_misc.h: ... here.
3505 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3506 * sysdeps/nptl/bits/libc-lock.h: ... here.
3507 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3508 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3509 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3510 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3511 * nptl/sysdeps/pthread/configure: Moved ...
3512 * sysdeps/nptl/configure: ... here.
3513 * nptl/sysdeps/pthread/configure.ac: Moved ...
3514 * sysdeps/nptl/configure.ac: ... here.
3515 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3516 * sysdeps/nptl/gai_misc.h: ... here.
3517 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3518 * sysdeps/nptl/librt-cancellation.c: ... here.
3519 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3520 * sysdeps/nptl/malloc-machine.h: ... here.
3521 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3522 * sysdeps/nptl/pthread-functions.h: ... here.
3523 * nptl/sysdeps/pthread/pthread.h: Moved ...
3524 * sysdeps/nptl/pthread.h: ... here.
3525 * nptl/sysdeps/pthread/setxid.h: Moved ...
3526 * sysdeps/nptl/setxid.h: ... here.
3527 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3528 * sysdeps/nptl/sigfillset.c: ... here.
3529 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3530 * sysdeps/nptl/tcb-offsets.h: ... here.
3531 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3532 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3533 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3534 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3535 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3536 * sysdeps/pthread/allocalim.h: ... here.
3537 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3538 * sysdeps/pthread/bits/sigthread.h: ... here.
3539 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3540 * sysdeps/pthread/flockfile.c: ... here.
3541 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3542 * sysdeps/pthread/ftrylockfile.c: ... here.
3543 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3544 * sysdeps/pthread/funlockfile.c: ... here.
3545 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3546 * sysdeps/pthread/posix-timer.h: ... here.
3547 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3548 * sysdeps/pthread/timer_create.c: ... here.
3549 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3550 * sysdeps/pthread/timer_delete.c: ... here.
3551 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3552 * sysdeps/pthread/timer_getoverr.c: ... here.
3553 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3554 * sysdeps/pthread/timer_gettime.c: ... here.
3555 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3556 * sysdeps/pthread/timer_routines.c: ... here.
3557 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3558 * sysdeps/pthread/timer_settime.c: ... here.
3559 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3560 * sysdeps/pthread/tst-timer.c: ... here.
3561 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3562 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3564 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3565 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3567 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3568 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3569 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3570 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3571 Update #include target.
3572 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3573 * sysdeps/i386/i686/nptl/Makefile: ... here.
3574 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3575 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3576 Update #include target.
3577 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3578 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3579 * nptl/sysdeps/i386/Makefile: Moved ...
3580 * sysdeps/i386/nptl/Makefile: ... here.
3581 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3582 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3583 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3584 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3585 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3586 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3587 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3588 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3589 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3590 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3591 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3592 * nptl/sysdeps/i386/tls.h: Moved ...
3593 * sysdeps/i386/nptl/tls.h: ... here.
3595 * sysdeps/sh/Makefile [$(subdir) = csu]
3596 (gen-as-const-headers): Add tcb-offsets.sym.
3597 * nptl/sysdeps/sh/Makefile: File removed.
3598 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3599 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3600 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3601 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3602 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3603 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3604 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3605 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3606 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3607 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3608 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3609 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3610 * nptl/sysdeps/sh/tls.h: Moved ...
3611 * sysdeps/sh/nptl/tls.h: ... here.
3612 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3613 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3614 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3615 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3616 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3617 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3618 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3619 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3620 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3621 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3622 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3623 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3624 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3625 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3626 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3627 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3628 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3629 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3630 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3631 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3632 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3633 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3634 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3635 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3636 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3638 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3639 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3641 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3642 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3643 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3644 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3645 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3646 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3647 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3648 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3649 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3650 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3651 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3652 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3653 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3654 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3655 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3656 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3657 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3658 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3659 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3661 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3663 * posix/spawn_faction_addopen.c: Include string.h.
3665 2014-06-11 Roland McGrath <roland@hack.frob.com>
3667 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3668 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3669 * nptl/sysdeps/x86_64/Makefile: Moved ...
3670 * sysdeps/x86_64/nptl/Makefile: ... here.
3671 * nptl/sysdeps/x86_64/configure: Moved ...
3672 * sysdeps/x86_64/nptl/configure: ... here.
3673 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3674 * sysdeps/x86_64/nptl/configure.ac: ... here.
3675 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3676 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3677 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3678 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3679 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3680 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3681 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3682 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3683 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3684 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3685 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3686 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3687 * nptl/sysdeps/x86_64/tls.h: Moved ...
3688 * sysdeps/x86_64/nptl/tls.h: ... here.
3689 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3690 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3691 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3692 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3694 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3696 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3700 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3702 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3704 [POSIX] (off_t): Likewise.
3705 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3706 [POSIX] (S_ISBLK): Require macro.
3707 [POSIX] (S_ISCHR): Likewise.
3708 [POSIX] (S_ISDIR): Likewise.
3709 [POSIX] (S_ISFIFO): Likewise.
3710 [POSIX] (S_ISREG): Likewise.
3711 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3713 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3715 [POSIX] (time_t): Likewise.
3716 [POSIX] (timer_t): Likewise.
3718 2014-06-11 Florian Weimer <fweimer@redhat.com>
3721 * posix/spawn_int.h (struct __spawn_action): Make the path string
3722 non-const to support deallocation.
3723 * posix/spawn_faction_addopen.c
3724 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3725 * posix/spawn_faction_destroy.c
3726 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3727 path in all spawn_do_open actions.
3728 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3729 posix_spawn_file_actions_addopen.
3731 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3733 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3734 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3735 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3736 conditional code always true.
3737 (__libc_vfork): New alias.
3739 2014-06-11 Roland McGrath <roland@hack.frob.com>
3741 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3742 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3744 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3746 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3747 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3749 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3750 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3752 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3753 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3755 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3757 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3758 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3759 multiarch strcmp for PPC64.
3760 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3761 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3762 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3763 multiarch optimizations.
3764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3765 (__libc_ifunc_impl_list): Likewise.
3767 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3769 * benchtests/scripts/validate_benchout.py: New script.
3770 * benchtests/Makefile (bench-func): Call it.
3771 * benchtests/scripts/benchout.schema.json: New file.
3773 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3775 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3776 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3777 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3778 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3779 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3780 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3781 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3782 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3783 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3784 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3785 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3786 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3787 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3788 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3789 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3790 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3817 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3819 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3894 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3895 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3896 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3897 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3898 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3900 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3902 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3903 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3904 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3905 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3906 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3907 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3908 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3909 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3910 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3911 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3912 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3913 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3914 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3916 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3917 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3919 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3920 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3921 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3922 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3924 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3925 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3926 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3927 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3928 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3929 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3930 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3932 2014-06-10 Wilco <wdijkstr@arm.com>
3934 * math/test-fenv-return.c: New file.
3935 * math/Makefile: Add new test test-fenv-return.
3937 2014-06-10 Joseph Myers <joseph@codesourcery.com>
3940 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3942 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3943 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3944 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3945 0.0L for an argument of 1.0L.
3946 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3948 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3949 value when x - 1 is zero.
3950 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3951 * sysdeps/i386/fpu/libm-test-ulps: Update.
3952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3954 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3957 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3959 2014-06-09 Roland McGrath <roland@hack.frob.com>
3961 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3962 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3964 2014-06-09 Roland McGrath <roland@hack.frob.com>
3966 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3967 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3969 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3970 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3972 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3973 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3975 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3976 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3978 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3979 if not already defined.
3980 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3981 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3982 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3983 (TLS_INIT_TP): Use it.
3984 (TLS_DEFINE_INIT_TP): New macro.
3985 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3987 2014-06-09 Joseph Myers <joseph@codesourcery.com>
3989 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3991 [POSIX] (IXANY): Likewise.
3992 [POSIX] (OLCUC): Likewise.
3993 [POSIX || POSIX2008] (CBAUD): Do not allow.
3994 [POSIX || POSIX2008] (DEFECHO): Likewise.
3995 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3996 [POSIX || POSIX2008] (ECHOKE): Likewise.
3997 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3998 [POSIX || POSIX2008] (EXTA): Likewise.
3999 [POSIX || POSIX2008] (EXTB): Likewise.
4000 [POSIX || POSIX2008] (FLUSHO): Likewise.
4001 [POSIX || POSIX2008] (LOBLK): Likewise.
4002 [POSIX || POSIX2008] (PENDIN): Likewise.
4003 [POSIX || POSIX2008] (SWTCH): Likewise.
4004 [POSIX || POSIX2008] (VDISCARD): Likewise.
4005 [POSIX || POSIX2008] (VDSUSP): Likewise.
4006 [POSIX || POSIX2008] (VLNEXT): Likewise.
4007 [POSIX || POSIX2008] (VREPRINT): Likewise.
4008 [POSIX || POSIX2008] (VSTATUS): Likewise.
4009 [POSIX || POSIX2008] (VWERASE): Likewise.
4010 (B*): Change to B[0123456789]*.
4011 * conform/data/time.h-data [POSIX || UNIX98]
4012 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4013 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4014 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4015 [POSIX] (tm_*): Do not allow.
4017 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4019 * Makefile (install): Don't set LANGUAGE.
4020 * Makefile.in (install): Likewise.
4021 * assert/Makefile (test-assert-ENV): Remove variable.
4022 (test-assert-perr-ENV): Likewise.
4023 * elf/Makefile (neededtest4-ENV): Likewise.
4024 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4025 [$(cross-compiling) = no]: Don't set LANGUAGE.
4026 * io/ftwtest-sh (LANG): Remove variable.
4027 * libio/Makefile (tst-widetext-ENV): Likewise.
4028 * manual/install.texi (Running make install): Don't refer to
4029 environment settings for make install.
4030 * INSTALL: Regenerated.
4031 * nptl/tst-tls6.sh: Don't set LANG.
4032 * posix/globtest.sh (LANG): Remove variable.
4033 * string/Makefile (tester-ENV): Likewise.
4034 (inl-tester-ENV): Likewise.
4035 (noinl-tester-ENV): Likewise.
4036 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4037 [$(cross-compiling) = no]: Don't set LANGUAGE.
4038 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4039 without explicit environment settings.
4041 2014-06-06 Roland McGrath <roland@hack.frob.com>
4043 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4044 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4045 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4046 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4048 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4050 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4051 other files in the crypt directory.
4052 * crypt/crypt.c: Remove duplicate includes.
4053 * crypt/crypt-entry.c: Likewise.
4054 * crypt/crypt_util.c: Likewise.
4056 2014-06-06 Joseph Myers <joseph@codesourcery.com>
4058 * Makeconfig (run-program-env): New variable.
4059 (run-program-prefix-before-env): Likewise.
4060 (run-program-prefix-after-env): Likewise.
4061 (run-program-prefix): Define in terms of new variables.
4062 (built-program-cmd-before-env): New variable.
4063 (built-program-cmd-after-env): Likewise.
4064 (built-program-cmd): Define in terms of new variables.
4065 (test-program-prefix-before-env): New variable.
4066 (test-program-prefix-after-env): Likewise.
4067 (test-program-prefix): Define in terms of new variables.
4068 (test-program-cmd-before-env): New variable.
4069 (test-program-cmd-after-env): Likewise.
4070 (test-program-cmd): Define in terms of new variables.
4071 * Rules (make-test-out): Use $(run-program-env).
4072 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4073 (help): Do not mention environment variables. Mention
4074 --timeoutfactor option.
4075 (timeoutfactor): New variable.
4076 (blacklist_exports): Remove function.
4077 (exports): Remove variable.
4078 (command): Do not include ${exports}.
4079 * manual/install.texi (Configuring and compiling): Do not mention
4080 test wrappers preserving environment variables. Mention that last
4081 assignment to a variable must take precedence.
4082 * INSTALL: Regenerated.
4083 * benchtests/Makefile (run-bench): Use $(run-program-env).
4084 * catgets/Makefile ($(objpfx)test1.cat): Use
4085 $(built-program-cmd-before-env), $(run-program-env) and
4086 $(built-program-cmd-after-env).
4087 ($(objpfx)test2.cat): Do not specify environment variables
4089 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4090 $(run-program-env) and $(built-program-cmd-after-env).
4091 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4092 $(run-program-env) and $(test-program-cmd-after-env).
4093 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4095 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4096 run_program_env and test_program_cmd_after_env arguments.
4097 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4098 * elf/tst-pathopt.sh: Use run_program_env argument.
4099 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4100 $(test-wrapper-env) and $(run-program-env).
4101 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4102 run_program_env arguments.
4103 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4104 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4105 $(test-program-prefix-before-env), $(run-program-env) and
4106 $(test-program-prefix-after-env).
4107 ($(objpfx)tst-gettext2.out): Likewise.
4108 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4109 run_program_env and test_program_prefix_after_env arguments.
4110 * intl/tst-gettext2.sh: Likewise.
4111 * intl/tst-gettext4.sh: Do not set environment variables
4113 * intl/tst-gettext6.sh: Likewise.
4114 * intl/tst-translit.sh: Likewise.
4115 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4116 $(test-program-prefix-before-env), $(run-program-env) and
4117 $(test-program-prefix-after-env).
4118 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4119 run_program_env and test_program_prefix_after_env arguments.
4120 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4121 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4122 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4123 explicitly with each use of ${test_wrapper_env}.
4124 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4125 $(test-program-prefix-before-env), $(run-program-env) and
4126 $(test-program-prefix-after-env).
4127 * posix/tst-getconf.sh: Do not set environment variables
4129 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4130 run_program_env and test_program_prefix_after_env arguments.
4131 * stdio-common/tst-printf.sh: Do not set environment variables
4133 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4134 $(test-program-prefix-before-env), $(run-program-env) and
4135 $(test-program-prefix-after-env).
4136 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4137 run_program_env and test_program_prefix_after_env arguments.
4138 Split $test calls into $test_pre and $test.
4139 * timezone/Makefile (build-testdata): Use
4140 $(built-program-cmd-before-env), $(run-program-env) and
4141 $(built-program-cmd-after-env).
4143 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4145 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4146 strlen for non SHARED builds.
4148 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4150 * nptl/allocatestack.c (check_list): Inlined function...
4151 (__reclaim_stacks): ... here.
4153 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4156 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4159 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4161 * Rules (make-test-out): Include
4162 LOCPATH=$(common-objpfx)localedata in default environment.
4163 * debug/Makefile (tst-chk1-ENV): Remove variable.
4164 (tst-chk2-ENV): Likewise.
4165 (tst-chk3-ENV): Likewise.
4166 (tst-chk4-ENV): Likewise.
4167 (tst-chk5-ENV): Likewise.
4168 (tst-chk6-ENV): Likewise.
4169 (tst-lfschk1-ENV): Likewise.
4170 (tst-lfschk2-ENV): Likewise.
4171 (tst-lfschk3-ENV): Likewise.
4172 (tst-lfschk4-ENV): Likewise.
4173 (tst-lfschk5-ENV): Likewise.
4174 (tst-lfschk6-ENV): Likewise.
4175 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4176 (tst-iconv7-ENV): Likewise.
4177 * intl/Makefile (LOCPATH-ENV): Likewise.
4178 (tst-codeset-ENV): Likewise.
4179 (tst-gettext3-ENV): Likewise.
4180 (tst-gettext5-ENV): Likewise.
4181 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4182 (tst-fopenloc-ENV): Likewise.
4183 (tst-fgetws-ENV): Remove variable.
4184 (tst-ungetwc1-ENV): Likewise.
4185 (tst-ungetwc2-ENV): Likewise.
4186 (bug-ungetwc2-ENV): Likewise.
4187 (tst-swscanf-ENV): Likewise.
4188 (bug-ftell-ENV): Likewise.
4189 (tst-fgetwc-ENV): Likewise.
4190 (tst-fseek-ENV): Likewise.
4191 (tst-ftell-partial-wide-ENV): Likewise.
4192 (tst-ftell-active-handler-ENV): Likewise.
4193 (tst-ftell-append-ENV): Likewise.
4194 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4195 (tst-regexloc-ENV): Likewise.
4196 (bug-regex1-ENV): Likewise.
4197 (tst-regex-ENV): Likewise.
4198 (tst-regex2-ENV): Likewise.
4199 (bug-regex5-ENV): Likewise.
4200 (bug-regex6-ENV): Likewise.
4201 (bug-regex17-ENV): Likewise.
4202 (bug-regex18-ENV): Likewise.
4203 (bug-regex19-ENV): Likewise.
4204 (bug-regex20-ENV): Likewise.
4205 (bug-regex22-ENV): Likewise.
4206 (bug-regex23-ENV): Likewise.
4207 (bug-regex25-ENV): Likewise.
4208 (bug-regex26-ENV): Likewise.
4209 (bug-regex30-ENV): Likewise.
4210 (bug-regex32-ENV): Likewise.
4211 (bug-regex33-ENV): Likewise.
4212 (bug-regex34-ENV): Likewise.
4213 (bug-regex35-ENV): Likewise.
4214 (tst-rxspencer-ENV): Likewise.
4215 (tst-rxspencer-no-utf8-ENV): Likewise.
4216 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4217 (tst-sscanf-ENV): Likewise.
4218 (tst-swprintf-ENV): Likewise.
4219 (tst-swscanf-ENV): Likewise.
4220 (test-vfprintf-ENV): Likewise.
4221 (scanf13-ENV): Likewise.
4222 (bug14-ENV): Likewise.
4223 (tst-grouping-ENV): Likewise.
4224 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4225 (tst-strtod3-ENV): Likewise.
4226 (tst-strtod4-ENV): Likewise.
4227 (tst-strtod5-ENV): Likewise.
4228 (testmb2-ENV): Likewise./
4229 * string/Makefile (tst-strxfrm-ENV): Likewise.
4230 (tst-strxfrm2-ENV): Likewise.
4231 (bug-strcoll1-ENV): Likewise.
4232 (test-strcasecmp-ENV): Likewise.
4233 (test-strncasecmp-ENV): Likewise.
4234 * time/Makefile (tst-strptime-ENV): Likewise.
4235 (tst-ftime_l-ENV): Likewise.
4236 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4237 (tst-mbrtowc-ENV): Likewise.
4238 (tst-wcrtomb-ENV): Likewise.
4239 (tst-mbrtowc2-ENV): Likewise.
4240 (tst-c16c32-1-ENV): Likewise.
4241 (tst-mbsnrtowcs-ENV): Likewise.
4243 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4245 * manual/resource.texi (How to get information about the memory
4246 subsystem?): Fix typo.
4247 Reported by Peon de la Parra Ivan <peon@keba.com>
4249 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4252 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4253 (pthread_spin_lock): Branch out of spin loop to proper location.
4254 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4255 (pthread_spin_lock): Likewise.
4257 * nptl/tst-spin4.c: New test.
4258 * nptl/Makefile (tests): Add tst-spin4.
4260 2014-06-03 Andreas Schwab <schwab@suse.de>
4263 * resolv/res_send.c (send_dg): Reload file descriptor after
4266 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4268 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4270 2014-06-03 Richard Henderson <rth@redhat.com>
4272 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4273 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4274 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4275 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4276 in the SAVE_PID block.
4277 (__libc_vfork): New alias.
4278 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4280 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4281 child in registers, not on the stack. Remove RESET_PID conditionals.
4282 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4284 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4286 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4288 2014-06-03 Wilco <wdijkstr@arm.com>
4290 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4291 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4292 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4293 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4294 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4297 2014-06-03 Wilco <wdijkstr@arm.com>
4299 * sysdeps/aarch64/fpu/math_private.h
4300 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4301 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4302 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4303 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4306 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4308 * crypt/crypt-private.h: Include ufc-crypt.h.
4309 (__b64_from_24bit): Declare extern.
4310 * crypt/crypt_util.c(__b64_from_24bit): New function.
4311 (b64t): New static const variable.
4312 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4313 (b64t): Remove variable.
4314 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4315 * crypt/sha256-crypt.c: Include crypt-private.h.
4316 (b64t): Remove variable.
4317 (__sha256_crypt_r): Remove b64_from_24bit and replace
4318 with __b64_from_24bit.
4319 * crypt/sha512-crypt.c: Likewise.
4321 2014-06-02 Roland McGrath <roland@hack.frob.com>
4323 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4324 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4325 Label the code __libc_vfork rather than __vfork.
4326 [!NOT_IN_libc] (vfork): Define as weak alias.
4327 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4328 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4329 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4331 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4333 * malloc/malloc.c (malloc_info): Fix format specifier for
4336 2014-06-02 Wilco <wdijkstr@arm.com>
4338 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4341 2014-06-02 Wilco <wdijkstr@arm.com>
4344 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4345 Rewrite to reduce FPCR/FPSR accesses.
4347 2014-06-01 David S. Miller <davem@davemloft.net>
4349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4351 2014-05-31 David S. Miller <davem@davemloft.net>
4353 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4354 to occur in round to nearest mode when |x| >= 2.0
4356 2014-05-30 Richard Henderson <rth@twiddle.net>
4358 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4359 (PSEUDO_RET_NOERRNO): Remove.
4360 (ret): Don't redefine.
4361 (ret_NOERRNO): Define in terms of ret.
4362 (ret_ERRVAL): Likewise.
4364 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4365 use of PSEUDO_RET; perform the error check directly.
4367 2014-05-30 Marko Myllynen <myllynen@redhat.com>
4369 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4372 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4374 * malloc/malloc (malloc_info): Fix formatting.
4376 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4377 Roland McGrath <roland@hack.frob.com>
4379 * malloc/malloc (malloc_info): Also print mmapped statistics.
4381 2014-05-30 Roland McGrath <roland@hack.frob.com>
4383 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4384 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4386 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
4388 * malloc/malloc.c (malloc_info): Inline mi_arena.
4390 2014-05-29 Richard Henderson <rth@twiddle.net>
4392 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4393 Remove comma before expanding ASM_ARGS_##nr.
4394 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4395 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4397 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4398 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4399 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4400 (ASM_ARGS_1): Add leading comma.
4402 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4403 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4404 to __errno_location.
4405 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4406 Remove the expected plt for __errno_location.
4408 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4409 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4412 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4413 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4414 it and break it down.
4415 (DOCARGS_0, DOCARGS_1): Do nothing.
4416 (DOCARGS_2): Update to store into the new stack frame.
4417 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4418 (UNDOCARGS_1): Update to restore from the new stack frame.
4419 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4420 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4422 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4423 (SINGLE_THREAD_P): New parameter for result regno.
4424 (PSEUDO): Update to match; use cbz instead of beq.
4426 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4427 Use ENTRY to define the _nocancel entry point. Share the syscall
4428 and syscall error check paths with the cancel path.
4431 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4432 whitespace; tabs before and after asm mnemonics.
4434 2014-05-29 Eric Wong <normalperson@yhbt.net>
4437 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4438 Call fstat64 or stat64 internally, depending on arguments passed.
4439 Replace stat buffer argument with file descriptor argument.
4440 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4441 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4442 Pass fd to __internal_statvfs instead of calling fstat64.
4443 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4444 Pass fd to __internal_statvfs64 instead of calling fstat64.
4445 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4446 Pass -1 to __internal_statvfs instead of calling stat64.
4447 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4448 Pass -1 to __internal_statvfs64 instead of calling stat64.
4450 2014-05-28 Roland McGrath <roland@hack.frob.com>
4452 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4453 that was previously under [RESET_PID].
4454 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4456 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4457 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4459 2014-05-27 Roland McGrath <roland@hack.frob.com>
4461 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4463 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4464 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4466 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4468 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4470 2014-05-27 Andreas Schwab <schwab@suse.de>
4472 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4474 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4475 * elf/rtld.c (init_tls, dl_main): Likewise.
4476 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4477 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4478 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4479 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4480 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4481 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4482 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4483 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4484 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4485 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4486 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4487 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4488 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4489 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4490 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4491 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4492 * sysdeps/generic/tls.h: Update description.
4494 2014-05-27 Will Newton <will.newton@linaro.org>
4497 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4498 and restore r2 rather than just restoring.
4500 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4503 * libio/tst-ftell-append.c: New test case.
4504 * libio/Makefile (tests): Add test case.
4505 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4507 * libio/wfileops.c (do_ftell_wide): Likewise.
4509 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4513 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4517 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4518 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4519 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4520 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4521 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4522 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4523 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4526 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4529 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4530 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4531 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4532 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4533 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4535 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4536 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4538 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4540 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4542 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4543 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4544 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4546 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4547 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4548 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4549 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4551 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4554 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4557 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4560 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4564 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4567 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4572 conditional [RESET_PID].
4573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4574 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4576 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4581 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4582 (__libc_vfork): New strong alias.
4583 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4585 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4590 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4591 (__libc_vfork): New strong alias.
4592 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4594 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4597 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4599 * malloc/malloc.c (mi_arena): New function.
4600 (malloc_info): Remove nested function mi_arena. Call non-nosted
4603 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4605 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4607 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4608 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4609 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4610 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4611 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4612 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4613 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4615 2014-05-26 Andreas Schwab <schwab@suse.de>
4618 * locale/programs/repertoire.c (repertoire_read): Add slash
4619 between I18NPATH element and file name.
4620 * locale/programs/locfile.c (locfile_read): Likewise.
4622 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4624 * nptl/pthread_mutexattr_settype.c
4625 (__pthread_mutexattr_settype):
4626 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4628 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4630 * nptl/tst-mutex5 (do_test):
4631 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4633 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4635 * benchtests/README: Document 'init' directive.
4636 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4638 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4639 (parse_file): Recognize 'init' directive.
4641 2014-05-26 Kyle McMartin <kyle@redhat.com>
4644 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4645 alignment of struct pthread.
4647 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4650 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4651 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4652 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4653 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4655 2014-05-25 Richard Henderson <rth@twiddle.net>
4657 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4658 (SINGLE_THREAD_P_PIC): Remove.
4659 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4660 (SINGLE_THREAD_P_PIC): Remove.
4662 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4663 branch to syscall error ...
4665 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4666 from __local_syscall_error to .Lsyscall_error.
4667 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4668 (SYSCALL_ERROR): Update label name.
4670 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4671 Do not use DOARGS/UNDOARGS.
4672 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4673 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4674 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4675 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4676 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4678 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4681 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4682 define if !NOT_IN_libc.
4683 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4684 define with non-default symbol versions.
4686 2014-05-23 Richard Henderson <rth@twiddle.net>
4688 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4689 (vfork, __vfork): Define via compat_symbol.
4691 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4692 [!HAVE_IFUNC] (vfork_compat): Remove.
4693 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4695 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4698 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4699 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4702 2014-05-23 Richard Henderson <rth@twiddle.net>
4704 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4705 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4706 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4707 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4709 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4710 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4711 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4712 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4713 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4714 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4715 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4716 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4717 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4718 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4719 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4720 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4721 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4722 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4723 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4724 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4725 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4726 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4727 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4728 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4729 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4730 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4731 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4732 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4733 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4734 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4735 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4736 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4737 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4738 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4739 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4740 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4741 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4742 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4743 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4744 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4745 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4746 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4747 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4748 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4749 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4750 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4751 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4752 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4753 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4754 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4755 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4756 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4757 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4758 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4759 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4760 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4761 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4762 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4763 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4764 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4766 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4767 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4768 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4769 before exiting on error.
4770 (__libc_vfork): New strong alias.
4771 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4772 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4774 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4775 that was previously under [RESET_PID].
4776 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4778 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4780 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4783 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4784 value when x - 1 is zero.
4785 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4786 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4787 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4788 0.0L for an argument of 1.0L.
4789 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4791 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4792 value when x - 1 is zero.
4793 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4794 * sysdeps/i386/fpu/libm-test-ulps: Update.
4795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4797 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4799 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4800 alphasort and versionsort.
4802 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4804 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4806 [copysignf]: Likewise.
4808 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4810 * crypt/md5-crypt.c: Fix formatting.
4812 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4814 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4815 (b64_from_24bit): New function.
4817 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4819 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4820 libc_hidden_builtin_def to ifunc.
4821 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4822 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4824 2014-05-21 Roland McGrath <roland@hack.frob.com>
4826 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4827 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4829 2014-05-21 Joseph Myers <joseph@codesourcery.com>
4831 * nscd/Depend (linuxthreads): Remove.
4833 * resolv/Depend (linuxthreads): Remove.
4834 * rt/Depend (linuxthreads): Remove.
4836 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4837 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4838 $(common-objpfx)elf/.
4839 (link-libc-before-gnulib): Likewise.
4840 (elfobjdir): Remove variable.
4841 * Makefile (install): Use $(elf-objpfx) instead of
4842 $(common-objpfx)elf/.
4843 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4845 (link-libc-deps): Likewise.
4846 ($(common-objpfx)libc.so): Likewise.
4847 ($(common-objpfx)linkobj/libc.so): Likewise.
4848 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4849 instead of $(common-objpfx)elf/.
4850 (symbolic-link-list): Likewise.
4851 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4852 [$(cross-compiling) = no]: Likewise.
4853 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4855 (static-gnulib-arch): Likewise.
4856 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4857 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4858 $(common-objpfx)elf/.
4860 2014-05-21 Richard Henderson <rth@redhat.com>
4862 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4863 (SINGLE_THREAD_P): Use the correct width load. Fold
4864 into the ldr offset.
4866 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4867 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4869 2014-05-20 Joseph Myers <joseph@codesourcery.com>
4871 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4872 (libgcc_s_resume): Use __attribute_used__.
4873 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4876 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4878 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4879 optimization when used with float constants.
4881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4883 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4886 * locale/nl_langinfo_l.c: Make direct reference to every
4887 _nl_current_CATEGORY symbol.
4888 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4889 (tests-static): Add tst-langinfo-static.
4890 (tests-special): Add tst-langinfo-static.out.
4891 ($(objpfx)tst-langinfo.out): Redirect output.
4892 ($(objpfx)tst-langinfo-static.out): New.
4893 * localedata/tst-langinfo.sh: Send output to stdout.
4894 * localedata/tst-langinfo-static.c: New file.
4897 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4898 when the shift amount is modulo the limb size.
4900 2014-05-20 Richard Henderson <rth@redhat.com>
4903 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4904 Change type of sa_flags from unsigned int to int.
4907 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4909 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4911 2014-05-20 Will Newton <will.newton@linaro.org>
4913 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4914 Test the return value of the system call in the nocancel case.
4916 2014-05-20 Will Newton <will.newton@linaro.org>
4917 Yvan Roux <yvan.roux@linaro.org>
4919 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4920 #include of asm/ptrace.h.
4921 (PTRACE_GET_THREAD_AREA): Remove #undef.
4922 (PTRACE_GETHBPREGS): Likewise.
4923 (PTRACE_SETHBPREGS): Likewise.
4924 (struct user_regs_struct): New structure.
4925 (struct user_fpsimd_struct): New structure.
4926 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4927 #include of asm/ptrace.h and second #include of sys/user.h.
4928 (PTRACE_GET_THREAD_AREA): Remove #undef.
4929 (PTRACE_GETHBPREGS): Likewise.
4930 (PTRACE_SETHBPREGS): Likewise.
4931 (ELF_NGREG): Use new struct user_regs_struct.
4932 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4934 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4936 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4937 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4939 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4942 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4943 membar to avoid block loads/stores to overlap previous stores.
4945 2014-05-17 Richard Henderson <rth@redhat.com>
4947 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4948 Create the __##syscall_name##_nocancel entry point.
4949 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4950 Remove; let the sysdep-cancel.h code create it.
4952 2014-05-17 David S. Miller <davem@davemloft.net>
4954 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4955 Protect with __USE_GNU.
4956 (TIOCSET_TEMPT): Likewise.
4957 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4958 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4959 these are already provided in bits/ioctl-types.h
4961 2014-05-16 Roland McGrath <roland@hack.frob.com>
4963 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4964 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4966 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4967 Use wait4 regardless of [__NR_waitpid].
4969 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4972 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4973 (_FP_NANSIGN_Q): Set the quiet bit.
4975 2014-05-16 Joseph Myers <joseph@codesourcery.com>
4977 * benchtests/Makefile
4978 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4979 not $(common-objpfx)math/libm.so.
4980 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4981 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4982 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4983 $(common-objpfx)dlfcn/libdl.so.
4984 ($(objpfx)tst-audit8): Depend on $(libm), not
4985 $(common-objpfx)math/libm.so.
4986 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4987 not $(common-objpfx)dlfcn/libdl.so.
4989 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4990 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4991 [$(build-shared) = yes].
4992 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4993 $(common-objpfx)nptl/libpthread.so.
4994 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4995 $(common-objpfx)math/libm.so$(libm.so-version) or
4996 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4997 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4998 $(common-objpfx)dlfcn/libdl.so.
4999 * setjmp/Makefile (link-libm): Remove variable.
5000 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5001 * stdio-common/Makefile (link-libm): Remove variable.
5002 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5003 * stdlib/Makefile (link-libm): Remove variable.
5004 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5005 ($(objpfx)tst-strtod-round): Likewise.
5006 ($(objpfx)tst-tininess): Likewise.
5007 ($(objpfx)tst-strtod-underflow): Likewise.
5008 ($(objpfx)tst-strtod6): Likewise.
5009 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5010 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5011 $(common-objpfx)dlfcn/libdl.so.
5013 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5015 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5016 BSD terminal modes definitions.
5018 2014-05-16 Roland McGrath <roland@hack.frob.com>
5020 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5021 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5023 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5024 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5025 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5026 Don't do #include_next.
5027 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5028 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5029 Don't do #include_next.
5030 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5031 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5032 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5033 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5035 2014-05-16 Allan McRae <allan@archlinux.org>
5037 * po/sv.po: Update Swedish translation from translation project.
5039 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5042 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5045 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5046 errno if the TIOCGPTN ioctl fails with an error different than
5048 * login/tst-ptsname.c: New file.
5049 * login/Makefile (tests): Add tst-ptsname.
5052 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5055 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5059 herrno to return EAI_AGAIN.
5061 2014-05-14 Roland McGrath <roland@hack.frob.com>
5063 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5064 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5065 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5066 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5067 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5068 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5069 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5070 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5071 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5072 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5073 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5074 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5075 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5076 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5077 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5078 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5079 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5080 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5081 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5082 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5083 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5084 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5085 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5086 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5087 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5088 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5089 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5090 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5091 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5092 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5094 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5096 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5099 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5101 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5103 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5105 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5107 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5109 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5111 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5113 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5115 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5117 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5119 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5121 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5123 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5125 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5128 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5130 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5132 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5134 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5135 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5136 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5138 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5140 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5142 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5144 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5146 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5149 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5151 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5153 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5154 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5155 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5156 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5157 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5158 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5159 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5160 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5161 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5162 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5163 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5164 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5165 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5166 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5167 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5168 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5169 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5170 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5171 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5172 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5173 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5174 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5175 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5176 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5177 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5178 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5179 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5180 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5181 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5182 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5183 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5185 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5186 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5188 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5189 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5190 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5191 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5192 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5193 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5195 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5196 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5198 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5199 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5201 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5202 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5204 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5205 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5206 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5207 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5209 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5210 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5211 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5212 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5213 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5214 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5215 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5216 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5218 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5219 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5221 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5223 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5224 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5225 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5226 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5227 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5229 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5231 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5233 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5234 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5235 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5236 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5237 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5238 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5240 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5241 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5243 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5244 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5246 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5247 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5249 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5250 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5251 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5252 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5254 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5255 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5256 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5257 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5258 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5259 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5260 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5261 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5263 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5264 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5266 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5268 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5269 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5270 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5271 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5272 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5274 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5276 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5278 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5279 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5280 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5281 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5282 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5283 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5284 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5285 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5286 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5287 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5289 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5290 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5292 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5293 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5295 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5296 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5298 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5299 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5300 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5301 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5302 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5303 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5305 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5306 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5307 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5308 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5309 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5310 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5311 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5312 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5314 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5315 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5317 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5319 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5320 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5321 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5322 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5323 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5325 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5327 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5329 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5330 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5331 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5332 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5333 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5334 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5335 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5336 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5337 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5338 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5339 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5341 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5342 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5344 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5345 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5347 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5348 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5349 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5350 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5351 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5352 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5353 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5354 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5355 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5356 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5357 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5358 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5359 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5360 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5361 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5362 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5363 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5364 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5366 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5367 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5368 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5369 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5371 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5372 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5373 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5374 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5375 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5376 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5377 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5378 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5380 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5381 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5383 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5384 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5385 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5386 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5387 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5388 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5389 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5390 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5391 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5392 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5393 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5394 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5395 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5396 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5397 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5398 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5399 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5401 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5402 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5403 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5404 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5405 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5407 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5408 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5409 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5410 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5411 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5412 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5413 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5414 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5415 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5416 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5418 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5419 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5421 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5422 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5423 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5424 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5425 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5426 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5427 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5428 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5429 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5430 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5431 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5432 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5433 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5434 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5435 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5437 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5439 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5441 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5443 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5445 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5447 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5449 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5453 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5455 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5456 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5457 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5458 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5459 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5460 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5461 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5462 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5463 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5464 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5465 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5466 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5467 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5468 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5469 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5471 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5472 that was previously under [RESET_PID].
5473 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5474 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5475 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5477 * sysdeps/i386/nptl/Implies: New file.
5478 * sysdeps/x86_64/nptl/Implies: New file.
5479 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5480 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5481 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5482 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5484 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5485 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5486 (__libc_vfork): New strong alias.
5487 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5488 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5490 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5491 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5492 (__libc_vfork): New strong alias.
5493 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5494 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5496 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5497 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5498 (__libc_vfork): New strong alias.
5499 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5500 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5501 * nptl/pt-vfork.c: New file.
5502 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5503 (libpthread: GLIBC_2.20): New version set (empty).
5505 2014-05-14 Will Newton <will.newton@linaro.org>
5507 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5510 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5513 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5514 arguments with exponent 65 or above.
5515 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5516 arguments 0x1p113L or above.
5517 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5518 to arguments 0x1p107L or above.
5519 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5520 positive arguments with exponent 65 or above.
5521 * math/auto-libm-test-in: Add more tests of log1p.
5522 * math/auto-libm-test-out: Regenerated.
5525 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5526 non-finite arguments is +0.
5527 * math/s_cacosf.c (__cacosf): Likewise.
5528 * math/s_cacosl.c (__cacosl): Likewise.
5529 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5530 * sysdeps/i386/fpu/libm-test-ulps: Update.
5531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5534 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5536 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5537 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5538 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5539 for explicit high bit of mantissa when testing for argument equal
5541 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5542 * sysdeps/i386/fpu/libm-test-ulps: Update.
5543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5546 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5547 (__erf): Scale by 16 instead of 8 in potentially underflowing
5548 case. Ensure exception if result actually underflows.
5549 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5550 (__erff): Scale by 16 instead of 8 in potentially underflowing
5551 case. Ensure exception if result actually underflows.
5552 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5553 (efx8): Remove variable.
5554 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5555 case. Ensure exception if result actually underflows.
5556 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5557 (efx8): Remove variable.
5558 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5559 case. Ensure exception if result actually underflows.
5560 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5561 (efx8): Remove variable.
5562 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5563 case. Ensure exception if result actually underflows.
5564 * math/auto-libm-test-in: Add more tests of erf.
5565 * math/auto-libm-test-out: Regenerated.
5567 2014-05-14 Andreas Schwab <schwab@suse.de>
5569 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5570 Remove code conditionalized on USE___THREAD.
5572 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5573 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5576 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5578 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5579 Define unconditionally.
5580 (__ASSUME_O_CLOEXEC): Likewise.
5581 (__ASSUME_SOCK_CLOEXEC): Likewise.
5582 (__ASSUME_IN_NONBLOCK): Likewise.
5583 (__ASSUME_PIPE2): Likewise.
5584 (__ASSUME_EVENTFD2): Likewise.
5585 (__ASSUME_SIGNALFD4): Likewise.
5586 (__ASSUME_DUP3): Likewise.
5587 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5588 (__ASSUME_DUP3): Do not define.
5589 (__ASSUME_EVENTFD2): Likewise.
5590 (__ASSUME_IN_NONBLOCK): Likewise.
5591 (__ASSUME_O_CLOEXEC): Likewise.
5592 (__ASSUME_PIPE2): Likewise.
5593 (__ASSUME_SIGNALFD4): Likewise.
5594 (__ASSUME_SOCK_CLOEXEC): Likewise.
5595 (__ASSUME_UTIMES): Undefine.
5596 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5597 (__ASSUME_UTIMES): Do not define.
5598 (__ASSUME_O_CLOEXEC): Likewise.
5599 (__ASSUME_SOCK_CLOEXEC): Likewise.
5600 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5601 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5603 (__ASSUME_PIPE2): Likewise.
5604 (__ASSUME_EVENTFD2): Likewise.
5605 (__ASSUME_SIGNALFD4): Likewise.
5606 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5607 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5609 (__ASSUME_EVENTFD2): Likewise.
5610 (__ASSUME_SIGNALFD4): Likewise.
5611 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5612 (__ASSUME_32BITUIDS): Likewise.
5613 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5614 (__ASSUME_IPC64): Likewise.
5615 (__ASSUME_ST_INO_64_BIT): Likewise.
5616 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5617 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5618 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5619 (__ASSUME_UTIMES): Do not define.
5620 (__ASSUME_PSELECT): Likewise.
5621 (__ASSUME_PPOLL): Likewise.
5622 (__ASSUME_O_CLOEXEC): Likewise.
5623 (__ASSUME_SOCK_CLOEXEC): Likewise.
5624 (__ASSUME_IN_NONBLOCK): Likewise.
5625 (__ASSUME_PIPE2): Likewise.
5626 (__ASSUME_EVENTFD2): Likewise.
5627 (__ASSUME_SIGNALFD4): Likewise.
5628 (__ASSUME_DUP3): Likewise.
5629 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5630 (__ASSUME_UTIMES): Likewise.
5631 (__ASSUME_O_CLOEXEC): Likewise.
5632 (__ASSUME_SOCK_CLOEXEC): Likewise.
5633 (__ASSUME_IN_NONBLOCK): Likewise.
5634 (__ASSUME_PIPE2): Likewise.
5635 (__ASSUME_EVENTFD2): Likewise.
5636 (__ASSUME_SIGNALFD4): Likewise.
5637 (__ASSUME_DUP3): Likewise.
5638 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5639 (__ASSUME_UTIMES): Likewise.
5640 (__ASSUME_O_CLOEXEC): Likewise.
5641 (__ASSUME_SOCK_CLOEXEC): Likewise.
5642 (__ASSUME_IN_NONBLOCK): Likewise.
5643 (__ASSUME_PIPE2): Likewise.
5644 (__ASSUME_EVENTFD2): Likewise.
5645 (__ASSUME_SIGNALFD4): Likewise.
5646 (__ASSUME_DUP3): Likewise.
5647 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5649 (__ASSUME_UTIMES): Likewise.
5650 (__ASSUME_EVENTFD2): Likewise.
5651 (__ASSUME_SIGNALFD4): Likewise.
5652 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5653 (__ASSUME_O_CLOEXEC): Likewise.
5654 (__ASSUME_SOCK_CLOEXEC): Likewise.
5655 (__ASSUME_IN_NONBLOCK): Likewise.
5656 (__ASSUME_PIPE2): Likewise.
5657 (__ASSUME_EVENTFD2): Likewise.
5658 (__ASSUME_SIGNALFD4): Likewise.
5659 (__ASSUME_DUP3): Likewise.
5660 (__ASSUME_UTIMES): Undefine.
5662 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5663 feclearexcept. Remove symbol versioning code.
5664 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5665 symbol versioning code.
5666 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5667 symbol versioning code.
5668 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5669 feupdateenv. Remove symbol versioning code.
5670 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5671 fegetexceptflag. Remove symbol versioning code.
5672 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5673 fesetexceptflag. Remove symbol versioning code.
5674 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5675 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5676 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5677 (__posix_fadvise64_l32): Remove prototype.
5678 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5681 2014-05-13 Roland McGrath <roland@hack.frob.com>
5683 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5684 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5685 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5686 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5688 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5690 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5691 current working directory
5693 2014-05-13 Roland McGrath <roland@hack.frob.com>
5695 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5696 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5697 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5698 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5699 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5700 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5701 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5702 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5703 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5704 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5705 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5706 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5707 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5708 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5709 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5710 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5711 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5712 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5713 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5714 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5715 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5716 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5717 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5718 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5719 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5720 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5721 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5722 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5723 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5724 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5725 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5726 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5727 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5728 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5729 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5730 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5731 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5732 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5733 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5734 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5735 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5736 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5738 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5739 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5741 * sysdeps/unix/sysv/linux/arm/Makefile
5742 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5743 Add rt-aeabi_unwind_cpp_pr1.
5744 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5745 Add nptl-aeabi_unwind_cpp_pr1.
5746 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5747 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5748 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5749 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5750 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5751 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5753 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5754 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5755 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5756 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5758 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5759 Deconditionalize the code that was previously under [RESET_PID].
5760 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5762 * sysdeps/generic/exit-thread.h: New file.
5763 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5764 * include/unistd.h (__exit_thread): Remove declaration.
5765 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5766 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5767 * csu/libc-start.c: Include <exit-thread.h>.
5768 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5769 * nptl/pthread_create.c: Include <exit-thread.h>.
5770 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5771 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5772 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5773 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5774 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5775 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5776 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5777 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5778 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5779 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5780 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5781 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5782 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5783 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5784 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5785 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5786 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5788 2014-05-13 Andreas Schwab <schwab@suse.de>
5790 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5792 2014-05-12 Joseph Myers <joseph@codesourcery.com>
5794 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5795 (__ASSUME_UTIMES): Do not condition on kernel version.
5796 (__ASSUME_PSELECT): Define unconditionally.
5797 (__ASSUME_PPOLL): Likewise.
5798 (__ASSUME_ATFCTS): Likewise.
5799 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5800 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5801 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5802 (__ASSUME_UTIMENSAT): Define unconditionally.
5803 (__ASSUME_PRIVATE_FUTEX): Likewise.
5804 (__ASSUME_FALLOCATE): Likewise.
5805 (__ASSUME_O_CLOEXEC): Likewise.
5806 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5807 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5808 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5809 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5810 (__ASSUME_IN_NONBLOCK): Likewise.
5811 (__ASSUME_PIPE2): Likewise.
5812 (__ASSUME_EVENTFD2): Likewise.
5813 (__ASSUME_SIGNALFD4): Likewise.
5814 (__ASSUME_DUP3): Likewise.
5815 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5816 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5817 (__ASSUME_AT_RANDOM): Likewise.
5818 (__ASSUME_PREADV): Likewise.
5819 (__ASSUME_PWRITEV): Likewise.
5820 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5821 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5822 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5823 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5824 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5825 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5826 (__ASSUME_O_CLOEXEC): Define unconditionally.
5827 (__ASSUME_PSELECT): Do not undefine conditionally.
5828 (__ASSUME_PPOLL): Likewise.
5829 (__ASSUME_ATFCTS): Likewise.
5830 (__ASSUME_SET_ROBUST_LIST): Likewise.
5831 (__ASSUME_UTIMENSAT): Likewise.
5832 (__ASSUME_FDATASYNC): Define unconditionally.
5833 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5834 (__ASSUME_SIGFRAME_V2): Likewise.
5835 )__ASSUME_EVENTFD2): Likewise.
5836 (__ASSUME_SIGNALFD4): Likewise.
5837 (__ASSUME_PSELECT): Do not undefine conditionally.
5838 (__ASSUME_PPOLL): Likewise.
5839 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5840 (__ASSUME_PSELECT): Define unconditionally.
5841 (__ASSUME_PPOLL): Likewise.
5842 (__ASSUME_O_CLOEXEC): Likewise.
5843 (__ASSUME_SOCK_CLOEXEC): Likewise.
5844 (__ASSUME_IN_NONBLOCK): Likewise.
5845 (__ASSUME_PIPE2): Likewise.
5846 (__ASSUME_EVENTFD2): Likewise.
5847 (__ASSUME_SIGNALFD4): Likewise.
5848 (__ASSUME_DUP3): Likewise.
5849 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5850 (__ASSUME_O_CLOEXEC): Likewise.
5851 (__ASSUME_SOCK_CLOEXEC): Likewise.
5852 (__ASSUME_IN_NONBLOCK): Likewise.
5853 (__ASSUME_PIPE2): Likewise.
5854 (__ASSUME_EVENTFD2): Likewise.
5855 (__ASSUME_SIGNALFD4): Likewise.
5856 (__ASSUME_DUP3): Likewise.
5857 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5858 (__ASSUME_EVENTFD2): Likewise.
5859 (__ASSUME_SIGNALFD4): Likewise.
5860 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5862 2014-05-12 Andreas Schwab <schwab@suse.de>
5865 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5866 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5867 than maximum RPC packet size.
5868 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5869 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5870 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5871 (_nss_nis_getservbyport_r): Likewise.
5873 2014-05-12 Will Newton <will.newton@linaro.org>
5875 * malloc/Makefile (tests): Add tst-mallopt.
5876 * malloc/tst-mallopt.c: New file.
5878 2014-05-09 Roland McGrath <roland@hack.frob.com>
5880 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5881 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5883 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5885 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5886 (tst-tlsmod6.so): Likewise.
5888 2014-05-09 Roland McGrath <roland@hack.frob.com>
5890 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5892 2014-05-09 Joseph Myers <joseph@codesourcery.com>
5895 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5896 and <dl-procinfo.h>.
5897 (__fegetenv): Save SSE state in envp->__eip if supported.
5898 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5899 envp->__eip if supported.
5900 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5901 and <dl-procinfo.h>.
5902 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5903 __data_offset and __data_selector in environment to 0. Set SSE
5905 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5907 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5909 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5911 2014-05-09 Will Newton <will.newton@linaro.org>
5913 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5914 and libc_relro_required for ARM.
5915 * sysdeps/arm/preconfigure: Regenerate.
5917 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5918 Stefan Liebler <stli@linux.vnet.ibm.com>
5920 * config.make.in (enable-lock-elision): New Makefile variable.
5921 * configure.ac: Likewise.
5922 * configure: Regenerate.
5923 * sysdeps/s390/configure.ac:
5924 Add check for gcc transactions support.
5925 * sysdeps/s390/configure: Regenerate.
5926 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5927 Build elision files if enabled.
5928 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5929 Add lock elision support for s390.
5930 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5931 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5932 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5933 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5934 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5935 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5936 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5938 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5940 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5942 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5944 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5945 (__lll_timedlock_elision, __lll_lock_elision)
5946 (__lll_unlock_elision, __lll_trylock_elision)
5947 (lll_timedlock_elision, lll_lock_elision)
5948 (lll_unlock_elision, lll_trylock_elision): Add.
5949 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5950 (pthread_mutex_t): Add lock elision support for s390.
5952 2014-05-14 Wilco <wdijkstr@arm.com>
5954 * sysdeps/arm/fclrexcpt.c: Cleanup.
5955 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5956 * sysdeps/arm/feenablxcpt.c: Cleanup.
5957 * sysdeps/arm/fegetenv.c: Cleanup.
5958 * sysdeps/arm/fegetexcept.c: Cleanup.
5959 * sysdeps/arm/fegetround.c: Cleanup.
5960 * sysdeps/arm/feholdexcpt.c: Cleanup.
5961 * sysdeps/arm/fesetenv.c: Cleanup.
5962 * sysdeps/arm/fesetround.c: Cleanup.
5963 * sysdeps/arm/feupdateenv.c: Cleanup.
5964 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5965 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5966 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5967 * sysdeps/arm/ftestexcept.c: Cleanup.
5968 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5969 * sysdeps/arm/setfpucw.c: Cleanup.
5971 2014-05-09 Will Newton <will.newton@linaro.org>
5973 * sysdeps/arm/armv7/strcmp.S: New file.
5974 * NEWS: Mention addition of ARMv7 optimized strcmp.
5976 2014-05-08 Roland McGrath <roland@hack.frob.com>
5978 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5979 look for %.ac rather than %.in.
5981 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5982 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5983 * sysdeps/mach/hurd/configure: Regenerated.
5984 * sysdeps/unix/sysv/linux/configure: Regenerated.
5986 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5988 2014-05-07 Steve Ellcey <sellcey@mips.com>
5991 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5995 2014-05-07 Andreas Schwab <schwab@suse.de>
5997 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5998 when skipping over non-matching result from nscd.
6000 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6003 * nptl/sockperf.c (client): Check socket return value.
6006 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6007 nscd security class.
6009 2014-05-06 Roland McGrath <roland@hack.frob.com>
6011 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6012 * sysdeps/arm/unwind.h: ... here.
6014 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6017 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6020 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6022 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6023 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6024 multiarch strncpy for PPC64.
6025 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6026 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6027 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6028 multiarch optimizations.
6029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6030 (__libc_ifunc_impl_list): Likewise.
6031 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6032 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6033 multiarch stpncpy for PPC64.
6034 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6035 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6037 2014-05-06 Andreas Schwab <schwab@suse.de>
6040 * gmon/mcount.c (_MCOUNT_DECL): Use
6041 atomic_compare_and_exchange_bool_acq instead of
6042 catomic_compare_and_exchange_bool_acq.
6044 2014-05-05 Roland McGrath <roland@hack.frob.com>
6046 * elf/Makefile (others, install-bin): Remove pldd.
6047 (pldd-modules): Variable removed.
6048 ($(objpfx)pldd): Target removed.
6049 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6050 (others, install-bin): Append pldd here.
6051 ($(objpfx)pldd): New target.
6053 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6054 to 0, so the first #if test emitted later doesn't see it undefined.
6055 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6056 * sysdeps/gnu/errlist.c: Regenerated.
6058 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6060 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6061 [libc_hidden_builtin_def]: Define to empty value.
6062 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6063 [libc_hidden_builtin_def]: Likewise.
6064 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6065 [libc_hidden_builtin_def]: Likewise.
6066 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6067 [libc_hidden_builtin_def]: Likewise.
6068 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6069 __redirect_memcpy and define ifunc as default hidden symbol.
6070 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6071 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6073 2014-05-04 Adam Conrad <adconrad@0c3.net>
6075 * locale/iso-4217.def: Reintroduce XDR currency.
6077 2014-05-04 Allan McRae <allan@archlinux.org>
6079 * po/eo.po: Update Esperanto translation from translation project.
6081 2014-05-02 Carlos O'Donell <carlos@redhat.com>
6083 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6084 and FEATURE_INDEX_MAX to 1.
6085 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6087 2014-05-01 Steve Ellcey <sellcey@mips.com>
6089 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6090 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6091 * iconvdata/big5.c (ONE_DIRECTION): Define.
6092 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6093 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6094 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6095 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6096 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6097 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6098 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6099 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6100 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6101 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6102 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6103 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6104 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6105 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6106 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6107 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6108 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6109 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6110 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6111 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6112 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6113 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6114 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6115 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6116 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6117 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6118 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6119 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6120 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6121 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6122 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6123 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6124 * iconvdata/johab.c (ONE_DIRECTION): Define.
6125 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6126 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6127 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6128 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6129 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6130 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6131 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6132 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6133 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6134 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6136 2014-05-01 Roland McGrath <roland@hack.frob.com>
6138 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6139 (_IO_JUMPS_OFFSET): Define to 0.
6141 * nptl/sysdeps/pthread/bits/libc-lock.h
6142 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6143 (__libc_lock_define_initialized_recursive): Always define using
6144 initializer. Modern compilers treat uninitialized (implicit zero) and
6145 explicit zero initializers the same (i.e. put the datum in bss).
6147 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6149 * nscd/nscd-client.h: Include <string.h>.
6151 2014-05-01 David S. Miller <davem@davemloft.net>
6154 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6155 multiple zero bytes exist at the end of a string.
6156 Reported by Aurelien Jarno <aurelien@aurel32.net>
6158 * string/test-strcmp.c (check): Add explicit test for situations where
6159 there are multiple zero bytes after the first.
6161 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6164 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6165 when compiling wprintf.
6166 * stdio-common/tstdiomisc.c (t3): New function.
6169 2014-05-01 Steve Ellcey <sellcey@mips.com>
6171 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6172 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6173 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6174 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6176 2014-05-01 Steve Ellcey <sellcey@mips.com>
6178 * stdlib/longlong.h: Updated from GCC.
6180 2014-05-01 Will Newton <will.newton@linaro.org>
6181 Bernard Ogden <bernie.ogden@linaro.org>
6183 * NEWS: Update fixed bug list.
6186 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6188 2014-04-30 David S. Miller <davem@davemloft.net>
6190 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6191 (libc_feholdexcept_setround_sparc_ctx): New function.
6192 (libc_fesetenv_sparc_ctx): Likewise.
6193 (libc_feupdateenv_sparc_ctx): Likewise.
6194 (libc_feholdsetround_sparc_ctx): Likewise.
6195 (libc_feholdexcept_setround_ctx): Define.
6196 (libc_feholdexcept_setroundf_ctx): Likewise.
6197 (libc_feholdexcept_setroundl_ctx): Likewise.
6198 (libc_fesetenv_ctx): Likewise.
6199 (libc_fesetenvf_ctx): Likewise.
6200 (libc_fesetenvl_ctx): Likewise.
6201 (libc_feupdateenv_ctx): Likewise.
6202 (libc_feupdateenvf_ctx): Likewise.
6203 (libc_feupdateenvl_ctx): Likewise.
6204 (libc_feresetround_ctx): Likewise.
6205 (libc_feresetroundf_ctx): Likewise.
6206 (libc_feresetroundl_ctx): Likewise.
6207 (libc_feholdsetround_ctx): Likewise.
6208 (libc_feholdsetroundf_ctx): Likewise.
6209 (libc_feholdsetroundl_ctx): Likewise.
6211 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6212 with __USE_GNU instead of XOPEN cpp guards.
6214 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6217 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6218 with XOPEN cpp guards.
6220 2014-04-30 Julian Brown <julian@codesourcery.com>
6223 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6226 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6229 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6231 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6232 * sysdeps/unix/sysv/linux/configure: Regenerated.
6233 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6234 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6235 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6236 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6237 * README: Update reference to required Linux kernel version.
6238 * manual/install.texi (Linux): Update reference to required Linux
6239 kernel headers version.
6240 * INSTALL: Regenerated.
6242 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6244 [POSIX] (limits.h): Likewise.
6245 [POSIX] (math.h): Likewise.
6246 [POSIX] (sys/wait.h): Likewise.
6247 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6249 [POSIX] (stddef.h): Do not allow header inclusion.
6251 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6253 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6255 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6257 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6258 Return immediately after lll_futex_wake.
6260 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6263 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6265 (datahead_init_pos): Call datahead_init_common early.
6266 (datahead_init_neg): Likewise.
6268 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6269 datahead_init_neg): New functions.
6270 * nscd/aicache.c (addhstaiX): Use them.
6271 * nscd/grpcache.c (cache_addgr): Likewise.
6272 * nscd/hstcache.c (cache_addhst): Likewise.
6273 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6274 * nscd/netgroupcache.c (do_notfound): Likewise.
6275 (addgetnetgrentX): Likewise.
6276 (addinnetgrX): Likewise.
6277 * nscd/pwdcache.c (cache_addpw): Likewise.
6278 * nscd/servicescache.c (cache_addserv): Likewise.
6280 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6281 Atsushi Onoe <atsushi@onoe.org>
6286 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6287 one response is valid.
6288 * resolv/res_send.c (send_dg): Check for validity of other
6289 response if the current response is a referral.
6291 2014-04-29 Steve Ellcey <sellcey@mips.com>
6293 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6295 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6298 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6299 Always divide by positive zero when computing -Inf result.
6300 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6301 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6303 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6305 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6306 FPSCR if value do not change.
6307 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6308 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6309 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6310 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6311 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6312 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6315 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6317 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6318 * sysdeps/unix/sysv/linux/hppa: Move directory from
6319 ports/systeps/unix/sysv/linux/hppa.
6320 * README: Update listing for hppa-*-linux-gnu.
6322 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
6325 * manual/stdio.texi (Hook functions): Fix types of stream hook
6328 * socket/sys/socket.h: Fix typo in comment.
6330 2014-04-28 Wilco <wdijkstr@arm.com>
6332 * sysdeps/arm/fenv_private.h: New file.
6333 * sysdeps/arm/math_private.h: New file.
6334 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6336 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6338 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6340 (La_x86_64_retval): Likewise.
6342 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6344 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6345 fpsr if value didn't change.
6346 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6347 to fpcr if value didn't change.
6348 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6349 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6350 fpsr or fpcr if value didn't change.
6351 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6352 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6353 fpcr if value didn't change.
6354 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6355 to fpsr if value didn't change.
6357 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6359 * nptl/tst-sem3.c: Use test-skeleton.c
6360 (main): Rename to do_test. Use return instead of
6362 * nptl/tst-sem4.c: Use test-skeleton.c
6363 (main): Rename to do_test.
6365 2014-04-22 David S. Miller <davem@davemloft.net>
6367 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6368 (struct sigaction): New struct member __glibc_reserved0, change
6369 type of sa_flags to int.
6371 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6373 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6374 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6376 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6378 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6379 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6381 2014-04-22 Will Newton <will.newton@linaro.org>
6382 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6384 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6385 (__longjmp): Add longjmp and longjmp_target SystemTap
6387 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6388 (__sigsetjmp): Add setjmp SystemTap probe.
6390 2014-04-17 Carlos O'Donell <carlos@redhat.com>
6392 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6395 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6397 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6399 * sysdeps/powerpc/fpu/fenv_private.h
6400 (libc_feholdexcept_setroundl_ctx): Define to
6401 libc_feholdexcept_setround_ppc_ctx.
6402 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6403 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6404 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6405 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6407 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6409 * sysdeps/aarch64/math-tests.h: New file.
6411 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6413 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6415 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6416 Check and set bit_AVX2_Usable.
6417 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6419 (bit_AVX2): Likewise.
6420 (index_AVX2_Usable): Likewise.
6421 (CPUID_AVX2): Likewise.
6422 (HAS_AVX2): Likewise.
6424 2014-04-17 Will Newton <will.newton@linaro.org>
6426 * manual/setjmp.texi (System V contexts): Add note that
6427 calling setcontext on a context created by a call to a
6428 signal handler is undefined. Update text to note that
6429 setcontext from a signal handler is possible but not
6433 * stdlib/tst-setcontext.c: Include signal.h.
6434 (main): Check that the signal stack before and
6435 after swapcontext is the same.
6437 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6438 Re-implement to restore registers in user code and avoid
6439 rt_sigreturn system call.
6441 2014-04-17 Wilco <wdijkstr@arm.com>
6443 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6444 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6445 * math/test-fenv.c: Skip exception trap tests on targets which only
6446 support non-stop mode.
6448 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6449 Wilco Dijkstra <wilco.dijkstra@arm.com>
6451 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6452 (libc_feholdsetround_aarch64_ctx)
6453 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6454 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6455 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6456 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6457 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6458 (libc_feresetround_noexl_ctx): Define.
6460 2014-04-16 Richard Henderson <rth@redhat.com>
6462 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6464 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6467 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6468 const from the non-libc, non-ldso copy.
6470 * sysdeps/alpha/libm-test-ulps: Regenerate.
6472 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6473 Wilco Dijkstra <wilco.dijkstra@arm.com>
6475 * sysdeps/aarch64/fpu/math_private.h: New file.
6477 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6479 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6481 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6483 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6484 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6485 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6486 Intel MPX bound registers before _dl_profile_fixup.
6487 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6488 registers after _dl_profile_fixup. Save and restore bound
6489 registers bnd0/bnd1 when calling _dl_call_pltexit.
6490 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6491 (LR_BND_OFFSET): Likewise.
6492 (LRV_BND0_OFFSET): Likewise.
6493 (LRV_BND1_OFFSET): Likewise.
6495 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6497 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6499 * sysdeps/mach/hurd/i386/tls.h: ... here.
6500 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6501 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6504 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6506 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6508 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6510 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6512 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6515 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6516 * sysdeps/s390/configure: Regenerate.
6519 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6520 Set round-to-nearest internally to reduce error accumulation.
6522 2014-04-16 Alan Modra <amodra@gmail.com>
6526 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6527 * math/libm-test.inc (frexp_test_data): Add tests.
6528 * NEWS: Update fixed bug list.
6530 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6532 * benchtests/Makefile: Depend on libraries in build directory.
6533 (bench-math): Separate out math tests.
6534 (bench-pthread): Separate out pthread tests.
6535 (bench): Include math and pthread tests.
6537 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6540 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6541 _dl_debug_initialize.
6543 * configure.ac: Remove SELinux header check.
6544 * configure: Regenerate.
6545 * nscd/selinux.c (perms): Array of const char* to permission names.
6546 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6547 default policy. Call string_to_security_class and string_to_av_perm to
6548 translate strings. Enforce default policy and call avs_has_perm with
6549 results of translated strings.
6551 2014-04-13 David S. Miller <davem@davemloft.net>
6553 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6555 2014-04-12 Allan McRae <allan@archlinux.org>
6558 * manual/string.texi (Collation Functions): Fix qsort argument
6560 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6562 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6564 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6565 Make the test a no-op if there are no exceptions defined.
6567 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6569 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6570 enable-hardcoded-path-in-tests
6572 2014-04-11 Will Newton <will.newton@linaro.org>
6574 * benchtests/Makefile (extra-objs): Add json-lib.o.
6575 (bench-func): Tidy up JSON output.
6576 * benchtests/bench-skeleton.c: Include json-lib.h.
6577 (main): Use JSON library functions to do output of
6579 * benchtests/bench-timing-type.c (main): Output the
6580 timing type simply, leaving formatting to the user.
6581 * benchtests/json-lib.c: New file.
6582 * benchtests/json-lib.h: Likewise.
6584 2014-04-11 Torvald Riegel <triegel@redhat.com>
6587 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6588 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6589 memory barriers. Add comments.
6590 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6591 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6592 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6593 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6594 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6595 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6597 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6599 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6600 * sysdeps/s390/s390-64/configure.ac: ... this ...
6601 * sysdeps/s390/configure.ac: ... to here.
6602 * sysdeps/s390/s390-32/configure: Delete file.
6603 * sysdeps/s390/s390-64/configure: Delete file.
6604 * sysdeps/s390/configure: Regenerate.
6606 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6608 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6610 2014-04-11 Will Newton <will.newton@linaro.org>
6612 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6613 to zero if it is not defined elsewhere. (mtrim): Test
6614 the value of MALLOC_DEBUG with #if rather than #ifdef.
6616 2014-04-10 Torvald Riegel <triegel@redhat.com>
6618 * benchtests/pthread_once-inputs: New file.
6619 * benchtests/pthread_once-source.c: New file.
6620 * benchtests/README: Update documentation.
6622 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6623 H.J. Lu <hongjiu.lu@intel.com>
6625 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6626 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6627 * sysdeps/x86_64/configure: Regenerated.
6628 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6630 (REGISTER_SAVE_RAX): Likewise.
6631 (REGISTER_SAVE_RCX): Likewise.
6632 (REGISTER_SAVE_RDX): Likewise.
6633 (REGISTER_SAVE_RSI): Likewise.
6634 (REGISTER_SAVE_RDI): Likewise.
6635 (REGISTER_SAVE_R8): Likewise.
6636 (REGISTER_SAVE_R9): Likewise.
6637 (REGISTER_SAVE_BND0): Likewise.
6638 (REGISTER_SAVE_BND1): Likewise.
6639 (REGISTER_SAVE_BND2): Likewise.
6640 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6641 bound registers when calling _dl_fixup.
6643 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6645 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6646 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6648 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6649 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6650 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6651 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6652 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6653 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6654 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6656 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6659 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6660 pathconf(_PC_NAME_MAX).
6662 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6664 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6666 (__PTHREAD_SPINS): Move definition to ...
6667 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6668 (__PTHREAD_SPINS): ... here.
6669 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6670 (__PTHREAD_SPIN): Likewise.
6671 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6672 (__PTHREAD_SPIN): Likewise.
6673 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6674 (__PTHREAD_SPIN): Likewise.
6675 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6676 (__PTHREAD_SPIN): Likewise.
6677 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6678 (__PTHREAD_SPIN): Likewise.
6679 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6680 (__PTHREAD_SPIN): Likewise.
6681 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6682 (__PTHREAD_SPIN): Likewise.
6683 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6684 (__PTHREAD_SPIN): Likewise.
6685 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6686 (__PTHREAD_SPIN): Likewise.
6687 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6688 (__PTHREAD_SPIN): Likewise.
6689 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6690 (__PTHREAD_SPIN): Likewise.
6691 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6692 (__PTHREAD_SPIN): Likewise.
6694 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6695 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6696 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6697 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6699 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6700 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6701 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6702 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6704 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6705 strlen symbol for non multi-arch builds.
6706 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6707 missing hidden_def and weak_alias.
6709 2014-04-08 Carlos O'Donell <carlos@redhat.com>
6711 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6713 2014-04-07 Will Newton <will.newton@linaro.org>
6715 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6716 and contents. [!_LIBC] Remove #ifndef and contents.
6717 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6718 * string/memccpy.c (__memccpy): Use ANSI prototype.
6719 * string/memfrob.c (memfrob): Likewise.
6720 * string/strcoll.c (STRCOLL): Likewise.
6721 * string/strlen.c (strlen): Likewise.
6722 * string/strtok.c (STRTOK): Likewise.
6723 * string/strcat.c: Remove unused #include of memcopy.h.
6724 (strcat): Use ANSI prototype.
6725 * string/strchr.c: Remove unused #include of memcopy.h.
6726 (strchr): Use ANSI prototype.
6727 * string/strcmp.c: Remove unused #include of memcopy.h.
6728 (strcmp): Use ANSI prototype.
6729 * string/strcpy.c: Remove unused #include of memcopy.h.
6730 (strcpy): Use ANSI prototype.
6732 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6734 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6735 * config.make.in (config-extra-cppflags): Set it from
6736 libc_extra_cppflags.
6737 * configure.ac (libc_extra_cflags): Make it accumulate over
6738 configure fragments.
6739 (libc_extra_cppflags): New flag.
6740 * configure. Regenerate.
6741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6742 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6743 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6747 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6748 result for FE_DOWNWARD rounding mode.
6749 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6753 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6755 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6756 in function argument name.
6758 2014-04-03 David Svoboda <svoboda@cert.org>
6761 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6764 2014-04-03 Roland McGrath <roland@hack.frob.com>
6766 * elf/dl-unmap-segments.h: New file.
6767 * sysdeps/generic/ldsodefs.h
6768 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6769 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6770 * elf/dl-fptr.c: Likewise.
6771 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6772 * sysdeps/aarch64/tlsdesc.c: Likewise.
6773 * sysdeps/arm/tlsdesc.c: Likewise.
6774 * sysdeps/i386/tlsdesc.c: Likewise.
6775 * sysdeps/tile/dl-runtime.c: Likewise.
6776 * sysdeps/x86_64/tlsdesc.c: Likewise.
6777 * elf/dl-load.h: New file.
6778 * elf/dl-load.c: Include it.
6779 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6780 Macros moved to dl-load.h.
6781 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6782 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6783 Use _dl_unmap_segments in place of __munmap.
6784 Break out segment-mapping loop into ...
6785 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6787 2014-04-03 Will Newton <will.newton@linaro.org>
6789 * elf/dl-lookup.c (do_lookup_x): Remove comment
6790 referring to nested function and move variable
6791 declarations down to before first use.
6793 2014-04-02 Joseph Myers <joseph@codesourcery.com>
6797 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6799 * math/s_catanf.c (__catanf): Likewise.
6800 * math/s_catanh.c (__catanh): Likewise.
6801 * math/s_catanhf.c (__catanhf): Likewise.
6802 * math/s_catanhl.c (__catanhl): Likewise.
6803 * math/s_catanl.c (__catanl): Likewise.
6804 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6805 by positive zero when computing -Inf result.
6806 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6807 (catanh_test): Likewise.
6808 * sysdeps/i386/fpu/libm-test-ulps: Update.
6809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6812 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6813 instead of using underflowing value in computing result.
6814 * math/s_clog10.c (__clog10): Likewise.
6815 * math/s_clog10f.c (__clog10f): Likewise.
6816 * math/s_clog10l.c (__clog10l): Likewise.
6817 * math/s_clogf.c (__clogf): Likewise.
6818 * math/s_clogl.c (__clogl): Likewise.
6819 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6820 (clog10_test): Likewise.
6821 * sysdeps/i386/fpu/libm-test-ulps: Update.
6822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6824 2014-04-02 Alan Modra <amodra@gmail.com>
6827 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6828 output when value is near a power of two. Use int64_t for lx and
6829 remove casts. Use decimal rather than hex exponent constants.
6830 Don't use long double multiplication when double will suffice.
6831 * math/libm-test.inc (nextafter_test_data): Add tests.
6832 * NEWS: Add 16739 and 16786 to bug list.
6834 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6836 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6838 2014-04-01 Will Newton <will.newton@linaro.org>
6840 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6841 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6843 2014-04-01 Florian Weimer <fweimer@redhat.com>
6846 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6847 * nptl/tst-setuid2.c: New file.
6848 * nptl/Makefile (xtests): Add tst-setuid2.
6850 2014-04-01 Alan Modra <amodra@gmail.com>
6853 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6855 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6859 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6860 set errno as appropriate.
6861 * math/w_scalbf.c (__scalbf): Likewise.
6862 * math/w_scalbl.c (__scalbl): Likewise.
6863 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6864 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6865 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6869 * math/w_atan2.c: Include <errno.h>.
6870 (__atan2): Set errno for result underflowing to zero.
6871 * math/w_atan2f.c: Include <errno.h>.
6872 (__atan2f): Set errno for result underflowing to zero.
6873 * math/w_atan2l.c: Include <errno.h>.
6874 (__atan2l): Set errno for result underflowing to zero.
6875 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6877 * math/auto-libm-test-out: Regenerated.
6879 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6881 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6882 Encode instruction correctly in little endian.
6883 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6885 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6887 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6889 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6892 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6895 * sysdeps/unix/sysv/linux/kernel-features.h
6896 [__sparc__ && !__arch64__ && !__sparc_v9__]
6897 (__ASSUME_SET_ROBUST_LIST): Do not define.
6898 [__sparc__ && !__arch64__ && !__sparc_v9__]
6899 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6900 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6902 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6903 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6904 (__ASSUME_REQUEUE_PI): Likewise.
6905 (__ASSUME_SET_ROBUST_LIST): Likewise.
6906 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6907 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6909 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6910 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6912 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6914 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6916 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6917 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6919 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6920 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6924 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6925 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6926 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6928 2014-03-31 Will Newton <will.newton@linaro.org>
6930 * benchtests/Makefile (bench): Add ffs and ffsll to list
6932 * benchtests/ffs-inputs: New file.
6933 * benchtests/ffsll-inputs: Likewise.
6935 2014-03-29 Joseph Myers <joseph@codesourcery.com>
6938 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6939 too large before casting to int.
6940 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6941 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6942 * math/libm-test.inc (scalb_test_data): Add more tests.
6944 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6946 * benchtests/Makefile (DETAILED_OPT): New make option.
6947 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6949 * benchtests/bench-skeleton.c: Include stdbool.h.
6950 (main): Store and print timings per input.
6951 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6952 member to each argument value.
6953 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6954 (_print_arg_data): Initialize per-input timing to 0.
6956 * benchtests/Makefile (timing-type): New binary.
6957 (bench-clean): Also remove bench-timing-type.
6958 (bench): New target for timing-type.
6959 (bench-func): Print output in JSON format.
6960 * benchtests/bench-skeleton.c (main): Print output in JSON
6962 * benchtests/bench-timing-type.c: New file.
6963 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6964 (TIMING_PRINT_STATS): Remove.
6965 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6968 * benchtests/bench-modf.c: Remove.
6969 * benchtests/modf-inputs: New inputs file.
6971 2014-03-28 Joseph Myers <joseph@codesourcery.com>
6974 * math/s_clog10.c (M_PI_LOG10E): New macro.
6975 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6976 imaginary parts are 0.
6977 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6978 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6979 imaginary parts are 0.
6980 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6981 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6982 imaginary parts are 0.
6983 * math/libm-test.inc (clog10_test_data): Update expected results
6984 for when real and imaginary parts are 0.
6986 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6988 * elf/dl-load.c: Finish conversion of __builtin_expect into
6991 2014-03-27 Joseph Myers <joseph@codesourcery.com>
6994 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6995 1+x for argument with exponent below -67.
6996 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6998 * math/auto-libm-test-in: Add more tests of exp.
6999 * math/auto-libm-test-out: Regenerated.
7001 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7004 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7005 (nscd_getnetgrent): Use it.
7008 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7011 2014-03-27 Andi Kleen <ak@linux.intel.com>
7013 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7014 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7015 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7016 (lll_robust_unlock): Remove out of line section. Use cfi
7018 (LLL_STUB_UNWIND_INFO*): Remove.
7019 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7020 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7021 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7022 (lll_robust_unlock): Remove out of line section. Use cfi
7024 (LLL_STUB_UNWIND_INFO*): Remove.
7026 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7029 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7032 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7034 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7036 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7039 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7041 * math/test-fenv-preserve.c: New file.
7042 * math/Makefile (tests): Add test-fenv-preserve.
7044 2014-03-26 Will Newton <will.newton@linaro.org>
7046 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7048 2014-03-25 Roland McGrath <roland@hack.frob.com>
7050 * scripts/versionlist.awk: Partition the version sets and emit all
7051 GLIBC_* (sorted) before all others (sorted).
7053 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7055 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7056 GLIBC_2.2.5 version.
7058 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7060 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7063 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7068 2014-03-25 Andreas Schwab <schwab@suse.de>
7070 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7071 label to be used after in6ailist is initialized.
7073 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7075 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7076 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7078 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7082 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7084 (fp_formats): Update initializers.
7085 (init_fp_formats): Initialize new field.
7086 (output_for_one_input_case): Allow underflow for results up to
7088 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7089 * math/auto-libm-test-in: Don't mark some underflows from asin and
7091 * math/auto-libm-test-out: Regenerated.
7092 * sysdeps/i386/fpu/libm-test-ulps: Update.
7093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7095 2014-03-25 Andreas Schwab <schwab@suse.de>
7097 * libio/Makefile (tst-ftell-partial-wide-ENV)
7098 (tst-ftell-active-handler-ENV): Define.
7100 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7102 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7104 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7106 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7108 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7110 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7111 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7112 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7114 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7117 * elf/dl-load.c (open_verify): Add mode parameter.
7118 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7119 (open_path): Change from boolean 'secure' to complete flag 'mode'
7120 (_dl_map_object): Adjust.
7121 * elf/Makefile (tests): Add tst-dlopen-aout.
7122 * elf/tst-dlopen-aout.c: New test.
7124 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7127 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7128 (struct stat): Rename member pad0 to __glibc_reserved0.
7131 * sysdeps/s390/s390-32/bits/wordsize.h
7132 (__WORDSIZE32_SIZE_ULONG): New define.
7133 * sysdeps/s390/s390-64/bits/wordsize.h
7134 (__WORDSIZE32_SIZE_ULONG): Likewise.
7135 * sysdeps/generic/stdint.h (SIZE_MAX):
7136 Define as UL if __WORDSIZE32_SIZE_ULONG.
7139 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7140 (__glibc_reserved0): New variable.
7141 (sa_flags): Change type to int.
7143 * posix/Makefile (before-compile): Use += before-compile instead
7146 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7147 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7149 2014-03-20 Andreas Schwab <schwab@suse.de>
7152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7153 non-matching result from nscd.
7155 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7157 * scripts/bench.py: Moved to ...
7158 * benchtests/scripts/bench.py: ... here.
7159 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7161 2014-03-24 Andreas Schwab <schwab@suse.de>
7164 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7165 alloca_account and account alloca use for struct in6ailist.
7167 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7170 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7171 rounding mode to recompute results that overflow to infinity or
7173 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7175 * math/auto-libm-test-out: Regenerated.
7176 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7177 (ccosh_test): Likewise.
7178 (csin_test_data): Use plus_oflow.
7179 (csin_test): Use ALL_RM_TEST.
7180 (csinh_test_data): Use plus_oflow.
7181 (csinh_test): Use ALL_RM_TEST.
7182 * sysdeps/i386/fpu/libm-test-ulps: Update.
7183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7185 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7187 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7188 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7189 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7192 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7194 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7195 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7196 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7197 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7199 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7200 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7202 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7203 * sysdeps/i386/fpu/libm-test-ulps: Update.
7204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7206 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7208 * scripts/bench.pl: Remove file.
7209 * scripts/bench.py: New benchmark script.
7210 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7211 * benchtests/README: Mention python dependency.
7212 * scripts/pylintrc: New file.
7213 * scripts/pylint: New file.
7215 * bits/mathdef.h: Use #ifdef instead of #if.
7216 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7217 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7218 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7219 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7220 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7221 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7223 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7224 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7226 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7227 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7228 and strpbrk-ppc64 objects.
7229 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7230 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7231 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7232 multiarch strpbrk for POWER7.
7233 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7234 multiarch strpbrk for PPC64.
7235 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7237 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7240 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7242 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7243 (atan_test): Likewise.
7244 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7245 (atanh_test): Use ALL_RM_TEST.
7246 (atan2_test_data): Likewise.
7247 (cabs_test): Likewise.
7248 (cacosh_test): Likewise.
7249 (carg_test): Likewise.
7250 (casin_test): Likewise.
7251 (casinh_test): Likewise.
7252 (cbrt_test): Likewise.
7253 (csqrt_test): Likewise.
7254 (erf_test): Likewise.
7255 (erfc_test): Likewise.
7256 (pow10_test): Likewise.
7257 (exp2_test): Likewise.
7258 (hypot_test): Likewise.
7259 (j0_test): Likewise.
7260 (j1_test): Likewise.
7261 (lgamma_test): Likewise.
7262 (gamma_test): Likewise.
7263 (sincos_test): Likewise.
7264 (tanh_test): Likewise.
7265 (y0_test): Likewise.
7266 (y1_test): Likewise.
7267 * sysdeps/i386/fpu/libm-test-ulps: Update.
7268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7270 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7272 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7273 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7274 and strcspn-ppc64 objects.
7275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7276 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7277 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7278 multiarch strcspn for POWER7.
7279 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7280 multiarch strcspn for PPC64.
7281 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7283 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7286 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7288 * math/gen-libm-test.pl (generate_testfile): Expect only function
7289 name as argument to AUTO_TESTS_* and pass results for all rounding
7290 modes to parse_args.
7291 (parse_auto_input): Separate inputs of automatic tests from
7292 outputs before storing in %auto_tests.
7293 * math/libm-test.inc (acos_test_data): Update call to
7295 (acos_test): Use ALL_RM_TEST.
7296 (acos_tonearest_test_data): Remove.
7297 (acos_test_tonearest): Likewise.
7298 (acos_towardzero_test_data): Likewise.
7299 (acos_test_towardzero): Likewise.
7300 (acos_downward_test_data): Likewise.
7301 (acos_test_downward): Likewise.
7302 (acos_upward_test_data): Likewise.
7303 (acos_test_upward): Likewise.
7304 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7305 (asin_test_data): Likewise.
7306 (asin_test): Use ALL_RM_TEST.
7307 (asin_tonearest_test_data): Remove.
7308 (asin_test_tonearest): Likewise.
7309 (asin_towardzero_test_data): Likewise.
7310 (asin_test_towardzero): Likewise.
7311 (asin_downward_test_data): Likewise.
7312 (asin_test_downward): Likewise.
7313 (asin_upward_test_data): Likewise.
7314 (asin_test_upward): Likewise.
7315 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7316 (atan_test_data): Likewise.
7317 (atanh_test_data): Likewise.
7318 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7319 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7320 (carg_test_data): Likewise.
7321 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7322 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7323 (ccosh_test_data): Likewise.
7324 (cexp_test_data): Likewise.
7325 (clog_test_data): Likewise.
7326 (clog10_test_data): Likewise.
7327 (cos_test_data): Update call to AUTO_TESTS_f_f.
7328 (cos_test): Use ALL_RM_TEST.
7329 (cos_tonearest_test_data): Remove.
7330 (cos_test_tonearest): Likewise.
7331 (cos_towardzero_test_data): Likewise.
7332 (cos_test_towardzero): Likewise.
7333 (cos_downward_test_data): Likewise.
7334 (cos_test_downward): Likewise.
7335 (cos_upward_test_data): Likewise.
7336 (cos_test_upward): Likewise.
7337 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7338 (cosh_test): Use ALL_RM_TEST.
7339 (cosh_tonearest_test_data): Remove.
7340 (cosh_test_tonearest): Likewise.
7341 (cosh_towardzero_test_data): Likewise.
7342 (cosh_test_towardzero): Likewise.
7343 (cosh_downward_test_data): Likewise.
7344 (cosh_test_downward): Likewise.
7345 (cosh_upward_test_data): Likewise.
7346 (cosh_test_upward): Likewise.
7347 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7348 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7349 (ctan_test_data): Likewise.
7350 (ctan_test): Use ALL_RM_TEST.
7351 (ctan_tonearest_test_data): Remove.
7352 (ctan_test_tonearest): Likewise.
7353 (ctan_towardzero_test_data): Likewise.
7354 (ctan_test_towardzero): Likewise.
7355 (ctan_downward_test_data): Likewise.
7356 (ctan_test_downward): Likewise.
7357 (ctan_upward_test_data): Likewise.
7358 (ctan_test_upward): Likewise.
7359 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7360 (ctanh_test): Use ALL_RM_TEST.
7361 (ctanh_tonearest_test_data): Remove.
7362 (ctanh_test_tonearest): Likewise.
7363 (ctanh_towardzero_test_data): Likewise.
7364 (ctanh_test_towardzero): Likewise.
7365 (ctanh_downward_test_data): Likewise.
7366 (ctanh_test_downward): Likewise.
7367 (ctanh_upward_test_data): Likewise.
7368 (ctanh_test_upward): Likewise.
7369 (erf_test_data): Update call to AUTO_TESTS_f_f.
7370 (erfc_test_data): Likewise.
7371 (exp_test_data): Likewise.
7372 (exp_test): Use ALL_RM_TEST.
7373 (exp_tonearest_test_data): Remove.
7374 (exp_test_tonearest): Likewise.
7375 (exp_towardzero_test_data): Likewise.
7376 (exp_test_towardzero): Likewise.
7377 (exp_downward_test_data): Likewise.
7378 (exp_test_downward): Likewise.
7379 (exp_upward_test_data): Likewise.
7380 (exp_test_upward): Likewise.
7381 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7382 (exp10_test): Use ALL_RM_TEST.
7383 (exp10_tonearest_test_data): Remove.
7384 (exp10_test_tonearest): Likewise.
7385 (exp10_towardzero_test_data): Likewise.
7386 (exp10_test_towardzero): Likewise.
7387 (exp10_downward_test_data): Likewise.
7388 (exp10_test_downward): Likewise.
7389 (exp10_upward_test_data): Likewise.
7390 (exp10_test_upward): Likewise.
7391 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7392 (expm1_test_data): Likewise.
7393 (expm1_test): Use ALL_RM_TEST.
7394 (expm1_tonearest_test_data): Remove.
7395 (expm1_test_tonearest): Likewise.
7396 (expm1_towardzero_test_data): Likewise.
7397 (expm1_test_towardzero): Likewise.
7398 (expm1_downward_test_data): Likewise.
7399 (expm1_test_downward): Likewise.
7400 (expm1_upward_test_data): Likewise.
7401 (expm1_test_upward): Likewise.
7402 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7403 (fma_test): Use ALL_RM_TEST.
7404 (fma_towardzero_test_data): Remove.
7405 (fma_test_towardzero): Likewise.
7406 (fma_downward_test_data): Likewise.
7407 (fma_test_downward): Likewise.
7408 (fma_upward_test_data): Likewise.
7409 (fma_test_upward): Likewise.
7410 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7411 (j0_test_data): Update call to AUTO_TESTS_f_f.
7412 (j1_test_data): Likewise.
7413 (jn_test_data): Update call to AUTO_TESTS_if_f.
7414 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7415 (log_test_data): Update call to AUTO_TESTS_f_f.
7416 (log10_test_data): Likewise.
7417 (log1p_test_data): Likewise.
7418 (log2_test_data): Likewise.
7419 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7420 (pow_tonearest_test_data): Likewise.
7421 (sin_test_data): Update call to AUTO_TESTS_f_f.
7422 (sin_test): Use ALL_RM_TEST.
7423 (sin_tonearest_test_data): Remove.
7424 (sin_test_tonearest): Likewise.
7425 (sin_towardzero_test_data): Likewise.
7426 (sin_test_towardzero): Likewise.
7427 (sin_downward_test_data): Likewise.
7428 (sin_test_downward): Likewise.
7429 (sin_upward_test_data): Likewise.
7430 (sin_test_upward): Likewise.
7431 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7432 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7433 (sinh_test): Use ALL_RM_TEST.
7434 (sinh_tonearest_test_data): Remove.
7435 (sinh_test_tonearest): Likewise.
7436 (sinh_towardzero_test_data): Likewise.
7437 (sinh_test_towardzero): Likewise.
7438 (sinh_downward_test_data): Likewise.
7439 (sinh_test_downward): Likewise.
7440 (sinh_upward_test_data): Likewise.
7441 (sinh_test_upward): Likewise.
7442 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7443 (sqrt_test): Use ALL_RM_TEST.
7444 (sqrt_tonearest_test_data): Remove.
7445 (sqrt_test_tonearest): Likewise.
7446 (sqrt_towardzero_test_data): Likewise.
7447 (sqrt_test_towardzero): Likewise.
7448 (sqrt_downward_test_data): Likewise.
7449 (sqrt_test_downward): Likewise.
7450 (sqrt_upward_test_data): Likewise.
7451 (sqrt_test_upward): Likewise.
7452 (tan_test_data): Update call to AUTO_TESTS_f_f.
7453 (tan_test): Use ALL_RM_TEST.
7454 (tan_tonearest_test_data): Remove.
7455 (tan_test_tonearest): Likewise.
7456 (tan_towardzero_test_data): Likewise.
7457 (tan_test_towardzero): Likewise.
7458 (tan_downward_test_data): Likewise.
7459 (tan_test_downward): Likewise.
7460 (tan_upward_test_data): Likewise.
7461 (tan_test_upward): Likewise.
7462 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7463 (tgamma_test_data): Likewise.
7464 (y0_test_data): Likewise.
7465 (y1_test_data): Likewise.
7466 (yn_test_data): Update call to AUTO_TESTS_if_f.
7467 (main): Do not call removed functions.
7469 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7471 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7472 (ldexp_test_data): Remove.
7473 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7475 (scalb_test): Use ALL_RM_TEST.
7477 2014-03-19 Andreas Schwab <schwab@suse.de>
7479 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7481 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7484 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7485 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7486 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7487 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7488 (__ASSUME_PREADV): Undefine.
7489 (__ASSUME_PWRITEV): Likewise.
7491 2014-03-18 Roland McGrath <roland@hack.frob.com>
7493 * bits/mman-linux.h: Add comment about non-Linux use.
7494 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7495 bits/mman-linux.h resting place.
7497 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7498 * bits/mman-linux.h: ... here.
7500 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7502 * conform/conformtest.pl: Add standard definition when calling C
7503 preprocessor on data files.
7504 (checknamespace): Remove unused variable.
7506 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7508 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7509 minus_oflow, plus_uflow and minus_uflow in expected results.
7510 * math/libm-test.inc (scalbn_test_data): Add more tests of
7511 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7513 (scalbn_test): Use ALL_RM_TEST.
7514 (scalbln_test_data): Add more tests of negative arguments. Use
7515 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7516 (scalbln_test): Use ALL_RM_TEST.
7518 2014-03-18 Roland McGrath <roland@hack.frob.com>
7520 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7522 2014-03-18 Will Newton <will.newton@linaro.org>
7524 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7527 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7529 * Makerules [!subdir] (check-abi): Exit with error status if a
7532 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7534 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7535 for rint. Include results for all rounding modes.
7536 (nearbyint_test): Use ALL_RM_TEST.
7537 (rint_test_data): Include all tests used for nearbyint.
7539 2014-03-17 Will Newton <will.newton@linaro.org>
7541 * nptl/sysdeps/pthread/pthread.h: Revert previous
7544 * sysdeps/generic/ldsodefs.h: Revert previous
7547 * libio/genops.c: Revert previous change.
7548 * libio/libioP.h: Likewise.
7549 * stdio-common/vfprintf.c: Likewise.
7551 * sysdeps/generic/math_private.h: Revert previous
7554 * sysdeps/generic/math_private.h: Check whether
7555 HAVE_RM_CTX is defined with #ifdef rather
7558 * argp/argp-fmtstream.h: Check whether
7559 __STRICT_ANSI__ is defined with #ifdef rather
7561 * argp/argp.h: Likewise.
7563 * libio/genops.c: Check whether
7564 _IO_JUMPS_OFFSET is defined with #ifdef rather
7566 * libio/libioP.h: Likewise.
7567 * stdio-common/vfprintf.c: Likewise.
7569 * sysdeps/generic/ldsodefs.h: Check whether
7570 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7573 * nptl/sysdeps/pthread/pthread.h: Check
7574 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7577 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7579 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7581 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7585 * libio/fileops.c (_IO_file_open): Seek to end of file but
7586 don't cache the offset.
7587 (get_file_offset): Remove function.
7588 (do_ftell): Use cached offset when available.
7589 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7590 don't cache the offset.
7591 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7593 (do_one_test): Call it.
7594 (do_ftell_test): Fix up expected old offset for a+ mode.
7595 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7598 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7599 up test status with function return status.
7600 (do_write_test): Likewise.
7601 (do_append_test): Likewise.
7603 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7604 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7607 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7609 * math/gen-libm-test.pl (parse_args): Handle results specified for
7610 each rounding mode separately.
7611 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7612 tests and results from lrint_tonearest_test_data,
7613 lrint_towardzero_test_data, lrint_downward_test_data and
7614 lrint_upward_test_data.
7615 (lrint_test): Use ALL_RM_TEST.
7616 (lrint_tonearest_test_data): Remove.
7617 (lrint_test_tonearest): Likewise.
7618 (lrint_towardzero_test_data): Likewise.
7619 (lrint_test_towardzero): Likewise.
7620 (lrint_downward_test_data): Likewise.
7621 (lrint_test_downward): Likewise.
7622 (lrint_upward_test_data): Likewise.
7623 (lrint_test_upward): Likewise.
7624 (llrint_test_data): Merge in per-rounding-mode tests and results
7625 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7626 llrint_downward_test_data and llrint_upward_test_data.
7627 (llrint_test): Use ALL_RM_TEST.
7628 (llrint_tonearest_test_data): Remove.
7629 (llrint_test_tonearest): Likewise.
7630 (llrint_towardzero_test_data): Likewise.
7631 (llrint_test_towardzero): Likewise.
7632 (llrint_downward_test_data): Likewise.
7633 (llrint_test_downward): Likewise.
7634 (llrint_upward_test_data): Likewise.
7635 (llrint_test_upward): Likewise.
7636 (rint_test_data): Merge in per-rounding-mode tests and results
7637 from rint_tonearest_test_data, rint_towardzero_test_data,
7638 rint_downward_test_data and rint_upward_test_data. Add
7639 per-rounding-mode results for tests not in those arrays.
7640 (rint_test): Use ALL_RM_TEST.
7641 (rint_tonearest_test_data): Remove.
7642 (rint_test_tonearest): Likewise.
7643 (rint_towardzero_test_data): Likewise.
7644 (rint_test_towardzero): Likewise.
7645 (rint_downward_test_data): Likewise.
7646 (rint_test_downward): Likewise.
7647 (rint_upward_test_data): Likewise.
7648 (rint_test_upward): Likewise.
7649 (main): Don't call removed functions.
7651 2014-03-14 Roland McGrath <roland@hack.frob.com>
7653 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7654 "Compiled on ..." crapola. It is anti-useful.
7656 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7658 * scripts/evaluate-test.sh: Handle fourth argument to determine
7659 whether test run should stop on failure.
7660 * Makeconfig (stop-on-test-failure): New variable.
7661 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7662 $(stop-on-test-failure).
7663 * Makefile (tests): Give a summary of results from testing and
7664 exit with failure status if they include an ERROR or FAIL.
7666 * manual/install.texi (Configuring and compiling): Mention
7667 stop-on-test-failure=y.
7668 * INSTALL: Regenerated.
7670 2014-03-14 Roland McGrath <roland@hack.frob.com>
7672 * scripts/versionlist.awk: New file.
7673 * Makerules [$(build-shared) = yes]
7674 (postclean-generated): Add Versions.def, not Versions.def.v and
7676 ($(common-objpfx)Versions.def.v.i): Target removed.
7677 ($(common-objpfx)Versions.def): New target.
7678 ($(common-objpfx)Versions.all): Depend on that rather that
7679 $(common-objpfx)Versions.def.v.
7680 * Versions.def: File removed.
7682 * Makeconfig (+gccwarn): Add -Wundef.
7683 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7684 a dl-sysdep.h breaking its contract.
7685 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7686 * include/stackinfo.h: New file.
7687 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7688 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7689 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7690 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7691 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7692 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7693 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7694 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7695 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7696 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7697 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7698 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7699 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7700 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7701 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7703 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7706 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7708 * math/libm-test.inc (round_test_data): Add more tests.
7711 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7713 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7716 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7718 * math/libm-test.inc (ceil_test_data): Add more tests.
7720 * math/libm-test.inc (trunc_test_data): Add more tests related to
7723 2014-03-14 Roland McGrath <roland@hack.frob.com>
7725 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7726 with #if rather than #ifdef.
7727 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7729 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7731 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7732 first. Disable AVX-512 GCC support if assembler doesn't support
7734 * sysdeps/x86_64/configure: Regenerated.
7736 2014-03-13 Carlos O'Donell <carlos@redhat.com>
7738 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7739 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7740 (__old_pthread_attr_setstack): Likewise.
7741 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7742 [!_STACK_GROWS_DOWN]: Likewise.
7744 2014-03-13 Mike Frysinger <vapier@gentoo.org>
7746 * config.make.in (have-bash2): Delete.
7747 * configure.ac (libc_cv_have_bash2): Delete.
7748 * configure: Regenerate.
7749 * elf/Makefile (common-ldd-rewrite): Rename to ...
7750 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7751 (sh-ldd-rewrite): Delete.
7752 (bash-ldd-rewrite): Delete.
7753 (have-bash2): Delete checks.
7754 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7757 * config.make.in (have-ksh): Delete.
7759 * configure.ac (libc_cv_have_ksh): Delete.
7760 * configure: Regenerate.
7762 * elf/Makefile: Delete $(have-ksh) check.
7763 ($(objpfx)sotruss): Change KSH to BASH.
7764 * elf/sotruss.ksh: Rename to ...
7765 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7766 function style to match POSIX. Drop ksh vim mode setting.
7768 * manual/time.texi (Specifying the Time Zone with TZ): Change
7769 Tuesday to Thursday.
7771 * debug/tst-longjmp_chk2.c: Update header comment.
7772 (stackoverflow_handler): Add comment. Call assert on pass value.
7774 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7776 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7777 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7778 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7779 (La_x86_64_vector): Add zmm.
7780 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7781 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7782 ($(objpfx)tst-audit10): New target.
7783 ($(objpfx)tst-audit10.out): Likewise.
7784 (tst-audit10-ENV): New.
7785 (AVX512-CFLAGS): Likewise.
7786 (CFLAGS-tst-audit10.c): Likewise.
7787 (CFLAGS-tst-auditmod10a.c): Likewise.
7788 (CFLAGS-tst-auditmod10b.c): Likewise.
7789 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7790 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7791 * sysdeps/x86_64/configure: Regenerated.
7792 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7793 AVX-512 zmm register support.
7794 (_dl_x86_64_save_sse): Likewise.
7795 (_dl_x86_64_restore_sse): Likewise.
7796 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7797 size vector registers.
7798 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7799 (ZMM_SIZE): Likewise.
7800 * sysdeps/x86_64/tst-audit10.c: New file.
7801 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7802 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7804 2014-03-13 Roland McGrath <roland@hack.frob.com>
7806 * configure.ac (HAVE_EHDR_START): New check.
7807 * configure: Regenerated.
7808 * config.h.in (HAVE_EHDR_START): New #undef.
7809 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7810 assuming the lowest-addressed segment maps the start of the file.
7812 2014-03-13 Joseph Myers <joseph@codesourcery.com>
7814 * INSTALL: Regenerated.
7816 2014-03-13 Will Newton <will.newton@linaro.org>
7818 * manual/setjmp.texi (System V contexts): Improve
7819 clarity and grammar of documentation.
7821 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7824 * elf/Makefile (tests): Add tst-pie2.
7825 (tests-pie): Add tst-pie2.
7826 * elf/tst-pie2.c: New file.
7827 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7829 * elf/rtld.c (map_doit): Load executable as lt_executable.
7830 (dl_main): Likewise.
7832 2014-03-12 Joseph Myers <joseph@codesourcery.com>
7835 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7836 (__ASSUME_PSELECT): Undefine.
7838 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7841 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7842 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7844 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7845 selector for static builds.
7847 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7850 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7853 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7855 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7856 IFUNC selector for static builds.
7858 2014-03-11 Joseph Myers <joseph@codesourcery.com>
7860 * sysdeps/mips/math_private.h [__mips_hard_float]
7861 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7862 libc_feresetround_mips_ctx.
7863 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7864 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7865 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7868 * math/s_nextafter.c (__nextafter): Do not return value from
7869 overflowing computation.
7870 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7871 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7872 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7874 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7876 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7877 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7879 2014-03-11 Roland McGrath <roland@hack.frob.com>
7881 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7882 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7883 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7884 the new mov targetting sp.
7886 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7889 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7890 Define it for static builds as well.
7891 (NO_BZERO_IMPL): Likewise.
7893 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7895 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7896 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7897 multiarch strspn for PPC64.
7898 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7899 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7901 (__libc_ifunc_impl_list): Likewise.
7902 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7903 multiarch optimizations
7904 * string/strspn.c (strspn): Using macro to redefine symbol name.
7906 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7907 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7909 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7910 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7911 multiarch strncat for PPC64.
7912 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7913 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7914 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7915 (__libc_ifunc_impl_list): Likewise.
7916 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7917 multiarch optimizations
7919 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7922 * nscd/nscd.service: Make service type forking.
7924 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7926 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7927 sign in non default rounding modes.
7928 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7930 2014-03-08 Joseph Myers <joseph@codesourcery.com>
7932 * math/libm-test.inc (ALL_RM_TEST): New macro.
7933 (ceil_test): Use ALL_RM_TEST.
7934 (cimag_test): Likewise.
7935 (conj_test): Likewise.
7936 (copysign_test): Likewise.
7937 (cproj_test): Likewise.
7938 (creal_test): Likewise.
7939 (fabs_test): Likewise.
7940 (floor_test): Likewise.
7941 (fmax_test): Likewise.
7942 (fmin_test): Likewise.
7943 (fmod_test): Likewise.
7944 (fpclassify_test): Likewise.
7945 (frexp_test): Likewise.
7946 (ilogb_test): Likewise.
7947 (isfinite_test): Likewise.
7948 (finite_test): Likewise.
7949 (isgreater_test): Likewise.
7950 (isgreaterequal_test): Likewise.
7951 (isinf_test): Likewise.
7952 (isless_test): Likewise.
7953 (islessequal_test): Likewise.
7954 (islessgreater_test): Likewise.
7955 (isnan_test): Likewise.
7956 (isnormal_test): Likewise.
7957 (issignaling_test): Likewise.
7958 (isunordered_test): Likewise.
7959 (logb_test): Likewise.
7960 (logb_downward_test_data): Remove.
7961 (logb_test_downward): Likewise.
7962 (lround_test): Use ALL_RM_TEST.
7963 (llround_test): Likewise.
7964 (modf_test): Likewise.
7965 (nexttoward_test): Likewise.
7966 (remainder_test): Likewise.
7967 (drem_test): Likewise.
7968 (remainder_tonearest_test_data): Likewise.
7969 (remainder_test_tonearest): Likewise.
7970 (drem_test_tonearest): Likewise.
7971 (remainder_towardzero_test_data): Likewise.
7972 (remainder_test_towardzero): Likewise.
7973 (drem_test_towardzero): Likewise.
7974 (remainder_downward_test_data): Likewise.
7975 (remainder_test_downward): Likewise.
7976 (drem_test_downward): Likewise.
7977 (remainder_upward_test_data): Likewise.
7978 (remainder_test_upward): Likewise.
7979 (drem_test_upward): Likewise.
7980 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7981 (round_test): Use ALL_RM_TEST.
7982 (signbit_test): Likewise.
7983 (trunc_test): Likewise.
7984 (significand_test): Likewise.
7985 (main): Don't call removed functions.
7987 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7990 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7992 (ILL_ILLOPN): Likewise.
7993 (ILL_ILLADR): Likewise.
7994 (ILL_ILLTRP): Likewise.
7995 (ILL_PRVOPC): Likewise.
7996 (ILL_PRVREG): Likewise.
7997 (ILL_COPROC): Likewise.
7998 (ILL_BADSTK): Likewise.
7999 (FPE_INTDIV): Likewise.
8000 (FPE_INTOVF): Likewise.
8001 (FPE_FLTDIV): Likewise.
8002 (FPE_FLTOVF): Likewise.
8003 (FPE_FLTUND): Likewise.
8004 (FPE_FLTRES): Likewise.
8005 (FPE_FLTINV): Likewise.
8006 (FPE_FLTSUB): Likewise.
8007 (SEGV_MAPERR): Likewise.
8008 (SEGV_ACCERR): Likewise.
8009 (BUS_ADRALN): Likewise.
8010 (BUS_ADRERR): Likewise.
8011 (BUS_OBJERR): Likewise.
8012 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8013 (TRAP_TRACE): Likewise.
8014 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8016 (CLD_KILLED): Likewise.
8017 (CLD_DUMPED): Likewise.
8018 (CLD_TRAPPED): Likewise.
8019 (CLD_STOPPED): Likewise.
8020 (CLD_CONTINUED): Likewise.
8021 (POLL_IN): Likewise.
8022 (POLL_OUT): Likewise.
8023 (POLL_MSG): Likewise.
8024 (POLL_ERR): Likewise.
8025 (POLL_PRI): Likewise.
8026 (POLL_HUP): Likewise.
8027 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8029 (ILL_ILLOPN): Likewise.
8030 (ILL_ILLADR): Likewise.
8031 (ILL_ILLTRP): Likewise.
8032 (ILL_PRVOPC): Likewise.
8033 (ILL_PRVREG): Likewise.
8034 (ILL_COPROC): Likewise.
8035 (ILL_BADSTK): Likewise.
8036 (FPE_INTDIV): Likewise.
8037 (FPE_INTOVF): Likewise.
8038 (FPE_FLTDIV): Likewise.
8039 (FPE_FLTOVF): Likewise.
8040 (FPE_FLTUND): Likewise.
8041 (FPE_FLTRES): Likewise.
8042 (FPE_FLTINV): Likewise.
8043 (FPE_FLTSUB): Likewise.
8044 (SEGV_MAPERR): Likewise.
8045 (SEGV_ACCERR): Likewise.
8046 (BUS_ADRALN): Likewise.
8047 (BUS_ADRERR): Likewise.
8048 (BUS_OBJERR): Likewise.
8049 (BUS_MCEERR_AR): Likewise.
8050 (BUS_MCEERR_AO): Likewise.
8051 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8052 (TRAP_TRACE): Likewise.
8053 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8055 (CLD_KILLED): Likewise.
8056 (CLD_DUMPED): Likewise.
8057 (CLD_TRAPPED): Likewise.
8058 (CLD_STOPPED): Likewise.
8059 (CLD_CONTINUED): Likewise.
8060 (POLL_IN): Likewise.
8061 (POLL_OUT): Likewise.
8062 (POLL_MSG): Likewise.
8063 (POLL_ERR): Likewise.
8064 (POLL_PRI): Likewise.
8065 (POLL_HUP): Likewise.
8066 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8067 (ILL_ILLOPN): Likewise.
8068 (ILL_ILLADR): Likewise.
8069 (ILL_ILLTRP): Likewise.
8070 (ILL_PRVOPC): Likewise.
8071 (ILL_PRVREG): Likewise.
8072 (ILL_COPROC): Likewise.
8073 (ILL_BADSTK): Likewise.
8074 (FPE_INTDIV): Likewise.
8075 (FPE_INTOVF): Likewise.
8076 (FPE_FLTDIV): Likewise.
8077 (FPE_FLTOVF): Likewise.
8078 (FPE_FLTUND): Likewise.
8079 (FPE_FLTRES): Likewise.
8080 (FPE_FLTINV): Likewise.
8081 (FPE_FLTSUB): Likewise.
8082 (SEGV_MAPERR): Likewise.
8083 (SEGV_ACCERR): Likewise.
8084 (BUS_ADRALN): Likewise.
8085 (BUS_ADRERR): Likewise.
8086 (BUS_OBJERR): Likewise.
8087 (BUS_MCEERR_AR): Likewise.
8088 (BUS_MCEERR_AO): Likewise.
8089 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8090 (TRAP_TRACE): Likewise.
8091 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8093 (CLD_KILLED): Likewise.
8094 (CLD_DUMPED): Likewise.
8095 (CLD_TRAPPED): Likewise.
8096 (CLD_STOPPED): Likewise.
8097 (CLD_CONTINUED): Likewise.
8098 (POLL_IN): Likewise.
8099 (POLL_OUT): Likewise.
8100 (POLL_MSG): Likewise.
8101 (POLL_ERR): Likewise.
8102 (POLL_PRI): Likewise.
8103 (POLL_HUP): Likewise.
8104 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8106 (ILL_ILLOPN): Likewise.
8107 (ILL_ILLADR): Likewise.
8108 (ILL_ILLTRP): Likewise.
8109 (ILL_PRVOPC): Likewise.
8110 (ILL_PRVREG): Likewise.
8111 (ILL_COPROC): Likewise.
8112 (ILL_BADSTK): Likewise.
8113 (ILL_BADIADDR): Likewise.
8114 (ILL_BREAK): Likewise.
8115 (FPE_INTDIV): Likewise.
8116 (FPE_INTOVF): Likewise.
8117 (FPE_FLTDIV): Likewise.
8118 (FPE_FLTOVF): Likewise.
8119 (FPE_FLTUND): Likewise.
8120 (FPE_FLTRES): Likewise.
8121 (FPE_FLTINV): Likewise.
8122 (FPE_FLTSUB): Likewise.
8123 (FPE_DECOVF): Likewise.
8124 (FPE_DECDIV): Likewise.
8125 (FPE_DECERR): Likewise.
8126 (FPE_INVASC): Likewise.
8127 (FPE_INVDEC): Likewise.
8128 (SEGV_MAPERR): Likewise.
8129 (SEGV_ACCERR): Likewise.
8130 (SEGV_PSTKOVF): Likewise.
8131 (BUS_ADRALN): Likewise.
8132 (BUS_ADRERR): Likewise.
8133 (BUS_OBJERR): Likewise.
8134 (BUS_MCEERR_AR): Likewise.
8135 (BUS_MCEERR_AO): Likewise.
8136 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8137 (TRAP_TRACE): Likewise.
8138 (TRAP_BRANCH): Likewise.
8139 (TRAP_HWBKPT): Likewise.
8140 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8142 (CLD_KILLED): Likewise.
8143 (CLD_DUMPED): Likewise.
8144 (CLD_TRAPPED): Likewise.
8145 (CLD_STOPPED): Likewise.
8146 (CLD_CONTINUED): Likewise.
8147 (POLL_IN): Likewise.
8148 (POLL_OUT): Likewise.
8149 (POLL_MSG): Likewise.
8150 (POLL_ERR): Likewise.
8151 (POLL_PRI): Likewise.
8152 (POLL_HUP): Likewise.
8153 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8154 (ILL_ILLOPN): Likewise.
8155 (ILL_ILLADR): Likewise.
8156 (ILL_ILLTRP): Likewise.
8157 (ILL_PRVOPC): Likewise.
8158 (ILL_PRVREG): Likewise.
8159 (ILL_COPROC): Likewise.
8160 (ILL_BADSTK): Likewise.
8161 (FPE_INTDIV): Likewise.
8162 (FPE_INTOVF): Likewise.
8163 (FPE_FLTDIV): Likewise.
8164 (FPE_FLTOVF): Likewise.
8165 (FPE_FLTUND): Likewise.
8166 (FPE_FLTRES): Likewise.
8167 (FPE_FLTINV): Likewise.
8168 (FPE_FLTSUB): Likewise.
8169 (SEGV_MAPERR): Likewise.
8170 (SEGV_ACCERR): Likewise.
8171 (BUS_ADRALN): Likewise.
8172 (BUS_ADRERR): Likewise.
8173 (BUS_OBJERR): Likewise.
8174 (BUS_MCEERR_AR): Likewise.
8175 (BUS_MCEERR_AO): Likewise.
8176 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8177 (TRAP_TRACE): Likewise.
8178 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8180 (CLD_KILLED): Likewise.
8181 (CLD_DUMPED): Likewise.
8182 (CLD_TRAPPED): Likewise.
8183 (CLD_STOPPED): Likewise.
8184 (CLD_CONTINUED): Likewise.
8185 (POLL_IN): Likewise.
8186 (POLL_OUT): Likewise.
8187 (POLL_MSG): Likewise.
8188 (POLL_ERR): Likewise.
8189 (POLL_PRI): Likewise.
8190 (POLL_HUP): Likewise.
8191 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8192 (ILL_ILLOPN): Likewise.
8193 (ILL_ILLADR): Likewise.
8194 (ILL_ILLTRP): Likewise.
8195 (ILL_PRVOPC): Likewise.
8196 (ILL_PRVREG): Likewise.
8197 (ILL_COPROC): Likewise.
8198 (ILL_BADSTK): Likewise.
8199 (FPE_INTDIV): Likewise.
8200 (FPE_INTOVF): Likewise.
8201 (FPE_FLTDIV): Likewise.
8202 (FPE_FLTOVF): Likewise.
8203 (FPE_FLTUND): Likewise.
8204 (FPE_FLTRES): Likewise.
8205 (FPE_FLTINV): Likewise.
8206 (FPE_FLTSUB): Likewise.
8207 (SEGV_MAPERR): Likewise.
8208 (SEGV_ACCERR): Likewise.
8209 (BUS_ADRALN): Likewise.
8210 (BUS_ADRERR): Likewise.
8211 (BUS_OBJERR): Likewise.
8212 (BUS_MCEERR_AR): Likewise.
8213 (BUS_MCEERR_AO): Likewise.
8214 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8215 (TRAP_TRACE): Likewise.
8216 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8218 (CLD_KILLED): Likewise.
8219 (CLD_DUMPED): Likewise.
8220 (CLD_TRAPPED): Likewise.
8221 (CLD_STOPPED): Likewise.
8222 (CLD_CONTINUED): Likewise.
8223 (POLL_IN): Likewise.
8224 (POLL_OUT): Likewise.
8225 (POLL_MSG): Likewise.
8226 (POLL_ERR): Likewise.
8227 (POLL_PRI): Likewise.
8228 (POLL_HUP): Likewise.
8229 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8230 (ILL_ILLOPN): Likewise.
8231 (ILL_ILLADR): Likewise.
8232 (ILL_ILLTRP): Likewise.
8233 (ILL_PRVOPC): Likewise.
8234 (ILL_PRVREG): Likewise.
8235 (ILL_COPROC): Likewise.
8236 (ILL_BADSTK): Likewise.
8237 (FPE_INTDIV): Likewise.
8238 (FPE_INTOVF): Likewise.
8239 (FPE_FLTDIV): Likewise.
8240 (FPE_FLTOVF): Likewise.
8241 (FPE_FLTUND): Likewise.
8242 (FPE_FLTRES): Likewise.
8243 (FPE_FLTINV): Likewise.
8244 (FPE_FLTSUB): Likewise.
8245 (SEGV_MAPERR): Likewise.
8246 (SEGV_ACCERR): Likewise.
8247 (BUS_ADRALN): Likewise.
8248 (BUS_ADRERR): Likewise.
8249 (BUS_OBJERR): Likewise.
8250 (BUS_MCEERR_AR): Likewise.
8251 (BUS_MCEERR_AO): Likewise.
8252 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8253 (TRAP_TRACE): Likewise.
8254 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8256 (CLD_KILLED): Likewise.
8257 (CLD_DUMPED): Likewise.
8258 (CLD_TRAPPED): Likewise.
8259 (CLD_STOPPED): Likewise.
8260 (CLD_CONTINUED): Likewise.
8261 (POLL_IN): Likewise.
8262 (POLL_OUT): Likewise.
8263 (POLL_MSG): Likewise.
8264 (POLL_ERR): Likewise.
8265 (POLL_PRI): Likewise.
8266 (POLL_HUP): Likewise.
8267 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8268 (ILL_ILLOPN): Likewise.
8269 (ILL_ILLADR): Likewise.
8270 (ILL_ILLTRP): Likewise.
8271 (ILL_PRVOPC): Likewise.
8272 (ILL_PRVREG): Likewise.
8273 (ILL_COPROC): Likewise.
8274 (ILL_BADSTK): Likewise.
8275 (ILL_DBLFLT): Likewise.
8276 (ILL_HARDWALL): Likewise.
8277 (FPE_INTDIV): Likewise.
8278 (FPE_INTOVF): Likewise.
8279 (FPE_FLTDIV): Likewise.
8280 (FPE_FLTOVF): Likewise.
8281 (FPE_FLTUND): Likewise.
8282 (FPE_FLTRES): Likewise.
8283 (FPE_FLTINV): Likewise.
8284 (FPE_FLTSUB): Likewise.
8285 (SEGV_MAPERR): Likewise.
8286 (SEGV_ACCERR): Likewise.
8287 (BUS_ADRALN): Likewise.
8288 (BUS_ADRERR): Likewise.
8289 (BUS_OBJERR): Likewise.
8290 (BUS_MCEERR_AR): Likewise.
8291 (BUS_MCEERR_AO): Likewise.
8292 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8293 (TRAP_TRACE): Likewise.
8294 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8296 (CLD_KILLED): Likewise.
8297 (CLD_DUMPED): Likewise.
8298 (CLD_TRAPPED): Likewise.
8299 (CLD_STOPPED): Likewise.
8300 (CLD_CONTINUED): Likewise.
8301 (POLL_IN): Likewise.
8302 (POLL_OUT): Likewise.
8303 (POLL_MSG): Likewise.
8304 (POLL_ERR): Likewise.
8305 (POLL_PRI): Likewise.
8306 (POLL_HUP): Likewise.
8307 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8308 (ILL_ILLOPN): Likewise.
8309 (ILL_ILLADR): Likewise.
8310 (ILL_ILLTRP): Likewise.
8311 (ILL_PRVOPC): Likewise.
8312 (ILL_PRVREG): Likewise.
8313 (ILL_COPROC): Likewise.
8314 (ILL_BADSTK): Likewise.
8315 (FPE_INTDIV): Likewise.
8316 (FPE_INTOVF): Likewise.
8317 (FPE_FLTDIV): Likewise.
8318 (FPE_FLTOVF): Likewise.
8319 (FPE_FLTUND): Likewise.
8320 (FPE_FLTRES): Likewise.
8321 (FPE_FLTINV): Likewise.
8322 (FPE_FLTSUB): Likewise.
8323 (SEGV_MAPERR): Likewise.
8324 (SEGV_ACCERR): Likewise.
8325 (BUS_ADRALN): Likewise.
8326 (BUS_ADRERR): Likewise.
8327 (BUS_OBJERR): Likewise.
8328 (BUS_MCEERR_AR): Likewise.
8329 (BUS_MCEERR_AO): Likewise.
8330 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8331 (TRAP_TRACE): Likewise.
8332 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8334 (CLD_KILLED): Likewise.
8335 (CLD_DUMPED): Likewise.
8336 (CLD_TRAPPED): Likewise.
8337 (CLD_STOPPED): Likewise.
8338 (CLD_CONTINUED): Likewise.
8339 (POLL_IN): Likewise.
8340 (POLL_OUT): Likewise.
8341 (POLL_MSG): Likewise.
8342 (POLL_ERR): Likewise.
8343 (POLL_PRI): Likewise.
8344 (POLL_HUP): Likewise.
8345 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8346 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8349 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8350 before #include of <time.h>.
8351 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8352 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8353 (test-xfail-UNIX98/sched.h/conform): Likewise.
8355 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8357 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8358 error absence of trapping exception support.
8359 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8361 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8363 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8364 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8365 * timezone/Makefile (testdata): Move definition above include of
8367 (test-zones): New variable.
8368 (tests-special): Add zone files.
8369 (build-testdata): Use $(evaluate-test).
8371 * elf/Makefile (tests-special): Rename tests to end with .out.
8372 ($(objpfx)noload-mem): Likewise.
8373 ($(objpfx)tst-leaks1-mem): Likewise.
8374 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8375 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8376 $(objpfx)test-iconvconfig.out.
8377 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8378 set -e inside subshell and redirect output to file.
8379 * iconvdata/Makefile (generated): Rename tests to end with .out.
8381 (tests-special): Rename tests to end with .out.
8382 ($(objpfx)mtrace-tst-loading): Likewise.
8383 * intl/Makefile (generated): Likewise.
8384 (tests-special): Likewise.
8385 ($(objpfx)mtrace-tst-gettext): Likewise.
8386 * misc/Makefile (generated): Likewise.
8387 (tests-special): Likewise.
8388 ($(objpfx)tst-error1-mem): Likewise.
8389 * nptl/Makefile (tests-special): Likewise.
8390 ($(objpfx)tst-stack3-mem): Likewise.
8391 (generated): Likewise.
8392 * posix/Makefile (generated): Likewise.
8393 (tests-special): Likewise.
8394 (xtests-special): Likewise.
8395 ($(objpfx)tst-fnmatch-mem): Likewise.
8396 ($(objpfx)bug-regex2-mem): Likewise.
8397 ($(objpfx)bug-regex14-mem): Likewise.
8398 ($(objpfx)bug-regex21-mem): Likewise.
8399 ($(objpfx)bug-regex31-mem): Likewise.
8400 ($(objpfx)tst-vfork3-mem): Likewise.
8401 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8402 ($(objpfx)tst-pcre-mem): Likewise.
8403 ($(objpfx)tst-boost-mem): Likewise.
8404 ($(objpfx)bug-ga2-mem): Likewise.
8405 ($(objpfx)bug-glob2-mem): Likewise.
8406 * resolv/Makefile (generate): Likewise.
8407 (tests-special): Likewise.
8408 (xtests-special): Likewise.
8409 (generated): Likewise.
8410 ($(objpfx)mtrace-tst-leaks): Likewise.
8411 ($(objpfx)mtrace-tst-leaks2): Likewise.
8413 * scripts/merge-test-results.sh: New file.
8414 * Makefile (tests-special-notdir): New variable.
8415 (tests): Run merge-test-results.sh.
8417 * Rules (tests-special-notdir): New variable.
8418 (xtests-special-notdir): Likewise.
8419 (tests): Run merge-test-results.sh
8422 * Makeconfig (test-xfail-name): New variable.
8423 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8424 compute variable name for expected failures.
8425 * conform/Makefile (conformtest-headers-data): New variable.
8426 (conformtest-standards): Likewise.
8427 (conformtest-headers-ISO): Likewise.
8428 (conformtest-headers-ISO99): Likewise.
8429 (conformtest-headers-ISO11): Likewise.
8430 (conformtest-headers-POSIX): Likewise.
8431 (conformtest-headers-XPG3): Likewise.
8432 (conformtest-headers-XPG4): Likewise.
8433 (conformtest-headers-UNIX98): Likewise.
8434 (conformtest-headers-XOPEN2K): Likewise.
8435 (conformtest-headers-POSIX2008): Likewise.
8436 (conformtest-headers-XOPEN2K8): Likewise.
8437 (conformtest-header-list-base): Likewise.
8438 (conformtest-header-list-tests): Likewise.
8439 (conformtest-header-base): Likewise.
8440 (conformtest-header-tests): Likewise.
8441 (tests-special): Add $(conformtest-header-list-tests). If
8442 [$(fast-check) && !$(cross-compiling)], add
8443 $(conformtest-header-tests) instead of
8444 $(objpfx)run-conformtest.out.
8445 (generated): Add $(conformtest-header-list-base). If
8446 [$(fast-check) && !$(cross-compiling)], add
8447 $(conformtest-header-base). Remove previous setting.
8448 ($(conformtest-header-list-tests)): New target.
8449 (test-xfail-run-conformtest): Remove variable.
8450 ($(objpfx)run-conformtest.out): Remove target.
8451 (test-xfail-ISO11/complex.h/conform): New variable.
8452 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8453 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8454 (test-xfail-XPG3/varargs.h/conform): Likewise.
8455 (test-xfail-XPG4/varargs.h/conform): Likewise.
8456 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8457 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8458 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8459 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8460 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8461 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8462 (test-xfail-XPG3/ftw.h/conform): Likewise.
8463 (test-xfail-XPG3/grp.h/conform): Likewise.
8464 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8465 (test-xfail-XPG3/limits.h/conform): Likewise.
8466 (test-xfail-XPG3/pwd.h/conform): Likewise.
8467 (test-xfail-XPG3/search.h/conform): Likewise.
8468 (test-xfail-XPG3/signal.h/conform): Likewise.
8469 (test-xfail-XPG3/stdio.h/conform): Likewise.
8470 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8471 (test-xfail-XPG3/string.h/conform): Likewise.
8472 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8473 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8474 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8475 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8476 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8477 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8478 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8479 (test-xfail-XPG3/termios.h/conform): Likewise.
8480 (test-xfail-XPG3/time.h/conform): Likewise.
8481 (test-xfail-XPG3/unistd.h/conform): Likewise.
8482 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8483 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8484 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8485 (test-xfail-XPG4/netdb.h/conform): Likewise.
8486 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8487 (test-xfail-XPG4/signal.h/conform): Likewise.
8488 (test-xfail-XPG4/stdio.h/conform): Likewise.
8489 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8490 (test-xfail-XPG4/stropts.h/conform): Likewise.
8491 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8492 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8493 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8494 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8495 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8496 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8497 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8498 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8499 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8500 (test-xfail-XPG4/termios.h/conform): Likewise.
8501 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8502 (test-xfail-XPG4/unistd.h/conform): Likewise.
8503 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8504 (test-xfail-POSIX/sched.h/conform): Likewise.
8505 (test-xfail-POSIX/signal.h/conform): Likewise.
8506 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8507 (test-xfail-POSIX/tar.h/conform): Likewise.
8508 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8509 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8510 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8511 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8512 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8513 (test-xfail-UNIX98/sched.h/conform): Likewise.
8514 (test-xfail-UNIX98/signal.h/conform): Likewise.
8515 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8516 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8517 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8518 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8519 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8520 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8521 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8522 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8523 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8524 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8525 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8526 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8527 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8528 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8529 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8530 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8531 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8532 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8533 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8534 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8535 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8536 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8537 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8538 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8539 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8540 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8541 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8542 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8543 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8544 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8545 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8546 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8547 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8548 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8549 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8550 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8551 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8552 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8553 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8554 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8555 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8556 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8557 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8558 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8559 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8560 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8561 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8562 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8563 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8564 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8565 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8566 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8567 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8568 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8569 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8570 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8571 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8572 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8573 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8574 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8575 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8576 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8577 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8578 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8579 (conformtest-cc-flags): Likewise.
8580 ($(conformtest-header-tests): New target.
8581 * conform/check-header-lists.sh: New file.
8582 * conform/run-conformtest.sh: Remove.
8584 * conform/conformtest.pl: Allow ' and \ in values given for
8586 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8588 [POSIX] (sys/types.h): Likewise.
8589 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8591 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8593 * conform/data/signal.h-data (SIGIO): Remove expectation.
8594 [XPG3] (SIGBUS): Do not expect.
8595 [POSIX || XPG3] (SIGPOLL): Likewise.
8596 [POSIX || XPG3] (SIGPROF): Likewise.
8597 [POSIX || XPG3] (SIGSYS): Likewise.
8598 [XPG3] (SIGTRAP): Likewise.
8599 [POSIX || XPG3] (SIGURG): Likewise.
8600 [POSIX || XPG3] (SIGVTALRM): Likewise.
8601 [POSIX || XPG3] (SIGXCPU): Likewise.
8602 [POSIX || XPG3] (SIGXFSZ): Likewise.
8603 [POSIX] (SA_SIGINFO): Expect.
8604 [XPG3] (siginfo_t): Do not expect type or contents.
8605 [POSIX] (si_pid): Do not expect element.
8606 [POSIX] (si_uid): Likewise.
8607 [POSIX] (si_addr): Likewise.
8608 [POSIX] (si_status): Likewise.
8609 [POSIX] (si_band): Likewise.
8610 [XPG4] (si_value): Likewise.
8611 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8612 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8613 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8614 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8615 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8616 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8617 [POSIX || XPG3] (ILL_COPROC): Likewise.
8618 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8619 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8620 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8621 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8622 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8623 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8624 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8625 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8626 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8627 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8628 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8629 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8630 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8631 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8632 [POSIX || XPG3] (CLD_EXITED): Likewise.
8633 [POSIX || XPG3] (CLD_KILLED): Likewise.
8634 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8635 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8636 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8637 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8638 [POSIX || XPG3] (POLL_IN): Likewise.
8639 [POSIX || XPG3] (POLL_OUT): Likewise.
8640 [POSIX || XPG3] (POLL_MSG): Likewise.
8641 [POSIX || XPG3] (POLL_ERR): Likewise.
8642 [POSIX || XPG3] (POLL_PRI): Likewise.
8643 [POSIX || XPG3] (POLL_HUP): Likewise.
8644 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8645 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8646 (SIG*): Do not allow.
8647 [XPG3] (si_*): Likewise.
8648 [XPG3] (SI_*): Likewise.
8649 [XPG3 || XPG4] (sigev_*): Likewise.
8650 [XPG3 || XPG4] (SIGEV_*): Likewise.
8651 [XPG3 || XPG4] (sival_*): Likewise.
8652 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8653 [POSIX || XPG3] (BUS_*): Likewise.
8654 [POSIX || XPG3] (CLD_*): Likewise.
8655 [POSIX || XPG3] (FPE_*): Likewise.
8656 [POSIX || XPG3] (ILL_*): Likewise.
8657 [POSIX || XPG3] (POLL_*): Likewise.
8658 [POSIX || XPG3] (SEGV_*): Likewise.
8659 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8660 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8661 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8662 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8663 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8664 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8665 Specify type and value.
8666 (TVERSLEN): Likewise.
8667 (REGTYPE): Likewise.
8668 (AREGTYPE): Likewise.
8669 (LNKTYPE): Likewise.
8670 (SYMTYPE): Likewise.
8671 (CHRTYPE): Likewise.
8672 (BLKTYPE): Likewise.
8673 (DIRTYPE): Likewise.
8674 (FIFOTYPE): Likewise.
8675 (CONTTYPE): Likewise.
8680 (TUWRITE): Likewise.
8683 (TGWRITE): Likewise.
8686 (TOWRITE): Likewise.
8688 [POSIX] (TSVTX): Expect constant.
8690 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8692 * Makefile (tests): Change dependencies to ....
8693 (tests-special): ... additions to this variable.
8694 (tests): Depend on $(tests-special).
8695 * Makerules (check-abi-list): New variable.
8696 (check-abi): Depend on $(check-abi-list).
8697 [$(subdir) = elf] (tests-special): Add
8698 $(objpfx)check-abi-libc.out.
8699 [$(build-shared) = yes && subdir] (tests-special): Add
8701 [$(build-shared) = yes && subdir] (tests): Do not depend on
8703 * Rules (tests): Depend on $(tests-special).
8704 (xtests): Depend on $(xtests-special).
8705 * catgets/Makefile (tests): Change dependencies to ....
8706 (tests-special): ... additions to this variable.
8707 * conform/Makefile (tests): Change dependencies to ....
8708 (tests-special): ... additions to this variable.
8709 * elf/Makefile (tests): Change dependencies to ....
8710 (tests-special): ... additions to this variable.
8711 * grp/Makefile (tests): Change dependencies to ....
8712 (tests-special): ... additions to this variable.
8713 * iconv/Makefile (xtests): Change dependencies to ....
8714 (xtests-special): ... additions to this variable.
8715 * iconvdata/Makefile (tests): Change dependencies to ....
8716 (tests-special): ... additions to this variable.
8717 * intl/Makefile (tests): Change dependencies to ....
8718 (tests-special): ... additions to this variable. Also add
8719 $(objpfx)tst-gettext.out.
8720 * io/Makefile (tests): Change dependencies to ....
8721 (tests-special): ... additions to this variable.
8722 * libio/Makefile (tests): Change dependencies to ....
8723 (tests-special): ... additions to this variable.
8724 * malloc/Makefile (tests): Change dependencies to ....
8725 (tests-special): ... additions to this variable.
8726 * misc/Makefile (tests): Change dependencies to ....
8727 (tests-special): ... additions to this variable.
8728 * nptl/Makefile (tests): Change dependencies to ....
8729 (tests-special): ... additions to this variable.
8730 * nptl_db/Makefile (tests): Change dependencies to ....
8731 (tests-special): ... additions to this variable.
8732 * posix/Makefile (tests): Change dependencies to ....
8733 (tests-special): ... additions to this variable.
8734 (xtests): Change dependencies to ....
8735 (xtests-special): ... additions to this variable.
8736 * resolv/Makefile (tests): Change dependencies to ....
8737 (tests-special): ... additions to this variable.
8738 (xtests): Change dependencies to ....
8739 (xtests-special): ... additions to this variable.
8740 * stdio-common/Makefile (tests): Change dependencies to ....
8741 (tests-special): ... additions to this variable.
8742 (do-tst-unbputc): Remove target.
8743 (do-tst-printf): Likewise.
8744 * stdlib/Makefile (tests): Change dependencies to ....
8745 (tests-special): ... additions to this variable.
8746 * string/Makefile (tests): Change dependencies to ....
8747 (tests-special): ... additions to this variable.
8748 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8749 (tests-special): ... additions to this variable.
8751 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8753 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8755 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8756 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8758 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8759 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8760 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8761 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8762 * conform/data/libgen.h-data [XPG3]: Likewise.
8763 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8764 * conform/data/ndbm.h-data [XPG3]: Likewise.
8765 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8766 * conform/data/netdb.h-data [XPG3]: Likewise.
8767 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8768 * conform/data/poll.h-data [XPG3]: Likewise.
8769 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8770 * conform/data/strings.h-data [XPG3]: Likewise.
8771 * conform/data/stropts.h-data [XPG3]: Likewise.
8772 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8773 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8774 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8776 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8777 * conform/data/sys/time.h-data [XPG3]: Likewise.
8778 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8779 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8780 * conform/data/sys/un.h-data [XPG3]: Likewise.
8781 * conform/data/syslog.h-data [XPG3]: Likewise.
8782 * conform/data/ucontext.h-data [XPG3]: Likewise.
8783 * conform/data/utmpx.h-data [XPG3]: Likewise.
8784 * conform/data/varargs.h-data [UNIX98]: Enable file.
8786 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8788 * math/libm-test.inc (struct test_f_f_data): Move expected results
8789 into structure for each rounding mode.
8790 (struct test_ff_f_data): Likewise.
8791 (struct test_ff_f_data_nexttoward): Likewise.
8792 (struct test_fi_f_data): Likewise.
8793 (struct test_fl_f_data): Likewise.
8794 (struct test_if_f_data): Likewise.
8795 (struct test_fff_f_data): Likewise.
8796 (struct test_c_f_data): Likewise.
8797 (struct test_f_f1_data): Likewise.
8798 (struct test_fF_f1_data): Likewise.
8799 (struct test_ffI_f1_data): Likewise.
8800 (struct test_c_c_data): Likewise.
8801 (struct test_cc_c_data): Likewise.
8802 (struct test_f_i_data): Likewise.
8803 (struct test_ff_i_data): Likewise.
8804 (struct test_f_l_data): Likewise.
8805 (struct test_f_L_data): Likewise.
8806 (struct test_fFF_11_data): Likewise.
8808 (RM_FE_DOWNWARD): Likewise.
8809 (RM_FE_TONEAREST): Likewise.
8810 (RM_FE_TOWARDZERO): Likewise.
8811 (RM_FE_UPWARD): Likewise.
8812 (RUN_TEST_LOOP_f_f): Update references to expected results.
8813 (RUN_TEST_LOOP_2_f): Likewise.
8814 (RUN_TEST_LOOP_fff_f): Likewise.
8815 (RUN_TEST_LOOP_c_f): Likewise.
8816 (RUN_TEST_LOOP_f_f1): Likewise.
8817 (RUN_TEST_LOOP_fF_f1): Likewise.
8818 (RUN_TEST_LOOP_fI_f1): Likewise.
8819 (RUN_TEST_LOOP_ffI_f1): Likewise.
8820 (RUN_TEST_LOOP_c_c): Likewise.
8821 (RUN_TEST_LOOP_cc_c): Likewise.
8822 (RUN_TEST_LOOP_f_i): Likewise.
8823 (RUN_TEST_LOOP_f_i_tg): Likewise.
8824 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8825 (RUN_TEST_LOOP_f_b): Likewise.
8826 (RUN_TEST_LOOP_f_b_tg): Likewise.
8827 (RUN_TEST_LOOP_f_l): Likewise.
8828 (RUN_TEST_LOOP_f_L): Likewise.
8829 (RUN_TEST_LOOP_fFF_11): Likewise.
8830 * math/gen-libm-test.pl (parse_args): Output four copies of
8831 expected results for each test.
8833 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8834 (__ASSUME_UTIMES): Remove.
8835 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8836 (__ASSUME_UTIMES): Likewise.
8838 * math/gen-auto-libm-tests.c: Update comment on output format.
8839 (output_for_one_input_case): Generate before-rounding and
8840 after-rounding information as conditions on output flags not
8841 floating-point format.
8842 * math/auto-libm-test-out: Regenerated.
8843 * math/gen-libm-test.pl (cond_value): New function.
8844 (or_cond_value): Use cond_value.
8845 (generate_testfile): Handle conditional exceptions.
8847 2014-03-05 Joseph Myers <joseph@codesourcery.com>
8849 * math/libm-test.inc (max_valid_error): New variable.
8850 (init_max_error): Take new argument specifying whether function
8851 results are exactly determined. Set max_valid_error and bound
8852 other variables for errors based on this argument.
8853 (set_max_error): Do not record results above max_valid_error.
8854 (check_float_internal): Only accept errors of up to 0.5ulps if
8855 also at most max_valid_error.
8856 (START): Take new argument EXACT and pass it to init_max_error.
8857 (acos_test): Update call to START.
8858 (acos_test_tonearest): Likewise.
8859 (acos_test_towardzero): Likewise.
8860 (acos_test_downward): Likewise.
8861 (acos_test_upward): Likewise.
8862 (acosh_test): Likewise.
8863 (asin_test): Likewise.
8864 (asin_test_tonearest): Likewise.
8865 (asin_test_towardzero): Likewise.
8866 (asin_test_downward): Likewise.
8867 (asin_test_upward): Likewise.
8868 (asinh_test): Likewise.
8869 (atan_test): Likewise.
8870 (atanh_test): Likewise.
8871 (atan2_test): Likewise.
8872 (cabs_test): Likewise.
8873 (cacos_test): Likewise.
8874 (cacosh_test): Likewise.
8875 (carg_test): Likewise.
8876 (casin_test): Likewise.
8877 (casinh_test): Likewise.
8878 (catan_test): Likewise.
8879 (catanh_test): Likewise.
8880 (cbrt_test): Likewise.
8881 (ccos_test): Likewise.
8882 (ccosh_test): Likewise.
8883 (ceil_test): Likewise.
8884 (cexp_test): Likewise.
8885 (cimag_test): Likewise.
8886 (clog_test): Likewise.
8887 (clog10_test): Likewise.
8888 (conj_test): Likewise.
8889 (copysign_test): Likewise.
8890 (cos_test): Likewise.
8891 (cos_test_tonearest): Likewise.
8892 (cos_test_towardzero): Likewise.
8893 (cos_test_downward): Likewise.
8894 (cos_test_upward): Likewise.
8895 (cosh_test): Likewise.
8896 (cosh_test_tonearest): Likewise.
8897 (cosh_test_towardzero): Likewise.
8898 (cosh_test_downward): Likewise.
8899 (cosh_test_upward): Likewise.
8900 (cpow_test): Likewise.
8901 (cproj_test): Likewise.
8902 (creal_test): Likewise.
8903 (csin_test): Likewise.
8904 (csinh_test): Likewise.
8905 (csqrt_test): Likewise.
8906 (ctan_test): Likewise.
8907 (ctan_test_tonearest): Likewise.
8908 (ctan_test_towardzero): Likewise.
8909 (ctan_test_downward): Likewise.
8910 (ctan_test_upward): Likewise.
8911 (ctanh_test): Likewise.
8912 (ctanh_test_tonearest): Likewise.
8913 (ctanh_test_towardzero): Likewise.
8914 (ctanh_test_downward): Likewise.
8915 (ctanh_test_upward): Likewise.
8916 (erf_test): Likewise.
8917 (erfc_test): Likewise.
8918 (exp_test): Likewise.
8919 (exp_test_tonearest): Likewise.
8920 (exp_test_towardzero): Likewise.
8921 (exp_test_downward): Likewise.
8922 (exp_test_upward): Likewise.
8923 (exp10_test): Likewise.
8924 (exp10_test_tonearest): Likewise.
8925 (exp10_test_towardzero): Likewise.
8926 (exp10_test_downward): Likewise.
8927 (exp10_test_upward): Likewise.
8928 (pow10_test): Likewise.
8929 (exp2_test): Likewise.
8930 (expm1_test): Likewise.
8931 (expm1_test_tonearest): Likewise.
8932 (expm1_test_towardzero): Likewise.
8933 (expm1_test_downward): Likewise.
8934 (expm1_test_upward): Likewise.
8935 (fabs_test): Likewise.
8936 (fdim_test): Likewise.
8937 (floor_test): Likewise.
8938 (fma_test): Likewise.
8939 (fma_test_towardzero): Likewise.
8940 (fma_test_downward): Likewise.
8941 (fma_test_upward): Likewise.
8942 (fmax_test): Likewise.
8943 (fmin_test): Likewise.
8944 (fmod_test): Likewise.
8945 (fpclassify_test): Likewise.
8946 (frexp_test): Likewise.
8947 (hypot_test): Likewise.
8948 (ilogb_test): Likewise.
8949 (isfinite_test): Likewise.
8950 (finite_test): Likewise.
8951 (isgreater_test): Likewise.
8952 (isgreaterequal_test): Likewise.
8953 (isinf_test): Likewise.
8954 (isless_test): Likewise.
8955 (islessequal_test): Likewise.
8956 (islessgreater_test): Likewise.
8957 (isnan_test): Likewise.
8958 (isnormal_test): Likewise.
8959 (issignaling_test): Likewise.
8960 (isunordered_test): Likewise.
8961 (j0_test): Likewise.
8962 (j1_test): Likewise.
8963 (jn_test): Likewise.
8964 (ldexp_test): Likewise.
8965 (lgamma_test): Likewise.
8966 (gamma_test): Likewise.
8967 (lrint_test): Likewise.
8968 (lrint_test_tonearest): Likewise.
8969 (lrint_test_towardzero): Likewise.
8970 (lrint_test_downward): Likewise.
8971 (lrint_test_upward): Likewise.
8972 (llrint_test): Likewise.
8973 (llrint_test_tonearest): Likewise.
8974 (llrint_test_towardzero): Likewise.
8975 (llrint_test_downward): Likewise.
8976 (llrint_test_upward): Likewise.
8977 (log_test): Likewise.
8978 (log10_test): Likewise.
8979 (log1p_test): Likewise.
8980 (log2_test): Likewise.
8981 (logb_test): Likewise.
8982 (logb_test_downward): Likewise.
8983 (lround_test): Likewise.
8984 (llround_test): Likewise.
8985 (modf_test): Likewise.
8986 (nearbyint_test): Likewise.
8987 (nextafter_test): Likewise.
8988 (nexttoward_test): Likewise.
8989 (pow_test): Likewise.
8990 (pow_test_tonearest): Likewise.
8991 (pow_test_towardzero): Likewise.
8992 (pow_test_downward): Likewise.
8993 (pow_test_upward): Likewise.
8994 (remainder_test): Likewise.
8995 (drem_test): Likewise.
8996 (remainder_test_tonearest): Likewise.
8997 (drem_test_tonearest): Likewise.
8998 (remainder_test_towardzero): Likewise.
8999 (drem_test_towardzero): Likewise.
9000 (remainder_test_downward): Likewise.
9001 (drem_test_downward): Likewise.
9002 (remainder_test_upward): Likewise.
9003 (drem_test_upward): Likewise.
9004 (remquo_test): Likewise.
9005 (rint_test): Likewise.
9006 (rint_test_tonearest): Likewise.
9007 (rint_test_towardzero): Likewise.
9008 (rint_test_downward): Likewise.
9009 (rint_test_upward): Likewise.
9010 (round_test): Likewise.
9011 (scalb_test): Likewise.
9012 (scalbn_test): Likewise.
9013 (scalbln_test): Likewise.
9014 (signbit_test): Likewise.
9015 (sin_test): Likewise.
9016 (sin_test_tonearest): Likewise.
9017 (sin_test_towardzero): Likewise.
9018 (sin_test_downward): Likewise.
9019 (sin_test_upward): Likewise.
9020 (sincos_test): Likewise.
9021 (sinh_test): Likewise.
9022 (sinh_test_tonearest): Likewise.
9023 (sinh_test_towardzero): Likewise.
9024 (sinh_test_downward): Likewise.
9025 (sinh_test_upward): Likewise.
9026 (sqrt_test): Likewise.
9027 (sqrt_test_tonearest): Likewise.
9028 (sqrt_test_towardzero): Likewise.
9029 (sqrt_test_downward): Likewise.
9030 (sqrt_test_upward): Likewise.
9031 (tan_test): Likewise.
9032 (tan_test_tonearest): Likewise.
9033 (tan_test_towardzero): Likewise.
9034 (tan_test_downward): Likewise.
9035 (tan_test_upward): Likewise.
9036 (tanh_test): Likewise.
9037 (tgamma_test): Likewise.
9038 (trunc_test): Likewise.
9039 (y0_test): Likewise.
9040 (y1_test): Likewise.
9041 (yn_test): Likewise.
9042 (significand_test): Likewise.
9044 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9045 individual tests in comment.
9046 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9047 (prev_max_error): New variable.
9048 (prev_real_max_error): Likewise.
9049 (prev_imag_max_error): Likewise.
9050 (compare_ulp_data): Don't refer to test names in comment.
9051 (find_test_ulps): Remove function.
9052 (find_function_ulps): Likewise.
9053 (find_complex_function_ulps): Likewise.
9054 (init_max_error): Take function name as argument. Look up ulps
9056 (print_ulps): Remove function.
9057 (print_max_error): Use prev_max_error instead of calling
9059 (print_complex_max_error): Use prev_real_max_error and
9060 prev_imag_max_error instead of calling find_complex_function_ulps.
9061 (check_float_internal): Take max_ulp parameter instead of calling
9062 find_test_ulps. Don't call print_ulps.
9063 (check_float): Update call to check_float_internal.
9064 (check_complex): Update calls to check_float_internal.
9065 (START): Pass argument to init_max_error.
9066 * math/gen-libm-test.pl (%results): Don't include "kind"
9068 (parse_ulps): Don't handle ulps of individual tests.
9069 (print_ulps_file): Likewise.
9070 (output_ulps): Likewise.
9071 * math/README.libm-test: Update.
9072 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9074 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9075 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9076 * sysdeps/arm/libm-test-ulps: Likewise.
9077 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9078 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9079 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9080 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9081 * sysdeps/microblaze/libm-test-ulps: Likewise.
9082 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9083 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9084 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9085 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9086 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9087 * sysdeps/sh/libm-test-ulps: Likewise.
9088 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9089 * sysdeps/tile/libm-test-ulps: Likewise.
9090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9092 2014-03-04 Joseph Myers <joseph@codesourcery.com>
9094 * math/libm-test.inc (print_complex_max_error): Check separately
9095 whether real and imaginary errors are within allowed range and
9096 pass 0 to print_complex_function_ulps instead of value within
9099 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9101 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9103 (get_handles_fopen): Likewise.
9104 (do_write_test): Likewise.
9106 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9108 * libio/fileops.c (do_ftell): Use cached offset when
9110 * libio/iofwide.c (do_ftell_wide): Likewise.
9111 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9113 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9116 * libio/libioP.h (get_file_offset): New function.
9117 * libio/fileops.c (get_file_offset): Likewise.
9118 (do_ftell): Likewise.
9119 (_IO_new_file_seekoff): Split out ftell logic.
9120 * libio/wfileops.c (do_ftell_wide): Likewise.
9121 (_IO_wfile_seekoff): Split out ftell logic.
9122 * libio/tst-ftell-active-handler.c: New test case.
9123 * libio/Makefile (tests): Add it.
9125 2014-03-03 Roland McGrath <roland@hack.frob.com>
9127 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9128 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9130 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9133 * nscd/connections.c (nscd_init): Call do_exit.
9134 (start_threads): Call do_exit and notify_parent.
9135 (begin_drop_privileges): Call do_exit.
9136 (finish_drop_privileges): Likewise.
9137 * nscd/selinux.c (preserve_capabilities): Likewise.
9138 (install_real_capabilities): Likewise.
9139 (nscd_selinux_enabled): Likewise.
9140 (avc_create_thread): Likewise.
9141 (avc_alloc_lock): Likewise.
9142 (nscd_avc_init): Likewise.
9143 * nscd/nscd.c (parent_fd): New static variable.
9144 (main): Create a pipe between parent and child processes.
9145 Skip closing parent_fd.
9146 (monitor_child): New function.
9147 (do_exit): Likewise.
9148 (notify_parent): Likewise.
9149 * nscd/nscd.h (notify_parent): Likewise.
9150 (do_exit): Likewise.
9152 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9154 * malloc/malloc.c (__libc_calloc): Revert last change.
9156 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9160 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9162 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9163 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9165 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9166 (__libc_ifunc_impl_list): Likewise.
9167 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9168 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9169 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9170 * string/strrchr.c: Define STRRCHR.
9172 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9174 * benchtest/bench-strtok.c (simple_strtok): Delete.
9175 (strtok_string): Use as benchmark.
9176 * string/strtok (STRTOK): New macro.
9178 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9180 * manual/threads.texi: Add header and standard comments to all
9183 * elf/dl-lookup.c (check_match): New function.
9184 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9185 (do_lookup_x): Remove nested function check_match. Use non-nested
9186 function check_match.
9188 2014-02-28 Roland McGrath <roland@hack.frob.com>
9190 * csu/Makefile (generated, before-compile): Use += rather than =.
9191 * catgets/Makefile (generated, generated-dirs): Likewise.
9192 * debug/Makefile (generated): Likewise.
9193 * dlfcn/Makefile (generated): Likewise.
9194 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9195 * iconvdata/Makefile (before-compile, generated): Likewise.
9196 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9197 * libio/Makefile (generated): Likewise.
9198 * malloc/Makefile (generated): Likewise.
9199 * manual/Makefile (generated, generated-dirs): Likewise.
9200 * misc/Makefile (generated): Likewise.
9201 * posix/Makefile (generated): Likewise.
9202 * resolv/Makefile (generated): Likewise.
9203 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9204 * timezone/Makefile (generated, generated-dirs): Likewise.
9206 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9208 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9210 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9211 power8 implementation.
9212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9213 file: POWER8 llround ifunc implementation.
9214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9215 (__lllround): Add POWER8 implementation.
9216 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9217 POWER8 llround implementation.
9219 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9220 power8 implementation.
9221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9222 file: POWER8 llrint ifunc implementation.
9223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9224 Add POWER8 implementation.
9225 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9226 POWER8 llrint implementation.
9228 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9229 power8 implementation.
9230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9231 file: POWER8 finite ifunc implementation.
9232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9233 Add POWER8 implementation.
9234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9236 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9237 POWER8 finite implementation.
9238 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9240 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9241 power8 implementation.
9242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9243 file: POWER8 isinf ifunc implementation.
9244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9245 POWER8 implementation.
9246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9248 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9249 isinf implementation.
9250 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9252 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9253 (INIT_ARCH): Add hwcap2 initialization.
9254 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9255 power8 implementation.
9256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9257 file: POWER8 isnan ifunc implementation.
9258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9259 POWER8 implementation.
9260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9262 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9263 isnan implementation.
9264 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9266 2014-02-27 Joey Ye <joey.ye@arm.com>
9268 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9269 (_FP_NANFRAC_Q): Set to zero.
9271 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9274 * math/auto-libm-test-in: New test inputs.
9275 * math/auto-libm-test-out: Regenerate.
9276 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9279 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9281 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9283 * scripts/evaluate-test.sh: Take new argument indicating whether
9284 failure is expected.
9285 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9286 indicating whether failure is expected.
9287 * conform/Makefile (test-xfail-run-conformtest): New variable.
9288 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9290 * posix/Makefile (test-xfail-annexc): New variable.
9291 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9293 2014-02-26 Joseph Myers <joseph@codesourcery.com>
9295 * argp/Makefile: Include Makeconfig immediately after defining
9297 * assert/Makefile: Likewise.
9298 * benchtests/Makefile: Likewise.
9299 * catgets/Makefile: Likewise.
9300 * conform/Makefile: Likewise.
9301 * crypt/Makefile: Likewise.
9302 * csu/Makefile: Likewise.
9303 (all): Remove target.
9304 * ctype/Makefile: Include Makeconfig immediately after defining
9306 * debug/Makefile: Likewise.
9307 * dirent/Makefile: Likewise.
9308 * dlfcn/Makefile: Likewise.
9309 * gmon/Makefile: Likewise.
9310 * gnulib/Makefile: Likewise.
9311 * grp/Makefile: Likewise.
9312 * gshadow/Makefile: Likewise.
9313 * hesiod/Makefile: Likewise.
9314 * hurd/Makefile: Likewise.
9315 (all): Remove target.
9316 * iconvdata/Makefile: Include Makeconfig immediately after
9318 * inet/Makefile: Likewise.
9319 * intl/Makefile: Likewise.
9320 * io/Makefile: Likewise.
9321 * libio/Makefile: Likewise.
9322 (all): Remove target.
9323 * locale/Makefile: Include Makeconfig immediately after defining
9325 * login/Makefile: Likewise.
9326 * mach/Makefile: Likewise.
9327 (all): Remove target.
9328 * malloc/Makefile: Include Makeconfig immediately after defining
9330 (all): Remove target.
9331 * manual/Makefile: Include Makeconfig immediately after defining
9333 * math/Makefile: Likewise.
9334 * misc/Makefile: Likewise.
9335 * nis/Makefile: Likewise.
9336 * nss/Makefile: Likewise.
9337 * po/Makefile: Likewise.
9338 (all): Remove target.
9339 * posix/Makefile: Include Makeconfig immediately after defining
9341 * pwd/Makefile: Likewise.
9342 * resolv/Makefile: Likewise.
9343 * resource/Makefile: Likewise.
9344 * rt/Makefile: Likewise.
9345 * setjmp/Makefile: Likewise.
9346 * shadow/Makefile: Likewise.
9347 * signal/Makefile: Likewise.
9348 * socket/Makefile: Likewise.
9349 * soft-fp/Makefile: Likewise.
9350 * stdio-common/Makefile: Likewise.
9351 * stdlib/Makefile: Likewise.
9352 * streams/Makefile: Likewise.
9353 * string/Makefile: Likewise.
9354 * sunrpc/Makefile: Likewise.
9355 (all): Remove target.
9356 * sysvipc/Makefile: Include Makeconfig immediately after defining
9358 * termios/Makefile: Likewise.
9359 * time/Makefile: Likewise.
9360 * timezone/Makefile: Likewise.
9361 (all): Remove target.
9362 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9364 * wctype/Makefile: Likewise.
9366 2014-02-26 Steve Ellcey <sellcey@mips.com>
9368 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9369 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9370 (libc_feholdexcept_setround_mips): Ditto.
9371 (libc_feholdsetround): New.
9372 (libc_feholdsetroundf): New.
9373 (libc_feholdsetroundl): New.
9374 (libc_feupdateenv_test_mips): New.
9375 (libc_feupdateenv_test): New.
9376 (libc_feupdateenv_testf): New.
9377 (libc_feupdateenv_testl): New.
9378 (libc_feresetround): New.
9379 (libc_feresetroundf): New.
9380 (libc_feresetroundl): New.
9381 (libc_fetestexcept_mips): New.
9382 (libc_fetestexcept): New.
9383 (libc_fetestexceptf): New.
9384 (libc_fetestexceptl): New.
9386 (libc_feholdexcept_setround_mips_ctx): New.
9387 (libc_feholdexcept_setround_ctx): New.
9388 (libc_feholdexcept_setroundf_ctx): New.
9389 (libc_feholdexcept_setroundl_ctx): New.
9390 (libc_fesetenv_mips_ctx): New.
9391 (libc_fesetenv_ctx): New.
9392 (libc_fesetenv_ctxf): New.
9393 (libc_fesetenv_ctxl): New.
9394 (libc_feupdateenv_mips_ctx): New.
9395 (libc_feupdateenv_ctx): New.
9396 (libc_feupdateenvf_ctx): New.
9397 (libc_feupdateenvl_ctx): New.
9398 (libc_feholdsetround_mips_ctx): New.
9399 (libc_feholdsetround_ctx): New.
9400 (libc_feholdsetroundf_ctx): New.
9401 (libc_feholdsetroundl_ctx): New.
9402 (libc_feresetround_mips_ctx): New.
9403 (libc_feresetround_ctx): New.
9404 (libc_feresetroundf_ctx): New.
9405 (libc_feresetroundl_ctx): New.
9407 2014-02-26 Carlos O'Donell <carlos@redhat.com>
9409 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9411 * manual/ipc.texi: New file.
9412 * manual/Makefile (chapters): Add ipc.
9413 * manual/job.texi: Add "Inter-Process Communication" to next.
9414 * manual/process.texi: Add "Inter-Process Communication" to prev.
9416 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9420 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
9422 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9424 * manual/arith.texi: Fix spaces after sentences.
9425 * manual/charset.texi: Likewise.
9426 * manual/errno.texi: Likewise.
9427 * manual/install.texi: Likewise.
9428 * manual/llio.texi: Likewise.
9429 * manual/locale.texi: Likewise.
9430 * manual/maint.texi: Likewise.
9431 * manual/math.texi: Likewise.
9432 * manual/memory.texi: Likewise.
9433 * manual/message.texi: Likewise.
9434 * manual/probes.texi: Likewise.
9435 * manual/resource.texi: Likewise.
9436 * manual/signal.texi: Likewise.
9437 * manual/socket.texi: Likewise.
9438 * manual/stdio.texi: Likewise.
9439 * manual/string.texi: Likewise.
9440 * manual/time.texi: Likewise.
9441 * manual/users.texi: Likewise.
9443 2014-02-25 Carlos O'Donell <carlos@redhat.com>
9446 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9447 _DEFAULT_SOURCE is defined.
9449 2014-02-25 Ulrich Drepper <drepper@gmail.com>
9450 Carlos O'Donell <carlos@redhat.com>
9453 * elf/dl-tls.c (_dl_count_modids): New function.
9454 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9455 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9456 audit library and increment generation counter.
9457 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9458 * elf/tst-audit9.c: New file.
9459 * elf/tst-auditmod9a.c: New file.
9460 * elf/tst-auditmod9b.c: New file.
9461 * elf/Makefile: Add rules to build and run tst-audit9.
9463 2014-02-25 Florian Weimer <fweimer@redhat.com>
9466 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9468 2014-02-25 Will Newton <will.newton@linaro.org>
9470 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9471 (__longjmp): Restore sp and lr before restoring callee
9472 saved registers. Add longjmp and longjmp_target
9473 SystemTap probe point.
9474 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9475 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9476 Define to zero to match jmpbuf layout.
9477 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9478 (__sigsetjmp): Save sp and lr before saving callee
9479 saved registers. Add setjmp SystemTap probe point.
9481 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9483 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9485 2014-02-24 Andreas Schwab <schwab@suse.de>
9488 * elf/pldd.c (wait_for_ptrace_stop): New function.
9489 (main): Call it after attaching.
9491 2014-02-22 Roland McGrath <roland@hack.frob.com>
9493 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9494 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9495 Versions files is now verboten.
9496 * hurd/Versions (libc: GLIBC_2.0):
9497 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9498 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9499 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9500 * mach/Versions: Likewise.
9502 * csu/Versions: Remove unused %include.
9503 * resolv/Versions: Likewise.
9505 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9507 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9508 ($(objpfx)check-local-headers.out): Likewise.
9509 ($(objpfx)begin-end-check.out): Likewise.
9510 * Makerules (check-abi-%.out): Likewise.
9511 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9512 ($(objpfx)test2.cat): Likewise.
9513 ($(objpfx)de/libc.cat): Likewise.
9514 ($(objpfx)test-gencat.out): Likewise.
9515 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9516 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9517 ($(objpfx)noload-mem): Likewise.
9518 ($(objpfx)tst-pathopt.out): Likewise.
9519 ($(objpfx)tst-rtld-load-self.out): Likewise.
9520 ($(objpfx)tst-array1-cmp.out): Likewise.
9521 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9522 ($(objpfx)tst-array2-cmp.out): Likewise.
9523 ($(objpfx)tst-array3-cmp.out): Likewise.
9524 ($(objpfx)tst-array4-cmp.out): Likewise.
9525 ($(objpfx)tst-array5-cmp.out): Likewise.
9526 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9527 ($(objpfx)check-textrel.out): Likewise.
9528 ($(objpfx)check-execstack.out): Likewise.
9529 ($(objpfx)check-localplt.out): Likewise.
9530 ($(objpfx)order2-cmp.out): Likewise.
9531 ($(objpfx)tst-leaks1-mem): Likewise.
9532 ($(objpfx)tst-leaks1-static-mem): Likewise.
9533 ($(objpfx)tst-initorder-cmp.out): Likewise.
9534 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9535 ($(objpfx)tst-unused-dep.out): Likewise.
9536 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9537 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9538 * iconv/Makefile (test-iconvconfig): Likewise.
9539 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9540 ($(objpfx)iconv-test.out): Likewise.
9541 ($(objpfx)tst-tables.out): Likewise.
9542 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9543 ($(objpfx)tst-gettext.out): Likewise.
9544 ($(objpfx)tst-translit.out): Likewise.
9545 ($(objpfx)tst-gettext2.out): Likewise.
9546 ($(objpfx)tst-gettext4.out): Likewise.
9547 ($(objpfx)tst-gettext6.out): Likewise.
9548 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9549 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9550 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9551 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9552 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9553 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9554 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9555 ($(objpfx)wordexp-tst.out): Likewise.
9556 ($(objpfx)annexc.out): Likewise.
9557 ($(objpfx)tst-fnmatch-mem): Likewise.
9558 ($(objpfx)bug-regex2-mem): Likewise.
9559 ($(objpfx)bug-regex14-mem): Likewise.
9560 ($(objpfx)bug-regex21-mem): Likewise.
9561 ($(objpfx)bug-regex31-mem): Likewise.
9562 ($(objpfx)tst-vfork3-mem): Likewise.
9563 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9564 ($(objpfx)tst-pcre-mem): Likewise.
9565 ($(objpfx)tst-boost-mem): Likewise.
9566 ($(objpfx)tst-getconf.out): Likewise.
9567 ($(objpfx)bug-ga2-mem): Likewise.
9568 ($(objpfx)bug-glob2-mem): Likewise.
9569 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9570 ($(objpfx)mtrace-tst-leaks2): Likewise.
9571 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9572 ($(objpfx)tst-printf.out): Likewise.
9573 ($(objpfx)tst-setvbuf1.out): Likewise.
9574 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9575 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9576 ($(objpfx)tst-fmtmsg.out): Likewise.
9577 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9578 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9580 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9581 * bits/sigaction.h [__USE_MISC]: Likewise.
9582 * bits/waitstatus.h: Update #endif comments.
9583 * ctype/ctype.h: Likewise.
9584 * dirent/dirent.h: Likewise.
9585 [__USE_MISC]: Remove redundant conditionals.
9586 * grp/grp.h: Update #endif comments.
9587 [__USE_GNU]: Remove redundant conditionals.
9588 [__USE_MISC]: Likewise.
9589 * inet/netinet/in.h [__USE_GNU]: Likewise.
9590 * io/sys/stat.h [__USE_MISC]: Likewise.
9591 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9592 * libio/bits/stdio.h: Update #endif comments.
9593 [__USE_MISC]: Remove redundant conditionals.
9594 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9595 * libio/stdio.h: Update #endif comments.
9596 [__USE_MISC]: Remove redundant conditionals.
9597 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9598 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9599 * math/math.h: Update #else and #endif comments.
9600 [__USE_MISC]: Remove redundant conditionals.
9601 * misc/sys/uio.h: Update #endif comments.
9602 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9603 * posix/glob.h [__USE_MISC]: Likewise.
9604 * posix/sys/types.h: Update #endif comments.
9605 [__USE_MISC]: Remove redundant conditionals.
9606 * posix/sys/wait.h: Update #endif comments.
9607 [__USE_MISC]: Remove redundant conditionals.
9608 * posix/unistd.h: Update #endif comments.
9609 [__USE_MISC]: Remove redundant conditionals.
9610 * pwd/pwd.h [__USE_GNU]: Likewise.
9611 [__USE_MISC]: Likewise.
9612 * resolv/netdb.h [__USE_GNU]: Likewise.
9613 * signal/signal.h: Update #endif comments.
9614 [__USE_MISC]: Remove redundant conditionals.
9615 * stdlib/stdlib.h: Update #else and #endif comments.
9616 [__USE_MISC]: Remove redundant conditionals.
9617 [__USE_GNU]: Likewise.
9618 * string/bits/string2.h [__USE_MISC]: Likewise.
9619 * string/string.h: Update #endif comments.
9620 [__USE_MISC]: Remove redundant conditionals.
9621 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9623 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9624 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9625 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9627 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9629 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9631 [__USE_MISC]: Remove redundant conditionals.
9632 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9633 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9634 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9635 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9636 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9638 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9639 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9641 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9642 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9644 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9646 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9647 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9649 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9651 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9652 * sysdeps/x86/bits/string.h: Update #endif comments.
9653 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9655 * time/sys/time.h: Update #endif comments.
9656 * time/time.h: Likewise.
9657 [__USE_MISC]: Remove redundant conditionals.
9659 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9662 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9664 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9666 * Versions.def (librt): Add GLIBC_2.17.
9668 2014-02-21 Adam Conrad <adconrad@0c3.net>
9670 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9671 synonym for _SYS_AUXV_H to allow direct inclusion.
9672 * sysdeps/sparc/bits/hwcap.h: Likewise.
9673 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9674 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9675 * sysdeps/sparc/sysdep.h: Likewise.
9677 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9679 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9681 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9683 * benchtests/bench-strrchr.c: Print length instead of position.
9685 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9688 * sysdeps/unix/sysv/linux/kernel-features.h
9689 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9690 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9691 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9692 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9694 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9695 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9696 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9697 (__ASSUME_SENDMMSG): Define instead of using previous
9698 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9699 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9700 (__ASSUME_SENDMMSG_SYSCALL): Define.
9701 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9702 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9704 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9705 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9707 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9708 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9710 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9711 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9712 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9713 [__ASSUME_SENDMMSG]: Change conditionals to
9714 [__ASSUME_SENDMMSG_SOCKETCALL].
9715 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9716 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9718 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9719 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9721 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9722 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9723 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9724 [!__ASSUME_SENDMMSG]: Change conditional to
9725 [!__ASSUME_SENDMMSG_SOCKETCALL].
9726 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9727 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9731 * sysdeps/unix/sysv/linux/kernel-features.h
9732 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9733 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9734 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9735 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9736 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9737 [__i386__ || __sparc__]
9738 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9739 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9740 (__ASSUME_RECVMMSG): Define instead of using previous
9741 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9742 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9743 (__ASSUME_RECVMMSG_SYSCALL): Define.
9744 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9745 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9747 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9748 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9750 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9751 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9753 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9754 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9755 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9756 [__ASSUME_RECVMMSG]: Change condition to
9757 [__ASSUME_RECVMMSG_SOCKETCALL].
9758 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9759 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9761 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9762 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9763 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9765 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9766 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9767 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9768 [!__ASSUME_RECVMMSG]: Change condition to
9769 [!__ASSUME_RECVMMSG_SOCKETCALL].
9770 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9771 (__ASSUME_RECVMMSG_SYSCALL): Define.
9774 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9775 __powerpc__ || __s390__ || __sh__ || __sparc__]
9776 (__ASSUME_SOCKETCALL): Define.
9777 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9778 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9779 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9780 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9781 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9782 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9783 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9784 (__ASSUME_ACCEPT4): Define instead of using previous
9785 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9786 __powerpc__ || __sparc__ || __s390__)] condition.
9787 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9788 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9789 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9790 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9791 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9792 [!__ASSUME_ACCEPT4]: Change condition to
9793 [!__ASSUME_ACCEPT4_SOCKETCALL].
9794 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9795 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9796 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9797 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9798 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9799 __ASSUME_ACCEPT4_SYSCALL.
9800 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9801 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9802 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9803 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9804 __ASSUME_ACCEPT4_SYSCALL.
9805 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9806 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9807 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9808 [__ASSUME_ACCEPT4]: Change condition to
9809 [__ASSUME_ACCEPT4_SOCKETCALL].
9810 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9811 (__ASSUME_SOCKETCALL): Define.
9812 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9813 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9814 (__ASSUME_SOCKETCALL): Define.
9815 (__ASSUME_ACCEPT4): Remove.
9816 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9818 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9819 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9821 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9822 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9824 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9826 (HWCAP_ARM_LPAE): Likewise.
9827 (HWCAP_ARM_EVTSTRM): Likewise.
9828 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9829 Add vpfd32, lpae and evtstrm.
9830 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9833 2014-02-19 Joseph Myers <joseph@codesourcery.com>
9835 * math/auto-libm-test-in: Add tests of clog10.
9836 * math/auto-libm-test-out: Regenerated.
9837 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9838 * sysdeps/i386/fpu/libm-test-ulps: Update.
9839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9841 2014-02-18 Andreas Schwab <schwab@suse.de>
9844 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9845 Store non-zero if the second buffer was newly allocated.
9846 (send_dg): Likewise.
9847 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9848 to send_vc and send_dg.
9849 (res_nsend): Pass NULL for ansp2_malloced.
9850 * resolv/res_query.c (__libc_res_nquery): Add parameter
9851 answerp2_malloced and pass it down to __libc_res_nsend.
9852 (res_nquery): Pass additional NULL to __libc_res_nquery.
9853 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9854 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9855 second answer buffer if answerp2_malloced was set.
9856 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9857 (__libc_res_nquerydomain): Add parameter
9858 answerp2_malloced and pass it down to __libc_res_nquery.
9859 (res_nquerydomain): Pass additional NULL to
9860 __libc_res_nquerydomain.
9861 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9862 additional NULL to __libc_res_nsend and __libc_res_nquery.
9863 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9864 additional NULL to __libc_res_nsearch.
9865 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9866 parameter of __libc_res_nsearch to check for separately allocated
9868 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9870 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9871 additional NULL to __libc_res_nquery.
9872 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9874 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9875 * include/resolv.h: Update prototypes of __libc_res_nquery,
9876 __libc_res_nsearch, __libc_res_nsend.
9878 2014-02-18 Joseph Myers <joseph@codesourcery.com>
9880 * math/auto-libm-test-in: Add tests of fma.
9881 * math/auto-libm-test-out: Regenerated.
9882 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9883 (fma_towardzero_test_data): Likewise.
9884 (fma_downward_test_data): Likewise.
9885 (fma_upward_test_data): Likewise.
9886 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9888 (rounding_modes): Add values for new field.
9889 (func_calc_method): Add value mpfr_fff_f.
9890 (func_calc_desc): Add mpfr_fff_f union field.
9891 (test_function): Add field exact_args.
9892 (FUNC): Add macro argument EXACT_ARGS.
9893 (FUNC_mpfr_f_f): Update call to FUNC.
9894 (FUNC_mpfr_f_f): Likewise.
9895 (FUNC_mpfr_ff_f): Likewise.
9896 (FUNC_mpfr_if_f): Likewise.
9897 (FUNC_mpc_c_f): Likewise.
9898 (FUNC_mpc_c_c): Likewise.
9899 (test_functions): Add fma. Update calls to FUNC.
9900 (handle_input_arg): Add argument exact_args.
9901 (add_test): Update call to handle_input_arg.
9902 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9903 (output_for_one_input_case): Update call to calc_generic_results.
9904 Recalculate exact zero results in each rounding mode.
9906 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9907 non-negative before setting low bit.
9908 * math/auto-libm-test-in: Mark one asin test possibly having
9910 * math/auto-libm-test-out: Regenerated.
9911 * sysdeps/i386/fpu/libm-test-ulps: Update.
9912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9914 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9916 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9917 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9918 ports/sysdeps/unix/sysv/linux/microblaze.
9919 * README: Add missing listing for microblaze*-*-linux-gnu.
9921 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
9923 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
9926 2014-02-16 Mike Frysinger <vapier@gentoo.org>
9928 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9929 * sysdeps/unix/sysv/linux/ia64: Move directory from
9930 ports/sysdeps/unix/sysv/linux/ia64.
9931 * README: Update listing for ia64-*-linux-gnu.
9933 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9934 Joseph Myers <joseph@codesourcery.com>
9936 * Makeconfig (test-name): New variable.
9937 (evaluate-test): Likewise.
9938 * Makerules (do-test-clean): Remove .test-result files.
9939 (common-mostlyclean): Likewise.
9940 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9941 * scripts/evaluate-test.sh: New file.
9943 2014-02-14 Joseph Myers <joseph@codesourcery.com>
9945 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9946 separate $(objpfx)tst-fopenloc-cmp.out and
9947 $(objpfx)tst-fopenloc-mem.out targets.
9948 (tests): Update dependencies.
9949 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9950 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9951 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9952 (tst-rxspencer-no-utf8-ARGS): New variable.
9953 (tst-rxspencer-no-utf8-ENV): Likewise.
9954 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9955 instead of $(objpfx)tst-rxspencer-mem.
9956 ($(objpfx)tst-rxspencer-mem): Change target to
9957 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9958 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9959 * posix/tst-rxspencer-no-utf8.c: New file.
9961 * elf/Makefile ($(objpfx)order.out): Remove rule.
9962 [$(run-built-tests) = yes] (tests): Depend on
9963 $(objpfx)order-cmp.out.
9964 ($(objpfx)order-cmp.out): New rule.
9965 [$(run-built-tests) = yes] (tests): Depend on
9966 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9967 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9968 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9969 $(objpfx)tst-array5-static-cmp.out.
9970 ($(objpfx)tst-array1.out): Remove rule.
9971 ($(objpfx)tst-array1-cmp.out): New rule.
9972 ($(objpfx)tst-array1-static.out): Remove rule.
9973 ($(objpfx)tst-array1-static-cmp.out): New rule.
9974 ($(objpfx)tst-array2.out): Remove rule.
9975 ($(objpfx)tst-array2-cmp.out): New rule.
9976 ($(objpfx)tst-array3.out): Remove rule.
9977 ($(objpfx)tst-array3-cmp.out): New rule.
9978 ($(objpfx)tst-array4.out): Remove rule.
9979 ($(objpfx)tst-array4-cmp.out): New rule.
9980 ($(objpfx)tst-array5.out): Remove rule.
9981 ($(objpfx)tst-array5-cmp.out): New rule.
9982 ($(objpfx)tst-array5-static.out): Remove rule.
9983 ($(objpfx)tst-array5-static-cmp.out): New rule.
9984 [$(run-built-tests) = yes] (tests): Depend on
9985 $(objpfx)order2-cmp.out.
9986 ($(objpfx)order2.out): Remove rule.
9987 ($(objpfx)order2-cmp.out): New rule.
9988 ($(objpfx)tst-initorder.out): Remove rule.
9989 [$(run-built-tests) = yes] (tests): Depend on
9990 $(objpfx)tst-initorder-cmp.out.
9991 ($(objpfx)tst-initorder-cmp.out): New rule.
9992 ($(objpfx)tst-initorder2.out): Remove rule.
9993 [$(run-built-tests) = yes] (tests): Depend on
9994 $(objpfx)tst-initorder2-cmp.out.
9995 ($(objpfx)tst-initorder2-cmp.out): New rule.
9996 [$(run-built-tests) = yes] (tests): Depend on
9997 $(objpfx)tst-unused-dep-cmp.out.
9998 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9999 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10000 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10001 on $(objpfx)tst-setvbuf1-cmp.out.
10002 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10003 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10004 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10005 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10006 ($(objpfx)tst-svc.out): Remove rule.
10007 ($(objpfx)tst-svc-cmp.out): New rule.
10009 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10011 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10012 * ctype/ctype.h [__USE_MISC]: Likewise.
10013 * dirent/dirent.h [__USE_MISC]: Likewise.
10014 * grp/grp.h [__USE_MISC]: Likewise.
10015 * io/fcntl.h [__USE_MISC]: Likewise.
10016 * io/sys/stat.h [__USE_MISC]: Likewise.
10017 * libio/stdio.h [__USE_MISC]: Likewise.
10018 * posix/unistd.h [__USE_MISC]: Likewise.
10019 * pwd/pwd.h [__USE_MISC]: Likewise.
10020 * stdlib.h [__USE_MISC]: Likewise.
10021 * string/bits/string2.h [__USE_MISC]: Likewise.
10022 * string/string.h [__USE_MISC]: Likewise.
10023 * time/time.h [__USE_MISC]: Likewise.
10025 2014-02-13 Andreas Schwab <schwab@suse.de>
10028 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10029 second answer buffer if it was separately allocated.
10031 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10033 * sysdeps/mips/math-tests.h: Include <features.h>.
10034 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10035 (ROUNDING_TESTS_long_double): Do not define.
10036 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10037 (EXCEPTION_TESTS_long_double): Likewise.
10038 * sysdeps/mips/mips64/libm-test-ulps: Update.
10040 * include/features.h (__USE_BSD): Remove macro definitions.
10041 (__USE_SVID): Likewise.
10042 (_BSD_SOURCE): Likewise.
10043 (_SVID_SOURCE): Likewise.
10044 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10045 from definition of _DEFAULT_SOURCE.
10046 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10048 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10049 * bits/mman.h [__USE_BSD]: Likewise.
10050 * bits/termios.h [__USE_BSD]: Likewise.
10051 * bits/waitstatus.h [__USE_BSD]: Likewise.
10052 * ctype/ctype.h [__USE_SVID]: Likewise.
10053 * dirent/dirent.h [__USE_BSD]: Likewise.
10054 * grp/grp.h [__USE_SVID]: Likewise.
10055 [__USE_BSD]: Likewise.
10056 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10057 * io/fcntl.h [__USE_BSD]: Likewise.
10058 * io/ftw.h [__USE_BSD]: Likewise.
10059 * io/sys/stat.h [__USE_BSD]: Likewise.
10060 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10061 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10062 * libio/stdio.h [__USE_SVID]: Likewise.
10063 [__USE_BSD]: Likewise.
10064 * math/math.h [__USE_SVID]: Likewise.
10065 [__USE_BSD]: Likewise.
10066 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10067 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10068 * misc/search.h [__USE_SVID]: Likewise.
10069 * misc/sys/mman.h [__USE_BSD]: Likewise.
10070 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10071 * misc/sys/uio.h [__USE_BSD]: Likewise.
10072 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10073 * posix/glob.h [__USE_BSD]: Likewise.
10074 * posix/regex.h [__USE_BSD]: Likewise.
10075 * posix/sys/types.h [__USE_BSD]: Likewise.
10076 [__USE_SVID]: Likewise.
10077 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10078 * posix/sys/wait.h [__USE_BSD]: Likewise.
10079 [__USE_SVID]: Likewise.
10080 * posix/unistd.h [__USE_BSD]: Likewise.
10081 [__USE_SVID]: Likewise.
10082 * pwd/pwd.h [__USE_SVID]: Likewise.
10083 * resolv/netdb.h [__USE_BSD]: Likewise.
10084 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10085 * signal/signal.h [__USE_BSD]: Likewise.
10086 [__USE_SVID]: Likewise.
10087 * socket/sys/socket.h [__USE_BSD]: Likewise.
10088 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10089 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10090 [__USE_SVID]: Likewise.
10091 * string/bits/string2.h [__USE_BSD]: Likewise.
10092 [__USE_SVID]: Likewise.
10093 * string/bits/string3.h [__USE_BSD]: Likewise.
10094 * string/endian.h [__USE_BSD]: Likewise.
10095 * string/string.h [__USE_SVID]: Likewise.
10096 [__USE_BSD]: Likewise.
10097 * string/strings.h [__USE_BSD]: Likewise.
10098 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10099 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10100 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10101 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10102 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10103 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10105 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10107 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10108 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10110 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10111 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10113 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10115 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10116 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10117 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10119 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10121 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10122 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10123 * termios/termios.h [__USE_BSD]: Likewise.
10124 * time/sys/time.h [__USE_BSD]: Likewise.
10125 * time/time.h [__USE_BSD]: Likewise.
10126 [__USE_SVID]: Likewise.
10128 * Makefile (subdir_targets): Remove subdir_lint.out.
10130 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10131 (do-tst-printf): Likewise.
10132 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10133 $(objpfx)tst-printf.out.
10135 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10137 * Makerules (check-abi-%): Change target to
10138 $(objpfx)check-abi-%.out.
10139 (check-abi target): Update dependencies.
10140 (check-abi-pattern variable): Redirect output of diff to $@.
10141 (check-abi variable): Likewise.
10142 * elf/Makefile (check-abi): Update dependencies.
10144 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10146 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10147 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10149 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10150 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10151 value has largest subnormal exponent.
10152 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10153 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10154 * sysdeps/aarch64/soft-fp/sfp-machine.h
10155 (_FP_TININESS_AFTER_ROUNDING): New macro.
10156 * sysdeps/alpha/soft-fp/sfp-machine.h
10157 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10158 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10160 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10161 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10162 * sysdeps/mips/soft-fp/sfp-machine.h
10163 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10164 * sysdeps/powerpc/soft-fp/sfp-machine.h
10165 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10166 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10168 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10169 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10170 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10171 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10172 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10175 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10178 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10181 2014-02-12 Richard Henderson <rth@redhat.com>
10183 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10184 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10185 * sysdeps/unix/sysv/linux/alpha: Move directory from
10186 ports/sysdeps/unix/sysv/linux/alpha.
10187 * README: Update listing for alpha-*-linux-gnu.
10189 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10191 * include/features.h: Update comment documenting feature test
10193 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10195 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10196 (_SVID_SOURCE): Likewise.
10197 (_DEFAULT_SOURCE): Update description of default features.
10198 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10200 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10201 (S_ISVTX): Likewise.
10202 * manual/math.texi (Mathematical Constants): Likewise.
10203 * manual/signal.texi (Interrupted Primitives): Likewise.
10204 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10205 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10206 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10207 Don't refer to _SVID_SOURCE in warning text.
10209 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10211 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10213 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10214 * sysdeps/mips/dl-lookup.c: Remove.
10215 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10217 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10220 * math/auto-libm-test-in: Add testcase for expl.
10221 * math/auto-libm-test-out: Regenerate.
10222 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10223 calculation of unsafe.
10224 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10226 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10228 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10229 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10230 ports/sysdeps/unix/sysv/linux/aarch64.
10231 * README: Update listing for aarch64*-*-linux-gnu.
10233 2014-02-11 Will Newton <will.newton@linaro.org>
10235 * manual/probes.texi (Mathematical Function Probes): Use
10236 "triggered" instead of "hit".
10238 * manual/probes.texi (Internal Probes): Add documentation
10239 of setjmp, longjmp and longjmp_target probes.
10241 * include/stap-probe.h: Add comment about probe argument
10244 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10245 definition. (tr_where, tr_freehook, tr_mallochook,
10246 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10248 2014-02-11 David S. Miller <davem@davemloft.net>
10250 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10251 processing int_tests.
10253 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10255 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10256 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10257 * sysdeps/unix/sysv/linux/mips: Move directory from
10258 ports/sysdeps/unix/sysv/linux/mips.
10259 * README: Update listing for mips-*-linux-gnu and
10260 mips64-*-linux-gnu.
10262 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10264 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10265 * sysdeps/unix/sysv/linux/m68k: Move directory from
10266 ports/sysdeps/unix/sysv/linux/m68k.
10267 * README: Update listing for m68k-*-linux-gnu.
10269 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10271 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10272 * sysdeps/unix/sysv/linux/generic: Move directory from
10273 ports/sysdeps/unix/sysv/linux/generic.
10274 * sysdeps/unix/sysv/linux/tile: Move directory from
10275 ports/sysdeps/unix/sysv/linux/tile.
10276 * README: Update listing for tile*-*-linux-gnu.
10278 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10280 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10282 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10283 * catgets/open_catalog.c (__open_catalog): Likewise.
10284 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10285 * debug/confstr_chk.c: Likewise.
10286 * debug/fread_chk.c (__fread_chk): Likewise.
10287 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10288 * debug/getgroups_chk.c: Likewise.
10289 * debug/mbsnrtowcs_chk.c: Likewise.
10290 * debug/mbsrtowcs_chk.c: Likewise.
10291 * debug/mbstowcs_chk.c: Likewise.
10292 * debug/memcpy_chk.c: Likewise.
10293 * debug/memmove_chk.c: Likewise.
10294 * debug/mempcpy_chk.c: Likewise.
10295 * debug/memset_chk.c: Likewise.
10296 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10297 * debug/strcat_chk.c (__strcat_chk): Likewise.
10298 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10299 * debug/strncat_chk.c (__strncat_chk): Likewise.
10300 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10301 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10302 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10303 * debug/wcpncpy_chk.c: Likewise.
10304 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10305 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10306 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10307 * debug/wcsncpy_chk.c: Likewise.
10308 * debug/wcsnrtombs_chk.c: Likewise.
10309 * debug/wcsrtombs_chk.c: Likewise.
10310 * debug/wcstombs_chk.c: Likewise.
10311 * debug/wmemcpy_chk.c: Likewise.
10312 * debug/wmemmove_chk.c: Likewise.
10313 * debug/wmempcpy_chk.c: Likewise.
10314 * debug/wmemset_chk.c: Likewise.
10315 * dirent/scandirat.c (SCANDIRAT): Likewise.
10316 * dlfcn/dladdr1.c (dladdr1): Likewise.
10317 * dlfcn/dladdr.c (dladdr): Likewise.
10318 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10319 * dlfcn/dlerror.c (__dlerror): Likewise.
10320 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10321 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10322 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10323 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10324 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10325 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10326 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10327 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10329 * elf/dl-conflict.c: Likewise.
10330 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10331 * elf/dl-dst.h: Likewise.
10332 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10333 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10334 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10335 * elf/dl-init.c (call_init, _dl_init): Likewise.
10336 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10337 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10338 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10340 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10342 * elf/dl-minimal.c (__libc_memalign): Likewise.
10343 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10344 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10345 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10346 * elf/dl-sym.c (do_sym): Likewise.
10347 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10348 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10349 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10350 * elf/dl-writev.h (_dl_writev): Likewise.
10351 * elf/ldconfig.c (search_dir): Likewise.
10352 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10353 (dl_main): Likewise.
10354 * elf/setup-vdso.h (setup_vdso): Likewise.
10355 * grp/compat-initgroups.c (compat_call): Likewise.
10356 * grp/fgetgrent.c (fgetgrent): Likewise.
10357 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10358 * grp/putgrent.c (putgrent): Likewise.
10359 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10361 * hurd/hurdinit.c: Likewise.
10362 * iconvdata/8bit-gap.c (struct): Likewise.
10363 * iconvdata/ansi_x3.110.c : Likewise.
10364 * iconvdata/big5.c : Likewise.
10365 * iconvdata/big5hkscs.c : Likewise.
10366 * iconvdata/cp1255.c: Likewise.
10367 * iconvdata/cp1258.c : Likewise.
10368 * iconvdata/cp932.c : Likewise.
10369 * iconvdata/euc-cn.c: Likewise.
10370 * iconvdata/euc-jisx0213.c : Likewise.
10371 * iconvdata/euc-jp.c: Likewise.
10372 * iconvdata/euc-jp-ms.c : Likewise.
10373 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10374 * iconvdata/gb18030.c : Likewise.
10375 * iconvdata/gbbig5.c (const): Likewise.
10376 * iconvdata/gbgbk.c: Likewise.
10377 * iconvdata/gbk.c : Likewise.
10378 * iconvdata/ibm1364.c : Likewise.
10379 * iconvdata/ibm930.c : Likewise.
10380 * iconvdata/ibm932.c: Likewise.
10381 * iconvdata/ibm933.c : Likewise.
10382 * iconvdata/ibm935.c : Likewise.
10383 * iconvdata/ibm937.c : Likewise.
10384 * iconvdata/ibm939.c : Likewise.
10385 * iconvdata/ibm943.c: Likewise.
10386 * iconvdata/iso_11548-1.c: Likewise.
10387 * iconvdata/iso-2022-cn.c : Likewise.
10388 * iconvdata/iso-2022-cn-ext.c : Likewise.
10389 * iconvdata/iso-2022-jp-3.c: Likewise.
10390 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10391 * iconvdata/iso-2022-kr.c : Likewise.
10392 * iconvdata/iso646.c (gconv_end): Likewise.
10393 * iconvdata/iso_6937-2.c : Likewise.
10394 * iconvdata/iso_6937.c : Likewise.
10395 * iconvdata/iso8859-1.c: Likewise.
10396 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10397 * iconvdata/shift_jisx0213.c : Likewise.
10398 * iconvdata/sjis.c : Likewise.
10399 * iconvdata/t.61.c : Likewise.
10400 * iconvdata/tcvn5712-1.c : Likewise.
10401 * iconvdata/tscii.c: Likewise.
10402 * iconvdata/uhc.c : Likewise.
10403 * iconvdata/unicode.c (gconv_end): Likewise.
10404 * iconvdata/utf-16.c (gconv_end): Likewise.
10405 * iconvdata/utf-32.c (gconv_end): Likewise.
10406 * iconvdata/utf-7.c (base64): Likewise.
10407 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10408 * iconv/gconv_close.c (__gconv_close): Likewise.
10409 * iconv/gconv_open.c (__gconv_open): Likewise.
10410 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10411 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10412 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10413 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10414 (ucs4le_internal_loop_single): Likewise.
10415 * iconv/iconv.c (iconv): Likewise.
10416 * iconv/iconv_close.c: Likewise.
10417 * iconv/loop.c (SINGLE): Likewise.
10418 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10419 * include/atomic.h: Likewise.
10420 * inet/inet6_option.c (option_alloc): Likewise.
10421 * intl/bindtextdom.c (set_binding_values): Likewise.
10422 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10423 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10424 * intl/localealias.c (read_alias_file): Likewise.
10425 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10426 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10427 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10428 * libio/fmemopen.c (fmemopen): Likewise.
10429 * libio/iofgets.c (_IO_fgets): Likewise.
10430 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10431 * libio/iofgetws.c (fgetws): Likewise.
10432 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10433 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10434 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10435 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10436 * locale/findlocale.c (_nl_find_locale): Likewise.
10437 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10438 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10440 * locale/setlocale.c (setlocale): Likewise.
10441 * login/programs/pt_chown.c (main): Likewise.
10442 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10443 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10444 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10445 (mmap, mmap64, mremap, munmap): Likewise.
10446 * math/e_exp2l.c: Likewise.
10447 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10448 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10449 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10450 * math/s_catan.c (__catan): Likewise.
10451 * math/s_catanf.c (__catanf): Likewise.
10452 * math/s_catanh.c (__catanh): Likewise.
10453 * math/s_catanhf.c (__catanhf): Likewise.
10454 * math/s_catanhl.c (__catanhl): Likewise.
10455 * math/s_catanl.c (__catanl): Likewise.
10456 * math/s_ccosh.c (__ccosh): Likewise.
10457 * math/s_ccoshf.c (__ccoshf): Likewise.
10458 * math/s_ccoshl.c (__ccoshl): Likewise.
10459 * math/s_cexp.c (__cexp): Likewise.
10460 * math/s_cexpf.c (__cexpf): Likewise.
10461 * math/s_cexpl.c (__cexpl): Likewise.
10462 * math/s_clog10.c (__clog10): Likewise.
10463 * math/s_clog10f.c (__clog10f): Likewise.
10464 * math/s_clog10l.c (__clog10l): Likewise.
10465 * math/s_clog.c (__clog): Likewise.
10466 * math/s_clogf.c (__clogf): Likewise.
10467 * math/s_clogl.c (__clogl): Likewise.
10468 * math/s_csin.c (__csin): Likewise.
10469 * math/s_csinf.c (__csinf): Likewise.
10470 * math/s_csinh.c (__csinh): Likewise.
10471 * math/s_csinhf.c (__csinhf): Likewise.
10472 * math/s_csinhl.c (__csinhl): Likewise.
10473 * math/s_csinl.c (__csinl): Likewise.
10474 * math/s_csqrt.c (__csqrt): Likewise.
10475 * math/s_csqrtf.c (__csqrtf): Likewise.
10476 * math/s_csqrtl.c (__csqrtl): Likewise.
10477 * math/s_ctan.c (__ctan): Likewise.
10478 * math/s_ctanf.c (__ctanf): Likewise.
10479 * math/s_ctanh.c (__ctanh): Likewise.
10480 * math/s_ctanhf.c (__ctanhf): Likewise.
10481 * math/s_ctanhl.c (__ctanhl): Likewise.
10482 * math/s_ctanl.c (__ctanl): Likewise.
10483 * math/w_pow.c: Likewise.
10484 * math/w_powf.c: Likewise.
10485 * math/w_powl.c: Likewise.
10486 * math/w_scalb.c (sysv_scalb): Likewise.
10487 * math/w_scalbf.c (sysv_scalbf): Likewise.
10488 * math/w_scalbl.c (sysv_scalbl): Likewise.
10489 * misc/error.c (error_tail): Likewise.
10490 * misc/pselect.c (__pselect): Likewise.
10491 * nis/nis_callback.c (__nis_create_callback): Likewise.
10492 * nis/nis_call.c (__nisfind_server): Likewise.
10493 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10494 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10495 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10496 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10497 * nis/nis_lookup.c (nis_lookup): Likewise.
10498 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10499 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10500 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10501 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10502 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10503 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10504 * nis/nss_compat/compat-initgroups.c (add_group)
10505 (internal_getgrent_r): Likewise.
10506 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10507 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10508 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10509 (internal_getspnam_r): Likewise.
10510 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10511 (_nss_nis_getaliasbyname_r): Likewise.
10512 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10513 (_nss_nis_getntohost_r): Likewise.
10514 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10515 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10516 (_nss_nis_getgrgid_r): Likewise.
10517 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10518 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10519 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10520 (_nss_nis_gethostbyname4_r): Likewise.
10521 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10522 (initgroups_netid): Likewise.
10523 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10524 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10525 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10526 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10527 (_nss_nis_getprotobynumber_r): Likewise.
10528 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10529 (_nss_nis_getsecretkey): Likewise.
10530 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10531 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10532 (_nss_nis_getpwuid_r): Likewise.
10533 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10534 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10535 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10536 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10537 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10538 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10539 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10541 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10542 (_nss_nisplus_getntohost_r): Likewise.
10543 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10544 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10545 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10546 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10548 * nis/nss_nisplus/nisplus-initgroups.c
10549 (_nss_nisplus_initgroups_dyn): Likewise.
10550 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10551 (_nss_nisplus_getnetbyaddr_r): Likewise.
10552 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10553 (_nss_nisplus_getprotobynumber_r): Likewise.
10554 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10555 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10556 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10558 * nis/nss_nisplus/nisplus-service.c
10559 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10560 (_nss_nisplus_getservbyport_r): Likewise.
10561 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10562 (_nss_nisplus_getspnam_r): Likewise.
10563 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10565 * nscd/aicache.c (addhstaiX): Likewise.
10566 * nscd/cache.c (cache_search, prune_cache): Likewise.
10567 * nscd/connections.c (register_traced_file, send_ro_fd)
10568 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10569 (main_loop_epoll): Likewise.
10570 * nscd/grpcache.c (addgrbyX): Likewise.
10571 * nscd/hstcache.c (addhstbyX): Likewise.
10572 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10573 * nscd/mem.c (gc, mempool_alloc): Likewise.
10574 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10575 (addinnetgrX): Likewise.
10576 * nscd/nscd-client.h (__nscd_acquire_maplock)
10577 (__nscd_drop_map_ref): Likewise.
10578 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10579 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10580 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10582 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10583 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10584 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10585 (__nscd_get_map_ref): Likewise.
10586 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10587 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10589 * nscd/pwdcache.c (addpwbyX): Likewise.
10590 * nscd/selinux.c (preserve_capabilities): Likewise.
10591 * nscd/servicescache.c (addservbyX): Likewise.
10592 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10593 * posix/fnmatch.c (fnmatch): Likewise.
10594 * posix/getopt.c (_getopt_internal_r): Likewise.
10595 * posix/glob.c (glob, glob_in_dir): Likewise.
10596 * posix/wordexp.c (exec_comm_child): Likewise.
10597 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10598 (getanswer_r, gaih_getanswer_slice): Likewise.
10599 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10600 * resolv/res_init.c: Likewise.
10601 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10602 * resolv/res_query.c (__libc_res_nquery): Likewise.
10603 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10605 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10606 * stdio-common/perror.c (perror): Likewise.
10607 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10608 * stdio-common/tmpnam.c (tmpnam): Likewise.
10609 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10610 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10611 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10613 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10614 * stdlib/putenv.c (putenv): Likewise.
10615 * stdlib/setenv.c (__add_to_environ): Likewise.
10616 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10617 * stdlib/strtol_l.c (INTERNAL): Likewise.
10618 * string/memmem.c (memmem): Likewise.
10619 * string/strerror.c (strerror): Likewise.
10620 * string/strnlen.c (__strnlen): Likewise.
10621 * string/test-memmem.c (simple_memmem): Likewise.
10622 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10623 * sunrpc/pm_getport.c (__get_socket): Likewise.
10624 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10625 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10626 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10627 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10629 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10630 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10631 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10632 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10633 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10634 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10636 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10638 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10639 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10640 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10641 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10642 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10643 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10644 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10645 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10646 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10647 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10648 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10649 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10651 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10653 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10655 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10656 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10657 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10658 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10659 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10660 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10661 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10662 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10663 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10664 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10665 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10666 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10667 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10668 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10669 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10670 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10672 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10674 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10676 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10678 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10679 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10680 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10682 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10683 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10684 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10685 * sysdeps/posix/sleep.c: Likewise.
10686 * sysdeps/posix/tempname.c: Likewise.
10687 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10688 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10690 * sysdeps/powerpc/powerpc32/dl-machine.h
10691 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10692 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10693 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10694 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10695 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10697 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10698 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10699 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10700 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10701 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10702 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10703 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10704 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10705 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10706 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10707 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10708 (elf_machine_lazy_rel): Likewise.
10709 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10710 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10711 (elf_machine_lazy_rel): Likewise.
10712 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10713 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10714 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10715 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10716 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10717 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10718 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10719 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10721 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10722 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10723 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10724 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10725 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10726 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10727 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10728 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10729 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10730 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10731 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10733 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10734 (__posix_fallocate64_l64): Likewise.
10735 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10736 (posix_fallocate): Likewise.
10737 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10739 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10740 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10741 (getifaddrs_internal): Likewise.
10742 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10743 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10744 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10745 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10746 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10747 (__posix_fallocate64_l64): Likewise.
10748 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10750 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10751 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10752 (__get_clockfreq): Likewise.
10753 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10754 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10755 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10756 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10757 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10758 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10759 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10760 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10762 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10763 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10764 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10765 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10766 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10767 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10768 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10770 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10771 (posix_fallocate): Likewise.
10772 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10773 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10774 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10775 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10776 (elf_machine_rela, elf_machine_rela_relative)
10777 (elf_machine_lazy_rel): Likewise.
10778 * time/asctime.c (asctime_internal): Likewise.
10779 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10780 * time/tzset.c (__tzset_parse_tz): Likewise.
10781 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10782 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10783 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10784 * wcsmbs/wcsmbsload.h: Likewise.
10787 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10789 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10790 (arena_get2): Remove THREAD_STATS conditionals.
10791 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10792 (__malloc_stats, int): Likewise.
10794 2014-02-08 Mike Frysinger <vapier@gentoo.org>
10796 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10797 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10799 * manual/setjmp.texi: Fix typos/grammar errors.
10801 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10802 Only return early when n is <= 0. Delete unused return statement.
10804 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10805 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10806 * debug/tst-longjmp_chk3.c: New file.
10808 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10809 (test_main): Replace code with set_fortify_handler call.
10810 * debug/test-strcpy_chk.c: Likewise.
10811 * debug/tst-chk1.c: Likewise.
10812 * debug/tst-longjmp_chk.c: Likewise.
10813 * test-skeleton.c: Include fcntl.h & paths.h
10814 (set_fortify_handler): Define.
10816 * debug/tst-longjmp_chk.c: Add header comment and include
10817 ../test-skeleton.c.
10818 (do_test): Mark static.
10819 (TEST_FUNCTION): Define.
10821 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10822 (IP_PMTUDISC_INTERFACE): Likewise.
10823 (IP_MULTICAST_IF): Likewise.
10824 (IP_MULTICAST_TTL): Likewise.
10825 (IP_MULTICAST_LOOP): Likewise.
10826 (IP_ADD_MEMBERSHIP): Likewise.
10827 (IP_DROP_MEMBERSHIP): Likewise.
10828 (IP_UNBLOCK_SOURCE): Likewise.
10829 (IP_BLOCK_SOURCE): Likewise.
10830 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10831 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10832 (IP_MSFILTER): Likewise.
10833 (MCAST_JOIN_GROUP): Likewise.
10834 (MCAST_BLOCK_SOURCE): Likewise.
10835 (MCAST_UNBLOCK_SOURCE): Likewise.
10836 (MCAST_LEAVE_GROUP): Likewise.
10837 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10838 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10839 (MCAST_MSFILTER): Likewise.
10840 (IP_MULTICAST_ALL): Likewise.
10841 (IP_UNICAST_IF): Likewise.
10843 * timezone/Makefile: Delete $(have-ksh) check.
10844 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10845 * timezone/tzselect.ksh: Add +x mode bits.
10847 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10848 (ANON_INODE_FS_MAGIC): Likewise.
10849 (BDEVFS_MAGIC): Likewise.
10850 (BINFMTFS_MAGIC): Likewise.
10851 (BTRFS_TEST_MAGIC): Likewise.
10852 (CRAMFS_MAGIC_WEND): Likewise.
10853 (DEBUGFS_MAGIC): Likewise.
10854 (ECRYPTFS_SUPER_MAGIC): Likewise.
10855 (EXT3_SUPER_MAGIC): Likewise.
10856 (EXT4_SUPER_MAGIC): Likewise.
10857 (FUTEXFS_SUPER_MAGIC): Likewise.
10858 (HOSTFS_SUPER_MAGIC): Likewise.
10859 (HUGETLBFS_MAGIC): Likewise.
10860 (MINIX3_SUPER_MAGIC): Likewise.
10861 (MTD_INODE_FS_MAGIC): Likewise.
10862 (NILFS_SUPER_MAGIC): Likewise.
10863 (OPENPROM_SUPER_MAGIC): Likewise.
10864 (PIPEFS_MAGIC): Likewise.
10865 (PSTOREFS_MAGIC): Likewise.
10866 (QNX6_SUPER_MAGIC): Likewise.
10867 (RAMFS_MAGIC): Likewise.
10868 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10869 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10870 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10871 (SECURITYFS_MAGIC): Likewise.
10872 (SELINUX_MAGIC): Likewise.
10873 (SMACK_MAGIC): Likewise.
10874 (SOCKFS_MAGIC): Likewise.
10875 (SQUASHFS_MAGIC): Likewise.
10876 (STACK_END_MAGIC): Likewise.
10877 (TMPFS_MAGIC): Likewise.
10878 (USBDEVICE_SUPER_MAGIC): Likewise.
10879 (V9FS_MAGIC): Likewise.
10880 (XENFS_SUPER_MAGIC): Likewise.
10881 (CRAMFS_MAGIC): Fix typo in comment.
10882 (EXT2_SUPER_MAGIC): Update comment.
10883 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10885 2014-02-08 Joseph Myers <joseph@codesourcery.com>
10887 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10888 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10889 * sysdeps/unix/sysv/linux/arm: Move directory from
10890 ports/sysdeps/unix/sysv/linux/arm.
10891 * README: Update listing for arm-*-linux-gnueabi.
10893 * README: Remove mention of am33.
10895 2014-02-07 Roland McGrath <roland@hack.frob.com>
10897 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10898 than the comma operator, to avoid "rhs of comma has no effect"
10900 (__sigfillset, __sigandset, __sigorset): Likewise.
10901 * include/signal.h (__sigemptyset): Likewise.
10902 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10904 2014-02-07 Allan McRae <allan@archlinux.org>
10906 * version.h (RELEASE): Set to "development".
10907 (VERSION): Set to "2.19.90"
10908 * NEWS: Add 2.20 section.
10910 2014-02-06 Carlos O'Donell <carlos@redhat.com>
10913 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10915 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10917 * manual/contrib.texi: Update entry for Carlos O'Donell,
10918 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10920 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
10922 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10924 * sysdeps/unix/sysv/linux/kernel-features.h
10925 [__LINUX_KERNEL_VERSION >= 0x020621]
10926 (__ASSUME_PROC_PID_TASK_COMM): Define.
10928 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10931 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10932 conversion when destination buffer does not have enough space.
10933 * libio/tst-ftell-partial-wide.c: New test case.
10934 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10936 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10937 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10938 Leonard and Allan McRae.
10940 2014-02-04 David S. Miller <davem@davemloft.net>
10942 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10945 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10974 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10976 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10977 * shlib-versions: Likewise.
10979 2014-02-04 Roland McGrath <roland@hack.frob.com>
10980 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10982 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10983 (abilist-pattern): New variable, set to %-le.abilist.
10985 * Makerules (abilist-pattern): New variable.
10986 (vpath): Use $(abilist-pattern) in place of %.abilist.
10987 (check-abi-% pattern rule): Likewise.
10988 (check-abi, update-abi): Likewise.
10990 2014-02-04 Eric Wong <normalperson@yhbt.net>
10992 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10994 2014-02-03 Carlos O'Donell <carlos@redhat.com>
10996 * manual/startup.texi: Add next, previous, and top entries for
10997 the `Program Arguments' and `Environment Variables' nodes.
10999 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11001 * manual/macros.texi: Add comments before MTASC-safety macros.
11003 * manual/users.texi: Document MTASC-safety properties.
11005 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11006 (pthread_getspecific, pthread_setspecific): Format with
11007 @deftypefun, and add @safety note.
11008 * manual/signal.texi: Move comments that analyze the above
11009 functions to their home place.
11011 2014-02-03 Allan McRae <allan@archlinux.org>
11013 * po/sl.po: Update Slovenian translation from translation project.
11015 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11017 * manual/time.texi (timegm): Add missing blank after @c.
11018 Reported by Joseph Myers <joseph@codesourcery.com>.
11020 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11022 * manual/check-safety.sh: New.
11023 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11025 * manual/terminal.texi: Document MTASC-safety properties.
11027 * manual/filesys.texi: Document MTASC-safety properties.
11029 * manual/errno.texi: Document MTASC-safety properties.
11031 * manual/intro.texi: Document safety identifiers and
11034 * manual/string.texi (wcstok): Fix prototype.
11035 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11037 * manual/time.texi: Document MTASC-safety properties.
11039 * manual/string.texi: Document MTASC-safety properties.
11041 * manual/threads.texi: Document MTASC-safety properties.
11043 * manual/stdio.texi: Document MTASC-safety properties.
11045 * manual/syslog.texi: Document MTASC-safety properties.
11047 * manual/sysinfo.texi: Document MTASC-safety properties.
11049 * manual/startup.texi: Document MTASC-safety properties.
11051 * manual/socket.texi: Document MTASC-safety properties.
11053 * manual/signal.texi: Document MTASC-safety properties.
11055 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11057 * manual/setjmp.texi: Document MTASC-safety properties.
11059 * manual/search.texi: Document MTASC-safety properties.
11061 * manual/resource.texi: Document MTASC-safety properties.
11063 * manual/process.texi: Document MTASC-safety properties.
11065 * manual/platform.texi: Document MTASC-safety properties.
11067 * manual/pipe.texi: Document MTASC-safety properties.
11069 * manual/pattern.texi: Document MTASC-safety properties.
11071 * manual/message.texi: Document MTASC-safety properties.
11074 * manual/memory.texi: Document MTASC-safety properties.
11076 * manual/math.texi: Document MTASC-safety properties.
11078 * manual/locale.texi: Document MTASC-safety properties.
11080 * manual/llio.texi: Document MTASC-safety properties.
11082 * manual/libdl.texi: New.
11084 * manual/lang.texi: Document MTASC-safety properties.
11086 * manual/job.texi: Document MTASC-safety properties.
11088 * manual/getopt.texi: Document MTASC-safety properties.
11090 * manual/ctype.texi: Document MTASC-safety properties.
11092 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11095 * csu/libc-tls.c (static_map): Remove variable.
11096 (__libc_setup_tls): Use main executable's link map for TLS data.
11097 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11098 casing for LM_ID_BASE and GL(dl_nns).
11099 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11100 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11101 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11102 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11103 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11105 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11108 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
11110 * manual/debug.texi: Document MTASC-safety properties.
11112 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11115 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11116 of __x86_64__ when disabling x87 inline functions.
11118 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
11120 * manual/charset.texi: Document MTASC-safety properties.
11122 * manual/crypt.texi: Document MTASC-safety properties.
11124 * manual/conf.texi: Document MTASC-safety properties.
11126 * manual/arith.texi: Document MTASC-safety properties.
11128 * manual/argp.texi: Document MTASC-safety properties.
11130 * manual/macros.texi: Introduce macros to document multi
11131 thread, asynchronous signal and asynchronous cancellation
11133 * manual/intro.texi: Introduce the properties themselves.
11135 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11137 * sysdeps/sh/sh4/Makefile: New file.
11139 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11141 * math/gen-libm-test.pl ($srcdir): New variable.
11142 ($auto_input): Use it.
11144 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11147 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11148 access beyond array bounds when parsing netgroups file.
11150 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11151 the old buffer before realloc.
11153 2014-01-27 Allan McRae <allan@archlinux.org>
11155 * po/fr.po: Update French translation from translation project.
11157 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11159 * sysdeps/sh/libm-test-ulps: Regenerate.
11161 2014-01-24 David S. Miller <davem@davemloft.net>
11163 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11165 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11167 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11168 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11170 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11173 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11174 string pointers after reallocation.
11176 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11178 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11179 __SH4A__ instead of __SH_FPU_ANY__.
11181 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11183 * sysdeps/sh/fpu_control.h: New file.
11184 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11185 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11186 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11187 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11188 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11189 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11190 * sysdeps/sh/sys/ucontext.h: Remove.
11191 * sysdeps/sh/sys: Remove directory.
11193 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11195 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11196 s390/sys/ucontext.h.
11197 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11198 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11200 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11203 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11205 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11208 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11209 Adjust the vDSO correctly for internal calls.
11210 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11212 2014-01-20 Allan McRae <allan@archlinux.org>
11214 * po/ca.po: Update Catalan translation from translation project.
11216 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11218 * sysdeps/s390/sotruss-lib.c: New file.
11220 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11223 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11224 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11225 local calls issues by not having a PLT stub required for IFUNC calls.
11226 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11228 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11230 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11231 * math/test-fpucw-static.c: Likewise.
11233 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11236 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11238 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11240 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11241 implementation for powerpc.
11243 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11246 * sysdeps/posix/system.c (__libc_system): Do not enable
11247 asynchronous cancellation.
11249 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11252 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11253 handling only for numbers special also in the IEEE case.
11255 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11257 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11259 2014-01-11 Allan McRae <allan@archlinux.org>
11261 * po/bg.po: Update Bulgarian translation from translation project.
11263 * po/de.po: Update German translation from translation project.
11265 2014-01-10 Roland McGrath <roland@hack.frob.com>
11267 * sysdeps/generic/gcc-compat.h: New file.
11269 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11271 * benchtests/asin-inputs: Correct slow inputs.
11272 * benchtests/acos-inputs: Likewise.
11274 2014-01-10 Allan McRae <allan@archlinux.org>
11276 * po:sv.po: Update Swedish translation from translation project.
11278 * po/vi.po: Update Vietnamese translation from translation project.
11280 * po/eo.po: Update Esperanto translation from translation project.
11282 * po/cs.po: Update Czech translation from translation project.
11284 * po/nl.po: Update Dutch translation from translation project.
11286 * po/pl.po: Update Polish translation from translation project.
11288 * po/ru.po: Update Russian translation from translation project.
11290 * po/uk.po: Update Ukrainian translation from translation project.
11292 2014-01-08 Brooks Moses <bmoses@google.com>
11294 * elf/dl-load.c: Fix comment typo.
11296 2014-01-08 Carlos O'Donell <carlos@redhat.com>
11298 * po/header.pot: Rename to...
11299 * po/pot.header: ... this.
11300 * po/Makefile: Use pot.header.
11302 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11303 Maxim Kuvyrkov <maxim@kugelworks.com>
11306 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11307 SRC and DEST against LEN.
11309 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11312 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11314 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11316 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11320 2014-01-08 Joseph Myers <joseph@codesourcery.com>
11323 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11324 for large positive arguments.
11326 2014-01-07 Joseph Myers <joseph@codesourcery.com>
11328 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11330 * math/auto-libm-test-in: Mark various tests with
11331 xfail-rounding:ldbl-128ibm.
11332 * math/auto-libm-test-out: Regenerated.
11335 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11336 Increase overflow threshold.
11338 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11341 * stdio-common/vfprintf.c: Check for integer overflow.
11343 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11345 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11346 the first argument and return value of __tls_get_addr_internal.
11348 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11350 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11351 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11353 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11355 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11356 * sysdeps/s390/rtld-global-offsets.sym: New file.
11357 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11359 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11360 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11361 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11363 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11364 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11370 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11371 halfs of GPRs for high_gprs contexts.
11372 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11373 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11375 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11377 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11379 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11380 for high GPRs (uc_high_gprs) and for future extensions
11382 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11383 for future extensions (__reserved).
11384 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11386 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11387 SC_HIGHGPRS offset definition.
11388 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11389 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11391 * Versions.def: Add GLIBC_2.19 for libpthread.
11392 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11393 siglongjmp for libpthread with GLIBC_2.19 symver.
11394 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11395 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11396 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11397 * sysdeps/s390/__longjmp.c: New file.
11398 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11399 * sysdeps/s390/longjmp.c: New file.
11400 * sysdeps/s390/setjmp.S: New file.
11401 * sysdeps/s390/sigjmp.S: New file.
11402 * sysdeps/s390/v1-longjmp.c: New file.
11403 * sysdeps/s390/v1-setjmp.h: New file.
11404 * sysdeps/s390/v1-sigjmp.c: New file.
11405 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11406 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11407 GLIBC_2.19 version.
11408 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11409 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11410 versioned symbols for ____longjmp_chk.
11411 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11421 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11422 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11423 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11424 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11425 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11426 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11427 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11428 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11429 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11430 * sysdeps/s390/rtld-__longjmp.c: New file.
11431 * sysdeps/s390/rtld-setjmp.S: New file.
11433 2014-01-06 Joseph Myers <joseph@codesourcery.com>
11436 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11437 Return -__logl (x) for small positive arguments without evaluating
11440 2014-01-06 Mike Frysinger <vapier@gentoo.org>
11442 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11444 (__ptrace_peeksiginfo_args): ... this.
11445 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11446 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11447 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11449 2014-01-06 Allan McRae <allan@archlinux.org>
11451 * inet/netinet/in.h: Fix typo in comment.
11453 2014-01-05 Andreas Jaeger <aj@suse.de>
11455 * sysdeps/i386/fpu/libm-test-ulps: Update.
11457 2014-01-05 Allan McRae <allan@archlinux.org>
11459 * po/libc.pot: Regenerated.
11461 * malloc/memusagestat.c: Fix gettext call formatting.
11463 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11465 * nscd/nscd.c: Improve usage() output.
11467 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11469 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11470 * sysdeps/unix/sysv/linux/configure: Regenerated.
11471 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11472 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11474 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11477 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11478 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11480 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11482 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11483 extra tokens at end of #undef directive.
11484 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11485 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11486 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11488 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11490 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11492 * math/auto-libm-test-in: Mark various tests with
11493 xfail-rounding:ldbl-128ibm.
11494 * math/auto-libm-test-out: Regenerated.
11496 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11499 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11500 numbers with subnormal high part when calculating exponent.
11503 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11507 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11509 (__ieee754_acoshl): Use __log1pl not __log1p.
11511 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11513 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11514 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11515 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11516 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11517 (reused_arena, arena_get2): Convert to GNU style.
11518 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11519 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11520 (memalign_check, __malloc_set_state): Likewise.
11521 * malloc/mallocbug.c (main): Likewise.
11522 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11523 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11524 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11525 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11526 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11527 (__posix_memalign, malloc_info): Likewise.
11528 * malloc/malloc.h: Likewise.
11529 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11530 (mallochook, memalignhook, reallochook, mabort): Likewise.
11531 * malloc/mcheck.h: Likewise.
11532 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11533 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11534 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11535 * malloc/morecore.c (__default_morecore): Likewise.
11536 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11537 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11538 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11539 (print_and_abort): Likewise.
11540 * malloc/obstack.h: Likewise.
11541 * malloc/set-freeres.c (__libc_freeres): Likewise.
11542 * malloc/tst-mallocstate.c (main): Likewise.
11543 * malloc/tst-mtrace.c (main): Likewise.
11544 * malloc/tst-realloc.c (do_test): Likewise.
11546 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11549 * nscd/netgroupcache.c (do_notfound): New function.
11550 (addgetnetgrentX): Use it.
11553 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11554 NSS_STATUS_NOTFOUND.
11556 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11558 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11561 2014-01-01 Allan McRae <allan@archlinux.org>
11563 * scripts/update-copyrights: Update configure input file suffix.
11565 * NEWS: Update copyright year.
11566 * catgets/gencat.c: Likewise.
11567 * csu/version.c: Likewise.
11568 * debug/catchsegv.sh: Likewise.
11569 * debug/pcprofiledump.c: Likewise.
11570 * debug/xtrace.sh: Likewise.
11571 * elf/ldconfig.c: Likewise.
11572 * elf/ldd.bash.in: Likewise.
11573 * elf/pldd.c: Likewise.
11574 * elf/sotruss.ksh: Likewise.
11575 * elf/sprof.c: Likewise.
11576 * iconv/iconv_prog.c: Likewise.
11577 * iconv/iconvconfig.c: Likewise.
11578 * locale/programs/locale.c: Likewise.
11579 * locale/programs/localedef.c: Likewise.
11580 * login/programs/pt_chown.c: Likewise.
11581 * malloc/memusage.sh: Likewise.
11582 * malloc/memusagestat.c: Likewise.
11583 * malloc/mtrace.pl: Likewise.
11584 * manual/libc.texinfo: Likewise.
11585 * nscd/nscd.c: Likewise.
11586 * nss/getent.c: Likewise.
11587 * nss/makedb.c: Likewise.
11588 * posix/getconf.c: Likewise.
11589 * scripts/test-installation.pl: Likewise.
11591 * All files with FSF copyright notices: Update copyright dates
11592 using scripts/update-copyrights.
11593 * intl/plural.c: Regenerated.
11594 * locale/programs/charmap-kw.h: Likewise.
11595 * locale/programs/locfile-kw.h: Likewise.
11597 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11599 * sysdeps/unix/sysv/linux/configure: Regenerated.
11600 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11601 the linux/fanotify.h header.
11602 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11603 HAVE_LINUX_FANOTIFY_H is defined.
11605 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11607 * benchtests/cos-inputs: New inputs.
11608 * benchtests/sin-inputs: Likewise.
11610 * benchtests/atan-inputs: New inputs. Fix name of multiple
11611 precision fallback inputs.
11613 * benchtests/atanh-inputs: New inputs.
11614 * benchtests/tanh-inputs: Likewise.
11616 * benchtests/acosh-inputs: New inputs.
11617 * benchtests/asinh-inputs: Likewise.
11619 * benchtests/cosh-inputs: New inputs.
11620 * benchtests/sinh-inputs: Likewise.
11622 * benchtests/acos-inputs: Add more inputs.
11623 * benchtests/asin-inputs: Likewise.
11625 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11628 * manual/arith.texi: Fix spelling.
11629 * manual/charset.texi: Likewise.
11630 * manual/errno.texi: Likewise.
11631 * manual/filesys.texi: Likewise.
11632 * manual/lang.texi: Likewise.
11633 * manual/llio.texi: Likewise.
11634 * manual/locale.texi: Likewise.
11635 * manual/message.texi: Likewise.
11636 * manual/resource.texi: Likewise.
11637 * manual/search.texi: Likewise.
11638 * manual/setjmp.texi: Likewise.
11639 * manual/stdio.texi: Likewise.
11640 * manual/string.texi: Likewise.
11641 * manual/sysinfo.texi: Likewise.
11642 * manual/time.texi: Likewise.
11644 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11646 * po/sl.po: New file.
11648 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11650 * .gitignore: Add core/.gdbinit/.gdb_history.
11652 2013-12-27 Allan McRae <allan@archlinux.org>
11655 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11656 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11658 2013-12-24 Brooks Moses <bmoses@google.com>
11660 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11661 all compilers that claim C++98 compliance, not just GCC.
11662 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11665 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11667 * NEWS: Restore accidentally deleted bug-fix entries.
11669 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11670 Ondřej Bílka <neleai@seznam.cz>
11673 * malloc/malloc.c (_int_free): Perform sanity check only if we
11676 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11679 * manual/stdio.texi (String Input Conversions): Clarify that character
11680 classes are not supported.
11682 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11686 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11689 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11690 Calculate results for small negative arguments directly rather
11691 than using reflection formula with special underflow handling.
11693 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11694 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11695 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11696 (fchflags): Likewise.
11697 (revoke): Likewise.
11698 (setlogin): Likewise.
11699 (sigaltstack): Likewise.
11701 (sigblock): Remove.
11702 (sigsetmask): Likewise.
11704 (waitpid): Likewise.
11705 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11706 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11708 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11709 * sysdeps/unix/bsd/Makefile: ... here.
11710 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11711 * sysdeps/unix/bsd/Versions: ... here.
11712 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11713 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11714 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11715 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11716 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11717 * sysdeps/unix/bsd/sigblock.c: ... here.
11718 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11719 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11720 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11721 * sysdeps/unix/bsd/sigvec.c: ... here.
11722 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11723 * sysdeps/unix/bsd/tcdrain.c: ... here.
11724 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11725 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11726 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11727 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11728 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11729 * sysdeps/unix/bsd/wait.c: ... here.
11730 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11731 * sysdeps/unix/bsd/wait3.c: ... here.
11732 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11733 * sysdeps/unix/bsd/waitpid.c: ... here.
11735 2013-12-21 Joseph Myers <joseph@codesourcery.com>
11738 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11739 round-to-nearest for [!USE_AS_EXPM1L].
11740 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11741 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11742 more tests of exp and exp10. Expect some exp10 tests to miss
11743 exceptions or fail in directed rounding modes.
11744 * math/auto-libm-test-out: Regenerated.
11745 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11746 (exp10_test_tonearest): New function.
11747 (exp10_towardzero_test_data): New array.
11748 (exp10_test_towardzero): New function.
11749 (exp10_downward_test_data): New array.
11750 (exp10_test_downward): New function.
11751 (exp10_upward_test_data): New array.
11752 (exp10_test_upward): New function.
11753 (main): Call the new functions.
11754 * sysdeps/i386/fpu/libm-test-ulps: Update.
11755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11757 2013-12-20 Joseph Myers <joseph@codesourcery.com>
11759 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11760 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11761 * math/auto-libm-test-out: Regenerated.
11762 * math/libm-test.inc (acosh_test_data): Add more tests.
11763 (atanh_test_data): Likewise.
11764 (ceil_test_data): Likewise.
11765 (copysign_test_data): Likewise.
11766 * sysdeps/i386/fpu/libm-test-ulps: Update.
11767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11769 * timezone/checktab.awk: Update from tzcode 2013i.
11770 * timezone/private.h: Likewise.
11771 * timezone/scheck.c: Likewise.
11772 * timezone/tzfile.h: Likewise.
11773 * timezone/tzselect.ksh: Likewise.
11774 * timezone/zdump.c: Likewise.
11775 * timezone/zic.c: Likewise.
11777 * math/auto-libm-test-in: Add tests of cpow.
11778 * math/auto-libm-test-out: Regenerated.
11779 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11780 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11782 (func_calc_desc): Add mpc_cc_c union field.
11783 (test_functions): Add cpow.
11784 (special_fill_2pi): New function.
11785 (special_real_inputs): Add 2pi.
11786 (calc_generic_results): Handle mpc_cc_c.
11787 * sysdeps/i386/fpu/libm-test-ulps: Update.
11788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11790 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11791 csqrt, ctan and ctanh.
11792 * math/auto-libm-test-out: Regenerated.
11793 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11794 (TEST_COND_x86): Likewise.
11795 (ccos_test_data): Use AUTO_TESTS_c_c.
11796 (ccosh_test_data): Likewise.
11797 (cexp_test_data): Likewise.
11798 (clog_test_data): Likewise.
11799 (csqrt_test_data): Likewise.
11800 (ctan_test_data): Likewise.
11801 (ctan_tonearest_test_data): Likewise.
11802 (ctan_towardzero_test_data): Likewise.
11803 (ctan_downward_test_data): Likewise.
11804 (ctan_upward_test_data): Likewise.
11805 (ctanh_test_data): Likewise.
11806 (ctanh_tonearest_test_data): Likewise.
11807 (ctanh_towardzero_test_data): Likewise.
11808 (ctanh_downward_test_data): Likewise.
11809 (ctanh_upward_test_data): Likewise.
11810 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11812 (func_calc_desc): Add mpc_c_c union field.
11813 (FUNC_mpc_c_c): New macro.
11814 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11815 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11817 (special_fill_min_subnorm_p120): New function.
11818 (special_real_inputs): Add min_subnorm_p120.
11819 (calc_generic_results): Handle mpc_c_c.
11820 * sysdeps/i386/fpu/libm-test-ulps: Update.
11821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11823 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11825 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11826 (do_sin_slow): New functions.
11827 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11828 (cslow2, csloww1, csloww2): Use the new functions.
11830 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11831 Use M to change sign of result instead of X. Assume X is
11833 (csloww1): Likewise.
11837 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11838 arguments A and DA.
11842 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11844 (sloww1): Don't adjust sign of DX.
11845 (csloww1): Likewise.
11846 (sloww2): Use X directly and don't adjust sign of DX.
11847 (csloww2): Likewise.
11849 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11851 * math/auto-libm-test-in: Add tests of cabs and carg.
11852 * math/auto-libm-test-out: Regenerated.
11853 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11854 (carg_test_data): Likewise.
11855 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11857 (func_calc_desc): Add mpc_c_f union field.
11858 (test_functions): Add cabs and carg.
11859 (calc_generic_results): Handle mpc_c_f.
11861 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11862 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11863 as a macro and a compat symbol.
11864 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11865 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11866 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11867 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11868 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11869 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11871 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11873 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11875 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11877 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11879 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11881 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11882 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11885 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11889 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11891 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11892 trailing whitespace removed.
11893 * scripts/config.guess: Update to version 2013-11-29.
11894 * scripts/config.sub: Update to version 2013-10-01.
11896 * math/auto-libm-test-in: Add tests of sincos.
11897 * math/auto-libm-test-out: Regenerated.
11898 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11899 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11901 (func_calc_desc): Add mpfr_f_11 union field.
11902 (test_functions): Add sincos.
11903 (calc_generic_results): Handle mpfr_f_11.
11904 * sysdeps/i386/fpu/libm-test-ulps: Update.
11905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11907 2013-12-19 Andreas Schwab <schwab@suse.de>
11909 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11911 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11912 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11913 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11915 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11917 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11918 * sysdeps/i386/fpu/libm-test-ulps: Update.
11919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11922 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11923 round-to-nearest mode when using frndint.
11924 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11925 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11926 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11928 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11930 * math/auto-libm-test-out: Regenerated.
11931 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11932 (TEST_COND_x86): Likewise.
11933 (expm1_tonearest_test_data): New array.
11934 (expm1_test_tonearest): New function.
11935 (expm1_towardzero_test_data): New array.
11936 (expm1_test_towardzero): New function.
11937 (expm1_downward_test_data): New array.
11938 (expm1_test_downward): New function.
11939 (expm1_upward_test_data): New array.
11940 (expm1_test_upward): New function.
11941 (main): Run the new test functions.
11942 * sysdeps/i386/fpu/libm-test-ulps: Update.
11943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11945 * include/features.h: Update comment documenting feature test
11946 macros. Mention _DEFAULT_SOURCE in comment.
11947 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11948 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11949 _BSD_SOURCE and _SVID_SOURCE.
11950 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11951 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11952 !_SVID_SOURCE]: Likewise.
11953 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11954 (__USE_POSIX_IMPLICITLY): Define.
11955 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11956 (_POSIX_SOURCE): Undefine and redefine.
11957 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11958 (_POSIX_C_SOURCE): Likewise.
11959 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11960 (Feature Test Macros): Update documentation of default features.
11962 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11964 * benchtests/Makefile: Add bench-strtok.
11965 * benchtests/bench-strtok.c: New file: strtok benchtest.
11967 2013-12-19 Allan McRae <allan@archlinux.org>
11969 * manual/install.texi: Suppress menu for plain text output.
11970 * INSTALL: Regenerated.
11972 2013-12-18 Brooks Moses <bmoses@google.com>
11975 * misc/getauxval.c: Include errno.h.
11976 (__getauxval): Set errno to ENOENT if the requested type is not
11978 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11979 don't declare with __attribute_const__.
11980 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11981 * manual/startup.texi: Document that getauxval sets errno.
11983 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11985 * math/auto-libm-test-in: Add tests of jn and yn.
11986 * math/auto-libm-test-out: Regenerated.
11987 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11988 (yn_test_data): Likewise.
11989 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11991 (func_calc_desc): Add mpfr_if_f union field.
11992 (FUNC_mpfr_if_f): New macro.
11993 (test_functions): Add jn and yn.
11994 (calc_generic_results): Assert type of second input for
11995 mpfr_ff_f. Handle mpfr_if_f.
11996 (output_for_one_input_case): Disable all checking for arguments
11997 fitting floating-point types in case of an integer argument.
11998 * sysdeps/i386/fpu/libm-test-ulps: Update.
11999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12002 Don't expect fegetround reference in libm.so.
12004 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12006 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12007 $(config-cflags-nofma).
12009 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12011 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12012 * math/auto-libm-test-out: Regenerated.
12015 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12016 to determine exponent and adjust argument to have exponent of -1.
12017 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12019 * math/auto-libm-test-out: Regenerated.
12020 * sysdeps/i386/fpu/libm-test-ulps: Update.
12021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12023 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12025 * manual/probes.texi: Remove cases when per-thread arenas are
12028 2013-12-18 Andreas Schwab <schwab@suse.de>
12030 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12031 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12032 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12033 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12034 * sysdeps/i386/i686/multiarch/Makefile: Update.
12035 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12037 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12039 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12040 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12042 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12045 Support TZ transition times < 00:00:00.
12046 This is needed for version-3 tz-format files; it supports time
12047 stamps past 2037 for America/Godthab (the only entry in the tz
12048 database for which this change is relevant).
12049 * manual/time.texi (TZ Variable): Document transition times
12050 from -167:59:59 through -00:00:01.
12051 * time/tzset.c (tz_rule): Time of day is now signed.
12052 (__tzset_parse_tz): Parse negative time of day.
12054 Document TZ transition times >= 25:00:00.
12055 * manual/time.texi (TZ Variable): Document transition times from
12056 25:00:00 through 167:59:59. These are already supported, and this
12057 support will help with version-3 tz-format files.
12059 * manual/time.texi (TZ Variable): Modernize North America example
12060 to reflect current (i.e., 2007-and-later) daylight saving rules.
12062 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12064 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12066 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12067 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12068 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12069 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12070 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12071 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12072 * sysdeps/unix/bsd/clock.c: Likewise.
12073 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12074 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12075 * sysdeps/unix/bsd/init-posix.c: Likewise.
12076 * sysdeps/unix/bsd/poll.c: Likewise.
12077 * sysdeps/unix/bsd/ptsname.c: Likewise.
12078 * sysdeps/unix/bsd/seekdir.c: Likewise.
12079 * sysdeps/unix/bsd/setegid.c: Likewise.
12080 * sysdeps/unix/bsd/seteuid.c: Likewise.
12081 * sysdeps/unix/bsd/setgid.c: Likewise.
12082 * sysdeps/unix/bsd/setrgid.c: Likewise.
12083 * sysdeps/unix/bsd/setruid.c: Likewise.
12084 * sysdeps/unix/bsd/setsid.c: Likewise.
12085 * sysdeps/unix/bsd/setuid.c: Likewise.
12086 * sysdeps/unix/bsd/sigaction.c: Likewise.
12087 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12088 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12089 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12090 * sysdeps/unix/bsd/telldir.c: Likewise.
12091 * sysdeps/unix/bsd/times.c: Likewise.
12092 * sysdeps/unix/bsd/usleep.c: Likewise.
12094 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12095 ($(objpfx)libbsd-compat.a): Remove rule.
12097 * include/features.h (__FAVOR_BSD): Do not define.
12098 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12099 features conflicting with POSIX.
12100 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12101 (_BSD_SOURCE): Remove description of not being a subset of other
12102 feature test macros.
12103 * manual/job.texi (getpgrp): Do not document BSD version.
12104 (getpgid): Do not document by reference to BSD getpgrp.
12105 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12106 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12107 * signal/signal.h [__FAVOR_BSD]: Likewise.
12108 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12109 instead of making contents conditional on [__FAVOR_BSD].
12110 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12112 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12116 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12119 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12120 values below 2**-450, not 2**-500.
12121 * math/auto-libm-test-in: Don't allow spurious underflow from
12123 * math/auto-libm-test-out: Regenerated.
12127 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12128 values of ha and hb and sort them after adjusting subnormal
12130 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12132 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12133 values of ea and eb and sort them after adjusting subnormal
12135 * math/auto-libm-test-in: Do not expect some hypot tests of
12136 subnormals to fail. Add more hypot tests.
12137 * math/auto-libm-test-out: Regenerated.
12139 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12142 * sysdeps/sh/s_fma.c: New file.
12143 * sysdeps/sh/s_fmaf.c: New file.
12144 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12146 * sysdeps/sh/Implies: Add sh/soft-fp.
12148 2013-12-16 Roland McGrath <roland@hack.frob.com>
12150 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12151 level of indirection to members `objname', `errstring', `malloced'.
12152 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12153 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12154 it as the __longjmp argument (just pass 1 instead).
12155 (_dl_catch_error): Initialize C with argument pointers and address of
12156 volatile local ERRCODE rather than copying values out of C at return.
12158 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12160 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12161 * math/auto-libm-test-out: Regenerated.
12162 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12163 (hypot_test_data): Likewise.
12164 (pow_test_data): Likewise.
12165 (pow_tonearest_test_data): Likewise.
12166 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12168 (func_calc_desc): Add mpfr_ff_f union field.
12169 (FUNC_mpfr_ff_f): New macro.
12170 (test_functions): Add atan2, hypot and pow.
12171 (special_fill_min): New function.
12172 (special_fill_minus_min): Likewise.
12173 (special_fill_min_subnorm): Likewise.
12174 (special_fill_minus_min_subnorm): Likewise.
12175 (special_real_inputs): Add min, -min, min_subnorm and
12177 (calc_generic_results): Handle mpfr_ff_f.
12178 * sysdeps/i386/fpu/libm-test-ulps: Update.
12179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12181 2013-12-16 Will Newton <will.newton@linaro.org>
12183 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12184 (Aligned Memory Blocks): Add documentation for aligned_alloc
12185 and suggest it as an alternative to posix_memalign.
12186 (Hooks for Malloc): Document __memalign_hook is also called
12187 for aligned_alloc. (Summary of Malloc): Add summary for
12188 aligned alloc. Document __memalign_hook is also called
12191 2013-12-16 Will Newton <will.newton@linaro.org>
12193 * manual/memory.texi (Malloc Examples): Clarify default
12194 alignment documentation. Suggest posix_memalign rather
12195 than memalign or valloc.
12196 (Aligned Memory Blocks): Remove suggestion to use memalign
12197 or valloc. Remove obsolete comment about BSD.
12198 Document memalign errno values and mark the function obsolete.
12199 Document posix_memalign returned error codes. Mark valloc
12200 as obsolete. (Hooks for Malloc): __memalign_hook is also
12201 called for posix_memalign and valloc.
12202 (Summary of Malloc): Add posix_memalign to function summary.
12203 __memalign_hook is also called for posix_memalign and valloc.
12205 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12207 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12211 (sloww): Use mynumber union. Expand ternary operator into
12212 if-else statements.
12213 (cslow): use mynumber union.
12215 2013-12-16 Allan McRae <allan@archlinux.org>
12217 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12218 * configure: Regenerated.
12220 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12223 * configure.ac: Added --enable-maintainer-mode. Check for
12224 autoconf when enabled.
12225 * configure: Regenerated.
12227 * nscd/nscd.service: New file.
12228 * nscd/nscd.tmpfiles: New file.
12230 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12233 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12234 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12235 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12236 (strstr): Add __strstr_sse2_unaligned ifunc.
12237 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12238 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12239 (strcasestr): Remove __strcasestr_sse42 ifunc.
12240 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12241 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12242 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12244 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12246 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12247 * sysdeps/sh/bits/fenv.h: ... here.
12248 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12250 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12252 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12254 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12255 hypotf multiarch implementations.
12256 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12257 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12258 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12259 multiarch hypot for PPC64.
12260 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12261 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12262 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12263 multiarch hypotf for PPC64.
12265 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12266 modff multiarch implementations.
12267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12270 multiarch modf for PPC64.
12271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12274 multiarch modff for PPC64.
12276 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12277 and logl multiarch implementations.
12278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12281 multiarch logb for PPC64.
12282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12285 multiarch logb for PPC64.
12286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12289 multiarch logb for PPC64.
12291 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12292 isinff multiarch implementation.
12293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12297 multiarch isinf for PPC64.
12298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12301 multiarch isinff for PPC64.
12303 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12304 finitef multiarch implementation.
12305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12309 multiarch finite for PPC64.
12310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12313 multiarch finitef for PPC64.
12315 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12316 lrint multiarch implementation.
12317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12321 multiarch llrint for PPC64.
12322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12323 multiarch lrint for PPC64.
12325 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12326 copysignf multiarch implementation.
12327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12332 multiarch copysign for PPC64.
12333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12334 multiarch copysignf for PPC64.
12336 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12337 multiarch implementation.
12338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12346 multiarch llround for PPC64.
12347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12348 multiarch trunc for PPC64.
12349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12350 multiarch truncf for PPC64.
12352 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12353 multiarch implementation.
12354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12362 multiarch llround for PPC64.
12363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12364 multiarch round for PPC64.
12365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12366 multiarch roundf for PPC64.
12368 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12369 multiarch implementation.
12370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12378 multiarch llround for PPC64.
12379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12380 multiarch floor for PPC64.
12381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12382 multiarch floorf for PPC64.
12384 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12385 multiarch implementation.
12386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12394 multiarch llround for PPC64.
12395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12396 multiarch ceil for PPC64.
12397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12398 multiarch ceilf for PPC64.
12400 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12401 multiarch implementation.
12402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12409 multiarch llround for PPC64.
12410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12411 multiarch lround for PPC64.
12413 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12414 multiarch implementation.
12415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12422 multiarch isnan for PPC64.
12423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12424 multiarch isnanf for PPC64.
12426 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12427 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12428 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12429 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12430 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12433 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12434 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12435 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12436 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12438 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12439 multiarch implementations.
12440 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12441 (__libc_ifunc_impl_list): Likewise.
12442 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12443 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12444 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12445 multiarch stpcpy for PPC64.
12447 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12448 multiarch implementations.
12449 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12450 (__libc_ifunc_impl_list): Likewise.
12451 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12452 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12453 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12454 multiarch strcpy for PPC64.
12456 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12457 redefine function name.
12458 (_wordcopy_fwd_dest_aligned): Likewise.
12459 (_wordcopy_bwd_aligned): Likewise.
12460 (_wordcopy_bwd_dest_aligned): Likewise.
12461 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12462 multiarch implementations.
12463 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12464 (__libc_ifunc_impl_list): Likewise.
12465 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12466 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12467 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12468 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12469 multiarch wcscpy for PPC64.
12471 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12472 multiarch implementations.
12473 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12474 (__libc_ifunc_impl_list): Likewise.
12475 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12476 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12477 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12478 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12479 multiarch wcscpy for PPC64.
12481 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12482 multiarch implementations.
12483 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12484 (__libc_ifunc_impl_list): Likewise.
12485 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12486 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12487 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12488 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12489 multiarch wcsrchr for PPC64.
12491 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12492 multiarch implementations.
12493 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12494 (__libc_ifunc_impl_list): Likewise.
12495 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12496 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12497 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12498 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12499 multiarch wcschr for PPC64.
12501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12502 multiarch implementations.
12503 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12504 (__libc_ifunc_impl_list): Likewise.
12505 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12506 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12507 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12508 multiarch strchrnul for PPC64.
12510 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12512 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12513 (__libc_ifunc_impl_list): Likewise.
12514 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12515 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12516 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12517 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12520 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12523 (__libc_ifunc_impl_list): Likewise.
12524 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12525 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12526 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12527 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12530 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12531 multiarch implementations.
12532 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12533 (__libc_ifunc_impl_list): Likewise.
12534 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12535 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12536 strncasecmp for PPC64.
12537 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12538 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12539 multiarch strncasecmp_l for PPC64.
12541 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12542 multiarch implementations.
12543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12544 (__libc_ifunc_impl_list): Likewise.
12545 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12546 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12547 multiarch strcasecmp for PPC64.
12548 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12550 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12551 multiarch strcasecmp_l for PPC64.
12553 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12555 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12556 (__libc_ifunc_impl_list): Likewise.
12557 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12558 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12559 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12562 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12565 (__libc_ifunc_impl_list): Likewise.
12566 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12567 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12568 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12571 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12574 (__libc_ifunc_impl_list): Likewise.
12575 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12576 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12577 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12578 rawmemrchr for PPC64.
12580 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12582 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12583 (__libc_ifunc_impl_list): Likewise.
12584 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12585 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12586 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12592 (__libc_ifunc_impl_list): Likewise.
12593 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12594 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12595 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12598 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12601 (__libc_ifunc_impl_list): Likewise.
12602 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12603 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12604 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12607 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12608 avoid cretion of __bzero symbol.
12609 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12611 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12613 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12615 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12616 multiarch implementations.
12617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12618 (__libc_ifunc_impl_list): Likewise.
12619 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12620 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12621 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12622 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12624 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12625 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12626 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12627 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12628 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12630 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12632 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12633 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12636 (__libc_ifunc_impl_list): Likewise.
12637 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12638 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12639 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12640 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12644 multiarch for POWER/PPC64.
12645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12646 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12647 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12648 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12649 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12650 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12651 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12652 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12653 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12656 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12657 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12658 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12659 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12660 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12661 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12662 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12663 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12664 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12665 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12666 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12667 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12668 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12669 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12670 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12679 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12681 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12683 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12685 * benchtests/Makefile (bench): Add exp2 and log2.
12686 (LDLIBS-bench-exp2): Add -lm.
12687 (LDLIBS-bench-log2): Likewise.
12688 * benchtests/exp2-inputs: New inputs file.
12689 * benchtests/log2-inputs: New inputs file.
12690 * benchtests/log-inputs: Add new inputs.
12691 * benchtests/tan-inputs: Likewise.
12693 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12695 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12697 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12698 (csloww2): ... from here.
12700 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12701 instead of structures.
12702 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12703 (POLYNOMIAL): Likewise.
12704 (TAYLOR_SLOW): Likewise.
12710 (sloww1); Likewise.
12711 (sloww2): Likewise.
12712 (bsloww1): Likewise.
12713 (bsloww2): Likewise.
12714 (cslow2): Likewise.
12715 (csloww): Likewise.
12716 (csloww1): Likewise.
12717 (csloww2): Likewise.
12719 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
12721 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12722 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12723 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12724 * malloc/hooks.c (realloc_check): Likewise.
12726 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12727 * malloc/arena.c: Remove PER_THREAD conditional.
12728 [!PER_THREAD]: Remove code.
12729 (ptmalloc_unlock_all2): Likewise.
12730 (ptmalloc_init): Likewise.
12731 (_int_new_arena): Likewise.
12732 (arena_get2): Likewise.
12733 * malloc/hooks.c (__malloc_get_state): Likewise.
12734 (__malloc_set_state): Likewise.
12735 * malloc/malloc.c: Likewise.
12736 (struct malloc_state): Likewise.
12737 (struct malloc_par): Likewise.
12738 (__libc_realloc): Likewise.
12739 (__libc_mallopt): Likewise.
12741 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12743 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12745 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
12747 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12748 macro to a function. Check for zero perturb_byte.
12749 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12751 * malloc/malloc.c: (force_reg): Remove.
12752 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12753 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12754 force_reg by atomic_forced_read.
12755 * malloc/arena.c (ptmalloc_init): Likewise.
12756 * malloc/hooks.c (top_check): Likewise.
12758 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12762 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12764 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12766 2013-12-08 Joseph Myers <joseph@codesourcery.com>
12768 * math/auto-libm-test-in: Add tests of lgamma.
12769 * math/auto-libm-test-out: Regenerated.
12770 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12771 (M_LOG_2_SQRT_PIl): Likewise.
12772 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12773 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12775 (func_calc_desc): Add mpfr_f_f1 union field.
12776 (ARGS1): New macro.
12784 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12785 (test_functions): Add lgamma.
12786 (calc_generic_results): Handle mpfr_f_f1.
12787 * sysdeps/i386/fpu/libm-test-ulps: Update.
12788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12790 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12792 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12793 __mpn_add_n for PowerPC64/POWER7.
12794 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12795 __mpn_sub_n for PowerPC64/POWER7.
12797 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12798 __mpn_addmul_1 for PowerPC64.
12799 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12800 __mpn_submul_1 for PowerPC64.
12801 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12803 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12806 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12809 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12811 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12813 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12815 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12816 add multiarch folders.
12817 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12818 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12819 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12820 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12821 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12822 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12823 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12824 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12825 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12826 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12827 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12836 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12842 multiarch __ieee754_hypot for PowerPC32.
12843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12848 multiarch __ieee754_hypotf for PowerPC32.
12850 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12851 long_double_symbol only if __logbl is defined.
12852 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12853 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12854 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12855 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12856 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12857 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12858 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12859 path for implementation.
12860 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12861 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12863 logb, and logbl multiarch implementations for PowerPC32.
12864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12869 multiarch logb for PowerPC32.
12870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12875 multiarch logbf for PowerPC32.
12876 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12880 multiarch logbl implementation for PowerPC32.
12882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12883 and modff multiarch implementations.
12884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12889 multiarch modf for PowerPC32.
12890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12895 multiarch modff for PowerPC32.
12897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12898 and lrintf multiarch implementations.
12899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12904 multiarch lrint for PowerPC32.
12905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12906 file: multiarch lrintf for PowerPC32.
12908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12909 and lroundf multiarch implementations.
12910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12917 multiarch lround for PowerPC32.
12918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12919 file: multiarch lroundf for PowerPC32.
12921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12922 copysign and copysignf multiarch implementations.
12923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12928 file: multiarch copysign for PowerPC32.
12929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12930 file: multiarch copysignf for PowerPC32.
12932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12933 and truncf multiarch implementations.
12934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12939 multiarch trunc for PowerPC32.
12940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12945 multiarch truncf for PowerPC32.
12947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12948 and roundf multiarch implementations.
12949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12954 multiarch round for PowerPC32.
12955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12960 multiarch roundf for PowerPC32.
12962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12963 and floorf multiarch implementations.
12964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12969 multiarch floor for PowerPC32.
12970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12975 multiarch floorf for PowerPC32.
12977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12978 and ceilf multiarch implementations.
12979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12984 multiarch ceil for PowerPC32.
12985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12990 multiarch ceilf for PowerPC32.
12992 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12994 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12995 FINITEF is defined.
12996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12997 and finitef multiarch implementations.
12998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13003 multiarch finite for PowerPC32.
13004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13007 file: multiarch finitef for PowerPC32.
13009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13010 and isinff multiarch implementations.
13011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13016 multiarch isinf for PowerPC32.
13017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13020 multiarch isinff for PowerPC32.
13022 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13023 alias when __isnan is defined.
13024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13025 and isnanf multiarch implementations.
13026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13035 multiarch isnan for PowerPC32.
13036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13041 multiarch isnanf for PowerPC32.
13043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13044 and sqrtf multiarch implementations.
13045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13050 multiarch sqrt for PowerPC32.
13051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13056 multiarch sqrtf for PowerPC32.
13058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13059 and llroundf multiarch implementations.
13060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13067 file: multiarch llround for PowerPC32.
13068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13069 file: multiarch llroundf for PowerPC32.
13071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13072 multiarch PowerPC32 fpu implementations.
13073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13078 multiarch llrint for PowerPC32.
13079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13088 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13090 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13092 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13094 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13095 multiarch wordcopy for PPC32.
13096 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13098 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13099 (__libc_ifunc_impl_list): Likewise.
13100 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13101 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13102 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13103 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13104 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13105 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13107 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13108 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13110 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13112 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13114 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13115 multiarch wcscpy for PPC32.
13116 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13118 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13119 (__libc_ifunc_impl_list): Likewise.
13120 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13121 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13122 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13123 sysdeps/powerpc/power6/wcscpy.c.
13125 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13126 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13128 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13130 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13132 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13133 multiarch wcsrchr for PPC32.
13134 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13136 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13137 (__libc_ifunc_impl_list): Likewise.
13138 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13139 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13140 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13141 sysdeps/powerpc/power6/wcsrchr.c.
13143 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13145 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13147 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13148 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13149 multiarch wcschr for PPc32.
13150 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13152 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13153 (__libc_ifunc_impl_list): Likewise.
13154 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13155 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13156 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13157 sysdeps/powerpc/power6/wcschr.c.
13159 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13160 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13162 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13163 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13164 file: multiarch strchr for PPC32.
13165 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13167 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13168 (__libc_ifunc_impl_list): Likewise.
13170 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13172 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13174 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13176 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13177 multiarch strchrnul for PPC32.
13178 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13180 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13181 (__libc_ifunc_impl_list): Likewise.
13183 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13185 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13186 multiarch strncasecmp for PPC32.
13187 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13189 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13190 multiarch strncasecmp_l for PPC32.
13191 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13192 strncasecmp multiarch objects.
13193 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13194 (__libc_ifunc_impl_list): Likewise.
13196 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13198 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13199 multiarch strncasecmp for PPC32.
13200 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13202 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13203 multiarch strcasecmp_l for PPC32.
13204 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13206 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13207 (__libc_ifunc_impl_list): Likewise.
13209 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13211 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13213 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13214 multiarch strncmp for PPC32.
13215 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13217 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13218 (__libc_ifunc_impl_list): Likewise.
13220 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13221 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13223 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13224 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13225 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13227 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13228 (__libc_ifunc_impl_list): Likewise.
13230 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13232 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13234 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13235 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13237 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13238 (__libc_ifunc_impl_list): Likewise.
13240 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13242 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13244 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13245 multiarch rawmemchr for PPC32.
13246 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13248 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13249 (__libc_ifunc_impl_list): Likewise.
13251 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13253 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13255 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13256 file: memrchr multiarch for PPC32.
13257 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13259 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13260 (__libc_ifunc_impl_list): Likewise.
13262 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13263 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13265 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13266 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13267 multiarch memchr for PPC32.
13268 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13270 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13271 (__libc_ifunc_impl_list): Likewise.
13273 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13274 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13276 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13278 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13279 file: multiarch mempcpy for PPC32.
13280 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13282 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13283 (__libc_ifunc_impl_list): Likewise.
13285 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13286 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13287 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13288 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13289 multiarch bzero for PPC32.
13290 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13292 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13294 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13295 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13296 file: multiarch memset for PPC32.
13297 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13298 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13299 memset multiarch objects.
13300 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13301 (__libc_ifunc_impl_list): Likewise.
13303 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13305 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13306 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13308 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13312 (__libc_ifunc_impl_list): Likewise.
13314 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13315 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13316 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13318 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13320 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13322 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13323 multiarch memcpy for PPC32.
13324 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13326 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13327 (__libc_ifunc_impl_list): Likewise.
13329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13330 support multiarch for POWER/PPC32.
13331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13333 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13335 Implies file to make multiarch folder appers before the fpu and
13336 default folder for power4 configuration.
13338 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13340 * scripts/bench.pl: Append volatile keyword to type.
13342 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13344 * sysdeps/sh/sotruss-lib.c: New file.
13345 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13347 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13351 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13354 * math/w_tgamma.c: Include <errno.h>.
13355 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13356 * math/w_tgammaf.c: Include <errno.h>.
13357 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13358 * math/w_tgammal.c: Include <errno.h>.
13359 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13360 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13361 underflow. Add more tgamma tests.
13362 * math/auto-libm-test-out: Regenerated.
13363 * sysdeps/i386/fpu/libm-test-ulps: Update.
13364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13366 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13367 sin, sinh, tan, tanh, tgamma, y0 and y1.
13368 * math/auto-libm-test-out: Regenerated.
13369 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13370 (TEST_COND_x86): Likewise.
13371 (M_E2l): Remove macro.
13373 (M_2_SQRT_PIl): Likewise.
13374 (M_SQRT_PIl): Likewise.
13375 (M_1_DIV_El): Likewise.
13376 (log_test_data): Use AUTO_TESTS_f_f.
13377 (log10_test_data): Likewise.
13378 (log1p_test_data): Likewise.
13379 (log2_test_data): Likewise.
13380 (sin_test_data): Likewise.
13381 (sin_tonearest_test_data): Likewise.
13382 (sin_towardzero_test_data): Likewise.
13383 (sin_downward_test_data): Likewise.
13384 (sin_upward_test_data): Likewise.
13385 (sinh_test_data): Likewise.
13386 (sinh_tonearest_test_data): Likewise.
13387 (sinh_towardzero_test_data): Likewise.
13388 (sinh_downward_test_data): Likewise.
13389 (sinh_upward_test_data): Likewise.
13390 (tan_test_data): Likewise.
13391 (tan_tonearest_test_data): Likewise.
13392 (tan_towardzero_test_data): Likewise.
13393 (tan_downward_test_data): Likewise.
13394 (tan_upward_test_data): Likewise.
13395 (tanh_test_data): Likewise.
13396 (tgamma_test_data): Likewise.
13397 (y0_test_data): Likewise.
13398 (y1_test_data): Likewise.
13399 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13400 (special_real_inputs): Add pi/4.
13401 * sysdeps/i386/fpu/libm-test-ulps: Update.
13402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13404 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13406 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13407 "longjmp_target" static probes.
13408 (__longjmp): Rename to __longjmp_symbol.
13409 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13410 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13411 on which longjmp to generate.
13412 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13413 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13415 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13416 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13417 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13418 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13419 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13420 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13422 __longjmp_symbol based on which __longjmp to generate.
13423 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13425 (setjmp): Rename to setjmp_symbol.
13426 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13427 (_setjmp): Rename to _setjmp_symbol.
13428 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13429 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13430 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13431 which setjmp to generate.
13432 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13433 "longjmp_target" static probes.
13435 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13437 * benchtests/README: Add note about output arguments.
13438 * benchtests/bench-sincos.c: Remove file.
13439 * benchtests/sincos-inputs: New file.
13440 * scripts/bench.pl: Identify output arguments and define
13441 static variables for them.
13443 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13446 * Makefile (INSTALL): Add install-plain.texi as the primary
13448 * manual/install-plain.texi: New file.
13449 * manual/install.texi: Include node directive only for
13450 non-plaintext output.
13452 2013-12-04 Joseph Myers <joseph@codesourcery.com>
13454 * stdlib/longlong.h: Update from GCC.
13458 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13459 * math/w_j0f.c (y0f): Likewise.
13460 * math/w_j0l.c (__y0l): Likewise.
13461 * math/w_j1.c (y1): Likewise.
13462 * math/w_j1f.c (y1f): Likewise.
13463 * math/w_j1l.c (__y1l): Likewise
13464 * math/w_jn.c (yn): Likewise.
13465 * math/w_jnf.c (ynf): Likewise.
13466 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13467 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13468 value for Bessel function domain errors outside _SVID_ mode.
13469 Adjust sign of return value for yn (negative integer, 0).
13470 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13471 by zero in return for negative x and set sign appropriately for
13473 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13474 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13475 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13476 expectations in error cases.
13477 (y1_test_data): Likewise.
13478 (yn_test_data): Likewise.
13479 * sysdeps/i386/fpu/libm-test-ulps: Update.
13480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13482 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13484 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13485 "64" to "64-v1". Add "64-v2".
13486 (abi-64-options): Rename to ...
13487 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13488 (abi-64-condition): Rename to ...
13489 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13490 (abi-64-ld-soname): Rename to ...
13491 (abi-64-v1-ld-soname): ... this.
13492 (abi-64-v2-options): Define.
13493 (abi-64-v2-condition): Likewise.
13494 (abi-64-v2-ld-soname): Likewise.
13495 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13496 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13501 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13502 Alan Modra <amodra@gmail.com>
13504 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13505 New versions for use with the ELFv2 ABI.
13506 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13507 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13509 (struct La_ppc64v2_retval): Likewise.
13510 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13511 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13512 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13513 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13514 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13515 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13516 Do not save or restore CR.
13517 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13518 (_dl_profile_resolve): Do no save or restore CR. Support extended
13519 return values for ELFv2 ABI. Fix location of FPR return registers.
13520 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13521 updated values for _CALL_ELF == 2.
13522 (La_regs, La_retval, int_retval): Likewise.
13524 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13526 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13527 (FRAME_MIN_SIZE_PARM): Likewise.
13528 (FRAME_BACKCHAIN): Likewise.
13529 (FRAME_CR_SAVE): Likewise.
13530 (FRAME_LR_SAVE): Likewise.
13531 (FRAME_TOC_SAVE): Likewise.
13532 (FRAME_PARM_SAVE): Likewise.
13533 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13534 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13535 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13536 (call_mcount_parm_offset): New macro.
13537 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13538 (PROF): Use symbolic stack frame offsets.
13539 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13540 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13541 Redefine in terms of FRAME_MIN_SIZE.
13542 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13543 (_dl_profile_resolve): Likewise. Update comment.
13544 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13545 symbols stack frame offsets.
13546 (__sigsetjmp): Likewise.
13547 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13548 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13549 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13550 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13553 (FRAME_BACKCHAIN): Remove.
13554 (FRAME_CR_SAVE): Likewise.
13555 (FRAME_LR_SAVE): Likewise.
13556 (FRAME_COMPILER_DW): Likewise.
13557 (FRAME_LINKER_DW): Likewise.
13558 (FRAME_TOC_SAVE): Likewise.
13559 (FRAME_PARM_SAVE): Likewise.
13560 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13561 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13562 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13564 (CHECK_SP): Use symbolic stack frame offsets.
13565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13566 zone" instead of caller's parameter save area for temp storage.
13567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13568 Likewise. Also, use symbolic stack frame offsets.
13569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13570 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13571 our own stack frame instead of the caller's.
13572 (__socket): Use symbolic stack frame offsets.
13574 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13575 Alan Modra <amodra@gmail.com>
13577 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13579 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13580 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13581 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13583 (elf_machine_fixup_plt): Call it.
13584 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13586 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13587 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13588 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13589 r2 before calling target.
13591 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13592 Alan Modra <amodra@gmail.com>
13594 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13595 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13596 versions of macros to support ELFv2 ABI.
13597 (LOCALENTRY): New macro.
13598 (ENTRY, EALIGN): Use it.
13599 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13600 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13601 fall through into ENTRY entry point.
13602 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13603 Only define if _CALL_ELF != 2.
13605 (elf_machine_matches_host): Verify ABI version matches.
13606 (RTLD_START): Use LOCALENTRY.
13607 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13608 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13609 (PLT_ENTRY_WORDS): New macro.
13610 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13611 (elf_machine_runtime_setup): Support ELFv2 ABI.
13612 (elf_machine_fixup_plt): Likewise.
13613 (elf_machine_plt_conflict): Likewise.
13614 (resolve_ifunc): Likewise.
13615 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13616 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13619 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13621 (makecontext): Support ELFv2 ABI.
13622 * elf/elf.h (EF_PPC64_ABI): Define.
13624 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13626 * sysdeps/powerpc/powerpc64/sysdep.h
13627 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13628 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13629 (ENTRY) [ASSEMBLER]: ... but instead here ...
13630 (EALIGN) [ASSEMBLER]: ... and here.
13631 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13632 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13633 (ENTRY_2) [!ASSEMBLER]: Use it.
13634 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13635 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13636 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13637 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13638 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13640 Use PPC64_LOAD_FUNCPTR.
13642 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13644 2013-12-04 Alan Modra <amodra@gmail.com>
13646 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13647 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13648 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13649 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13651 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13652 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13653 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13654 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13655 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13656 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13658 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13661 (__makecontext): Fix incorrect CFI when backtracing out of
13662 context created via makecontext.
13663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13664 (__setcontext): Fix incorrect CFI during switch to new context.
13665 (__novec_setcontext): Likewise.
13667 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13670 * time/strptime_l.c (__strptime_internal): Allow modifiers
13672 * time/tst-strptime.c (day_tests): Add testcase.
13674 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13676 * scripts/bench.pl: Skip over blank lines.
13678 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13681 * manual/time.texi (Calendar Time): Clarify what timezone functions
13684 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13688 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13690 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13692 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13693 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13694 * debug/memset_chk.c (__memset_chk): Likewise.
13695 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13696 * debug/strncpy_chk.c: Likewise.
13698 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13702 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13703 (__ieee754_exp): For possibly underflowing results, check size of
13704 result and force underflow exception if required.
13705 * math/auto-libm-test-in: Add more tests of exp.
13706 * math/auto-libm-test-out: Regenerated.
13707 * sysdeps/i386/fpu/libm-test-ulps: Update.
13708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13711 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13712 * math/w_exp2f.c (__exp2f): Likewise.
13713 * math/w_exp2l.c (__exp2l): Likewise.
13714 * math/auto-libm-test-in: Do not allow missing errno on exp2
13716 * math/auto-libm-test-out: Regenerated.
13718 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
13721 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13722 handle filename validation.
13723 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13726 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13729 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13730 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13731 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13733 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13734 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13735 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13736 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13737 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13738 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13739 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13740 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13741 Add more erfc tests.
13742 * math/auto-libm-test-out: Regenerated.
13743 * sysdeps/i386/fpu/libm-test-ulps: Update.
13744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13746 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13747 exp2, expm1, j0 and j1.
13748 * math/auto-libm-test-out: Regenerated.
13749 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13750 (erfc_test_data): Likewise.
13751 (exp_test_data): Likewise.
13752 (exp_tonearest_test_data): Likewise.
13753 (exp_towardzero_test_data): Likewise.
13754 (exp_downward_test_data): Likewise.
13755 (exp_upward_test_data): Likewise.
13756 (exp10_test_data): Likewise.
13757 (exp2_test_data): Likewise.
13758 (expm1_test_data): Likewise.
13759 (j0_test_data): Likewise.
13760 (j1_test_data): Likewise.
13761 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13762 (input_flag_type): Add flag_xfail_rounding.
13763 (input_flags): Add xfail-rounding.
13764 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13765 (output_for_one_input_case): Handle flag_xfail_rounding.
13766 * sysdeps/i386/fpu/libm-test-ulps: Update.
13767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13769 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13772 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13775 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13778 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13779 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13780 (STAP_PROBE0): New macro.
13781 (STAP_PROBE1): Likewise.
13782 (STAP_PROBE2): Likewise.
13783 (STAP_PROBE3): Likewise.
13784 (STAP_PROBE4): Likewise.
13786 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
13788 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13790 2013-12-02 Steve Ellcey <sellcey@mips.com>
13792 * benchtests/Makefile (bench): Add sqrt.
13793 (LDLIBS-bench-sqrt): New.
13794 * benchtests/sqrt-input: New.
13796 2013-12-02 Pavel Simerda <psimerda@redhat.com>
13798 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13799 (GAIH_EAI): Likewise.
13800 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13801 (gaih_inet): Likewise.
13802 (getaddrinfo): Don't use GAIH_EAI.
13804 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13805 (struct gaih): Remove definition.
13807 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13809 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13810 Use HERRNOP directly.
13812 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13816 2013-11-30 Joseph Myers <joseph@codesourcery.com>
13818 * math/gen-auto-libm-tests.c (test_functions): Add more
13819 single-argument functions.
13820 (special_fill_pi_2): New function.
13821 (special_fill_minus_pi_2): Likewise.
13822 (special_fill_pi_6): Likewise.
13823 (special_fill_minus_pi_6): Likewise.
13824 (special_fill_pi_3): Likewise.
13825 (special_fill_2pi_3): Likewise.
13826 (special_fill_e): Likewise.
13827 (special_fill_1_e): Likewise.
13828 (special_fill_e_minus_1): Likewise.
13829 (special_real_inputs): Add more special inputs.
13830 (output_for_one_input_case): Do not require ERANGE on underflow to
13831 zero if round-to-nearest result does not underflow to zero, unless
13832 exact results required.
13833 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13834 atan, atanh, cbrt, cos and cosh.
13835 * math/auto-libm-test-out: Regenerated.
13836 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13837 (acos_tonearest_test_data): Likewise.
13838 (acos_towardzero_test_data): Likewise.
13839 (acos_downward_test_data): Likewise.
13840 (acos_upward_test_data): Likewise.
13841 (acosh_test_data): Likewise.
13842 (asin_test_data): Likewise.
13843 (asin_tonearest_test_data): Likewise.
13844 (asin_towardzero_test_data): Likewise.
13845 (asin_upward_test_data): Likewise.
13846 (asinh_test_data): Likewise.
13847 (atan_test_data): Likewise.
13848 (atanh_test_data): Likewise.
13849 (cbrt_test_data): Likewise.
13850 (cos_test_data): Likewise.
13851 (cos_tonearest_test_data): Likewise.
13852 (cos_towardzero_test_data): Likewise.
13853 (cos_downward_test_data): Likewise.
13854 (cos_upward_test_data): Likewise.
13855 (cosh_test_data): Likewise.
13856 (cosh_tonearest_test_data): Likewise.
13857 (cosh_towardzero_test_data): Likewise.
13858 (cosh_downward_test_data): Likewise.
13859 (cosh_upward_test_data): Likewise.
13860 * sysdeps/i386/fpu/libm-test-ulps: Update.
13861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13863 2013-11-29 Joseph Myers <joseph@codesourcery.com>
13866 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13867 * math/w_exp10f.c (__exp10f): Likewise.
13868 * math/w_exp10l.c (__exp10l): Likewise.
13869 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13870 errno settings in existing tests.
13873 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13874 precision control set to double precision.
13875 * sysdeps/i386/fpu/w_sqrt.c: New file.
13876 * math/auto-libm-test-in: Add more tests.
13877 * math/auto-libm-test-out: Update.
13879 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13880 (sqrt_test_tonearest): New function.
13881 (sqrt_towardzero_test_data): New variable.
13882 (sqrt_test_towardzero): New function.
13883 (sqrt_downward_test_data): New variable.
13884 (sqrt_test_downward): New function.
13885 (sqrt_upward_test_data): New variable.
13886 (sqrt_test_upward): New function.
13887 (main): Call the new functions.
13889 * math/gen-auto-libm-tests.c: New file.
13890 * math/auto-libm-test-in: Likewise.
13891 * math/auto-libm-test-out: New generated file.
13892 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13894 (%beautify): Add generated representations of zero.
13895 (top level): Set $auto_input and call parse_auto_input.
13896 (beautify): Remove trailing "f" from hex float constants.
13897 (parse_args): Handle XFAIL_TEST.
13898 (convert_condition): New function.
13899 (or_value): Likewise.
13900 (or_cond_value): Likewise.
13901 (generate_testfile): Handle AUTO_TESTS_* lines.
13902 (parse_auto_input): New function.
13903 * math/libm-test.inc (XFAIL_TEST): New macro.
13904 (ERRNO_UNCHANGED): Update value.
13905 (ERRNO_EDOM): Likewise.
13906 (ERRNO_ERANGE): Likewise.
13907 (IGNORE_RESULT): Likewise.
13908 (TEST_COND_flt_32): New macro.
13909 (TEST_COND_dbl_64): Likewise.
13910 (TEST_COND_ldbl_96_intel): Likewise.
13911 (TEST_COND_ldbl_96_m68k): Likewise.
13912 (TEST_COND_ldbl_128): Likewise.
13913 (TEST_COND_ldbl_128ibm): Likewise.
13914 (TEST_COND_long32): Likewise.
13915 (TEST_COND_long64): Likewise.
13916 (TEST_COND_before_rounding): Likewise.
13917 (TEST_COND_after_rounding): Likewise.
13918 (enable_test): Handle XFAIL_TEST flag.
13919 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13920 with finite results.
13921 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13922 auto-libm-test-out.
13924 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13925 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13928 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13929 __tls_get_addr_internal instead of __tls_get_offset in order to
13930 avoid GOT pointer dependency. Make rtld export
13931 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13932 __tls_get_addr since we are a __tls_get_offset platform.
13933 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13934 GOT pointer being set up before.
13935 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13937 2013-11-28 Joseph Myers <joseph@codesourcery.com>
13939 * manual/math.texi (Errors in Math Functions): Document accuracy
13943 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13944 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13945 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13946 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13947 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13948 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13949 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13950 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13951 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13952 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13953 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13954 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13955 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13956 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13957 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13958 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13960 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13961 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13962 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13963 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13964 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13966 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13968 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13970 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13971 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13972 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13973 atomic-feupdateenv and flt-rounds.
13974 * sysdeps/powerpc/nofpu/Versions (libc): Add
13975 __atomic_feholdexcept, __atomic_feclearexcept,
13976 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13977 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13978 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13979 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13980 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13985 * manual/arith.texi (FP Exceptions): Document that exceptions may
13986 not be raised when matherr is used.
13987 (Math Error Reporting): Document overflow in directed rounding
13988 modes. Document that errno may not be set when finite values are
13989 returned on overflow. Document intent to set errno on underflow
13990 only for underflow to zero.
13993 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13994 round-to-nearest then adjust result for other rounding modes.
13995 * include/fenv.h (fegetround): Use libm_hidden_proto.
13996 * math/fegetround.c (fegetround): Use libm_hidden_def.
13997 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13998 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13999 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14000 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14002 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14003 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14004 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14005 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14007 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14010 * nss/Versions (libnss_files): Add
14011 _nss_files_gethostbyname3_r.
14012 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14014 (HOST_DB_LOOKUP): Remove macro.
14015 (_nss_files_gethostbyname_r): Implement function without the
14016 HOST_DB_LOOKUP macro.
14017 (_nss_files_gethostbyname2_r): Likewise.
14019 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14021 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14023 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14025 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14026 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14029 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14031 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14032 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14033 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14034 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14035 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14036 __fe_nomask_env_priv and attribute_hidden.
14037 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14038 (libc_feupdateenv_test_ppc): Likewise.
14039 (libc_feresetround_ppc): Likewise.
14040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14041 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14042 compat_symbol macro.
14043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14044 (__fe_nomask_env): Likewise.
14045 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14047 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14049 * string/Makefile: Remove ifunc tests.
14050 * string/test-string.h: Define TEST_IFUNC.
14051 * string/test-bcopy-ifunc.c: Remove.
14052 * string/test-bzero-ifunc.c: Likewise.
14053 * string/test-memccpy-ifunc.c: Likewise.
14054 * string/test-memchr-ifunc.c: Likewise.
14055 * string/test-memcmp-ifunc.c: Likewise.
14056 * string/test-memcpy-ifunc.c: Likewise.
14057 * string/test-memmem-ifunc.c: Likewise.
14058 * string/test-memmove-ifunc.c: Likewise.
14059 * string/test-mempcpy-ifunc.c: Likewise.
14060 * string/test-memrchr-ifunc.c: Likewise.
14061 * string/test-memset-ifunc.c: Likewise.
14062 * string/test-rawmemchr-ifunc.c: Likewise.
14063 * string/test-stpcpy-ifunc.c: Likewise.
14064 * string/test-stpncpy-ifunc.c: Likewise.
14065 * string/test-strcasecmp-ifunc.c: Likewise.
14066 * string/test-strcasestr-ifunc.c: Likewise.
14067 * string/test-strcat-ifunc.c: Likewise.
14068 * string/test-strchr-ifunc.c: Likewise.
14069 * string/test-strchrnul-ifunc.c: Likewise.
14070 * string/test-strcmp-ifunc.c: Likewise.
14071 * string/test-strcpy-ifunc.c: Likewise.
14072 * string/test-strcspn-ifunc.c: Likewise.
14073 * string/test-strlen-ifunc.c: Likewise.
14074 * string/test-strncasecmp-ifunc.c: Likewise.
14075 * string/test-strncat-ifunc.c: Likewise.
14076 * string/test-strncmp-ifunc.c: Likewise.
14077 * string/test-strncpy-ifunc.c: Likewise.
14078 * string/test-strnlen-ifunc.c: Likewise.
14079 * string/test-strpbrk-ifunc.c: Likewise.
14080 * string/test-strrchr-ifunc.c: Likewise.
14081 * string/test-strspn-ifunc.c: Likewise.
14082 * string/test-strstr-ifunc.c: Likewise.
14084 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14086 * benchtests/Makefile: Remove ifunc tests.
14087 * benchtests/bench-string.h: Define TEST_IFUNC.
14088 * benchtests/bench-bcopy-ifunc.c: Remove.
14089 * benchtests/bench-bzero-ifunc.c: Likewise.
14090 * benchtests/bench-memccpy-ifunc.c: Likewise.
14091 * benchtests/bench-memchr-ifunc.c: Likewise.
14092 * benchtests/bench-memcmp-ifunc.c: Likewise.
14093 * benchtests/bench-memcpy-ifunc.c: Likewise.
14094 * benchtests/bench-memmem-ifunc.c: Likewise.
14095 * benchtests/bench-memmove-ifunc.c: Likewise.
14096 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14097 * benchtests/bench-memrchr-ifunc.c: Likewise.
14098 * benchtests/bench-memset-ifunc.c: Likewise.
14099 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14100 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14101 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14102 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14103 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14104 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14105 * benchtests/bench-strcat-ifunc.c: Likewise.
14106 * benchtests/bench-strchr-ifunc.c: Likewise.
14107 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14108 * benchtests/bench-strcmp-ifunc.c: Likewise.
14109 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14110 * benchtests/bench-strcpy-ifunc.c: Likewise.
14111 * benchtests/bench-strcspn-ifunc.c: Likewise.
14112 * benchtests/bench-strlen-ifunc.c: Likewise.
14113 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14114 * benchtests/bench-strncat-ifunc.c: Likewise.
14115 * benchtests/bench-strncmp-ifunc.c: Likewise.
14116 * benchtests/bench-strncpy-ifunc.c: Likewise.
14117 * benchtests/bench-strnlen-ifunc.c: Likewise.
14118 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14119 * benchtests/bench-strrchr-ifunc.c: Likewise.
14120 * benchtests/bench-strsep-ifunc.c: Likewise.
14121 * benchtests/bench-strspn-ifunc.c: Likewise.
14122 * benchtests/bench-strstr-ifunc.c: Likewise.
14124 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14126 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14128 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14130 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14131 * rt/aio.h: Likewise.
14132 * sysdeps/gnu/bits/utmp.h: Likewise.
14133 * sysdeps/gnu/bits/utmpx.h: Likewise.
14134 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14135 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14136 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14137 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14138 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14139 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14140 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14141 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14142 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14143 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14144 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14145 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14146 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14148 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14149 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14150 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14151 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14152 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14153 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14154 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14155 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14156 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14157 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14158 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14159 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14160 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14161 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14162 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14163 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14164 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14165 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14166 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14167 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14168 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14169 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14170 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14171 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14172 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14173 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14174 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14175 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14177 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14180 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14181 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14183 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14185 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14186 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14189 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14191 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14192 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14193 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14194 (__fesetround): Remove define.
14195 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14196 rounding and exceptions handling.
14197 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14198 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14199 (__fe_nomask_env): Likewise.
14200 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14201 __fegetround instead of fegetround.
14202 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14203 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14205 2013-11-21 Roland McGrath <roland@hack.frob.com>
14207 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14210 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14212 2013-11-21 Meador Inge <meadori@codesourcery.com>
14215 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14216 (encrypt_r): Likewise.
14217 * malloc/obstack.h (obstack_free): Likewise.
14218 * posix/unistd.h (encrypt): Likewise.
14220 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14222 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14223 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14224 DL_CALL_DT_FINI() that call the functions directly.
14225 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14226 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14227 * elf/dl-fini.c: Likewise.
14229 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14231 * malloc/hooks.c (memalign_check): Add alignment rounding.
14232 * malloc/malloc.c (_mid_memalign): New function.
14233 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14234 Implement by calling _mid_memalign.
14235 * manual/probes.texi (Memory Allocation Probes): Remove
14236 memory_valloc_retry and memory_pvalloc_retry.
14238 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14240 * locale/programs/locarchive.c (open_archive): Add const
14241 qualifier to ARCHIVEFNAME and copy default fname to
14245 * libio/tst-widetext.input: Rename Oriya to Odia.
14246 * locale/iso-639.def: Likewise.
14248 * manual/probes.texi (Mathematical Function Probes): Add
14249 documentation for sin, cos, asin and acos probes.
14250 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14251 (__sin32): Add slowasin probe.
14252 (__cos32): Add slowacos probe.
14253 (__mpsin): Add slowsin probe.
14254 (__mpcos): Add slowcos probe.
14256 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14259 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14260 thread-local __sim_exceptions_thread and global
14261 __sim_exceptions_global.
14262 (__sim_disabled_exceptions): Change to thread-local
14263 __sim_disabled_exceptions_thread and global
14264 __sim_disabled_exceptions_global.
14265 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14266 and global __sim_round_mode_global.
14267 (__simulate_exceptions): Use thread-local floating-point state and
14268 set global state from it as needed.
14269 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14270 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14271 __sim_round_mode_thread.
14272 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14273 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14274 and global __sim_exceptions_global.
14275 (__sim_disabled_exceptions): Change to thread-local
14276 __sim_disabled_exceptions_thread and global
14277 __sim_disabled_exceptions_global.
14278 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14279 and global __sim_round_mode_global.
14280 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14281 (SIM_SET_GLOBAL): Likewise.
14282 * sysdeps/powerpc/soft-fp/sfp-machine.h
14283 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14284 __sim_round_mode_thread.
14285 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14286 __sim_disabled_exceptions_thread.
14287 (__sim_exceptions): Change to __sim_exceptions_thread.
14288 (__sim_disabled_exceptions): Change to
14289 __sim_disabled_exceptions_thread.
14290 (__sim_round_mode): Change to __sim_round_mode_thread.
14291 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14292 thread-local floating-point state and set global state from it as
14294 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14295 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14296 (__sim_disabled_exceptions): Remove extern declaration.
14297 (feenableexcept): Use thread-local floating-point state and set
14298 global state from it as needed.
14299 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14300 extern declaration.
14301 (__sim_disabled_exceptions): Likewise.
14302 (__sim_round_mode): Likewise.
14303 (__fegetenv): Use thread-local floating-point state.
14304 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14305 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14306 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14307 floating-point state and set global state from it as needed.
14308 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14309 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14310 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14312 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14313 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14315 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14316 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14317 Use __sim_round_mode_thread.
14318 * math/test-fenv-tls.c: New file.
14319 * math/Makefile (tests): Add test-fenv-tls.
14320 ($(objpfx)test-fenv-tls): Depend on
14321 $(common-objpfx)nptl/libpthread.so.
14323 2013-11-19 Andreas Schwab <schwab@suse.de>
14325 * locale/programs/locale.c (show_info): Decode wordarray elements.
14326 * locale/categories.def (LC_MONETARY): Add element for
14327 _NL_MONETARY_CRNCYSTR.
14328 * locale/C-monetary.c (conversion_rate): New variable.
14329 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14332 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14334 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14335 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14337 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14339 * elf/Makefile (tst-auxv): New test.
14340 * elf/tst-auxv.c: New
14341 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14343 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14345 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14346 (hidden_proto): Caller changed.
14347 (hidden_tls_proto): New macro.
14348 (libc_hidden_tls_proto): Likewise.
14349 (rtld_hidden_tls_proto): Likewise.
14350 (libm_hidden_tls_proto): Likewise.
14351 (libresolv_hidden_tls_proto): Likewise.
14352 (librt_hidden_tls_proto): Likewise.
14353 (libdl_hidden_tls_proto): Likewise.
14354 (libnss_files_hidden_tls_proto): Likewise.
14355 (libnsl_hidden_tls_proto): Likewise.
14356 (libnss_nisplus_hidden_tls_proto): Likewise.
14357 (libutil_hidden_tls_proto): Likewise.
14359 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
14362 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14363 (decompose_rpath): Defer expansion to fillin_rpath.
14364 (_dl_init_paths): Pass linkmap to fillin_rpath.
14366 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14368 * benchtests/Makefile: Add strsep.
14369 * benchtests/bench-strsep.c: New file: strsep benchtest.
14370 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14372 2013-11-18 Andreas Schwab <schwab@suse.de>
14374 * locale/programs/locale.c (show_info) [case byte]: Check for
14375 '\377' instead of '\177'.
14376 * locale/C-monetary.c (not_available): Always use "\377".
14377 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14378 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14379 detect unavailable sign_posn locale elements.
14380 * locale/localeconv.c (__localeconv): For grouping and
14381 mon_grouping handle "\177" and "\377" like no grouping.
14382 (INT_ELEM): New macro. Use it to set all numeric members.
14383 * locale/programs/ld-monetary.c (monetary_read)
14384 <tok_mon_grouping>: Normalize single -1 to the empty string.
14385 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14388 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14391 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14392 when we match (nil).
14393 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14395 2013-11-16 Joseph Myers <joseph@codesourcery.com>
14397 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14398 (NO_TEST_INLINE): Update value.
14399 (ERRNO_UNCHANGED): Likewise.
14400 (ERRNO_EDOM): Likewise.
14401 (ERRNO_ERANGE): Likewise.
14402 (IGNORE_RESULT): Likewise.
14403 (check_float_internal): Check signs of NaN results if
14404 TEST_NAN_SIGN used.
14405 (check_complex): Pass TEST_NAN_SIGN flag through to second
14406 check_float_internal call.
14407 (copysign_test_data): Add tests with quiet NaNs as second
14408 argument. Use TEST_NAN_SIGN.
14409 (fabs_test_data): Add test of negative quiet NaN argument. Use
14411 (signbit_test_data): Add tests of quiet NaN argument.
14412 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14414 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14416 (parse_args): Handle function results specified as IGNORE.
14417 * math/libm-test.inc (IGNORE_RESULT): New macro.
14418 (check_float_internal): Do not check numerical result if flag
14420 (check_complex): Pass through IGNORE_RESULT to second
14421 check_float_internal call.
14422 (check_int): Do not check numerical result if flag IGNORE_RESULT
14424 (check_long): Likewise.
14425 (check_bool): Likewise.
14426 (check_longlong): Likewise.
14427 (lrint_test_data): Add tests of infinite and NaN arguments.
14428 (lrint_tonearest_test_data): Likewise.
14429 (lrint_towardzero_test_data): Likewise.
14430 (lrint_downward_test_data): Likewise.
14431 (lrint_upward_test_data): Likewise.
14432 (llrint_test_data): Likewise.
14433 (llrint_tonearest_test_data): Likewise.
14434 (llrint_towardzero_test_data): Likewise.
14435 (llrint_downward_test_data): Likewise.
14436 (llrint_upward_test_data): Likewise.
14437 (lround_test_data): Likewise.
14438 (llround_test_data): Likewise.
14440 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14441 (ERRNO_UNCHANGED): Update value.
14442 (ERRNO_EDOM): Likewise.
14443 (ERRNO_ERANGE): Likewise.
14444 (NO_TEST_INLINE_FLOAT): New macro.
14445 (NO_TEST_INLINE_DOUBLE): Likewise.
14446 (enable_test): New function.
14447 (RUN_TEST_f_f): Check enable_test before running test.
14448 (RUN_TEST_2_f): Likewise.
14449 (RUN_TEST_fff_f): Likewise.
14450 (RUN_TEST_c_f): Likewise.
14451 (RUN_TEST_f_f1): Likewise.
14452 (RUN_TEST_fF_f1): Likewise.
14453 (RUN_TEST_fI_f1): Likewise.
14454 (RUN_TEST_ffI_f1): Likewise.
14455 (RUN_TEST_c_c): Likewise.
14456 (RUN_TEST_cc_c): Likewise.
14457 (RUN_TEST_f_i): Likewise.
14458 (RUN_TEST_f_i_tg): Likewise.
14459 (RUN_TEST_ff_i_tg): Likewise.
14460 (RUN_TEST_f_b): Likewise.
14461 (RUN_TEST_f_b_tg): Likewise.
14462 (RUN_TEST_f_l): Likewise.
14463 (RUN_TEST_f_L): Likewise.
14464 (RUN_TEST_fFF_11): Likewise.
14465 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14467 (cosh_test_data): Likewise.
14468 (exp_test_data): Likewise.
14469 (expm1_test_data): Likewise.
14470 (hypot_test_data): Likewise.
14471 (pow_test_data): Likewise.
14472 (sinh_test_data): Likewise.
14473 (tanh_test_data): Likewise.
14474 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14477 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14478 tests with quiet NaN input and output.
14479 (acosh_test_data): Likewise.
14480 (asin_test_data): Likewise.
14481 (asinh_test_data): Likewise.
14482 (atan_test_data): Likewise.
14483 (atanh_test_data): Likewise.
14484 (atan2_test_data): Likewise.
14485 (cbrt_test_data): Likewise.
14486 (cos_test_data): Likewise.
14487 (cosh_test_data): Likewise.
14488 (erf_test_data): Likewise.
14489 (erfc_test_data): Likewise.
14490 (exp_test_data): Likewise.
14491 (exp10_test_data): Likewise.
14492 (exp2_test_data): Likewise.
14493 (expm1_test_data): Likewise.
14494 (hypot_test_data): Likewise.
14495 (j0_test_data): Likewise.
14496 (j1_test_data): Likewise.
14497 (jn_test_data): Likewise.
14498 (lgamma_test_data): Likewise.
14499 (log_test_data): Likewise.
14500 (log10_test_data): Likewise.
14501 (log1p_test_data): Likewise.
14502 (log2_test_data): Likewise.
14503 (pow_test_data): Likewise.
14504 (scalb_test_data): Likewise.
14505 (sin_test_data): Likewise.
14506 (sincos_test_data): Likewise.
14507 (sinh_test_data): Likewise.
14508 (tan_test_data): Likewise.
14509 (tanh_test_data): Likewise.
14510 (tgamma_test_data): Likewise.
14511 (y0_test_data): Likewise.
14512 (y1_test_data): Likewise.
14513 (yn_test_data): Likewise.
14516 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14517 argument being NaN and avoid computations with second argument in
14519 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14520 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14521 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14523 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14525 * locale/iso-639.def: Add Chitwani Tharu (the).
14527 2013-11-14 Andreas Schwab <schwab@suse.de>
14529 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14530 word instead of empty string.
14532 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14535 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14537 (__fe_nomask_env): Likewise.
14539 2013-11-13 Steve Ellcey <sellcey@mips.com>
14541 * benchtests/bench-timing.h: Include time.h.
14543 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14546 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14548 * sysdeps/unix/sysv/linux/configure: Regenerated.
14550 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14553 * stdlib/strtod_l.c (round_and_return): Do not consider
14554 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14555 exponent one less than half the least subnormal exponent.
14556 * stdlib/test-strtod-round-data: Add more tests.
14557 * stdlib/tst-strtod-round.c (tests): Regenerated.
14559 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14562 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14563 (__fe_mask_env): Likewise.
14564 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14565 libm_hidden_proto and add function prototype.
14566 (__fe_mask_env): Add function prototype.
14567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14568 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14570 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14572 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14574 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14576 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14577 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14579 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14581 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14582 of htab_find_slot().
14584 2013-11-11 David S. Miller <davem@davemloft.net>
14587 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14588 symbol in the non-vis3 case in static builds.
14589 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14590 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14591 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14592 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14594 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14597 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14600 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14602 * benchtests/Makefile: Add bench-strtod.
14603 * benchtests/bench-strtod.c: New file: strtod benchtest
14605 2013-11-11 Andreas Schwab <schwab@suse.de>
14608 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14609 terminating NUL in key length.
14611 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14613 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14614 Add artificial ODP entry for vDSO symbol for PPC64.
14615 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14616 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14618 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14621 * nss/getent.c (services_keys): Recognize services starting with digit.
14623 2013-11-06 David S. Miller <davem@davemloft.net>
14626 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14627 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14629 2013-11-06 Will Newton <will.newton@linaro.org>
14631 * manual/memory.texi (Malloc Examples): Remove register
14632 keyword from examples.
14634 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14636 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14638 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14641 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14642 depending on [__GCC_IEC_559 > 0].
14643 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14644 depending on [__GCC_IEC_559_COMPLEX > 0].
14646 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14648 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14651 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14653 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14655 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14658 * malloc/malloc (malloc_info): Do not handle first bin as
14661 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14663 * locale/iso-639.def: Add Central Nahuatl (nhn).
14665 2013-11-01 Bruno Haible <bruno@clisp.org>
14668 * manual/math.texi (BSD Random): Specify range upper bound as
14671 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14673 * locale/iso-639.def: Add Meadow Mari (mhr).
14675 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14677 [BZ #14752], [BZ #15763]
14678 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14680 * rt/tst_shm.c: Add test for escaping directory.
14682 2013-10-31 Andreas Schwab <schwab@suse.de>
14685 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14686 followed by 'x' as part of digit sequence.
14687 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14689 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14692 * configure.ac: allow GNU Make 4.0 and greater.
14693 * configure: Regenerated.
14695 2013-10-30 Will Newton <will.newton@linaro.org>
14698 * malloc/hooks.c (memalign_check): Limit alignment to the
14699 maximum representable power of two.
14700 * malloc/malloc.c (__libc_memalign): Likewise.
14701 * malloc/tst-memalign.c (do_test): Add test for very
14702 large alignment values.
14703 * malloc/tst-posix_memalign.c (do_test): Likewise.
14705 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14708 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14709 (munmap_chunk): Likewise.
14710 (mremap_chunk): Likewise.
14712 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14715 * stdlib/div.c (div): Remove obsolete code.
14716 * stdlib/ldiv.c (ldiv): Likewise.
14717 * stdlib/lldiv.c (lldiv): Likewise.
14719 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14722 * nss/nss_files/files-XXX.c (get_contents_ret): New
14724 (get_contents): New function.
14725 (internal_getent): Use it. Expand size of LINEBUFLEN.
14727 2013-10-30 Mike Frysinger <vapier@gentoo.org>
14729 * configure.in: Moved to ...
14730 * configure.ac: ... here. Change reference to configure.in
14732 * sysdeps/arm/preconfigure.ac: ... here.
14733 configure.in to configure.ac.
14734 * sysdeps/gnu/configure.in: Moved to ...
14735 * sysdeps/gnu/configure.ac: ... here.
14736 * sysdeps/i386/configure.in: Moved to ...
14737 * sysdeps/i386/configure.ac: ... here.
14738 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14739 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14740 * sysdeps/mach/configure.in: Moved to ...
14741 * sysdeps/mach/configure.ac: ... here.
14742 * sysdeps/mach/hurd/configure.in: Moved to ...
14743 * sysdeps/mach/hurd/configure.ac: ... here.
14744 * sysdeps/powerpc/configure.in: Moved to ...
14745 * sysdeps/powerpc/configure.ac: ... here.
14746 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14747 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14748 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14749 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14750 * sysdeps/s390/s390-32/configure.in: Moved to ...
14751 * sysdeps/s390/s390-32/configure.ac: ... here.
14752 * sysdeps/s390/s390-64/configure.in: Moved to ...
14753 * sysdeps/s390/s390-64/configure.ac: ... here.
14754 * sysdeps/sh/configure.in: Moved to ...
14755 * sysdeps/sh/configure.ac: ... here.
14756 * sysdeps/sparc/configure.in: Moved to ...
14757 * sysdeps/sparc/configure.ac: ... here.
14758 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14759 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14760 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14761 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14762 * sysdeps/x86_64/configure.in: Moved to ...
14763 * sysdeps/x86_64/configure.ac: ... here.
14764 * sysdeps/x86_64/preconfigure.in: Moved to ...
14765 * sysdeps/x86_64/preconfigure.ac: ... here.
14766 * aclocal.m4: Change reference to configure.in to configure.ac.
14767 * config.h.in: Likewise.
14768 * manual/install.texi: Likewise.
14769 * manual/maint.texi: Likewise.
14770 * Makefile: Likewise.
14771 * malloc/Makefile: Likewise.
14772 * nscd/Makefile: Likewise.
14773 * Makeconfig: Change reference to configure.in and
14774 preconfigure.in to configure.ac and preconfigure.ac
14776 * INSTALL: Regenerated.
14777 * configure: Likewise.
14778 * sysdeps/gnu/configure: Likewise.
14779 * sysdeps/i386/configure: Likewise.
14780 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14781 * sysdeps/mach/configure: Likewise.
14782 * sysdeps/mach/hurd/configure: Likewise.
14783 * sysdeps/powerpc/configure: Likewise.
14784 * sysdeps/powerpc/powerpc32/configure: Likewise.
14785 * sysdeps/powerpc/powerpc64/configure: Likewise.
14786 * sysdeps/s390/s390-32/configure: Likewise.
14787 * sysdeps/s390/s390-64/configure: Likewise.
14788 * sysdeps/sh/configure: Likewise.
14789 * sysdeps/sparc/configure: Likewise.
14790 * sysdeps/unix/sysv/linux/configure: Likewise.
14791 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14792 * sysdeps/x86_64/configure: Likewise.
14793 * sysdeps/x86_64/preconfigure: Likewise.
14795 2013-10-29 Andreas Schwab <schwab@suse.de>
14797 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14799 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14801 * benchtests/pow-inputs: Add new inputs.
14803 * benchtests/exp-inputs: Add new inputs.
14805 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14806 conditional check for return value.
14807 (__cos32): Likewise.
14809 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14811 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14812 to provide a boost for large inputs with word alignment.
14813 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14814 implementation based on optimized PPC64 strcpy.
14815 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14816 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14817 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14818 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14820 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14823 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14825 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14828 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14829 * time/tst-strptime.c (day_tests): Add testcase.
14831 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14834 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14836 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14839 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14840 MAP_FAILED on error.
14842 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14845 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14846 heap for large requests.
14848 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14851 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14852 result if the result has no associated interface.
14853 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14854 interface for all 127.X.Y.Z addresses.
14856 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
14858 * locale/iso-639.def: Add Ligurian (lij)
14860 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
14863 * sunrpc/rpc_main.c: Document rpcgen -5.
14865 2013-10-19 Michael Stahl <mstahl@redhat.com>
14867 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14869 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14872 * posix/glob.c: Match only directories when trailing slash is present.
14873 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14874 (main): Add testcase.
14876 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14879 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14881 2013-10-18 Carlos O'Donell <carlos@redhat.com>
14883 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14884 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14885 AUTH_DES and cindex for FIPS 140-2.
14886 (DES Encryption): Add cindex FIPS 46-3.
14888 * locale/locarchive.h (struct locarhandle): Add fname.
14889 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14890 if an optional argument was specified to --list-archive,
14892 * locale/programs/locarchive.c (show_archive_content): Take new
14893 argument fname and pass it via ah.fname to open_archive.
14894 * locale/programs/localedef.h: Update decl.
14895 (open_archive): If AH->fname is non-null, open that file
14896 rather than the default file name, and don't ignore ENOENT.
14897 (create_archive): Set AH.fname to NULL.
14898 (delete_locales_from_archive): Likewise.
14899 (add_locales_to_archive): Likewise.
14900 * locale/programs/locfile.c (write_all_categories): Likewise.
14902 2013-10-18 Joseph Myers <joseph@codesourcery.com>
14903 Aldy Hernandez <aldyh@redhat.com>
14905 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14906 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14907 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14908 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14909 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14910 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14911 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14912 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14913 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14914 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14915 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14916 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14917 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14918 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14919 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14921 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14923 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14925 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14927 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14928 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14930 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14931 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14932 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14933 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14935 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14936 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14937 * sysdeps/powerpc/preconfigure: Likewise.
14938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14940 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14941 Replace contents of file by #include of <fenv_libc.h>.
14942 * sysdeps/powerpc/soft-fp/sfp-machine.h
14943 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14945 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14946 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14947 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14948 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14949 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14950 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14951 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14952 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14953 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14954 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14955 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14956 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14958 Allow copysignl PLT reference to be missing.
14960 2013-10-18 Richard Sandiford <richard@codesourcery.com>
14961 Joseph Myers <joseph@codesourcery.com
14964 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14966 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14968 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14970 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14971 * elf/tst-tls1.c: Likewise.
14972 * elf/tst-tls10.h: Likewise.
14973 * elf/tst-tls14.c: Likewise.
14974 * elf/tst-tls2.c: Likewise.
14975 * elf/tst-tls3.c: Likewise.
14976 * elf/tst-tls4.c: Likewise.
14977 * elf/tst-tls5.c: Likewise.
14978 * elf/tst-tls6.c: Likewise.
14979 * elf/tst-tls7.c: Likewise.
14980 * elf/tst-tls8.c: Likewise.
14981 * elf/tst-tls9.c: Likewise.
14982 * elf/tst-tlsmod1.c: Likewise.
14983 * elf/tst-tlsmod13.c: Likewise.
14984 * elf/tst-tlsmod13a.c: Likewise.
14985 * elf/tst-tlsmod14a.c: Likewise.
14986 * elf/tst-tlsmod16a.c: Likewise.
14987 * elf/tst-tlsmod16b.c: Likewise.
14988 * elf/tst-tlsmod2.c: Likewise.
14989 * elf/tst-tlsmod3.c: Likewise.
14990 * elf/tst-tlsmod4.c: Likewise.
14991 * elf/tst-tlsmod5.c: Likewise.
14992 * elf/tst-tlsmod6.c: Likewise.
14994 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
14997 * malloc/malloc.c: remove checks for statistics.
14999 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15002 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15003 * inet/tst-network.c: Add testcase.
15005 2013-10-17 Andreas Schwab <schwab@suse.de>
15008 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15009 to determine canonical name.
15011 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15013 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15014 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15015 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15016 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15017 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15018 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15019 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15020 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15021 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15022 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15023 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15024 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15025 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15026 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15027 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15028 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15029 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15030 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15031 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15032 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15033 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15034 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15035 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15036 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15037 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15038 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15039 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15040 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15041 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15042 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15043 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15044 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15045 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15046 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15047 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15048 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15049 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15050 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15051 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15052 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15053 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15054 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15055 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15056 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15057 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15058 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15059 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15060 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15061 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15062 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15063 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15064 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15065 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15066 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15067 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15068 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15069 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15070 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15072 2013-10-17 Joseph Myers <joseph@codesourcery.com>
15075 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15076 make result into a quiet NaN.
15078 2013-10-16 Joseph Myers <joseph@codesourcery.com>
15080 * soft-fp/adddf3.c: Fix horizontal whitespace.
15081 * soft-fp/addsf3.c: Likewise.
15082 * soft-fp/addtf3.c: Likewise.
15083 * soft-fp/divdf3.c: Likewise.
15084 * soft-fp/divsf3.c: Likewise.
15085 * soft-fp/divtf3.c: Likewise.
15086 * soft-fp/double.h: Likewise.
15087 * soft-fp/eqdf2.c: Likewise.
15088 * soft-fp/eqsf2.c: Likewise.
15089 * soft-fp/eqtf2.c: Likewise.
15090 * soft-fp/extenddftf2.c: Likewise.
15091 * soft-fp/extended.h: Likewise.
15092 * soft-fp/extendsfdf2.c: Likewise.
15093 * soft-fp/extendsftf2.c: Likewise.
15094 * soft-fp/extendxftf2.c: Likewise.
15095 * soft-fp/fixdfdi.c: Likewise.
15096 * soft-fp/fixdfsi.c: Likewise.
15097 * soft-fp/fixdfti.c: Likewise.
15098 * soft-fp/fixsfdi.c: Likewise.
15099 * soft-fp/fixsfsi.c: Likewise.
15100 * soft-fp/fixsfti.c: Likewise.
15101 * soft-fp/fixtfdi.c: Likewise.
15102 * soft-fp/fixtfsi.c: Likewise.
15103 * soft-fp/fixtfti.c: Likewise.
15104 * soft-fp/fixunsdfdi.c: Likewise.
15105 * soft-fp/fixunsdfsi.c: Likewise.
15106 * soft-fp/fixunsdfti.c: Likewise.
15107 * soft-fp/fixunssfdi.c: Likewise.
15108 * soft-fp/fixunssfsi.c: Likewise.
15109 * soft-fp/fixunssfti.c: Likewise.
15110 * soft-fp/fixunstfdi.c: Likewise.
15111 * soft-fp/fixunstfsi.c: Likewise.
15112 * soft-fp/fixunstfti.c: Likewise.
15113 * soft-fp/floatdidf.c: Likewise.
15114 * soft-fp/floatdisf.c: Likewise.
15115 * soft-fp/floatditf.c: Likewise.
15116 * soft-fp/floatsidf.c: Likewise.
15117 * soft-fp/floatsisf.c: Likewise.
15118 * soft-fp/floatsitf.c: Likewise.
15119 * soft-fp/floattidf.c: Likewise.
15120 * soft-fp/floattisf.c: Likewise.
15121 * soft-fp/floattitf.c: Likewise.
15122 * soft-fp/floatundidf.c: Likewise.
15123 * soft-fp/floatundisf.c: Likewise.
15124 * soft-fp/floatunditf.c: Likewise.
15125 * soft-fp/floatunsidf.c: Likewise.
15126 * soft-fp/floatunsisf.c: Likewise.
15127 * soft-fp/floatunsitf.c: Likewise.
15128 * soft-fp/floatuntidf.c: Likewise.
15129 * soft-fp/floatuntisf.c: Likewise.
15130 * soft-fp/floatuntitf.c: Likewise.
15131 * soft-fp/fmadf4.c: Likewise.
15132 * soft-fp/fmasf4.c: Likewise.
15133 * soft-fp/fmatf4.c: Likewise.
15134 * soft-fp/gedf2.c: Likewise.
15135 * soft-fp/gesf2.c: Likewise.
15136 * soft-fp/getf2.c: Likewise.
15137 * soft-fp/ledf2.c: Likewise.
15138 * soft-fp/lesf2.c: Likewise.
15139 * soft-fp/letf2.c: Likewise.
15140 * soft-fp/muldf3.c: Likewise.
15141 * soft-fp/mulsf3.c: Likewise.
15142 * soft-fp/multf3.c: Likewise.
15143 * soft-fp/negdf2.c: Likewise.
15144 * soft-fp/negsf2.c: Likewise.
15145 * soft-fp/negtf2.c: Likewise.
15146 * soft-fp/op-1.h: Likewise.
15147 * soft-fp/op-2.h: Likewise.
15148 * soft-fp/op-4.h: Likewise.
15149 * soft-fp/op-8.h: Likewise.
15150 * soft-fp/op-common.h: Likewise.
15151 * soft-fp/quad.h: Likewise.
15152 * soft-fp/single.h: Likewise.
15153 * soft-fp/soft-fp.h: Likewise.
15154 * soft-fp/sqrtdf2.c: Likewise.
15155 * soft-fp/sqrtsf2.c: Likewise.
15156 * soft-fp/sqrttf2.c: Likewise.
15157 * soft-fp/subdf3.c: Likewise.
15158 * soft-fp/subsf3.c: Likewise.
15159 * soft-fp/subtf3.c: Likewise.
15160 * soft-fp/truncdfsf2.c: Likewise.
15161 * soft-fp/trunctfdf2.c: Likewise.
15162 * soft-fp/trunctfsf2.c: Likewise.
15163 * soft-fp/trunctfxf2.c: Likewise.
15164 * soft-fp/unorddf2.c: Likewise.
15165 * soft-fp/unordsf2.c: Likewise.
15166 * soft-fp/unordtf2.c: Likewise.
15168 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15170 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15171 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15173 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15175 * elf/dl-libc.c: Clear initfini list after freeing.
15177 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15179 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15180 * soft-fp/addsf3.c: Likewise.
15181 * soft-fp/addtf3.c: Likewise.
15182 * soft-fp/divdf3.c: Likewise.
15183 * soft-fp/divsf3.c: Likewise.
15184 * soft-fp/divtf3.c: Likewise.
15185 * soft-fp/double.h: Likewise.
15186 * soft-fp/eqdf2.c: Likewise.
15187 * soft-fp/eqsf2.c: Likewise.
15188 * soft-fp/eqtf2.c: Likewise.
15189 * soft-fp/extenddftf2.c: Likewise.
15190 * soft-fp/extended.h: Likewise.
15191 * soft-fp/extendsfdf2.c: Likewise.
15192 * soft-fp/extendsftf2.c: Likewise.
15193 * soft-fp/extendxftf2.c: Likewise.
15194 * soft-fp/fixdfdi.c: Likewise.
15195 * soft-fp/fixdfsi.c: Likewise.
15196 * soft-fp/fixdfti.c: Likewise.
15197 * soft-fp/fixsfdi.c: Likewise.
15198 * soft-fp/fixsfsi.c: Likewise.
15199 * soft-fp/fixsfti.c: Likewise.
15200 * soft-fp/fixtfdi.c: Likewise.
15201 * soft-fp/fixtfsi.c: Likewise.
15202 * soft-fp/fixtfti.c: Likewise.
15203 * soft-fp/fixunsdfdi.c: Likewise.
15204 * soft-fp/fixunsdfsi.c: Likewise.
15205 * soft-fp/fixunsdfti.c: Likewise.
15206 * soft-fp/fixunssfdi.c: Likewise.
15207 * soft-fp/fixunssfsi.c: Likewise.
15208 * soft-fp/fixunssfti.c: Likewise.
15209 * soft-fp/fixunstfdi.c: Likewise.
15210 * soft-fp/fixunstfsi.c: Likewise.
15211 * soft-fp/fixunstfti.c: Likewise.
15212 * soft-fp/floatdidf.c: Likewise.
15213 * soft-fp/floatdisf.c: Likewise.
15214 * soft-fp/floatditf.c: Likewise.
15215 * soft-fp/floatsidf.c: Likewise.
15216 * soft-fp/floatsisf.c: Likewise.
15217 * soft-fp/floatsitf.c: Likewise.
15218 * soft-fp/floattidf.c: Likewise.
15219 * soft-fp/floattisf.c: Likewise.
15220 * soft-fp/floattitf.c: Likewise.
15221 * soft-fp/floatundidf.c: Likewise.
15222 * soft-fp/floatundisf.c: Likewise.
15223 * soft-fp/floatunsidf.c: Likewise.
15224 * soft-fp/floatunsisf.c: Likewise.
15225 * soft-fp/floatuntidf.c: Likewise.
15226 * soft-fp/floatuntisf.c: Likewise.
15227 * soft-fp/floatuntitf.c: Likewise.
15228 * soft-fp/fmadf4.c: Likewise.
15229 * soft-fp/fmasf4.c: Likewise.
15230 * soft-fp/fmatf4.c: Likewise.
15231 * soft-fp/gedf2.c: Likewise.
15232 * soft-fp/gesf2.c: Likewise.
15233 * soft-fp/getf2.c: Likewise.
15234 * soft-fp/ledf2.c: Likewise.
15235 * soft-fp/lesf2.c: Likewise.
15236 * soft-fp/letf2.c: Likewise.
15237 * soft-fp/muldf3.c: Likewise.
15238 * soft-fp/mulsf3.c: Likewise.
15239 * soft-fp/multf3.c: Likewise.
15240 * soft-fp/negdf2.c: Likewise.
15241 * soft-fp/negsf2.c: Likewise.
15242 * soft-fp/negtf2.c: Likewise.
15243 * soft-fp/op-1.h: Likewise.
15244 * soft-fp/op-2.h: Likewise.
15245 * soft-fp/op-4.h: Likewise.
15246 * soft-fp/op-8.h: Likewise.
15247 * soft-fp/op-common.h: Likewise.
15248 * soft-fp/quad.h: Likewise.
15249 * soft-fp/single.h: Likewise.
15250 * soft-fp/soft-fp.h: Likewise.
15251 * soft-fp/sqrtdf2.c: Likewise.
15252 * soft-fp/sqrtsf2.c: Likewise.
15253 * soft-fp/sqrttf2.c: Likewise.
15254 * soft-fp/subdf3.c: Likewise.
15255 * soft-fp/subsf3.c: Likewise.
15256 * soft-fp/subtf3.c: Likewise.
15257 * soft-fp/truncdfsf2.c: Likewise.
15258 * soft-fp/trunctfdf2.c: Likewise.
15259 * soft-fp/trunctfsf2.c: Likewise.
15260 * soft-fp/trunctfxf2.c: Likewise.
15261 * soft-fp/unorddf2.c: Likewise.
15262 * soft-fp/unordsf2.c: Likewise.
15263 * soft-fp/unordtf2.c: Likewise.
15265 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15268 * misc/error.c (error_tail): Fix possible buffer overflow.
15270 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15273 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15276 2013-10-14 P. J. McDermott <pj@pehjota.net>
15279 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15280 testing pipefail option.
15282 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15284 * soft-fp/double.h: Indent preprocessor directives inside #if.
15285 * soft-fp/extended.h: Likewise.
15286 * soft-fp/op-2.h: Likewise.
15287 * soft-fp/op-4.h: Likewise.
15288 * soft-fp/op-common.h: Likewise.
15289 * soft-fp/quad.h: Likewise.
15290 * soft-fp/single.h: Likewise.
15291 * soft-fp/soft-fp.h: Likewise.
15293 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15295 * iconv/iconv_prog.c: Fix typos.
15296 * stdio-common/psiginfo-data.h: Likewise.
15298 2013-10-12 Reuben Thomas <rrt@sc3d.org>
15301 * locale/setlocale.c: Fix typo.
15303 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15306 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15307 signaling NaN arguments.
15308 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15309 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15312 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15313 unordered operands.
15314 * soft-fp/gesf2.c (__gesf2): Likewise.
15315 * soft-fp/getf2.c (__getf2): Likewise.
15316 * soft-fp/ledf2.c (__ledf2): Likewise.
15317 * soft-fp/lesf2.c (__lesf2): Likewise.
15318 * soft-fp/letf2.c (__letf2): Likewise.
15320 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15321 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15322 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15323 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15324 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15325 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15326 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15327 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15328 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15329 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15330 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15331 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15332 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15333 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15334 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15335 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15336 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15337 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15338 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15339 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15340 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15341 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15342 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15343 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15344 * soft-fp/floattidf.c (__floattidf): Likewise.
15345 * soft-fp/floattisf.c (__floattisf): Likewise.
15346 * soft-fp/floattitf.c (__floattitf): Likewise.
15347 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15348 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15349 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15350 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15351 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15352 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15353 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15354 * soft-fp/gesf2.c (__gesf2): Likewise.
15355 * soft-fp/getf2.c (__getf2): Likewise.
15356 * soft-fp/ledf2.c (__ledf2): Likewise.
15357 * soft-fp/lesf2.c (__lesf2): Likewise.
15358 * soft-fp/letf2.c (__letf2): Likewise.
15360 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15361 Undefine and redefine.
15362 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15363 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15364 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15365 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15366 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15367 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15368 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15369 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15370 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15371 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15372 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15373 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15374 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15375 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15376 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15379 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15380 without decrementing exponent if mantissa >= that for the
15381 denominator, not >.
15382 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15383 denominator, not >. Decrement exponent in < case instead of
15384 incrementing in >= case.
15385 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15386 without decrementing exponent if mantissa >= that for the
15387 denominator, not >.
15389 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15390 computing saturated result for unsigned overflow.
15392 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15393 Jeff Law <law@redhat.com>
15395 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15396 (atan2Mp): Add systemtap probe marker.
15397 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15398 (__ieee754_log): Add systemtap probe marker.
15399 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15400 (atanMp): Add systemtap probe marker.
15401 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15402 (tanMp): Add systemtap probe marker.
15403 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15404 (__slowexp): Add systemtap probe marker.
15405 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15406 (__slowpow): Add systemtap probe marker.
15407 * manual/probes.texi: Document probes.
15409 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
15412 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15414 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15416 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15417 written to buffer but not flushed.
15418 * libio/iofwrite_u.c: Likewise.
15419 * libio/iopadn.c: Return bytes returned even if EOF was
15421 * libio/iowpadn.c: Likewise.
15422 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15423 if _IO_padn does not write the whole buffer.
15424 [!COMPILE_WPRINTF] (PAD): Likewise.
15426 2013-10-10 David S. Miller <davem@davemloft.net>
15428 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15431 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15433 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15434 instead of FSF address.
15435 * soft-fp/fixdfti.c: Likewise.
15436 * soft-fp/fixsfti.c: Likewise.
15437 * soft-fp/fixtfti.c: Likewise.
15438 * soft-fp/fixunsdfti.c: Likewise.
15439 * soft-fp/fixunssfti.c: Likewise.
15440 * soft-fp/fixunstfti.c: Likewise.
15441 * soft-fp/floattidf.c: Likewise.
15442 * soft-fp/floattisf.c: Likewise.
15443 * soft-fp/floattitf.c: Likewise.
15444 * soft-fp/floatuntidf.c: Likewise.
15445 * soft-fp/floatuntisf.c: Likewise.
15446 * soft-fp/floatuntitf.c: Likewise.
15447 * soft-fp/trunctfxf2.c: Likewise.
15449 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15450 * soft-fp/fixdfti.c: Likewise.
15451 * soft-fp/fixsfti.c: Likewise.
15452 * soft-fp/fixtfti.c: Likewise.
15453 * soft-fp/fixunsdfti.c: Likewise.
15454 * soft-fp/fixunssfti.c: Likewise.
15455 * soft-fp/fixunstfti.c: Likewise.
15456 * soft-fp/floattidf.c: Likewise.
15457 * soft-fp/floattisf.c: Likewise.
15458 * soft-fp/floattitf.c: Likewise.
15459 * soft-fp/floatuntidf.c: Likewise.
15460 * soft-fp/floatuntisf.c: Likewise.
15461 * soft-fp/floatuntitf.c: Likewise.
15462 * soft-fp/trunctfxf2.c: Likewise.
15464 2013-10-10 David S. Miller <davem@davemloft.net>
15466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15468 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15470 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15471 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15472 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15473 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15474 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15475 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15476 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15478 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15479 for NaNs before doing comparisons on argument.
15480 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15483 2013-10-10 Will Newton <will.newton@linaro.org>
15485 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15486 passed to _int_memalign does not overflow.
15488 2013-10-10 Torvald Riegel <triegel@redhat.com>
15490 * scripts/bench.pl: Add include-sources directive.
15491 * benchtests/README: Update documentation.
15493 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15495 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15496 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15497 instead of FP_INIT_ROUNDMODE.
15498 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15499 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15502 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15503 copy class of input value.
15504 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15505 not handle exceptions.
15506 * soft-fp/negsf2.c (__negsf2): Likewise.
15507 * soft-fp/negtf2.c (__negtf2): Likewise.
15508 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15510 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15512 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15513 semicolon. From Linux kernel.
15515 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15517 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15519 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15522 * manual/socket.texi: Added statement about buffer
15523 for gethostbyname2_r.
15525 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15527 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15528 Use .p2align directive instead, throughout.
15529 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15530 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15531 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15532 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15533 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15534 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15535 * sysdeps/x86_64/strchr.S: Likewise.
15536 * sysdeps/x86_64/strrchr.S: Likewise.
15538 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15540 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15542 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15544 * sysdeps/generic/math_private.h (__mpsin1): Remove
15546 (__mpcos1): Likewise.
15547 (__mpsin): New argument __range_reduce.
15548 (__mpcos): Likewise.
15549 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15550 (slow): Use __mpsin and __mpcos.
15554 (sloww1): Likewise.
15555 (sloww2): Likewise.
15556 (bsloww): Likewise.
15557 (bsloww1): Likewise.
15558 (bsloww2): Likewise.
15559 (cslow2): Likewise.
15560 (csloww): Likewise.
15561 (csloww1): Likewise.
15562 (csloww2): Likewise.
15563 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15564 range_reduce. Merge in __mpsin1.
15565 (__mpcos): Likewise.
15566 (__mpsin1): Remove.
15567 (__mpcos1): Likewise.
15569 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15571 * locale/loadlocale.c (_nl_intern_locale_data): Use
15573 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15574 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15575 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15576 obstack data is appropriately aligned.
15577 (obstack_int32_grow_fast): Likewise.
15578 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15579 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15580 (add_locale_uint32_array): Likewise.
15582 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15584 * benchtests/Makefile: Remove ARGLIST and RET variables.
15585 ($(objpfx)bench-%.c): Pass only function name to the script.
15586 * benchtests/README: Update documentation.
15587 * benchtests/acos-inputs: Add new directives.
15588 * benchtests/acosh-inputs: Likewise.
15589 * benchtests/asin-inputs: Likewise.
15590 * benchtests/asinh-inputs: Likewise.
15591 * benchtests/atan-inputs: Likewise.
15592 * benchtests/atanh-inputs: Likewise.
15593 * benchtests/cos-inputs: Likewise.
15594 * benchtests/cosh-inputs: Likewise.
15595 * benchtests/exp-inputs: Likewise.
15596 * benchtests/log-inputs: Likewise.
15597 * benchtests/pow-inputs: Likewise.
15598 * benchtests/rint-inputs: Likewise.
15599 * benchtests/sin-inputs: Likewise.
15600 * benchtests/sinh-inputs: Likewise.
15601 * benchtests/tan-inputs: Likewise.
15602 * benchtests/tanh-inputs: Likewise.
15603 * scripts/bench.pl: Add support for new directives.
15605 2013-10-07 Alan Modra <amodra@gmail.com>
15607 * README: Fix careless merge.
15609 2013-10-05 Alan Modra <amodra@gmail.com>
15611 * NEWS: Mention powerpc64le support and bugs fixed.
15612 * README: Both big-endian and little-endian powerpc64 supported.
15614 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15616 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15617 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15618 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15619 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15621 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15623 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15626 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15628 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15629 Move -mhard-float appending from
15630 ports/sysdeps/powerpc/powerpc32/Makefile.
15631 [$(with-fp) = yes] (ASFLAGS): Likewise.
15632 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15633 * sysdeps/powerpc/nofpu: Move directory from
15634 ports/sysdeps/powerpc/nofpu.
15635 * sysdeps/powerpc/soft-fp: Move directory from
15636 ports/sysdeps/powerpc/soft-fp.
15637 * sysdeps/powerpc/powerpc32/405: Move directory from
15638 ports/sysdeps/powerpc/powerpc32/405.
15639 * sysdeps/powerpc/powerpc32/440: Move directory from
15640 ports/sysdeps/powerpc/powerpc32/440.
15641 * sysdeps/powerpc/powerpc32/464: Move directory from
15642 ports/sysdeps/powerpc/powerpc32/464.
15643 * sysdeps/powerpc/powerpc32/476: Move directory from
15644 ports/sysdeps/powerpc/powerpc32/476.
15645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15646 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15648 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15650 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15652 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15654 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15655 * README: Update for powerpc-*-linux-gnu software floating point
15658 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15659 case to powerpc/powerpc32*.
15660 * sysdeps/unix/sysv/linux/configure: Regenerated.
15662 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15663 (_FPU_MASK_OM): Define as 0x04.
15664 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15665 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15667 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15669 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15672 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15675 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15678 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15679 and setcontext_e500.
15681 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15683 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15685 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15687 * manual/threads.texi (Default Thread Attributes): Fix typo.
15689 2013-10-04 Will Newton <will.newton@linaro.org>
15691 * malloc/Makefile: Add tst-memalign.
15692 * malloc/tst-memalign.c: New file.
15694 * malloc/tst-posix_memalign.c: Add comments.
15695 (do_test): Add comments and call free on all potentially
15696 allocated pointers. Add space after cast.
15698 * malloc/tst-pvalloc.c: Add comments.
15699 (do_test): Add comments and call free on all potentially
15700 allocated pointers. Remove duplicate check for NULL pointer.
15701 Add space after cast.
15703 * malloc/tst-valloc.c: Add comments.
15704 (do_test): Add comments and call free on all potentially
15705 allocated pointers. Remove duplicate check for NULL pointer.
15706 Add space after cast.
15708 2013-10-04 Alan Modra <amodra@gmail.com>
15710 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15711 Use stdint types in rather than __attribute__((mode())).
15712 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15714 2013-10-04 Alan Modra <amodra@gmail.com>
15716 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15717 Correct handling of unaligned relocs for little-endian.
15718 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15720 2013-10-04 Alan Modra <amodra@gmail.com>
15722 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15723 * configure: Regenerate.
15724 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15725 * shlib-versions: Likewise.
15727 2013-10-04 Alan Modra <amodra@gmail.com>
15729 * string/tester.c (test_memrchr): Increment reported test cycle.
15731 2013-10-04 Alan Modra <amodra@gmail.com>
15733 * string/test-memcpy.c (do_one_test): When reporting errors, print
15734 string address and don't overrun end of string.
15736 2013-10-04 Alan Modra <amodra@gmail.com>
15738 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15739 insrdi. Make better use of reg selection to speed exit slightly.
15740 Schedule entry path a little better. Remove useless "are we done"
15741 checks on entry to main loop. Handle wrapping around zero address.
15742 Correct main loop count. Handle single left-over word from main
15743 loop inline rather than by using loop_small. Remove extra word
15744 case in loop_small caused by wrong loop count. Add little-endian
15746 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15747 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15749 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15750 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15751 support. Avoid rlwimi.
15752 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15754 2013-10-04 Alan Modra <amodra@gmail.com>
15756 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15757 insrdi. Formatting.
15758 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15759 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15760 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15761 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15762 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15763 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15765 2013-10-04 Alan Modra <amodra@gmail.com>
15767 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15768 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15769 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15770 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15771 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15772 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15773 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15774 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15775 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15776 use of regs. Use power7 mtocrf. Tidy function tails.
15778 2013-10-04 Alan Modra <amodra@gmail.com>
15780 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15781 Formatting. Consistently use rXXX register defines or rN defines.
15782 Use early exit labels that avoid restoring unused non-volatile regs.
15783 Make cr field use more consistent with rWORDn compares. Rename
15784 regs used as shift registers for unaligned loop, using rN defines
15785 for short lifetime/multiple use regs.
15786 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15787 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15788 addi 1,1,64 to pop stack frame. Simplify return value code.
15789 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15791 2013-10-04 Alan Modra <amodra@gmail.com>
15793 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15794 support. Correct typos, formatting. Optimize tail. Use insrdi
15795 rather than rlwimi.
15796 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15797 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15798 little-endian support. Correct typos.
15799 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15800 rather than rlwimi.
15801 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15802 in loop and entry code to keep "and." results.
15803 (strchr): Add little-endian support. Comment. Move cntlzd
15805 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15807 2013-10-04 Alan Modra <amodra@gmail.com>
15809 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15810 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15811 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15812 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15814 2013-10-04 Alan Modra <amodra@gmail.com>
15816 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15817 (rTMP): Define as r11.
15818 (strcmp): Add little-endian support. Optimise tail.
15819 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15820 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15821 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15822 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15823 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15824 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15825 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15827 2013-10-04 Alan Modra <amodra@gmail.com>
15829 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15830 little-endian support. Remove unnecessary "are we done" tests.
15831 Handle "s" wrapping around zero and extremely large "size".
15832 Correct main loop count. Handle single left-over word from main
15833 loop inline rather than by using small_loop. Correct comments.
15834 Delete "zero" tail, use "end_max" instead.
15835 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15837 2013-10-04 Alan Modra <amodra@gmail.com>
15839 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15840 support. Don't branch over align.
15841 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15842 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15843 support. Rearrange tmp reg use to suit. Comment.
15844 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15846 2013-10-04 Alan Modra <amodra@gmail.com>
15848 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15850 2013-10-04 Alan Modra <amodra@gmail.com>
15852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15853 conditional form of branch and link when obtaining pc.
15854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15856 2013-10-04 Alan Modra <amodra@gmail.com>
15858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15863 2013-10-04 Alan Modra <amodra@gmail.com>
15865 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15866 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15867 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15868 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15869 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15870 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15871 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15872 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15873 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15874 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15876 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15877 Alistair Popple <alistair@ozlabs.au.ibm.com>
15878 Alan Modra <amodra@gmail.com>
15881 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15882 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15883 _dl_hwcap access for little-endian.
15884 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15885 destroy vmx regs when saving unaligned.
15886 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15887 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15888 destroy vmx regs when saving unaligned.
15890 2013-10-04 Alan Modra <amodra@gmail.com>
15892 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15893 Don't use a union to pack hi/low value.
15895 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15897 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15899 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15900 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15901 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15902 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15903 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15905 2013-10-04 Alan Modra <amodra@gmail.com>
15907 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15908 constants to usual value for .cst8 section, and remove redundant
15910 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15911 constant for 0x1p52. Load little-endian words of double from
15912 correct stack offsets.
15914 2013-10-04 Alan Modra <amodra@gmail.com>
15916 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15917 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15918 words of double from correct stack offsets.
15919 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15920 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15921 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15922 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15923 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15924 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15925 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15926 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15927 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15928 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15929 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15930 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15931 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15932 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15933 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15934 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15935 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15937 2013-10-04 Alan Modra <amodra@gmail.com>
15939 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15940 64-bit int/double union.
15941 (_FPU_SETCW): Likewise.
15942 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15943 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15945 2013-10-04 Alan Modra <amodra@gmail.com>
15947 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15948 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15950 2013-10-04 Alan Modra <amodra@gmail.com>
15952 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15953 use vector int constants.
15954 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15956 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15958 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15959 array with long long.
15960 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15961 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15962 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15963 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15964 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15965 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15966 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15967 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15968 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15969 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15970 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15971 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15972 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15974 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15976 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15977 (__signbit): Likewise. Correct for little-endian.
15978 (__signbitl): Call __signbit.
15979 (lrint): Correct for little-endian.
15980 (lrintf): Call lrint.
15982 2013-10-04 Alan Modra <amodra@gmail.com>
15984 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15985 union 32-bit int array member with 64-bit int array.
15986 (t515, tm256): Double rather than long double.
15987 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15989 2013-10-04 Alan Modra <amodra@gmail.com>
15991 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15993 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15994 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15995 version of math_ldbl.h.
15997 2013-10-04 Alan Modra <amodra@gmail.com>
15999 [BZ #15734], [BZ #15735]
16000 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16001 all uses of ieee875 long double macros and unions. Simplify test
16002 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16003 ldbl_extract_mantissa value for ix,iy exponents. Properly
16004 normalize after ldbl_extract_mantissa, and don't add hidden bit
16005 already handled. Don't treat low word of ieee854 mantissa like
16006 low word of IBM long double and mask off bit when testing for
16008 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16009 all uses of ieee875 long double macros and unions. Simplify tests
16010 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16011 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16012 two1022, instead use their values. Recognise that tests for large
16013 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16014 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16015 Rewrite all uses of ieee875 long double macros and unions. Simplify
16016 test for 0.0L and nan. Correct negation.
16017 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16018 ieee875 long double macros and unions. Correct output for large
16019 magnitude x. Correct absolute value calculation.
16020 (__erfcl): Likewise.
16021 * math/libm-test.inc: Add tests for errors discovered in IBM long
16022 double versions of fmodl, remainderl, erfl and erfcl.
16024 2013-10-04 Alan Modra <amodra@gmail.com>
16026 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16027 all uses of ieee854 long double macros and unions. Simplify tests
16028 for long doubles that are fully specified by the high double.
16029 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16031 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16032 Remove dead code too.
16033 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16034 (__ieee754_ynl): Likewise.
16035 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16036 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16037 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16038 Remove dead code too.
16039 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16040 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16041 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16042 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16044 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16046 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16047 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16048 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16049 Comment on variable precision.
16050 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16051 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16053 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16054 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16055 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16056 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16057 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16059 2013-10-04 Alan Modra <amodra@gmail.com>
16061 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16062 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16063 all uses of ieee854 long double macros and unions.
16064 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16065 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16066 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16067 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16068 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16069 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16071 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16072 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16073 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16074 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16075 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16076 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16077 Simplify sign and nan test too.
16078 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16079 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16080 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16081 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16083 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16084 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16086 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16087 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16088 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16089 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16090 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16091 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16093 2013-10-04 Alan Modra <amodra@gmail.com>
16095 * stdio-common/printf_size.c (__printf_size): Don't use
16096 union ieee854_long_double in fpnum union.
16097 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16098 signbit macro to retrieve sign from long double.
16099 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16100 retrieve sign from long double.
16101 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16102 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16103 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16104 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16105 * math/test-misc.c (main): Don't use union ieee854_long_double.
16107 2013-10-04 Alan Modra <amodra@gmail.com>
16110 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16111 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16112 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16113 calculation. Remove unnecessary test for denormal exponent.
16114 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16115 Correct handling of denormals. Avoid undefined shift behaviour.
16116 Correct normalisation of low mantissa when low double is denormal.
16117 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16118 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16119 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16120 Correct normalisation of low mantissa. Test for overflow of high
16121 mantissa and normalise.
16122 (ldbl_nearbyint): Use more readable constant for two52.
16123 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16124 (__mpn_construct_long_double): Fix test for overflow of high
16125 mantissa and correct normalisation. Avoid undefined shift.
16127 2013-10-04 Alan Modra <amodra@gmail.com>
16129 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16130 (union ibm_extended_long_double): Define as an array of ieee754_double.
16131 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16132 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16133 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16134 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16135 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16136 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16137 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16138 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16139 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16140 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16141 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16143 2013-10-03 Joseph Myers <joseph@codesourcery.com>
16145 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16146 page size instead of calling getpagesize.
16148 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16149 (LOCFILE_ALIGN_MASK): Likewise.
16150 (LOCFILE_ALIGN_UP): Likewise.
16151 (LOCFILE_ALIGNED_P): Likewise.
16152 * locale/programs/ld-collate.c (collate_output): Use the new
16153 macros instead of __alignof__ (int32_t).
16154 * locale/weight.h (findidx): Likewise.
16156 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16159 * manual/string.texi: Fix strncat and wcsncat.
16161 2013-10-03 Brooks Moses <bmoses@google.com>
16164 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16165 * Makerules: ...here, and adjust associated comments.
16167 2013-10-02 Will Newton <will.newton@linaro.org>
16169 * malloc/Makefile: Add tst-pvalloc.
16170 * malloc/tst-pvalloc.c: New file.
16172 2013-10-02 Will Newton <will.newton@linaro.org>
16174 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16175 improve test coverage.
16177 2013-10-02 Will Newton <will.newton@linaro.org>
16179 * malloc/Makefile: Add tst-posix_memalign.
16180 * malloc/tst-posix_memalign.c: New file.
16182 2013-10-01 Eric Blake <eblake@redhat.com>
16184 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16185 Use __THROWNL rather than __THROW on static functions.
16187 2013-09-30 Petr Machata <pmachata@redhat.com>
16189 * elf/elf.h (R_AARCH64_ABS16): New macro.
16190 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16191 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16192 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16193 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16194 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16195 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16196 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16197 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16198 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16199 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16200 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16201 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16202 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16203 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16204 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16205 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16206 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16207 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16208 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16209 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16210 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16211 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16212 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16213 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16214 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16215 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16216 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16217 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16218 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16219 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16220 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16221 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16222 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16223 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16224 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16225 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16226 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16227 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16228 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16229 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16230 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16231 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16232 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16233 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16234 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16235 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16236 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16237 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16238 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16239 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16240 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16241 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16242 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16243 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16244 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16245 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16246 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16247 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16248 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16249 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16250 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16251 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16252 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16253 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16254 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16255 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16256 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16257 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16258 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16259 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16260 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16261 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16262 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16263 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16264 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16265 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16266 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16267 (R_AARCH64_TLSDESC_LDR): Likewise.
16268 (R_AARCH64_TLSDESC_ADD): Likewise.
16269 (R_AARCH64_TLSDESC_CALL): Likewise.
16271 2013-09-30 Andreas Schwab <schwab@suse.de>
16274 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16275 the nss database lookup.
16276 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16279 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16281 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16283 2013-09-28 P. J. McDermott <pj@pehjota.net>
16285 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16286 ${Bash-specific parameter/pattern/string} parameter expansion.
16287 * sysdeps/unix/make-syscalls.sh: Likewise.
16289 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16291 * sysdeps/sh/stackguard-macros.h: New file.
16293 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
16295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16296 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16297 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16298 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16299 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16300 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16302 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16304 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16305 Fix thread ID register.
16307 2013-09-25 Joseph Myers <joseph@codesourcery.com>
16309 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16310 [POSIX || UNIX98]: Require rather than permitting all symbols from
16312 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16313 element of struct sched_param.
16314 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16315 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16316 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16317 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16320 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16322 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16323 argument calculation.
16325 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16327 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16329 [POSIX] (pthread_attr_t): Do not require type.
16330 [POSIX] (pthread_cond_t): Likewise.
16331 [POSIX] (pthread_condattr_t): Likewise.
16332 [POSIX] (pthread_key_t): Likewise.
16333 [POSIX] (pthread_mutex_t): Likewise.
16334 [POSIX] (pthread_mutexattr_t): Likewise.
16335 [POSIX] (pthread_once_t): Likewise.
16336 [POSIX] (pthread_t): Likewise.
16337 [POSIX-based standards] (pthread_atfork): Expect function.
16339 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16340 Richard Sandiford <richard@codesourcery.com>
16342 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16343 (swap_endianness_p): New extern variable.
16344 (set_big_endian): New inline function.
16345 (maybe_swap_uint32): Likewise.
16346 (maybe_swap_uint32_array): Likewise.
16347 (maybe_swap_uint32_obstack): Likewise.
16348 * locale/programs/locfile.c: Include <stdbool.h>.
16349 (swap_endianness_p): New variable.
16350 (add_locale_uint32): Call maybe_swap_uint32.
16351 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16352 (write_locale_data): Call maybe_swap_uint32_array.
16353 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16355 (obstack_int32_grow_fast): Likewise.
16356 (output_weightwc): Call maybe_swap_uint32_obstack.
16357 (collate_output): Likewise.
16358 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16359 (OPT_LITTLE_ENDIAN): Likewise.
16360 (options): Add --little-endian and --big-endian options.
16361 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16362 * locale/programs/locarchive.c: Include "locfile.h".
16366 (create_archive): Use the new macros to access fields of
16367 structures directly mapped from or written to locale archives.
16368 (oldlocrecentcmp): Likewise.
16369 (enlarge_archive): Likewise.
16370 (insert_name): Likewise.
16371 (add_alias): Likewise.
16372 (add_locale): Likewise.
16373 (delete_locales_from_archive): Likewise.
16374 (show_archive_content): Likewise.
16375 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16378 2013-09-24 Roland McGrath <roland@hack.frob.com>
16380 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16381 http://www.gnu.org/doc/freemanuals.texi.
16382 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16384 2013-09-24 Will Newton <will.newton@linaro.org>
16386 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16389 2013-09-23 Joseph Myers <joseph@codesourcery.com>
16391 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16394 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16396 * manual/threads.texi (POSIX Threads): Fix a typo.
16398 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16401 * string/tst-strcoll-overflow.c: New test case.
16402 * string/Makefile (xtests): Add tst-strcoll-overflow.
16403 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16404 cache if string sizes may cause integer overflow.
16407 * string/strcoll_l.c (coll_seq): New members rule, idx,
16408 save_idx and back_us.
16409 (get_next_seq_nocache): New function.
16410 (do_compare_nocache): New function.
16411 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16414 2013-09-23 Carlos O'Donell <carlos@redhat.com>
16417 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16418 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16419 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16422 * elf/Makefile (tests): Add tst-ptrguard1.
16423 (tests-static): Add tst-ptrguard1-static.
16424 (tst-ptrguard1-ARGS): Define.
16425 (tst-ptrguard1-static-ARGS): Define.
16426 * elf/tst-ptrguard1.c: New file.
16427 * elf/tst-ptrguard1-static.c: New file.
16428 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16429 * sysdeps/i386/stackguard-macros.h: Likewise.
16430 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16431 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16432 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16433 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16434 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16435 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16437 2013-09-23 Hector Marco <hecmargi@upv.es>
16438 Ismael Ripoll <iripoll@disca.upv.es>
16439 Carlos O'Donell <carlos@redhat.com>
16442 * sysdeps/generic/stackguard-macros.h: Define
16443 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16444 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16445 Define __pointer_chk_guard_local.
16446 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16447 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16449 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16452 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16454 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16456 * include/string.h (__ffs): Declare as hidden.
16457 * string/ffs.c (__ffs): Define as hidden.
16458 * sysdeps/i386/ffs.c (__ffs): Likewise.
16459 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16460 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16461 * sysdeps/s390/ffs.c (__ffs): Likewise.
16462 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16464 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16466 * NEWS: Mention malloc probes.
16468 * malloc/arena.c (new_heap): New memory_heap_new probe.
16469 (grow_heap): New memory_heap_more probe.
16470 (shrink_heap): New memory_heap_less probe.
16471 (heap_trim): New memory_heap_free probe.
16472 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16473 (systrim): New memory_sbrk_less probe.
16474 * manual/probes.texi: Document them.
16476 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16477 * manual/probes.texi: Document it.
16479 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16480 (__libc_realloc): Add memory_realloc_retry probe.
16481 (__libc_memalign): Add memory_memalign_retry probe.
16482 (__libc_valloc): Add memory_valloc_retry probe.
16483 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16484 (__libc_calloc): Add memory_calloc_retry probe.
16485 * manual/probes.texi: Document them.
16487 * malloc/arena.c (get_free_list): Add probe
16488 memory_arena_reuse_free_list.
16489 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16490 and memory_arena_reuse.
16491 (arena_get2) [!PER_THREAD]: Likewise.
16492 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16493 memory_arena_reuse_realloc.
16494 * manual/probes.texi: Document them.
16496 * malloc/malloc.c (__libc_free): Add
16497 memory_mallopt_free_dyn_thresholds probe.
16498 (__libc_mallopt): Add multiple memory_mallopt probes.
16499 * manual/probes.texi: Document them.
16501 * malloc/malloc.c: Include stap-probe.h.
16502 (__libc_mallopt): Add memory_mallopt probe.
16503 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16504 * manual/probes.texi: New.
16505 * manual/Makefile (chapters): Add probes.
16506 * manual/threads.texi: Set next node.
16508 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16510 [BZ #15963, #13985]
16511 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16512 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16513 Add `Chinese' to `nan' entry name.
16515 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16517 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16518 (POLYNOMIAL): Likewise.
16519 (TAYLOR_SINCOS): Likewise.
16520 (TAYLOR_SLOW): Likewise.
16521 (__sin): Use TAYLOR_SINCOS.
16523 (slow): Use TAYLOR_SLOW.
16525 (bsloww): Likewise.
16526 (csloww): Likewise.
16528 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16530 * stdlib/strtod_l.c: Fix buffer overrun.
16532 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16534 * benchtests/Makefile (bench): Add sincos.
16535 * benchtests/bench-sincos.c: New file.
16537 * math/libm-test.inc (cos_test_data): New test inputs.
16538 (sin_test_data): Likewise.
16540 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16546 (sloww1): Likewise.
16547 (sloww2): Likewise.
16548 (bsloww1): Likewise.
16549 (bsloww2): Likewise.
16550 (cslow2): Likewise.
16551 (csloww1): Likewise.
16552 (csloww2): Likewise.
16554 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16559 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16563 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16565 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16566 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16567 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16568 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16569 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16570 * elf/cache.c (print_entry): Handle the new cache flags.
16572 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16573 Aldy Hernandez <aldyh@redhat.com>
16575 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16576 Change condition to [_SOFT_FLOAT].
16577 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16578 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16579 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16580 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16581 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16582 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16583 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16584 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16585 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16586 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16587 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16588 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16589 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16590 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16591 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16592 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16595 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16597 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16598 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16599 (__longjmp): Use LOAD_GP to load saved GPRs.
16600 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16601 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16602 (__sigsetjmp): Use SAVE_GP to save GPRs.
16604 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16605 Do not append -msoft-float.
16606 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16608 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16610 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16612 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16615 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16616 (_FPU_GETCW): Use initial "__" on variable and field names but not
16617 on macro parameter name.
16618 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16619 parentheses around reference to macro parameter.
16621 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16623 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16625 (ctype_startup): Use uint32_t in cast and sizeof for
16628 2013-09-11 Jia Liu <proljc@gmail.com>
16630 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16632 [__FreeBSD__]: Likewise.
16634 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16636 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16637 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16638 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16639 (strchr): Remove __strchr_sse42 ifunc selection.
16640 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16641 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16643 2013-09-11 Will Newton <will.newton@linaro.org>
16645 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16646 parameter to RES. Remove hardcoded 1000 value.
16647 * benchtests/bench-skeleton.c (main): Pass RES parameter
16648 to TIMING_INIT and multiply result by 1000.
16650 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16654 2013-09-11 Andreas Schwab <schwab@suse.de>
16656 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16658 (O_TMPFILE) [__USE_GNU]: Define.
16659 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16662 2013-09-11 Will Newton <will.newton@linaro.org>
16665 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16668 2013-09-11 Will Newton <will.newton@linaro.org>
16671 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16674 2013-09-11 Will Newton <will.newton@linaro.org>
16677 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16680 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16682 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16683 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16684 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16685 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16686 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16688 2013-09-10 Allan McRae <allan@archlinux.org>
16691 * manual/arith.texi (Parsing of Floats): Clarify
16695 * manual/install.texi (Running make install): Mention
16697 * INSTALL: Regenerated.
16699 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16701 * csu/init-first.c (_init): Remove the !SHARED condition around
16702 FPU control word initialization.
16703 * elf/dl-support.c (_dl_fpu_control): New variable.
16704 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16705 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16706 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16707 * math/test-fpucw-static.c: New file.
16708 * math/test-fpucw-ieee.c: New file.
16709 * math/test-fpucw-ieee-static.c: New file.
16710 * math/Makefile (tests): Add `test-fpucw-ieee' and
16712 (tests-static): New variable.
16713 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16715 [($(build-shared),yes)]
16716 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16718 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16721 2013-09-09 Allan McRae <allan@archlinux.org>
16724 * manual/string.texi (Collation Functions): Fix typo in
16726 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16729 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16732 * libio/memstream.c (open_memstream): Fix memory leak.
16733 * libio/wmemstream.c (open_wmemstream): Likewise.
16736 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16738 2013-09-09 Will Newton <will.newton@linaro.org>
16740 * malloc/Makefile: Add tst-realloc to tests.
16741 * malloc/tst-realloc.c: New file.
16743 2013-09-09 Allan McRae <allan@archlinux.org>
16746 * COPYING: Update from GNU website to fix FSF address.
16747 * COPYING.LIB: Likewise.
16749 2013-09-06 David S. Miller <davem@davemloft.net>
16751 * po/zh_TW.po: Update Chinese (traditional) translation from
16752 translation project.
16754 2013-09-06 Richard Sandiford <richard@codesourcery.com>
16755 Joseph Myers <joseph@codesourcery.com>
16757 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16759 (obstack_chunk_alloc): New macro.
16760 (obstack_chunk_free): Likewise.
16761 (record_offset): New function.
16762 (init_locale_data): Likewise.
16763 (align_locale_data): Likewise.
16764 (add_locale_empty): Likewise.
16765 (add_locale_raw_data): Likewise.
16766 (add_locale_raw_obstack): Likewise.
16767 (add_locale_string): Likewise.
16768 (add_locale_wstring): Likewise.
16769 (add_locale_uint32): Likewise.
16770 (add_locale_uint32_array): Likewise.
16771 (add_locale_char): Likewise.
16772 (start_locale_structure): Likewise.
16773 (end_locale_structure): Likewise.
16774 (start_locale_prelude): Likewise.
16775 (end_locale_prelude): Likewise.
16776 (write_locale_data): Take locale_file structure rather than an
16778 * locale/programs/locfile.h: Include "obstack.h".
16779 (struct locale_file): Change to store locale file contents instead
16781 (init_locale_data): New prototype.
16782 (align_locale_data): Likewise.
16783 (add_locale_empty): Likewise.
16784 (add_locale_raw_data): Likewise.
16785 (add_locale_raw_obstack): Likewise.
16786 (add_locale_string): Likewise.
16787 (add_locale_wstring): Likewise.
16788 (add_locale_uint32): Likewise.
16789 (add_locale_uint32_array): Likewise.
16790 (add_locale_char): Likewise.
16791 (start_locale_structure): Likewise.
16792 (end_locale_structure): Likewise.
16793 (start_locale_prelude): Likewise.
16794 (end_locale_prelude): Likewise.
16795 (write_locale_data): Update prototype.
16796 * locale/programs/3level.h (struct TABLE): Remove result field.
16797 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16798 Use new locale_file interface.
16799 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16800 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16801 * locale/programs/ld-address.c (address_output): Use new
16802 locale_file interface.
16803 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16805 (collate_finish): Don't call collseq_table_finalize.
16806 (collate_output): Use new locale_file interface.
16807 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16809 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16810 (TABLE): Move defines earlier in file.
16811 (ELEMENT): Likewise.
16812 (DEFAULT): Likewise.
16813 (wctrans_table_add): Move macro and inline function earlier in
16815 (struct wctype_table): Move type earlier in file.
16816 (add_locale_wctype_table): New static prototype.
16817 (struct locale_ctype_t): Use logical types instead of struct iovec
16818 pointers for members.
16819 (ctype_output): Use new locale_file interface.
16820 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16821 new locale_file interface.
16822 (allocate_arrays): Update for use of new locale_file interface.
16823 * locale/programs/ld-identification.c (identification_output): Use
16824 new locale_file interface.
16825 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16826 * locale/programs/ld-messages.c (messages_output): Likewise.
16827 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16828 * locale/programs/ld-name.c (name_output): Likewise.
16829 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16830 * locale/programs/ld-paper.c (paper_output): Likewise.
16831 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16832 * locale/programs/ld-time.c (time_output): Likewise.
16834 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16836 * benchtests/Makefile: Add memrchr benchmark.
16837 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16838 benchmark as memrchr.
16839 * benchtests/bench-memrchr-ifunc.c: New file.
16840 * benchtests/bench-memrchr.c: New file.
16842 2013-09-06 Will Newton <will.newton@linaro.org>
16844 * benchtests/Makefile (string-bench): Add memcpy.
16846 2013-09-05 Carlos O'Donell <carlos@redhat.com>
16847 Cong Wang <amwang@redhat.com>
16850 * sysdeps/unix/sysv/linux/bits/in.h
16851 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16852 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16853 before __USE_KERNEL_IPV6_DEFS uses.
16854 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16856 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16857 sockaddr_in6, or ipv6_mreq.
16859 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16861 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16862 memory access for final bytes in some large inputs.
16863 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16865 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16867 * string/test-memrchr.c: New file.
16868 * string/test-memrchr-ifunc.c: New file.
16869 * string/Makefile: Add new memrchr testcase.
16871 2013-09-05 Mike Frysinger <vapier@gentoo.org>
16873 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16874 fanotify_init returns EPERM.
16876 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16878 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16880 (top level): Treat second token from macro or constant entries for
16881 allowed headers as allowed.
16882 * include/complex.h: Condition internal declarations on
16884 * include/fenv.h: Condition include of <stdbool.h> and internal
16885 declarations on [!_ISOMAC].
16887 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16890 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16892 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16894 * configure.in (--enable-versioning): Remove configure option.
16895 (libc_cv_asm_symver_directive): Remove configure test.
16896 (libc_cv_ld_version_script_option): Likewise.
16897 (VERSIONING): Remove variable and AC_SUBST.
16898 (DO_VERSIONING): Remove AC_DEFINE.
16899 * configure: Regenerated.
16900 * config.h.in (DO_VERSIONING): Remove macro.
16901 * Makerules [$(versioning) = yes]: Change conditionals to
16902 [$(build-shared) = yes].
16903 * config.make.in (versioning): Remove variable.
16904 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16905 [$(build-shared) = yes].
16906 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16907 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16908 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16909 [$(build-shared) = yes].
16910 * extra-lib.mk [$(versioning) = yes]: Likewise.
16911 * hurd/Makefile [$(versioning) = yes]: Likewise.
16912 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16914 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16916 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16917 [SHARED && !NO_HIDDEN].
16918 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16920 [SHARED && DO_VERSIONING]: Likewise..
16921 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16922 [$(build-shared) = yes].
16923 * manual/install.texi (--disable-versioning): Remove
16925 * INSTALL: Regenerated.
16926 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16928 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16929 [$(build-shared) = yes].
16930 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16931 * sysdeps/i386/i686/multiarch/strstr-c.c
16932 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16933 [SHARED && !NO_HIDDEN].
16934 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16935 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16936 * sysdeps/powerpc/powerpc32/dl-machine.c
16937 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16938 * sysdeps/powerpc/powerpc32/sysdep.h
16939 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16940 to [SHARED && PIC && !NO_HIDDEN].
16941 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16942 conditional to [SHARED].
16944 2013-09-04 Will Newton <will.newton@linaro.org>
16946 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16947 * benchtests/bench-string.h: Include bench-timing.h instead
16948 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16949 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16950 call to HP_TIMING_DIFF_INIT.
16951 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16952 instead of hp-timing.h macros.
16953 * benchtests/bench-memchr.c: Likewise.
16954 * benchtests/bench-memcmp.c: Likewise.
16955 * benchtests/bench-memcpy.c: Likewise.
16956 * benchtests/bench-memmem.c: Likewise.
16957 * benchtests/bench-memmove.c: Likewise.
16958 * benchtests/bench-memset.c: Likewise.
16959 * benchtests/bench-rawmemchr.c: Likewise.
16960 * benchtests/bench-strcasecmp.c: Likewise.
16961 * benchtests/bench-strcasestr.c: Likewise.
16962 * benchtests/bench-strcat.c: Likewise.
16963 * benchtests/bench-strchr.c: Likewise.
16964 * benchtests/bench-strcmp.c: Likewise.
16965 * benchtests/bench-strcpy.c: Likewise.
16966 * benchtests/bench-strcpy_chk.c: Likewise.
16967 * benchtests/bench-strlen.c: Likewise.
16968 * benchtests/bench-strncasecmp.c: Likewise.
16969 * benchtests/bench-strncat.c: Likewise.
16970 * benchtests/bench-strncmp.c: Likewise.
16971 * benchtests/bench-strncpy.c: Likewise.
16972 * benchtests/bench-strnlen.c: Likewise.
16973 * benchtests/bench-strpbrk.c: Likewise.
16974 * benchtests/bench-strrchr.c: Likewise.
16975 * benchtests/bench-strspn.c: Likewise.
16976 * benchtests/bench-strstr.c: Likewise.
16978 2013-09-04 Will Newton <will.newton@linaro.org>
16980 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16982 2013-09-03 Joseph Myers <joseph@codesourcery.com>
16985 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16986 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16987 * math/libm-test.inc (lgamma_test_data): Add more tests.
16988 * sysdeps/i386/fpu/libm-test-ulps: Update.
16989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16991 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
16993 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16994 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16996 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16997 Add strcmp-sse2-unaligned
16998 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17000 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17002 * Versions.def (libc): Add GLIBC_2.19.
17004 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17006 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17007 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17009 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17012 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17013 intermediate calculations in recurrence.
17014 (__ieee754_ynf): Likewise.
17015 * math/libm-test.inc (jn_test_data): Do not allow spurious
17016 underflow exception. Add more tests.
17017 (yn_test_data): Add more tests.
17018 * sysdeps/i386/fpu/libm-test-ulps: Update.
17019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17021 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17023 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17025 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17027 * csu/init-first.c: Fix then/than typos.
17028 * locale/programs/ld-collate.c: Likewise.
17029 * locale/programs/linereader.h: Likewise.
17030 * manual/charset.texi: Likewise.
17031 * manual/filesys.texi: Likewise.
17032 * manual/stdio.texi: Likewise.
17033 * manual/string.texi: Likewise.
17034 * stdlib/fmtmsg.c: Likewise.
17035 * sysdeps/i386/stpncpy.S: Likewise.
17036 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17037 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17038 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17039 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17041 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17043 * elf/dl-open.c: Fix typos.
17044 * iconvdata/gbbig5.c: Likewise.
17045 * iconvdata/iso-2022-jp.c: Likewise.
17046 * iconv/gconv_int.h: Likewise.
17047 * iconv/loop.c: Likewise.
17048 * nis/rpcsvc/nis.h: Likewise.
17049 * resolv/ns_name.c: Likewise.
17050 * stdio-common/vfscanf.c: Likewise.
17051 * streams/stropts.h: Likewise.
17052 * sunrpc/rpc_thread.c: Likewise.
17053 * sysdeps/i386/strpbrk.S: Likewise.
17054 * sysdeps/ieee754/k_standard.c: Likewise.
17055 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17056 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17057 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17058 * sysdeps/mach/hurd/profil.c: Likewise.
17059 * sysdeps/s390/dl-procinfo.h: Likewise.
17060 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17061 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17062 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17063 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17064 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17066 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17068 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17069 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17071 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17073 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17074 aix specific files.
17075 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17076 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17077 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17078 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17079 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17080 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17081 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17082 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17084 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17085 Roland McGrath <roland@hack.frob.com>
17087 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17088 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17090 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17092 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17093 __executable_start symbol instead of _start.
17095 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17097 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17098 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17100 * sysdeps/gnu/ldsodefs.h: ... this new file.
17102 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17103 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17104 instead of ELFOSABI_LINUX.
17106 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17107 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17108 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17109 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17111 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17112 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17113 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17115 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17116 (ibm_extended_long_double): Add ieee_nan member.
17117 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17118 (do_test): New function.
17120 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17122 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17123 functions, renamed from truncdfsf_test, trunctfsf_test,
17125 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17127 (do_test): Run all these.
17129 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17131 * argp/argp-help.c: Fix typos.
17132 * argp/argp-parse.c: Likewise.
17133 * debug/backtracesyms.c: Likewise.
17134 * elf/elf.h: Likewise.
17135 * malloc/malloc.c: Likewise.
17136 * nis/nis_print.c: Likewise.
17137 * resolv/res_comp.c: Likewise.
17138 * stdlib/stdlib.h: Likewise.
17139 * sunrpc/clnt_tcp.c: Likewise.
17140 * sunrpc/clnt_udp.c: Likewise.
17141 * sunrpc/clnt_unix.c: Likewise.
17142 * sysdeps/unix/bsd/ptsname.c: Likewise.
17143 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17144 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17151 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17153 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17155 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17156 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17158 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17161 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17162 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17163 ($(objpfx)bug-dl-leaf): New rule.
17164 ($(objpfx)bug-dl-leaf.so): Likewise.
17165 ($(objpfx)bug-dl-leaf.out): Likewise.
17166 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17167 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17168 * dlfcn/bug-dl-leaf.c: New test.
17169 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17170 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17171 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17172 (dlclose): Likewise.
17173 (dlmopen): Likewise.
17175 2013-08-27 Roland McGrath <roland@hack.frob.com>
17177 * include/netdb.h [!_ISOMAC]:
17178 Don't include <tls.h>.
17179 (h_errno, __libc_h_errno): Move declaration and macros out of
17182 * include/resolv.h [_RESOLV_H_]:
17183 Don't include <tls.h>.
17184 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17185 * resolv/res_libc.c: Don't include <tls.h>.
17186 (_res): Use __attribute__ ((nocommon)) in place of
17187 __attribute__ ((section (".bss"))).
17189 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17190 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17192 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17194 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17195 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17197 * resolv/res_mkquery.c: Include <sys/time.h>.
17199 * inet/ifreq.c: Moved to ...
17200 * sysdeps/unix/ifreq.c: ... here.
17201 * inet/ifreq.c: New file, true stub version.
17203 * socket/sa_len.c: New file.
17204 * socket/Makefile (aux): Add it.
17205 * sysdeps/unix/sysv/linux/Makefile
17206 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17207 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17208 and #include <socket/sa_len.c>.
17209 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17210 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17212 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17213 * bits/socket.h: ... here.
17215 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17216 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17217 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17219 2013-08-27 Andreas Schwab <schwab@suse.de>
17222 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17223 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17224 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17225 * string/test-strcasecmp.c (test_main): Run tests in several
17227 * string/test-strncasecmp.c (test_main): Likewise.
17229 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17230 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17231 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17232 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17233 (__strncasecmp_ssse3) [PIC]: Likewise.
17235 2013-08-26 Roland McGrath <roland@hack.frob.com>
17237 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17239 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17240 instead of explicitly declaring xdecrypt.
17241 * nis/nss_nis/nis-publickey.c: Likewise.
17243 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17246 * nscd/aicache.c: Include res_hconf.h.
17247 (addhstaiX): Initialize res_hconf.
17249 2013-08-26 Andreas Schwab <schwab@suse.de>
17251 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17252 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17254 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17256 * nscd/aicache.c (addhstaiX): Fix indentation.
17258 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17260 * configure.ac: Quote $build_pt_chown test.
17261 * configure: Regenerated.
17263 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17266 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17267 * math/s_cexpf.c (__cexpf): Likewise.
17268 * math/s_cexpl.c (__cexpl): Likewise.
17269 * math/libm-test.inc (cexp_test_data): Correct expected return
17270 value for NaN + i0. Add another test.
17272 2013-08-22 David S. Miller <davem@davemloft.net>
17274 * po/ca.po: Update Catalan translation from translation project.
17275 * po/uk.po: Add Ukrainian translations from translation project.
17277 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17280 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17281 is infinite, not alongside NaN test.
17282 * math/s_fdimf.c (__fdimf): Likewise.
17283 * math/s_fdiml.c (__fdiml): Likewise.
17284 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17285 errno is unchanged.
17287 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17289 * argp/argp-help.c: Fix typos.
17290 * crypt/speeds.c: Likewise.
17291 * csu/check_fds.c: Likewise.
17292 * elf/dl-load.c: Likewise.
17293 * elf/dl-open.c: Likewise.
17294 * elf/reldep3.c: Likewise.
17295 * elf/reldep.c: Likewise.
17296 * elf/sprof.c: Likewise.
17297 * iconv/iconv_charmap.c: Likewise.
17298 * iconv/skeleton.c: Likewise.
17299 * iconv/strtab.c: Likewise.
17300 * io/lockf64.c: Likewise.
17301 * libio/libioP.h: Likewise.
17302 * resolv/gai_notify.c: Likewise.
17303 * resolv/ns_name.c: Likewise.
17304 * resolv/ns_samedomain.c: Likewise.
17305 * resolv/res_send.c: Likewise.
17306 * stdlib/random.c: Likewise.
17307 * sunrpc/rpc/xdr.h: Likewise.
17308 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17309 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17310 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17311 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17312 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17313 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17314 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17315 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17316 * sysdeps/mach/hurd/check_fds.c: Likewise.
17317 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17318 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17319 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17320 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17321 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17322 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17323 * sysdeps/pthread/aio_notify.c: Likewise.
17324 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17325 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17326 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17327 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17328 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17330 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17332 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17333 version if bit_Slow_SSE4_2 is set.
17334 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17335 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17337 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17340 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17341 trampoline stack frame information.
17342 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17343 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17344 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17345 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17346 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17347 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17348 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17349 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17351 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17352 interrupting a syscall and set with option SA_SIGINFO.
17354 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17357 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17358 argument is infinite.
17359 * math/s_cprojf.c (__cprojf): Likewise.
17360 * math/s_cprojl.c (__cprojl): Likewise.
17361 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17362 * math/libm-test.inc (cproj_test_data): Add more tests.
17364 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17366 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17367 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17368 size. Use __ffs to determine corresponding shift.
17370 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17371 Roland McGrath <roland@hack.frob.com>
17373 * Makefile (INSTALL): Remove trailing blank lines from output of
17376 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17378 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17379 Align 32 bit compat elf_greg to 8 bytes.
17381 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17383 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17385 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17387 * string/strcoll_l.c (coll_seq): New structure.
17388 (get_next_seq_cached): New function.
17389 (get_next_seq): New function.
17390 (do_compare): New function.
17391 (STRCOLL): Use GNU style definition. Simplify implementation
17392 by using get_next_seq, get_next_seq_cached and do_compare.
17394 2013-08-16 Florian Weimer <fweimer@redhat.com>
17398 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17400 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17402 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17403 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17404 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17406 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17407 GETDENTS_64BIT_ALIGNED.
17408 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17409 * manual/filesys.texi (Reading/Closing Directory): Document
17410 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17412 * manual/conf.texi (Limits for Files): Add portability note to
17413 NAME_MAX, PATH_MAX.
17414 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17416 2013-08-13 Andreas Schwab <schwab@suse.de>
17419 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17421 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17422 LDBL_MAX_EXP >= 16384]: Add tests for it.
17424 2013-08-12 David S. Miller <davem@davemloft.net>
17426 * version.h (RELEASE): Set to "development".
17427 (VERSION): Set to "2.18.90".
17428 * NEWS: Add 2.19 section.
17430 2013-08-03 David S. Miller <davem@davemloft.net>
17432 * po/ko.po: Update Korean translation from translation project.
17434 2013-08-01 David S. Miller <davem@davemloft.net>
17436 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17437 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17440 2013-07-30 David S. Miller <davem@davemloft.net>
17442 * po/fr.po: Update French translation from translation project.
17444 2013-07-28 David S. Miller <davem@davemloft.net>
17446 * po/cs.po: Update Czech translation from translation project.
17448 * po/sv.po: Update Swedish translation from translation project.
17450 2013-07-27 David S. Miller <davem@davemloft.net>
17452 * po/eo.po: Update Esperanto translation from translation project.
17454 * po/vi.po: Update Vietnamese translation from translation project.
17456 * po/de.po: Update German translation from translation project.
17458 2013-07-26 David S. Miller <davem@davemloft.net>
17460 * po/bg.po: Update Bulgarian translation from translation project.
17462 * po/nl.po: Update Dutch translation from translation project.
17463 * po/pl.po: Update Polish translation from translation project.
17464 * po/ru.po: Update Russian translation from translation project.
17466 2013-07-24 David S. Miller <davem@davemloft.net>
17468 * po/libc.pot: Update.
17470 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17472 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17473 variable page size.
17474 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17475 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17476 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17478 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17480 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17482 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17483 Andreas Schwab <schwab@suse.de>
17484 Roland McGrath <roland@hack.frob.com>
17485 Joseph Myers <joseph@codesourcery.com>
17486 Carlos O'Donell <carlos@redhat.com>
17489 * config.h.in: Define HAVE_PT_CHOWN.
17490 * config.make.in (build-pt-chown): New variable.
17491 * configure.in (--enable-pt_chown): New configure option.
17492 * configure: Regenerate.
17493 * login/Makefile: Include Makeconfig. Build pt_chown only if
17494 build-pt-chown is enabled.
17495 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17496 pt_chown to fix pty ownership.
17497 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17499 * manual/install.texi (Configuring and compiling): Mention
17500 --enable-pt_chown. Add @findex for grantpt.
17501 * INSTALL: Regenerate.
17503 2013-07-20 David S. Miller <davem@davemloft.net>
17505 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17506 difference between 32-bit and 64-bit.
17508 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17511 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17512 Avoid system header dependency with -ffreestanding.
17513 ($(objpfx)bits/syscall%d): Likewise.
17515 2013-07-13 David S. Miller <davem@davemloft.net>
17517 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17518 underflows from atanl/atan2l due to bug 15319.
17519 (casinh_test_data): Likewise.
17521 2013-07-07 David S. Miller <davem@davemloft.net>
17523 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17525 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17527 * sysdeps/i386/fpu/libm-test-ulps: Update.
17528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17530 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17532 * configure.in (--enable-lock-elision): Fix message text.
17533 * INSTALL: Regenerate.
17534 * configure: Regenerate.
17536 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17540 2013-07-03 Andreas Jaeger <aj@suse.de>
17542 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17544 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17545 (ptrace_peeksiginfo_args): Add.
17546 (__ptrace_peeksiginfo_flags): Add.
17547 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17548 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17549 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17551 2013-07-03 Allan McRae <allan@archlinux.org>
17553 * sysdeps/i386/fpu/libm-test-ulps: Update.
17555 2013-07-02 David S. Miller <davem@davemloft.net>
17557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17559 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17561 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17563 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17565 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17568 2013-07-02 Andi Kleen <ak@linux.intel.com>
17570 * config.h.in (ENABLE_LOCK_ELISION): Add.
17571 * configure.in (--enable-lock-elision): Add option.
17572 * manual/install.texi: Document --enable lock elision.
17573 * configure: Regenerate
17574 * INSTALL: Regenerate.
17576 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17578 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17579 SSE4.2 strcasecmp for libc.a.
17580 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17582 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17585 * soft-fp/op-common.h (_FP_FMA): New macro.
17586 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17587 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17588 (_FP_MUL_MEAT_1_imm): ... here.
17589 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17590 (_FP_MUL_MEAT_1_wide): ... here.
17591 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17592 (_FP_MUL_MEAT_1_hard): ... here.
17593 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17594 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17595 (_FP_MUL_MEAT_2_wide): ... here.
17596 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17597 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17598 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17599 (_FP_MUL_MEAT_2_gmp): ... here.
17600 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17601 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17602 (_FP_MUL_MEAT_4_wide): ... here.
17603 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17604 (_FP_MUL_MEAT_4_gmp): ... here.
17605 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17606 (_FP_WFRACBITS_DW_S): Likewise.
17607 (_FP_WFRACXBITS_DW_S): Likewise.
17608 (_FP_HIGHBIT_DW_S): Likewise.
17609 (FP_FMA_S): Likewise.
17610 (_FP_FRAC_HIGH_DW_S): Likewise.
17611 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17612 (_FP_WFRACBITS_DW_D): Likewise.
17613 (_FP_WFRACXBITS_DW_D): Likewise.
17614 (_FP_HIGHBIT_DW_D): Likewise.
17615 (FP_FMA_D): Likewise.
17616 (_FP_FRAC_HIGH_DW_D): Likewise.
17617 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17618 (_FP_WFRACBITS_DW_E): Likewise.
17619 (_FP_WFRACXBITS_DW_E): Likewise.
17620 (_FP_HIGHBIT_DW_E): Likewise.
17621 (FP_FMA_E): Likewise.
17622 (_FP_FRAC_HIGH_DW_E): Likewise.
17623 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17624 (_FP_WFRACBITS_DW_Q): Likewise.
17625 (_FP_WFRACXBITS_DW_Q): Likewise.
17626 (_FP_HIGHBIT_DW_Q): Likewise.
17627 (FP_FMA_Q): Likewise.
17628 (_FP_FRAC_HIGH_DW_Q): Likewise.
17629 * soft-fp/fmasf4.c: New file.
17630 * soft-fp/fmadf4.c: Likewise.
17631 * soft-fp/fmatf4.c: Likewise.
17633 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17635 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17636 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17638 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17640 (index_Slow_SSE4_2): Likewise.
17641 (index_Prefer_PMINUB_for_stringop): Likewise.
17642 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17643 bit_Slow_SSE4_2 is set.
17644 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17645 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17647 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17649 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17650 rtld_global._dl_hwcap2.
17651 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17653 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17654 POWER8 feature descriptions defined in _dl_hwcap2.
17655 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17656 string handling for POWER8 feature bits.
17657 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17658 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17659 _dl_powerpc_cap_flags.
17660 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17661 * sysdeps/powerpc/rtld-global-offsets.sym
17662 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17663 _dl_hwcap2 in the rtld_global_ro structure.
17665 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17667 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17668 hardware capabilities in support of AT_HWCAP2.
17669 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17670 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17672 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17673 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17674 explicitly the unknown a_type display mechanism is used.
17675 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17676 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17678 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17679 to macro prototype for AT_HWCAP2 support.
17680 * sysdeps/i386/dl-procinfo.h: Likewise.
17681 * sysdeps/s390/dl-procinfo.h: Likewise.
17682 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17683 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17684 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17685 return -1 for unknown a_type display fallback.
17686 * sysdeps/sparc/dl-procinfo.h: Likewise.
17687 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17688 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17690 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17692 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17693 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17695 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17698 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17699 mprotect making __stack_prot writable.
17701 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17702 Joseph Myers <joseph@codesourcery.com>
17704 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17705 as being properly aligned.
17707 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17709 * dlfcn/modstatic5.c: New file.
17710 * dlfcn/tststatic5.c: New file.
17711 * dlfcn/Makefile (tests): Add tststatic5.
17712 (tests-static): Likewise.
17713 (modules-names): Add modstatic5.
17714 (tststatic5-ENV): New variable.
17715 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17718 * elf/dl-support.c (_dl_main_map): New variable.
17719 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17720 (_dl_nns, _dl_load_adds): Set to 1.
17721 (_dl_initial_searchlist): Refer to _dl_main_map.
17722 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17723 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17724 call to _dl_get_origin.
17725 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17727 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17728 * dlfcn/modstatic3.c: New file.
17729 * dlfcn/tststatic3.c: New file.
17730 * dlfcn/tststatic4.c: New file.
17731 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17732 (tests-static): Likewise.
17733 (modules-names): Add modstatic3.
17734 (tststatic3-ENV, tststatic4-ENV): New variables.
17735 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17736 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17738 2013-06-26 Joseph Myers <joseph@codesourcery.com>
17740 * configure.in (CC): Require GCC version 4.4 or later.
17741 * configure: Regenerated.
17742 * manual/install.texi (Tools for Compilation): Update GCC version
17744 * INSTALL: Regenerated.
17746 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17749 * string/test-memcmp.c (check2): New.
17750 (main): Call check2.
17752 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17754 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17757 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17759 (dl_open_worker) [!SHARED]: ... here.
17761 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17763 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17765 2013-06-25 Richard Henderson <rth@redhat.com>
17767 * locale/programs/locarchive.c: Include <libc-internal.h>
17769 2013-06-25 Joseph Myers <joseph@codesourcery.com>
17771 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17772 trailing whitespace removed.
17774 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17777 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17778 * locale/programs/locarchive.c: Include libc-mmap.h.
17779 (prepare_address_space): Take two new outputs (the mmap base and len).
17780 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17782 (create_archive): Declare new mmap base and len values for
17783 prepare_address_space, and store the result in ah.
17784 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17785 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17786 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17787 Declare new mmap base and len values for
17788 prepare_address_space, and store the result in new_ah.
17789 (open_archive): Declare new mmap base and len values for
17790 prepare_address_space, and store the result in ah.
17791 (close_archive): If ah->mmap_base is not NULL, use that and
17792 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17793 * sysdeps/generic/libc-mmap.h: New file.
17795 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17797 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17798 (ALIGN_UP): Likewise.
17799 (PTR_ALIGN_DOWN): Likewise.
17800 (PTR_ALIGN_UP): Likewise.
17802 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17804 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17805 entry mapped to PPC_PLATFORM_POWER8.
17806 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17808 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17809 (_dl_string_platform): Add case for exporting platform position for
17811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17812 search path to sysdeps/powerpc/powerpc32/power8 directory.
17813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17814 search path to sysdeps/powerpc/powerpc64/power8 directory.
17815 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17816 power7 directories.
17817 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17818 power7 directories.
17820 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17822 * INSTALL: Regenerate.
17824 * nscd/connections.c (nscd_init): Fix comment.
17826 2013-06-22 Joseph Myers <joseph@codesourcery.com>
17828 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17831 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17832 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17834 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17836 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17838 (DL_DST_REQ_STATIC): Remove macro.
17840 2013-06-21 Joseph Myers <joseph@codesourcery.com>
17843 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17844 with a shift of 0 bits.
17846 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17848 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17851 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17854 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17856 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17858 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17859 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17860 accepts -fno-tree-loop-distribute-patterns.
17861 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17862 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17864 * string/memset.c (memset): Likewise.
17865 * string/test-memmove.c (simple_memmove): Disable loop transformation
17867 * string/test-memset.c (simple_memset): Likewise.
17868 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17869 * benchtests/bench-memset.c (simple_memset): Likewise.
17870 * configure: Regenerated.
17872 2013-06-20 Joseph Myers <joseph@codesourcery.com>
17874 * math/test-misc.c (main): Ignore fesetround failure when failures
17875 of subsequent rounding tests would be ignored.
17878 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17879 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17880 * math/fegetenv.c (__fegetenv): Return 0.
17881 * math/fegetexcept.c (fegetexcept): Return 0.
17882 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17884 * math/feholdexcpt.c (feholdexcept): Return 0.
17885 * math/fesetenv.c (__fesetenv): Return 0.
17886 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17887 argument FE_TONEAREST.
17888 * math/feupdateenv.c (__feupdateenv): Return 0.
17889 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17891 2013-06-18 Roland McGrath <roland@hack.frob.com>
17893 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17894 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17895 ($(objpfx)rtld-%.os rules): Use them.
17897 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17899 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17902 2013-06-17 Roland McGrath <roland@hack.frob.com>
17904 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17905 length of target pattern, then descending length of dependency pattern.
17906 * configure.in (AWK): Require gawk 3.1.2 or newer.
17907 * manual/install.texi (Tools for Compilation): Say that we do.
17908 * configure: Regenerated.
17910 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17911 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17912 * scripts/sysd-rules.awk: ... this new script.
17913 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17914 than a glob-style pattern.
17916 2013-06-17 Joseph Myers <joseph@codesourcery.com>
17918 * math/test-misc.c (main): Do not treat incorrectly rounded
17919 conversions as failure unless ROUNDING_TESTS passes.
17921 2013-06-15 Joseph Myers <joseph@codesourcery.com>
17924 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17925 restore exception state around main square root computation, then
17926 check for inexactness explicitly.
17928 * math/libm-test.inc (fma_test_data): Add another test.
17930 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17932 * manual/threads.texi (Non-POSIX Extensions): New document
17933 node. Document pthread_getattr_default_np and
17934 pthread_setattr_default_np.
17936 * Versions.def (libpthread): Add GLIBC_2.18.
17937 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17946 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17957 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17960 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17962 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17963 H.J. Lu <hjl.tools@gmail.com>
17966 * sysdeps/x86_64/rtld-memset.c: Remove file.
17967 * sysdeps/x86_64/rtld-memset.S: New file.
17969 2013-06-14 Joseph Myers <joseph@codesourcery.com>
17971 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17972 (test_in_one_mode): Take arguments for whether the rounding mode
17973 is supported for each floating-point type.
17974 (do_test): Pass new arguments to test_in_one_mode using
17977 2013-06-13 Roland McGrath <roland@hack.frob.com>
17979 * posix/tst-waitid.c (do_test): Distinguish different instances of
17980 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17981 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17982 before entering the kernel for waitpid.
17984 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17986 * NEWS: Fix note on clock function precision. Text by Roland
17989 2013-06-13 Roland McGrath <roland@hack.frob.com>
17991 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17992 it into place only when and if the sanity check passes.
17994 2013-06-13 Joseph Myers <joseph@codesourcery.com>
17996 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17997 output for whether conversion result is exact. Take argument
17998 indicating whether type is IBM long double.
17999 (round_for_all): Change need_exact field to ibm_ld.
18000 * stdlib/tst-strtod-round.c (struct exactness): New type.
18001 (struct test): Change bool ld_ok field to struct exactness exact.
18002 (TEST): Update all definitions for change to field.
18003 (tests): Regenerate array contents.
18004 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18005 field value. Check for IBM long double here.
18006 (do_test): Update calls to test_in_one_mode.
18008 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18011 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18012 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18014 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18017 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18018 generated by the compiler on loop optimizations.
18019 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18020 general definitions.
18022 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18024 * math/bug-nextafter.c: Include <math-tests.h>.
18025 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18027 * math/bug-nexttoward.c: Include <math-tests.h>.
18028 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18030 * math/test-misc.c: Include <math-tests.h>.
18031 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18034 2013-06-12 Andreas Jaeger <aj@suse.de>
18036 * po/ia.po: Update Interlingua translation from translation
18039 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18041 * include/fenv.h: Include stdbool.h.
18042 (struct rm_ctx): New structure.
18043 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18045 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18046 (SET_RESTORE_ROUNDF): Likewise.
18047 (SET_RESTORE_ROUNDL): Likewise.
18048 (SET_RESTORE_ROUND_NOEX): Likewise.
18049 (SET_RESTORE_ROUND_NOEXF): Likewise.
18050 (SET_RESTORE_ROUND_NOEXL): Likewise.
18051 (SET_RESTORE_ROUND_53BIT): Likewise.
18052 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18053 (libc_feresetround_noexf_ctx): Likewise.
18054 (libc_feresetround_noexl_ctx): Likewise.
18055 (libc_feholdsetround_53bit_ctx): Likewise.
18056 (libc_feresetround_53bit_ctx): Likewise.
18057 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18058 (libc_feholdexcept_setround_sse_ctx): New function.
18059 (libc_fesetenv_sse_ctx): Likewise.
18060 (libc_feupdateenv_sse_ctx): Likewise.
18061 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18062 (libc_feholdexcept_setround_387_ctx): Likewise.
18063 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18064 (libc_feholdsetround_387_prec_ctx): Likewise.
18065 (libc_feholdsetround_387_ctx): Likewise.
18066 (libc_feholdsetround_387_53bit_ctx): Likewise.
18067 (libc_feholdsetround_sse_ctx): Likewise.
18068 (libc_feresetround_sse_ctx): Likewise.
18069 (libc_feresetround_387_ctx): Likewise.
18070 (libc_feupdateenv_387_ctx): Likewise.
18071 (libc_feholdexcept_setroundf_ctx): Define macro.
18072 (libc_fesetenvf_ctx): Likewise.
18073 (libc_feupdateenvf_ctx): Likewise.
18074 (libc_feholdsetroundf_ctx): Likewise.
18075 (libc_feresetroundf_ctx): Likewise.
18076 (libc_feholdexcept_setround_ctx): Likewise.
18077 (libc_fesetenv_ctx): Likewise.
18078 (libc_feupdateenv_ctx): Likewise.
18079 (libc_feholdsetround_ctx): Likewise.
18080 (libc_feresetround_ctx): Likewise.
18081 (libc_feholdexcept_setroundl_ctx): Likewise.
18082 (libc_feupdateenvl_ctx): Likewise.
18083 (libc_feholdsetroundl_ctx): Likewise.
18084 (libc_feresetroundl_ctx): Likewise.
18085 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18086 (libc_feresetround_53bit_ctx): Likewise.
18088 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18090 * locale/iso-639.def: Convert to UTF-8.
18092 2013-06-11 Joseph Myers <joseph@codesourcery.com>
18094 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18095 (EXCEPTION_TESTS_double): Likewise.
18096 (EXCEPTION_TESTS_long_double): Likewise.
18097 (EXCEPTION_TESTS): Likewise.
18098 * math/libm-test.inc (test_exceptions): Only test exceptions if
18099 EXCEPTION_TESTS (FLOAT).
18101 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18103 * benchtests/Makefile (string-bench): Add strcpy_chk and
18105 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18106 * benchtests/bench-stpcpy_chk.c: New file.
18107 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18108 * benchtests/bench-strcpy_chk.c: New file.
18109 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18111 (do_test): Likewise.
18113 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18115 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18116 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18117 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18118 with tabs where appropriate.
18119 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18121 [PPC_PLATFORM_PPC440]: Likewise.
18122 [PPC_PLATFORM_PPC464]: Likewise.
18123 [PPC_PLATFORM_PPC476]: Likewise.
18124 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18125 ppc464, and ppc476 platform strings merging from ports/
18128 2013-06-11 Andreas Schwab <schwab@suse.de>
18131 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18132 (from_ucs4_idx): Regenerate.
18133 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18134 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18135 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18136 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18137 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18138 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18139 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18140 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18141 from FROM_LOOP and TO_LOOP specific macros.
18142 (BODY): Handle combining characters.
18143 * iconvdata/BIG5HKSCS.irreversible: Update.
18144 * iconvdata/BIG5HKSCS.precomposed: New file.
18145 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18147 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18149 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18151 * include/sys/time.h: Fix indentation and add copyright header.
18153 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18154 (do_test): Likewise.
18155 * string/test-memchr.c (do_one_test): Likewise.
18156 (do_test): Likewise.
18157 * string/test-memcmp.c (do_one_test): Likewise.
18158 (do_test): Likewise.
18159 * string/test-memcpy.c (do_one_test): Likewise.
18160 (do_test): Likewise.
18161 * string/test-memmem.c (do_one_test): Likewise.
18162 (do_test): Likewise.
18163 (do_random_tests): Likewise.
18164 * string/test-memmove.c (do_one_test): Likewise.
18165 (do_test): Likewise.
18166 * string/test-memset.c (do_one_test): Likewise.
18167 (do_test): Likewise.
18168 * string/test-rawmemchr.c (do_one_test): Likewise.
18169 (do_test): Likewise.
18170 * string/test-strcasecmp.c (do_one_test): Likewise.
18171 (do_test): Likewise.
18172 * string/test-strcasestr.c (do_one_test): Likewise.
18173 (do_test): Likewise.
18174 * string/test-strcat.c (do_one_test): Likewise.
18175 (do_test): Likewise.
18176 * string/test-strchr.c (do_one_test): Likewise.
18177 (do_test): Likewise.
18178 * string/test-strcmp.c (do_one_test): Likewise.
18179 (do_test): Likewise.
18180 * string/test-strcpy.c (do_one_test): Likewise.
18181 (do_test): Likewise.
18182 * string/test-string.h: Likewise.
18183 (test_init): Likewise.
18184 * string/test-strlen.c (do_one_test): Likewise.
18185 (do_test): Likewise.
18186 * string/test-strncasecmp.c (do_one_test): Likewise.
18187 (do_test): Likewise.
18188 * string/test-strncat.c (do_one_test): Likewise.
18189 (do_test): Likewise.
18190 * string/test-strncmp.c (do_one_test): Likewise.
18191 (do_test_limit): Likewise.
18192 (do_test): Likewise.
18193 * string/test-strncpy.c (do_one_test): Likewise.
18194 (do_test): Likewise.
18195 * string/test-strnlen.c (do_one_test): Likewise.
18196 (do_test): Likewise.
18197 * string/test-strpbrk.c (do_one_test): Likewise.
18198 (do_test): Likewise.
18199 * string/test-strrchr.c (do_one_test): Likewise.
18200 (do_test): Likewise.
18201 * string/test-strspn.c (do_one_test): Likewise.
18202 (do_test): Likewise.
18203 * string/test-strstr.c (do_one_test): Likewise.
18204 (do_test): Likewise.
18206 * benchtests/Makefile (string-bench): Add string benchmarks.
18207 * benchtests/bench-bcopy-ifunc.c: New file.
18208 * benchtests/bench-bcopy.c: New file.
18209 * benchtests/bench-bzero-ifunc.c: New file.
18210 * benchtests/bench-bzero.c: New file.
18211 * benchtests/bench-memccpy-ifunc.c: New file.
18212 * benchtests/bench-memccpy.c: New file.
18213 * benchtests/bench-memchr-ifunc.c: New file.
18214 * benchtests/bench-memchr.c: New file.
18215 * benchtests/bench-memcmp-ifunc.c: New file.
18216 * benchtests/bench-memcmp.c: New file.
18217 * benchtests/bench-memmem-ifunc.c: New file.
18218 * benchtests/bench-memmem.c: New file.
18219 * benchtests/bench-memmove-ifunc.c: New file.
18220 * benchtests/bench-memmove.c: New file.
18221 * benchtests/bench-mempcpy-ifunc.c: New file.
18222 * benchtests/bench-mempcpy.c: New file.
18223 * benchtests/bench-memset-ifunc.c: New file.
18224 * benchtests/bench-memset.c: New file.
18225 * benchtests/bench-rawmemchr-ifunc.c: New file.
18226 * benchtests/bench-rawmemchr.c: New file.
18227 * benchtests/bench-stpcpy-ifunc.c: New file.
18228 * benchtests/bench-stpcpy.c: New file.
18229 * benchtests/bench-stpncpy-ifunc.c: New file.
18230 * benchtests/bench-stpncpy.c: New file.
18231 * benchtests/bench-strcasecmp-ifunc.c: New file.
18232 * benchtests/bench-strcasecmp.c: New file.
18233 * benchtests/bench-strcasestr-ifunc.c: New file.
18234 * benchtests/bench-strcasestr.c: New file.
18235 * benchtests/bench-strcat-ifunc.c: New file.
18236 * benchtests/bench-strcat.c: New file.
18237 * benchtests/bench-strchr-ifunc.c: New file.
18238 * benchtests/bench-strchr.c: New file.
18239 * benchtests/bench-strchrnul-ifunc.c: New file.
18240 * benchtests/bench-strchrnul.c: New file.
18241 * benchtests/bench-strcmp-ifunc.c: New file.
18242 * benchtests/bench-strcmp.c: New file.
18243 * benchtests/bench-strcpy-ifunc.c: New file.
18244 * benchtests/bench-strcpy.c: New file.
18245 * benchtests/bench-strcspn-ifunc.c: New file.
18246 * benchtests/bench-strcspn.c: New file.
18247 * benchtests/bench-strlen-ifunc.c: New file.
18248 * benchtests/bench-strlen.c: New file.
18249 * benchtests/bench-strncasecmp-ifunc.c: New file.
18250 * benchtests/bench-strncasecmp.c: New file.
18251 * benchtests/bench-strncat-ifunc.c: New file.
18252 * benchtests/bench-strncat.c: New file.
18253 * benchtests/bench-strncmp-ifunc.c: New file.
18254 * benchtests/bench-strncmp.c: New file.
18255 * benchtests/bench-strncpy-ifunc.c: New file.
18256 * benchtests/bench-strncpy.c: New file.
18257 * benchtests/bench-strnlen-ifunc.c: New file.
18258 * benchtests/bench-strnlen.c: New file.
18259 * benchtests/bench-strpbrk-ifunc.c: New file.
18260 * benchtests/bench-strpbrk.c: New file.
18261 * benchtests/bench-strrchr-ifunc.c: New file.
18262 * benchtests/bench-strrchr.c: New file.
18263 * benchtests/bench-strspn-ifunc.c: New file.
18264 * benchtests/bench-strspn.c: New file.
18265 * benchtests/bench-strstr-ifunc.c: New file.
18266 * benchtests/bench-strstr.c: New file.
18268 * benchtests/Makefile: Disable parallel execution of targets.
18269 (string-bench): Add memcpy.
18270 (benchset): New variable to store a list of benchmark sets.
18271 (bench-func): Renamed from bench.
18272 (bench-set): New target.
18273 (bench): Depend on bench-func and bench-set.
18274 * benchtests/README: Add section on benchmark sets.
18275 * benchtests/bench-memcpy-ifunc.c: New file.
18276 * benchtests/bench-memcpy.c: New file.
18277 * benchtests/bench-string.h: New file.
18279 2013-06-11 Andreas Schwab <schwab@suse.de>
18282 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18283 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18284 values in the triple.
18285 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18286 terminator in the group key.
18288 2013-06-11 Andreas Jaeger <aj@suse.de>
18290 * po/zh_TW.po: Update Chinese (traditional) translation from
18291 translation project.
18293 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18295 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18296 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18297 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18298 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18299 (clock_getcpuclockid): Likewise.
18300 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18301 Add weak_alias and libc_hidden_def.
18302 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18303 * rt/clock_gettime.c (clock_gettime): Rename to
18304 __clock_gettime. Add weak_alias and libc_hidden_def.
18305 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18306 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18307 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18308 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18309 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18311 * rt/clock_settime.c (clock_settime): Rename to
18312 __clock_settime. Add weak_alias and libc_hidden_def.
18313 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18315 2013-06-10 Joseph Myers <joseph@codesourcery.com>
18317 * mach/err_boot.sub: Remove trailing whitespace.
18318 * mach/err_ipc.sub: Likewise.
18319 * mach/err_mach.sub: Likewise.
18321 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18322 (ROUNDING_TESTS_double): Likewise.
18323 (ROUNDING_TESTS_long_double): Likewise.
18324 (ROUNDING_TESTS): Likewise.
18325 * math/libm-test.inc: Include <math-tests.h>.
18326 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18327 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18328 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18329 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18331 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18333 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18336 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18338 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18339 otherwise empty TRANS lines.
18340 * sysdeps/gnu/errlist.c: Regenerated.
18342 * catgets/gencat.c (error_print): Use (void) in function
18344 * crypt/crypt_util.c (__init_des): Likewise.
18345 * crypt/speeds.c (Stop): Likewise.
18347 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18348 * inet/ruserpass.c (token): Likewise.
18349 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18350 * intl/localealias.c (extend_alias_table): Likewise.
18351 * intl/plural-exp.c (init_germanic_plural): Likewise.
18352 * libio/fcloseall.c (__fcloseall): Likewise.
18353 * libio/genops.c (_IO_flush_all): Likewise.
18354 (_IO_flush_all_linebuffered): Likewise.
18355 (_IO_cleanup): Likewise.
18356 (_IO_iter_begin): Likewise.
18357 (_IO_iter_end): Likewise.
18358 (_IO_list_lock): Likewise.
18359 (_IO_list_unlock): Likewise.
18360 (_IO_list_resetlock): Likewise.
18361 * libio/getchar.c (getchar): Likewise.
18362 * libio/getchar_u.c (getchar_unlocked): Likewise.
18363 * libio/getwchar.c (getwchar): Likewise.
18364 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18365 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18366 * login/getpt.c (__getpt): Likewise.
18367 * login/tst-utmp.c (main): Likewise.
18368 * malloc/hooks.c (__malloc_check_init): Likewise.
18369 * malloc/malloc.c (__malloc_stats): Likewise.
18370 * malloc/mtrace.c (tr_break): Likewise.
18371 (mtrace): Likewise.
18372 (muntrace): Likewise.
18373 * misc/fstab.c (endfsent): Likewise.
18374 * misc/getclktck.c (__getclktck): Likewise.
18375 * misc/getdtsz.c (__getdtablesize): Likewise.
18376 * misc/gethostid.c (gethostid): Likewise.
18377 * misc/getpagesize.c (__getpagesize): Likewise.
18378 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18379 (__get_nprocs): Likewise.
18380 (__get_phys_pages): Likewise.
18381 (__get_avphys_pages): Likewise.
18382 * misc/getttyent.c (getttyent): Likewise.
18383 (setttyent): Likewise.
18384 (endttyent): Likewise.
18385 * misc/getusershell.c (getusershell): Likewise.
18386 (endusershell): Likewise.
18387 (setusershell): Likewise.
18388 (initshells): Likewise.
18389 * misc/hsearch.c (__hdestroy): Likewise.
18390 * misc/sync.c (sync): Likewise.
18391 * misc/syslog.c (closelog_internal): Likewise.
18392 (closelog): Likewise.
18393 * misc/ttyslot.c (ttyslot): Likewise.
18394 * misc/vhangup.c (vhangup): Likewise.
18395 * posix/fork.c (__fork): Likewise.
18396 * posix/getegid.c (__getegid): Likewise.
18397 * posix/geteuid.c (__geteuid): Likewise.
18398 * posix/getgid.c (__getgid): Likewise.
18399 * posix/getpid.c (__getpid): Likewise.
18400 * posix/getppid.c (__getppid): Likewise.
18401 * posix/getuid.c (__getuid): Likewise.
18402 * posix/pause.c (pause): Likewise.
18403 * posix/setpgrp.c (setpgrp): Likewise.
18404 * posix/setsid.c (__setsid): Likewise.
18405 * posix/test-vfork.c (noop): Likewise.
18406 * resolv/gethnamaddr.c (_endhtent): Likewise.
18407 (_gethtent): Likewise.
18408 (ht_endhostent): Likewise.
18409 (gethostent): Likewise.
18410 (dns_service): Likewise.
18411 * stdlib/drand48.c (drand48): Likewise.
18412 * stdlib/lrand48.c (lrand48): Likewise.
18413 * stdlib/mrand48.c (mrand48): Likewise.
18414 * stdlib/rand.c (rand): Likewise.
18415 * stdlib/random.c (__random): Likewise.
18416 * stdlib/setenv.c (clearenv): Likewise.
18417 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18418 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18419 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18420 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18421 (__get_nprocs): Likewise.
18422 (__get_phys_pages): Likewise.
18423 (__get_avphys_pages): Likewise.
18424 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18425 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18426 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18427 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18428 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18429 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18430 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18431 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18432 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18433 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18434 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18435 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18436 * sysdeps/posix/clock.c (clock): Likewise.
18437 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18438 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18439 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18440 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18441 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18442 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18443 (__get_nprocs_conf): Likewise.
18444 (__get_phys_pages): Likewise.
18445 (__get_avphys_pages): Likewise.
18446 * time/clock.c (clock): Likewise.
18447 * time/tzset.c (__tzname_max): Likewise.
18449 2013-06-07 Joseph Myers <joseph@codesourcery.com>
18451 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18452 (__bswap_32): Do not use "register".
18453 * crypt/crypt.c (_ufc_doit_r): Likewise.
18454 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18455 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18456 * gmon/gmon.c (__monstartup): Likewise.
18457 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18458 * hurd/hurdmalloc.c (more_memory): Likewise.
18459 (malloc): Likewise.
18461 (realloc): Likewise.
18462 (malloc_fork_prepare): Likewise.
18463 (malloc_fork_parent): Likewise.
18464 (malloc_fork_child): Likewise.
18465 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18466 (_svcauth_des): Likewise.
18467 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18468 * inet/inet_net.c (inet_network): Likewise.
18469 * inet/inet_netof.c (inet_netof): Likewise.
18470 * inet/rcmd.c (__validuser2_sa): Likewise.
18471 * io/fts.c (fts_open): Likewise.
18472 (fts_load): Likewise.
18473 (fts_close): Likewise.
18474 (fts_read): Likewise.
18475 (fts_children): Likewise.
18476 (fts_build): Likewise.
18477 (fts_stat): Likewise.
18478 (fts_sort): Likewise.
18479 (fts_alloc): Likewise.
18480 (fts_lfree): Likewise.
18481 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18482 (_IO_file_xsgetn): Likewise.
18483 (_IO_file_xsgetn_mmap): Likewise.
18484 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18485 (_IO_cookie_write): Likewise.
18486 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18487 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18488 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18489 * malloc/obstack.c (_obstack_begin): Likewise.
18490 (_obstack_begin_1): Likewise.
18491 (_obstack_newchunk): Likewise.
18492 (_obstack_allocated_p): Likewise.
18493 (obstack_free): Likewise.
18494 (_obstack_memory_used): Likewise.
18495 * misc/getttyent.c (getttynam): Likewise.
18496 (getttyent): Likewise.
18499 * misc/getusershell.c (initshells): Likewise.
18500 * misc/syslog.c (__vsyslog_chk): Likewise.
18501 * misc/ttyslot.c (ttyslot): Likewise.
18502 * nis/nis_hash.c (__nis_hash): Likewise.
18503 * posix/fnmatch_loop.c (FCT): Likewise.
18504 * posix/getconf.c (print_all): Likewise.
18506 * posix/getopt.c (exchange): Likewise.
18507 * posix/glob.c (globfree): Likewise.
18508 (prefix_array): Likewise.
18509 (__glob_pattern_type): Likewise.
18510 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18511 (NS_GET32): Likewise.
18512 (NS_PUT16): Likewise.
18513 (NS_PUT32): Likewise.
18514 * resolv/gethnamaddr.c (getanswer): Likewise.
18515 (gethostbyname2): Likewise.
18516 (gethostbyaddr): Likewise.
18517 (_gethtent): Likewise.
18518 (_gethtbyname2): Likewise.
18519 (_gethtbyaddr): Likewise.
18520 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18521 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18522 * resolv/res_init.c (__res_vinit): Likewise.
18523 (net_mask): Likewise.
18524 * resolv/res_mkquery.c (outchar): Likewise.
18526 * stdio-common/printf_fp.c (outchar): Likewise.
18528 * stdio-common/printf_fphex.c (outchar): Likewise.
18530 * stdio-common/printf_size.c (outchar): Likewise.
18532 * stdio-common/test_rdwr.c (main): Likewise.
18533 * stdio-common/tfformat.c (matches): Likewise.
18534 * stdio-common/vfprintf.c (outchar): Likewise.
18535 (printf_unknown): Likewise.
18536 (buffered_vfprintf): Likewise.
18537 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18538 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18539 (ReadFile): Likewise.
18540 * stdlib/qsort.c (SWAP): Likewise.
18541 (_quicksort): Likewise.
18542 * stdlib/setenv.c (__add_to_environ): Likewise.
18543 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18544 * stdlib/strtol_l.c (__strtol_l): Likewise.
18545 * stdlib/tst-strtod.c (main): Likewise.
18546 * stdlib/tst-strtol.c (main): Likewise.
18547 * stdlib/tst-strtoll.c (main): Likewise.
18548 * string/bits/string2.h (__strcmp_cc): Likewise.
18549 (__strcmp_cg): Likewise.
18550 (__strcspn_c1): Likewise.
18551 (__strcspn_c2): Likewise.
18552 (__strcspn_c3): Likewise.
18553 (__strspn_c1): Likewise.
18554 (__strspn_c2): Likewise.
18555 (__strspn_c3): Likewise.
18556 (__strsep_1c): Likewise.
18557 (__strsep_2c): Likewise.
18558 (__strsep_3c): Likewise.
18559 * string/memccpy.c (__memccpy): Likewise.
18560 * string/stpcpy.c (__stpcpy): Likewise.
18561 * string/strcmp.c (strcmp): Likewise.
18562 * string/strrchr.c (strrchr): Likewise.
18563 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18565 * sysdeps/mach/hurd/getcwd.c
18566 (_hurd_canonicalize_directory_name_internal): Likewise.
18567 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18568 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18569 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18570 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18571 Likewise, in both definitions.
18572 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18574 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18575 64] (__bswap_64): Likewise.
18576 * time/test_time.c (main): Likewise.
18577 * time/tzfile.c (__tzfile_read): Likewise.
18578 (__tzfile_compute): Likewise.
18579 * time/tzset.c (__tzset_parse_tz): Likewise.
18580 (tzset_internal): Likewise.
18581 (compute_change): Likewise.
18582 * wcsmbs/wcscat.c (__wcscat): Likewise.
18583 * wcsmbs/wcschr.c (wcschr): Likewise.
18584 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18585 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18586 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18587 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18588 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18589 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18590 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18591 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18592 * wcsmbs/wmemset.c (wmemset): Likewise.
18594 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18596 * scripts/config.guess: Update to version 2013-05-16.
18597 * scripts/config.sub: Update to version 2013-04-24.
18598 * scripts/install-sh: Update to version 2011-11-20.07.
18599 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18600 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18602 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18604 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18605 * elf/sln.c: Likewise.
18606 * hurd/hurd/ioctl.h: Likewise.
18607 * hurd/hurdmalloc.c: Likewise.
18608 * hurd/xattr.c: Likewise.
18609 * include/shlib-compat.h: Likewise.
18610 * inet/ruserpass.c: Likewise.
18611 * libio/iofgets_u.c: Likewise.
18612 * libio/iofgetws_u.c: Likewise.
18613 * locale/programs/ld-identification.c: Likewise.
18614 * locale/programs/ld-time.c: Likewise.
18615 * mach/msg-destroy.c: Likewise.
18616 * nss/nss_files/files-netgrp.c: Likewise.
18617 * resolv/res_data.c: Likewise.
18618 * soft-fp/op-1.h: Likewise.
18619 * soft-fp/op-2.h: Likewise.
18620 * soft-fp/op-4.h: Likewise.
18621 * soft-fp/op-common.h: Likewise.
18622 * stdio-common/printf_fphex.c: Likewise.
18623 * stdlib/strtod_l.c: Likewise.
18624 * sunrpc/rpc/clnt.h: Likewise.
18625 * sysdeps/generic/framestate.c: Likewise.
18626 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18627 * sysdeps/i386/bsd-setjmp.S: Likewise.
18628 * sysdeps/i386/__longjmp.S: Likewise.
18629 * sysdeps/i386/setjmp.S: Likewise.
18630 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18631 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18632 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18633 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18634 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18635 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18636 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18637 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18638 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18639 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18640 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18641 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18642 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18643 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18644 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18645 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18646 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18647 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18648 * sysdeps/ieee754/support.c: Likewise.
18649 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18650 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18651 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18652 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18653 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18654 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18655 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18656 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18657 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18658 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18659 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18660 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18661 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18662 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18663 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18664 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18665 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18668 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18670 * posix/transbug.c: Remove executable mode.
18672 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18674 * crypt/speeds.c: Remove trailing whitespace.
18675 * dlfcn/default.c: Likewise.
18676 * elf/ifuncdep2.c: Likewise.
18677 * elf/ifuncmain1.c: Likewise.
18678 * elf/ifuncmain1vis.c: Likewise.
18679 * elf/testobj.h: Likewise.
18680 * elf/tst-stackguard1.c: Likewise.
18681 * gmon/sys/gmon.h: Likewise.
18682 * hurd/hurdmsg.c: Likewise.
18683 * hurd/new-fd.c: Likewise.
18684 * hurd/ports-get.c: Likewise.
18685 * iconvdata/ibm1008_420.c: Likewise.
18686 * inet/tst-getni1.c: Likewise.
18687 * inet/tst-getni2.c: Likewise.
18688 * libio/ioungetc.c: Likewise.
18689 * libio/wfiledoalloc.c: Likewise.
18690 * manual/libm-err-tab.pl: Likewise.
18691 * math/w_dremf.c: Likewise.
18692 * misc/ftruncate.c: Likewise.
18693 * posix/bug-glob2.c: Likewise.
18694 * posix/tst-pcre.c: Likewise.
18695 * posix/wait4.c: Likewise.
18696 * resolv/README: Likewise.
18697 * resolv/res_debug.h: Likewise.
18698 * resolv/tst-inet_ntop.c: Likewise.
18699 * setjmp/bug269-setjmp.c: Likewise.
18700 * soft-fp/extended.h: Likewise.
18701 * soft-fp/op-1.h: Likewise.
18702 * soft-fp/op-2.h: Likewise.
18703 * soft-fp/op-4.h: Likewise.
18704 * soft-fp/op-8.h: Likewise.
18705 * soft-fp/testit.c: Likewise.
18706 * stdio-common/bug16.c: Likewise.
18707 * stdlib/random.c: Likewise.
18708 * sunrpc/rpcsvc/rquota.x: Likewise.
18709 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18710 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18711 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18712 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18713 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18714 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18715 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18716 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18717 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18718 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18719 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18720 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18721 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18722 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18723 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18724 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18725 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18726 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18727 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18728 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18729 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18730 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18731 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18732 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18733 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18734 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18735 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18736 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18737 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18738 * sysdeps/ieee754/s_lib_version.c: Likewise.
18739 * sysdeps/mach/hurd/check_fds.c: Likewise.
18740 * sysdeps/mach/hurd/getsockname.c: Likewise.
18741 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18742 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18743 * sysdeps/powerpc/bits/link.h: Likewise.
18744 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18745 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18746 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18747 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18748 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18749 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18750 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18751 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18752 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18753 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18754 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18755 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18756 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18757 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18758 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18759 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18760 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18761 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18762 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18763 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18764 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18765 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18766 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18767 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18768 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18769 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18770 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18771 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18772 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18773 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18774 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18775 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18776 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18777 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18778 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18779 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18780 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18781 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18782 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18783 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18784 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18785 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18786 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18787 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18788 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18789 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18790 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18791 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18792 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18793 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18794 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18795 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18796 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18797 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18798 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18799 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18800 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18801 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18802 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18803 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18804 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18805 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18806 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18807 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18808 * sysdeps/powerpc/sysdep.h: Likewise.
18809 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18810 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18811 * sysdeps/sh/dl-trampoline.S: Likewise.
18812 * sysdeps/sh/memset.S: Likewise.
18813 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18814 * sysdeps/sh/strlen.S: Likewise.
18815 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18816 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18817 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18818 * sysdeps/sparc/sparc32/rem.S: Likewise.
18819 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18820 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18821 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18822 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18823 * sysdeps/sparc/sparc32/urem.S: Likewise.
18824 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18825 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18826 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18827 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18828 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18829 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18830 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18831 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18832 * sysdeps/unix/bsd/times.c: Likewise.
18833 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18834 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18838 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18839 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18840 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18841 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18842 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18843 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18844 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18845 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18846 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18847 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18848 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18849 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18850 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18851 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18852 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18853 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18854 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18855 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18856 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18857 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18858 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18859 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18860 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18861 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18862 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18863 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18864 * sysdeps/x86_64/strcspn.S: Likewise.
18866 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18868 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18869 generated file. Regenerate properly from gen-translit.pl.
18870 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18871 locale/C-translit.h.
18873 2013-06-05 Andreas Schwab <schwab@suse.de>
18876 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18877 week as 6 instead of -1.
18878 * time/tst-strptime.c (day_tests): Add test case.
18880 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18882 * sysdeps/generic/math_private.h
18883 (libc_feholdexcept_setround_53bit): Replace with
18884 libc_feholdsetround_53bit.
18885 (libc_feupdateenv_53bit): Replace with
18886 libc_feresetround_53bit.
18887 (SET_RESTORE_ROUND_53BIT): Adjust.
18889 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18891 * string/test-strchrnul.c: Add copyright header.
18893 * posix/tst-getaddrinfo4.c: Increase test timeout.
18895 2013-06-03 Carlos O'Donell <carlos@redhat.com>
18898 * math/libm-test.inc (MAX_EXP): Remove
18900 (ulp): Use MIN_EXP - MANT_DIG.
18901 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18903 2013-05-31 Carlos O'Donell <carlos@redhat.com>
18905 * po/be.po: Revert last change.
18906 * po/zh_CN.po: Likewise.
18907 * po/header.pot: Likewise.
18909 2013-05-31 Joseph Myers <joseph@codesourcery.com>
18911 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18912 link-libc-deps to empty as target-specific variable.
18913 * Makerules (link-libc-args): New variable.
18914 (libc-for-link): Likewise.
18915 (link-libc-deps): Likewise.
18916 (lib%.so): Depend on $(link-libc-deps). Link with
18918 (build-module): Link with $(link-libc-args).
18919 (build-module-asneeded): Likewise.
18920 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18922 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18923 target-specific variable.
18924 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18925 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18926 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18928 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18930 ($(objpfx)libpcprofile.so): Likewise.
18931 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18933 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18934 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18935 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18937 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18938 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18939 * login/Makefile ($(objpfx)libutil.so): Likewise.
18940 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18941 * math/Makefile ($(objpfx)libm.so): Likewise.
18942 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18943 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18944 variable instead of depending directly on libc.
18945 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18946 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18948 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18950 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18951 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18952 ($(objpfx)libanl.so): Likewise.
18953 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18955 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18957 * sysdeps/i386/fpu/Makefile: Remove file.
18958 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18959 ($(objpfx)libm.so): Remove dependency on ld.so.
18961 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
18964 * nis/yp_xdr.c (XDRMAXNAME): Define.
18965 (XDRMAXRECORD): Define.
18966 (xdr_domainname): Use XDRMAXNAME.
18967 (xdr_mapname): Likewise.
18968 (xdr_peername): Likewise.
18969 (xdr_keydat): Use XDRMAXRECORD.
18970 (xdr_valdat): Likewise.
18972 2013-05-30 Jeff Law <law@redhat.com>
18975 * manual/errno.texi (ESTALE): Update to account for more than
18976 just NFS file systems.
18977 * sysdeps/gnu/errlist.c: Regenerated.
18979 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18982 * elf/Makefile (tests): Add tst-null-argv.
18983 (modules-names): Add tst-null-argv-lib.
18984 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18985 (tst-null-argv-ENV): Set environment for tst-null-argv.
18986 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18987 (RTLD_PROGNAME): New macro.
18988 * elf/tst-null-argv.c: New test case.
18989 * elf/tst-null-argv-lib.c: Library for test case.
18990 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18991 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18992 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18993 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18994 * elf/dl-init.c (call_init): Likewise.
18995 (_dl_init): Likewise.
18996 * elf/dl-load.c (print_search_path): Likewise.
18997 (_dl_map_object): Likewise.
18998 * elf/dl-lookup.c (do_lookup_x): Likewise.
18999 (add_dependency): Likewise.
19000 (_dl_lookup_symbol_x): Likewise.
19001 (_dl_debug_bindings): Likewise.
19002 * elf/dl-open.c (_dl_show_scope): Likewise.
19003 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19004 * elf/dl-version.c (match_symbol): Likewise.
19005 (_dl_check_map_versions): Likewise.
19006 * elf/rtld.c (dl_main): Likewise.
19007 (print_unresolved): Use RTLD_PROGNAME.
19008 (print_missing_version): Likewise.
19009 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19010 (elf_machine_rela): Likewise.
19011 * sysdeps/powerpc/powerpc32/dl-machine.c
19012 (__process_machine_rela): Likewise.
19013 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19015 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19017 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19019 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19020 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19022 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19024 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19026 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19028 * po/be.po: Add descriptive title.
19029 * po/zh_CN.po: Likewise.
19030 * po/header.pot: Likewise.
19032 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19034 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19036 (enlarge_archive): Likewise.
19038 2013-05-28 Ben North <ben@redfrontdoor.org>
19040 * manual/arith.texi (frexp): It is the magnitude of the return
19041 value which lies in [0.5, 1), not the return value itself.
19043 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19047 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19049 * stdio-common/bug26.c (main): Correct fscanf template.
19051 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19052 declare _dl_skip_args.
19054 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19057 * manual/platform.texi: Add missing @end deftypefun.
19059 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19062 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19063 bit of mantissa of 2^16382.
19064 * math/libm-test.inc (hypot_test_data): Add more tests.
19066 * math/libm-test.inc: Add drem and pow10 to list of tested
19068 (pow10_test): New function.
19069 (drem_test): Likewise.
19070 (drem_test_tonearest): Likewise.
19071 (drem_test_towardzero): Likewise.
19072 (drem_test_downward): Likewise.
19073 (drem_test_upward): Likewise.
19074 (main): Call the new functions.
19076 * math/libm-test.inc (finite_test_data): Remove.
19077 (finite_test): Run tests from isfinite_test_data.
19078 (gamma_test_data): Remove.
19079 (gamma_test): Run tests from lgamma_test_data.
19080 * sysdeps/i386/fpu/libm-test-ulps: Update.
19081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19083 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19085 * manual/platform.texi: Add PowerPC PPR function set documentation.
19086 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19089 2013-05-24 Carlos O'Donell <carlos@redhat.com>
19091 * math/libm-test.inc (MAX_EXP): Define.
19093 (ulp): New function.
19094 (check_float_internal): Use ULPDIFF.
19095 (cpow_test): Disable failing test.
19096 (check_ulp): Test ulp() implemetnation.
19097 (main): Call check_ulp before starting tests.
19099 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19101 * math/gen-libm-test.pl (generate_testfile): Do not handle
19102 START_DATA and END_DATA.
19103 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19105 (acos_tonearest_test_data): Likewise.
19106 (acos_towardzero_test_data): Likewise.
19107 (acos_downward_test_data): Likewise.
19108 (acos_upward_test_data): Likewise.
19109 (acosh_test_data): Likewise.
19110 (asin_test_data): Likewise.
19111 (asin_tonearest_test_data): Likewise.
19112 (asin_towardzero_test_data): Likewise.
19113 (asin_downward_test_data): Likewise.
19114 (asin_upward_test_data): Likewise.
19115 (asinh_test_data): Likewise.
19116 (atan_test_data): Likewise.
19117 (atanh_test_data): Likewise.
19118 (atan2_test_data): Likewise.
19119 (cabs_test_data): Likewise.
19120 (cacos_test_data): Likewise.
19121 (cacosh_test_data): Likewise.
19122 (carg_test_data): Likewise.
19123 (casin_test_data): Likewise.
19124 (casinh_test_data): Likewise.
19125 (catan_test_data): Likewise.
19126 (catanh_test_data): Likewise.
19127 (cbrt_test_data): Likewise.
19128 (ccos_test_data): Likewise.
19129 (ccosh_test_data): Likewise.
19130 (ceil_test_data): Likewise.
19131 (cexp_test_data): Likewise.
19132 (cimag_test_data): Likewise.
19133 (clog_test_data): Likewise.
19134 (clog10_test_data): Likewise.
19135 (conj_test_data): Likewise.
19136 (copysign_test_data): Likewise.
19137 (cos_test_data): Likewise.
19138 (cos_tonearest_test_data): Likewise.
19139 (cos_towardzero_test_data): Likewise.
19140 (cos_downward_test_data): Likewise.
19141 (cos_upward_test_data): Likewise.
19142 (cosh_test_data): Likewise.
19143 (cosh_tonearest_test_data): Likewise.
19144 (cosh_towardzero_test_data): Likewise.
19145 (cosh_downward_test_data): Likewise.
19146 (cosh_upward_test_data): Likewise.
19147 (cpow_test_data): Likewise.
19148 (cproj_test_data): Likewise.
19149 (creal_test_data): Likewise.
19150 (csin_test_data): Likewise.
19151 (csinh_test_data): Likewise.
19152 (csqrt_test_data): Likewise.
19153 (ctan_test_data): Likewise.
19154 (ctan_tonearest_test_data): Likewise.
19155 (ctan_towardzero_test_data): Likewise.
19156 (ctan_downward_test_data): Likewise.
19157 (ctan_upward_test_data): Likewise.
19158 (ctanh_test_data): Likewise.
19159 (ctanh_tonearest_test_data): Likewise.
19160 (ctanh_towardzero_test_data): Likewise.
19161 (ctanh_downward_test_data): Likewise.
19162 (ctanh_upward_test_data): Likewise.
19163 (erf_test_data): Likewise.
19164 (erfc_test_data): Likewise.
19165 (exp_test_data): Likewise.
19166 (exp_tonearest_test_data): Likewise.
19167 (exp_towardzero_test_data): Likewise.
19168 (exp_downward_test_data): Likewise.
19169 (exp_upward_test_data): Likewise.
19170 (exp10_test_data): Likewise.
19171 (exp2_test_data): Likewise.
19172 (expm1_test_data): Likewise.
19173 (fabs_test_data): Likewise.
19174 (fdim_test_data): Likewise.
19175 (finite_test_data): Likewise.
19176 (floor_test_data): Likewise.
19177 (fma_test_data): Likewise.
19178 (fma_towardzero_test_data): Likewise.
19179 (fma_downward_test_data): Likewise.
19180 (fma_upward_test_data): Likewise.
19181 (fmax_test_data): Likewise.
19182 (fmin_test_data): Likewise.
19183 (fmod_test_data): Likewise.
19184 (fpclassify_test_data): Likewise.
19185 (frexp_test_data): Likewise.
19186 (gamma_test_data): Likewise.
19187 (hypot_test_data): Likewise.
19188 (ilogb_test_data): Likewise.
19189 (isfinite_test_data): Likewise.
19190 (isgreater_test_data): Likewise.
19191 (isgreaterequal_test_data): Likewise.
19192 (isinf_test_data): Likewise.
19193 (isless_test_data): Likewise.
19194 (islessequal_test_data): Likewise.
19195 (islessgreater_test_data): Likewise.
19196 (isnan_test_data): Likewise.
19197 (isnormal_test_data): Likewise.
19198 (issignaling_test_data): Likewise.
19199 (isunordered_test_data): Likewise.
19200 (j0_test_data): Likewise.
19201 (j1_test_data): Likewise.
19202 (jn_test_data): Likewise.
19203 (ldexp_test_data): Likewise.
19204 (lgamma_test_data): Likewise.
19205 (lrint_test_data): Likewise.
19206 (lrint_tonearest_test_data): Likewise.
19207 (lrint_towardzero_test_data): Likewise.
19208 (lrint_downward_test_data): Likewise.
19209 (lrint_upward_test_data): Likewise.
19210 (llrint_test_data): Likewise.
19211 (llrint_tonearest_test_data): Likewise.
19212 (llrint_towardzero_test_data): Likewise.
19213 (llrint_downward_test_data): Likewise.
19214 (llrint_upward_test_data): Likewise.
19215 (log_test_data): Likewise.
19216 (log10_test_data): Likewise.
19217 (log1p_test_data): Likewise.
19218 (log2_test_data): Likewise.
19219 (logb_test_data): Likewise.
19220 (logb_downward_test_data): Likewise.
19221 (lround_test_data): Likewise.
19222 (llround_test_data): Likewise.
19223 (modf_test_data): Likewise.
19224 (nearbyint_test_data): Likewise.
19225 (nextafter_test_data): Likewise.
19226 (nexttoward_test_data): Likewise.
19227 (pow_test_data): Likewise.
19228 (pow_tonearest_test_data): Likewise.
19229 (pow_towardzero_test_data): Likewise.
19230 (pow_downward_test_data): Likewise.
19231 (pow_upward_test_data): Likewise.
19232 (remainder_test_data): Likewise.
19233 (remainder_tonearest_test_data): Likewise.
19234 (remainder_towardzero_test_data): Likewise.
19235 (remainder_downward_test_data): Likewise.
19236 (remainder_upward_test_data): Likewise.
19237 (remquo_test_data): Likewise.
19238 (rint_test_data): Likewise.
19239 (rint_tonearest_test_data): Likewise.
19240 (rint_towardzero_test_data): Likewise.
19241 (rint_downward_test_data): Likewise.
19242 (rint_upward_test_data): Likewise.
19243 (round_test_data): Likewise.
19244 (scalb_test_data): Likewise.
19245 (scalbn_test_data): Likewise.
19246 (scalbln_test_data): Likewise.
19247 (signbit_test_data): Likewise.
19248 (sin_test_data): Likewise.
19249 (sin_tonearest_test_data): Likewise.
19250 (sin_towardzero_test_data): Likewise.
19251 (sin_downward_test_data): Likewise.
19252 (sin_upward_test_data): Likewise.
19253 (sincos_test_data): Likewise.
19254 (sinh_test_data): Likewise.
19255 (sinh_tonearest_test_data): Likewise.
19256 (sinh_towardzero_test_data): Likewise.
19257 (sinh_downward_test_data): Likewise.
19258 (sinh_upward_test_data): Likewise.
19259 (sqrt_test_data): Likewise.
19260 (tan_test_data): Likewise.
19261 (tan_tonearest_test_data): Likewise.
19262 (tan_towardzero_test_data): Likewise.
19263 (tan_downward_test_data): Likewise.
19264 (tan_upward_test_data): Likewise.
19265 (tanh_test_data): Likewise.
19266 (tgamma_test_data): Likewise.
19267 (trunc_test_data): Likewise.
19268 (y0_test_data): Likewise.
19269 (y1_test_data): Likewise.
19270 (yn_test_data): Likewise.
19271 (significand_test_data): Likewise.
19273 * math/gen-libm-test.pl (@functions): Remove variable.
19274 (generate_testfile): Don't handle START and END lines.
19275 * math/libm-test.inc (START): New macro.
19277 (END_COMPLEX): Likewise.
19278 (acos_test): Use END macro without arguments.
19279 (acos_test_tonearest): Likewise.
19280 (acos_test_towardzero): Likewise.
19281 (acos_test_downward): Likewise.
19282 (acos_test_upward): Likewise.
19283 (acosh_test): Likewise.
19284 (asin_test): Likewise.
19285 (asin_test_tonearest): Likewise.
19286 (asin_test_towardzero): Likewise.
19287 (asin_test_downward): Likewise.
19288 (asin_test_upward): Likewise.
19289 (asinh_test): Likewise.
19290 (atan_test): Likewise.
19291 (atanh_test): Likewise.
19292 (atan2_test): Likewise.
19293 (cabs_test): Likewise.
19294 (cacos_test): Use END_COMPLEX macro without arguments.
19295 (cacosh_test): Likewise.
19296 (carg_test): Use END macro without arguments.
19297 (casin_test): Use END_COMPLEX macro without arguments.
19298 (casinh_test): Likewise.
19299 (catan_test): Likewise.
19300 (catanh_test): Likewise.
19301 (cbrt_test): Use END macro without arguments.
19302 (ccos_test): Use END_COMPLEX macro without arguments.
19303 (ccosh_test): Likewise.
19304 (ceil_test): Use END macro without arguments.
19305 (cexp_test): Use END_COMPLEX macro without arguments.
19306 (cimag_test): Use END macro without arguments.
19307 (clog_test): Use END_COMPLEX macro without arguments.
19308 (clog10_test): Likewise.
19309 (conj_test): Likewise.
19310 (copysign_test): Use END macro without arguments.
19311 (cos_test): Likewise.
19312 (cos_test_tonearest): Likewise.
19313 (cos_test_towardzero): Likewise.
19314 (cos_test_downward): Likewise.
19315 (cos_test_upward): Likewise.
19316 (cosh_test): Likewise.
19317 (cosh_test_tonearest): Likewise.
19318 (cosh_test_towardzero): Likewise.
19319 (cosh_test_downward): Likewise.
19320 (cosh_test_upward): Likewise.
19321 (cpow_test): Use END_COMPLEX macro without arguments.
19322 (cproj_test): Likewise.
19323 (creal_test): Use END macro without arguments.
19324 (csin_test): Use END_COMPLEX macro without arguments.
19325 (csinh_test): Likewise.
19326 (csqrt_test): Likewise.
19327 (ctan_test): Likewise.
19328 (ctan_test_tonearest): Likewise.
19329 (ctan_test_towardzero): Likewise.
19330 (ctan_test_downward): Likewise.
19331 (ctan_test_upward): Likewise.
19332 (ctanh_test): Likewise.
19333 (ctanh_test_tonearest): Likewise.
19334 (ctanh_test_towardzero): Likewise.
19335 (ctanh_test_downward): Likewise.
19336 (ctanh_test_upward): Likewise.
19337 (erf_test): Use END macro without arguments.
19338 (erfc_test): Likewise.
19339 (exp_test): Likewise.
19340 (exp_test_tonearest): Likewise.
19341 (exp_test_towardzero): Likewise.
19342 (exp_test_downward): Likewise.
19343 (exp_test_upward): Likewise.
19344 (exp10_test): Likewise.
19345 (exp2_test): Likewise.
19346 (expm1_test): Likewise.
19347 (fabs_test): Likewise.
19348 (fdim_test): Likewise.
19349 (finite_test): Likewise.
19350 (floor_test): Likewise.
19351 (fma_test): Likewise.
19352 (fma_test_towardzero): Likewise.
19353 (fma_test_downward): Likewise.
19354 (fma_test_upward): Likewise.
19355 (fmax_test): Likewise.
19356 (fmin_test): Likewise.
19357 (fmod_test): Likewise.
19358 (fpclassify_test): Likewise.
19359 (frexp_test): Likewise.
19360 (gamma_test): Likewise.
19361 (hypot_test): Likewise.
19362 (ilogb_test): Likewise.
19363 (isfinite_test): Likewise.
19364 (isgreater_test): Likewise.
19365 (isgreaterequal_test): Likewise.
19366 (isinf_test): Likewise.
19367 (isless_test): Likewise.
19368 (islessequal_test): Likewise.
19369 (islessgreater_test): Likewise.
19370 (isnan_test): Likewise.
19371 (isnormal_test): Likewise.
19372 (issignaling_test): Likewise.
19373 (isunordered_test): Likewise.
19374 (j0_test): Likewise.
19375 (j1_test): Likewise.
19376 (jn_test): Likewise.
19377 (ldexp_test): Likewise.
19378 (lgamma_test): Likewise.
19379 (lrint_test): Likewise.
19380 (lrint_test_tonearest): Likewise.
19381 (lrint_test_towardzero): Likewise.
19382 (lrint_test_downward): Likewise.
19383 (lrint_test_upward): Likewise.
19384 (llrint_test): Likewise.
19385 (llrint_test_tonearest): Likewise.
19386 (llrint_test_towardzero): Likewise.
19387 (llrint_test_downward): Likewise.
19388 (llrint_test_upward): Likewise.
19389 (log_test): Likewise.
19390 (log10_test): Likewise.
19391 (log1p_test): Likewise.
19392 (log2_test): Likewise.
19393 (logb_test): Likewise.
19394 (logb_test_downward): Likewise.
19395 (lround_test): Likewise.
19396 (llround_test): Likewise.
19397 (modf_test): Likewise.
19398 (nearbyint_test): Likewise.
19399 (nextafter_test): Likewise.
19400 (nexttoward_test): Likewise.
19401 (pow_test): Likewise.
19402 (pow_test_tonearest): Likewise.
19403 (pow_test_towardzero): Likewise.
19404 (pow_test_downward): Likewise.
19405 (pow_test_upward): Likewise.
19406 (remainder_test): Likewise.
19407 (remainder_test_tonearest): Likewise.
19408 (remainder_test_towardzero): Likewise.
19409 (remainder_test_downward): Likewise.
19410 (remainder_test_upward): Likewise.
19411 (remquo_test): Likewise.
19412 (rint_test): Likewise.
19413 (rint_test_tonearest): Likewise.
19414 (rint_test_towardzero): Likewise.
19415 (rint_test_downward): Likewise.
19416 (rint_test_upward): Likewise.
19417 (round_test): Likewise.
19418 (scalb_test): Likewise.
19419 (scalbn_test): Likewise.
19420 (scalbln_test): Likewise.
19421 (signbit_test): Likewise.
19422 (sin_test): Likewise.
19423 (sin_test_tonearest): Likewise.
19424 (sin_test_towardzero): Likewise.
19425 (sin_test_downward): Likewise.
19426 (sin_test_upward): Likewise.
19427 (sincos_test): Likewise.
19428 (sinh_test): Likewise.
19429 (sinh_test_tonearest): Likewise.
19430 (sinh_test_towardzero): Likewise.
19431 (sinh_test_downward): Likewise.
19432 (sinh_test_upward): Likewise.
19433 (sqrt_test): Likewise.
19434 (tan_test): Likewise.
19435 (tan_test_tonearest): Likewise.
19436 (tan_test_towardzero): Likewise.
19437 (tan_test_downward): Likewise.
19438 (tan_test_upward): Likewise.
19439 (tanh_test): Likewise.
19440 (tgamma_test): Likewise.
19441 (trunc_test): Likewise.
19442 (y0_test): Likewise.
19443 (y1_test): Likewise.
19444 (yn_test): Likewise.
19445 (significand_test): Likewise.
19447 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
19450 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19452 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19455 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19456 __ppc_mdoio and __ppc_mdoom.
19457 * manual/platform.texi: Document new functions __ppc_yield,
19458 __ppc_mdoio and __ppc_mdoom.
19460 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19462 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19463 (main): Mention "tls" pseudo-hwcap is legacy.
19464 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19466 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19468 * math/gen-libm-test.pl (parse_args): Output only string of
19469 arguments as text for test name, not full call or descriptions of
19470 tests for extra outputs.
19471 (generate_testfile): Do not pass function name to parse_args.
19472 Generate this_func variable from START.
19473 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19475 (struct test_ff_f_data): Likewise.
19476 (test_ff_f_data_nexttoward): Likewise.
19477 (struct test_fi_f_data): Likewise.
19478 (struct test_fl_f_data): Likewise.
19479 (struct test_if_f_data): Likewise.
19480 (struct test_fff_f_data): Likewise.
19481 (struct test_c_f_data): Likewise.
19482 (struct test_f_f1_data): Likewise. Remove field extra_name.
19483 (struct test_fF_f1_data): Likewise.
19484 (struct test_ffI_f1_data): Likewise.
19485 (struct test_c_c_data): Rename test_name field to arg_str.
19486 (struct test_cc_c_data): Likewise.
19487 (struct test_f_i_data): Likewise.
19488 (struct test_ff_i_data): Likewise.
19489 (struct test_f_l_data): Likewise.
19490 (struct test_f_L_data): Likewise.
19491 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19493 (COMMON_TEST_SETUP): New macro.
19494 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19495 (COMMON_TEST_CLEANUP): Likewise.
19496 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19497 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19499 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19500 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19502 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19503 (RUN_TEST_fff_f): Take argument string. Call new setup and
19505 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19506 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19508 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19509 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19511 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19512 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19514 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19515 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19517 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19518 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19520 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19521 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19523 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19524 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19526 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19527 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19529 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19530 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19532 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19533 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19535 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19536 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19538 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19539 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19541 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19542 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19544 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19545 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19547 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19548 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19550 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19552 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19554 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19555 to _sifields.sigfault.
19556 (si_addr_lsb): Define new macro.
19557 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19558 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19559 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19561 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19564 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19566 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19568 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19569 loading the domain.
19571 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19573 * math/gen-libm-test.pl (parse_args): Do not include expected
19574 result in test name.
19575 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19576 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19577 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19578 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19579 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19582 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19584 * benchtests/Makefile: Sort function entries.
19586 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19587 tanh, asinh, acosh, atanh.
19588 * benchtests/acos-inputs: New file.
19589 * benchtests/acosh-inputs: New file.
19590 * benchtests/asin-inputs: New file.
19591 * benchtests/asinh-inputs: New file.
19592 * benchtests/atanh-inputs: New file.
19593 * benchtests/cosh-inputs: New file.
19594 * benchtests/log-inputs: New file.
19595 * benchtests/sinh-inputs: New file.
19596 * benchtests/tanh-inputs: New file.
19598 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19601 * posix/tst-getaddrinfo4.c: New test.
19602 * posix/Makefile (tests): Add it.
19604 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19607 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19608 when no services were used.
19609 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19610 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19612 2013-05-21 Andreas Schwab <schwab@suse.de>
19615 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19616 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19618 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19619 redundant variable declarations and reallocation of buffer when
19620 parsing as IPv6 address. Always set NSS status when called from
19621 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19622 buffer too small. Correct computation of needed size.
19623 * nss/Makefile (tests): Add test-digits-dots.
19624 * nss/test-digits-dots.c: New test.
19626 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19628 * benchtests/Makefile: Remove instructions for adding
19630 * benchtests/README: New file to explain how to execute and
19631 enhance the benchmark tests.
19633 2013-05-21 Andreas Schwab <schwab@suse.de>
19636 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19637 * setjmp/tst-sigsetjmp.c: New test.
19639 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19641 * sysdeps/x86_64/memset.S (memset): New implementation.
19642 (__bzero): Likewise.
19643 (__memset_tail): New function.
19645 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19647 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19648 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19649 __memcpy_sse2_unaligned ifunc selection.
19650 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19651 Add memcpy-sse2-unaligned.S.
19652 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19653 Add: __memcpy_sse2_unaligned.
19655 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19658 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19659 math_force_eval before restoring floating-point envrionment.
19660 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19661 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19663 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19665 (__nearbyintl): Use math_force_eval before restoring
19666 floating-point environment.
19667 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19669 * math/gen-libm-test.pl (special_functions): Remove.
19670 (parse_args): Don't handle TEST_extra. Handle functions with no
19672 * math/libm-test.inc (struct test_sincos_data): Replace with
19673 struct test_fFF_11_data.
19674 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19675 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19676 (sincos_test_data): Change element type to struct
19677 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19678 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19679 RUN_TEST_LOOP_sincos.
19680 * math/README.libm-test: Don't mention special handling of
19681 individual functions.
19682 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19683 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19684 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19685 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19686 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19689 * math/gen-libm-test.pl (get_variable): Remove function.
19690 (parse_args): Don't show pointer parameters to call in test
19691 names. Use "extra output N" in test names for extra outputs
19692 rather than naming variables.
19694 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19697 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19698 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19699 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19701 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19703 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19706 * math/gen-libm-test.pl (@tests): Remove variable.
19707 ($count): Likewise.
19708 (new_test): Remove function.
19709 (show_exceptions): New function.
19710 (special_functions): Use show_exceptions instead of new_test.
19711 (parse_args): Likewise.
19712 (generate_testfile): Pass only function name in generated call to
19713 print_max_error or print_complex_max_error.
19714 (get_ulps): Do not handle complex tests specially.
19715 (output_test): Rename to ...
19716 (get_all_ulps_for_test): ... this. Return a string rather than
19717 printing to a file. Require ulps to be present.
19718 (output_ulps): Generate arrays rather than #defines.
19719 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19720 (struct ulp_data): New type.
19721 (BUILD_COMPLEX_ULP): Remove macro.
19722 (compare_ulp_data): New function.
19723 (find_ulps): Likewise.
19724 (find_test_ulps): Likewise.
19725 (find_function_ulps): Likewise.
19726 (find_complex_function_ulps): Likewise.
19727 (print_max_error): Determine allowed ulps using
19728 find_function_ulps.
19729 (print_complex_max_error): Determine allowed ulps using
19730 find_complex_function_ulps.
19731 (check_float_internal): Determine max ulps using find_test_ulps.
19732 (check_float): Do not take max_ulp parameter. Update call to
19733 check_float_internal.
19734 (check_complex): Likewise.
19735 (check_int): Do not take max_ulp parameter.
19736 (check_long): Likewise.
19737 (check_bool): Likewise.
19738 (check_longlong): Likewise.
19739 (struct test_f_f_data): Remove max_ulp field.
19740 (struct test_ff_f_data): Likewise.
19741 (struct test_ff_f_data_nexttoward): Likewise.
19742 (struct test_fi_f_data): Likewise.
19743 (struct test_fl_f_data): Likewise.
19744 (struct test_if_f_data): Likewise.
19745 (struct test_fff_f_data): Likewise.
19746 (struct test_c_f_data): Likewise.
19747 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19748 (struct test_fF_f1_data): Likewise.
19749 (struct test_ffI_f1_data): Likewise.
19750 (struct test_c_c_data): Remove max_ulp field.
19751 (struct test_cc_c_data): Likewise.
19752 (struct test_f_i_data): Likewise.
19753 (struct test_ff_i_data): Likewise.
19754 (struct test_f_l_data): Likewise.
19755 (struct test_f_L_data): Likewise.
19756 (struct test_sincos_data): Likewise.
19757 (RUN_TEST_f_f): Do not handle ulps.
19758 (RUN_TEST_LOOP_f_f): Likewise.
19759 (RUN_TEST_2_f): Likewise.
19760 (RUN_TEST_LOOP_2_f): Likewise.
19761 (RUN_TEST_fff_f): Likewise.
19762 (RUN_TEST_LOOP_fff_f): Likewise.
19763 (RUN_TEST_c_f): Likewise.
19764 (RUN_TEST_LOOP_c_f): Likewise.
19765 (RUN_TEST_f_f1): Likewise.
19766 (RUN_TEST_LOOP_f_f1): Likewise.
19767 (RUN_TEST_fF_f1): Likewise.
19768 (RUN_TEST_LOOP_fF_f1): Likewise.
19769 (RUN_TEST_fI_f1): Likewise.
19770 (RUN_TEST_LOOP_fI_f1): Likewise.
19771 (RUN_TEST_ffI_f1): Likewise.
19772 (RUN_TEST_LOOP_ffI_f1): Likewise.
19773 (RUN_TEST_c_c): Likewise.
19774 (RUN_TEST_LOOP_c_c): Likewise.
19775 (RUN_TEST_cc_c): Likewise.
19776 (RUN_TEST_LOOP_cc_c): Likewise.
19777 (RUN_TEST_f_i): Likewise.
19778 (RUN_TEST_LOOP_f_i): Likewise.
19779 (RUN_TEST_f_i_tg): Likewise.
19780 (RUN_TEST_LOOP_f_i_tg): Likewise.
19781 (RUN_TEST_ff_i_tg): Likewise.
19782 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19783 (RUN_TEST_f_b): Likewise.
19784 (RUN_TEST_LOOP_f_b): Likewise.
19785 (RUN_TEST_f_b_tg): Likewise.
19786 (RUN_TEST_LOOP_f_b_tg): Likewise.
19787 (RUN_TEST_f_l): Likewise.
19788 (RUN_TEST_LOOP_f_l): Likewise.
19789 (RUN_TEST_f_L): Likewise.
19790 (RUN_TEST_LOOP_f_L): Likewise.
19791 (RUN_TEST_sincos): Likewise.
19792 (RUN_TEST_LOOP_sincos): Likewise.
19794 2013-05-17 Joseph Myers <joseph@codesourcery.com>
19798 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19799 main case of finite arguments, set rounding mode to FE_TONEAREST
19800 and discard exceptions.
19801 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19803 (remainder_tonearest_test_data): New variable.
19804 (remainder_test_tonearest): New function.
19805 (remainder_towardzero_test_data): New variable.
19806 (remainder_test_towardzero): New function.
19807 (remainder_downward_test_data): New variable.
19808 (remainder_test_downward): New function.
19809 (remainder_upward_test_data): New variable.
19810 (remainder_test_upward): New function.
19811 (main): Call the new test functions.
19813 * math/libm-test.inc (struct test_f_f1_data): Remove field
19815 (struct test_fF_f1_data): Likewise.
19816 (struct test_ffI_f1_data): Likewise.
19817 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19818 based on value of EXTRA_EXPECTED.
19819 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19820 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19821 EXTRA_VAR based on value of EXTRA_EXPECTED.
19822 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19823 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19824 EXTRA_VAR based on value of EXTRA_EXPECTED.
19825 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19826 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19827 EXTRA_VAR based on value of EXTRA_EXPECTED.
19828 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19829 * math/gen-libm-test.pl (parse_args): Don't output initializers
19830 for extra output values.
19832 * math/libm-test.inc (check_int): Expect result to be exactly
19833 equal to expected value and do not handle ulps.
19834 (check_long): Likewise.
19835 (check_longlong): Likewise.
19837 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19839 (cimag_test_data): Likewise.
19840 (conj_test_data): Likewise.
19841 (copysign_test_data): Likewise.
19842 (cproj_test_data): Likewise.
19843 (creal_test_data): Likewise.
19844 (fabs_test_data): Likewise.
19845 (fdim_test_data): Likewise.
19846 (finite_test_data): Likewise.
19847 (floor_test_data): Likewise.
19848 (fmax_test_data): Likewise.
19849 (fmin_test_data): Likewise.
19850 (fmod_test_data): Likewise.
19851 (fpclassify_test_data): Likewise.
19852 (frexp_test_data): Likewise.
19853 (ilogb_test_data): Likewise.
19854 (isfinite_test_data): Likewise.
19855 (isgreater_test_data): Likewise.
19856 (isgreaterequal_test_data): Likewise.
19857 (isinf_test_data): Likewise.
19858 (isless_test_data): Likewise.
19859 (islessequal_test_data): Likewise.
19860 (islessgreater_test_data): Likewise.
19861 (isnan_test_data): Likewise.
19862 (isnormal_test_data): Likewise.
19863 (issignaling_test_data): Likewise.
19864 (isunordered_test_data): Likewise.
19865 (ldexp_test_data): Likewise.
19866 (lrint_test_data): Likewise.
19867 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19868 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19869 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19870 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19871 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19872 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19874 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19875 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19876 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19877 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19879 (lrint_downward_test_data): Test for "inexact" exceptions.
19880 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19881 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19882 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19884 (lrint_upward_test_data): Test for "inexact" exceptions.
19885 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19887 (llrint_test_data): Test for "inexact" exceptions.
19888 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19889 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19890 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19891 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19892 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19893 (llrint_downward_test_data): Test for "inexact" exceptions.
19894 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19895 (llrint_upward_test_data): Test for "inexact" exceptions.
19896 (logb_test_data): Likewise.
19897 (logb_downward_test_data): Likewise.
19898 (nextafter_test_data): Likewise.
19899 (nexttoward_test_data): Likewise.
19900 (remainder_test_data): Likewise.
19901 (remquo_test_data): Likewise.
19902 (scalbn_test_data): Likewise.
19903 (scalbln_test_data): Likewise.
19904 (signbit_test_data): Likewise.
19905 (sqrt_test_data): Likewise.
19906 (significand_test_data): Likewise.
19908 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19911 * benchtests/bench-modf.c (struct args): Mark arg0 as
19913 * scripts/bench.pl: Mark members of struct args as volatile.
19915 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19918 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19919 negative infinity on POWER6 or lower.
19920 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19922 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19925 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19926 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19927 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19928 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19929 (_FP_SETQNAN): New macro.
19930 (_FP_SETQNAN_SEMIRAW): Likewise.
19931 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19932 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19933 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19934 (FP_EXTEND): Use _FP_FRAC_SNANP.
19935 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19936 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19938 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19940 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19943 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19945 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19946 with DIVIDE_BY_ZERO_EXCEPTION.
19947 (gamma_test_data): Likewise.
19948 (lgamma_test_data): Likewise.
19949 (log_test_data): Likewise.
19950 (log10_test_data): Likewise.
19951 (log2_test_data): Likewise.
19952 (tgamma_test_data): Likewise.
19954 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19955 (acos_test_tonearest): Likewise.
19956 (acos_test_towardzero): Likewise.
19957 (acos_test_downward): Likewise.
19958 (acos_test_upward): Likewise.
19959 (acosh_test): Likewise.
19960 (asin_test): Likewise.
19961 (asin_test_tonearest): Likewise.
19962 (asin_test_towardzero): Likewise.
19963 (asin_test_downward): Likewise.
19964 (asin_test_upward): Likewise.
19965 (asinh_test): Likewise.
19966 (atan_test): Likewise.
19967 (atanh_test): Likewise.
19968 (atan2_test): Likewise.
19969 (cabs_test): Likewise.
19970 (cacos_test): Likewise.
19971 (cacosh_test): Likewise.
19972 (casin_test): Likewise.
19973 (casinh_test): Likewise.
19974 (catan_test): Likewise.
19975 (catanh_test): Likewise.
19976 (cbrt_test): Likewise.
19977 (ccos_test): Likewise.
19978 (ccosh_test): Likewise.
19979 (cexp_test): Likewise.
19980 (clog_test): Likewise.
19981 (clog10_test): Likewise.
19982 (cos_test): Likewise.
19983 (cos_test_tonearest): Likewise.
19984 (cos_test_towardzero): Likewise.
19985 (cos_test_downward): Likewise.
19986 (cos_test_upward): Likewise.
19987 (cosh_test): Likewise.
19988 (cosh_test_tonearest): Likewise.
19989 (cosh_test_towardzero): Likewise.
19990 (cosh_test_downward): Likewise.
19991 (cosh_test_upward): Likewise.
19992 (cpow_test): Likewise.
19993 (csin_test): Likewise.
19994 (csinh_test): Likewise.
19995 (csqrt_test): Likewise.
19996 (ctan_test): Likewise.
19997 (ctan_test_tonearest): Likewise.
19998 (ctan_test_towardzero): Likewise.
19999 (ctan_test_downward): Likewise.
20000 (ctan_test_upward): Likewise.
20001 (ctanh_test): Likewise.
20002 (ctanh_test_tonearest): Likewise.
20003 (ctanh_test_towardzero): Likewise.
20004 (ctanh_test_downward): Likewise.
20005 (ctanh_test_upward): Likewise.
20006 (erf_test): Likewise.
20007 (erfc_test): Likewise.
20008 (exp_test): Likewise.
20009 (exp_test_tonearest): Likewise.
20010 (exp_test_towardzero): Likewise.
20011 (exp_test_downward): Likewise.
20012 (exp_test_upward): Likewise.
20013 (exp10_test): Likewise.
20014 (exp2_test): Likewise.
20015 (expm1_test): Likewise.
20016 (fmod_test): Likewise.
20017 (gamma_test): Likewise.
20018 (hypot_test): Likewise.
20019 (j0_test): Likewise.
20020 (j1_test): Likewise.
20021 (jn_test): Likewise.
20022 (lgamma_test): Likewise.
20023 (log_test): Likewise.
20024 (log10_test): Likewise.
20025 (log1p_test): Likewise.
20026 (log2_test): Likewise.
20027 (logb_test_downward): Likewise.
20028 (pow_test): Likewise.
20029 (pow_test_tonearest): Likewise.
20030 (pow_test_towardzero): Likewise.
20031 (pow_test_downward): Likewise.
20032 (pow_test_upward): Likewise.
20033 (remainder_test): Likewise.
20034 (remquo_test): Likewise.
20035 (sin_test): Likewise.
20036 (sin_test_tonearest): Likewise.
20037 (sin_test_towardzero): Likewise.
20038 (sin_test_downward): Likewise.
20039 (sin_test_upward): Likewise.
20040 (sincos_test): Likewise.
20041 (sinh_test): Likewise.
20042 (sinh_test_tonearest): Likewise.
20043 (sinh_test_towardzero): Likewise.
20044 (sinh_test_downward): Likewise.
20045 (sinh_test_upward): Likewise.
20046 (sqrt_test): Likewise.
20047 (tan_test): Likewise.
20048 (tan_test_tonearest): Likewise.
20049 (tan_test_towardzero): Likewise.
20050 (tan_test_downward): Likewise.
20051 (tan_test_upward): Likewise.
20052 (tanh_test): Likewise.
20053 (tgamma_test): Likewise.
20054 (y0_test): Likewise.
20055 (y1_test): Likewise.
20056 (yn_test): Likewise.
20058 * math/gen-libm-test.pl (adjust_arg): Remove function.
20059 (special_function): Remove argument $in_func. Only handle
20060 generating output for tables of tests, not inside functions.
20061 (parse_args): Likewise.
20062 (generate_testfile): Remove variable $in_func. Update call to
20064 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20065 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20066 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20067 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20068 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20069 (MAX_VALUE_INIT): Rename macro to max_value.
20070 (MIN_VALUE_INIT): Rename macro to min_value.
20071 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20072 (plus_zero): Remove variable.
20073 (minus_zero): Likewise.
20074 (plus_infty): Likewise.
20075 (minus_infty): Likewise.
20076 (qnan_value): Likewise.
20077 (max_value): Likewise.
20078 (min_value): Likewise.
20079 (min_subnorm_value): Likewise.
20081 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20083 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20084 uint64_t or uint32_t usage.
20085 * crypt/sha256-block.c: Likewise.
20086 * crypt/sha256-crypt.c: Likewise.
20087 * crypt/sha256.c: Likewise.
20088 * crypt/sha512-block.c: Likewise.
20089 * crypt/sha512-crypt.c: Likewise.
20090 * crypt/sha512.c: Likewise.
20091 * debug/backtrace-tst.c: Likewise.
20092 * debug/pcprofiledump.c: Likewise.
20093 * elf/cache.c: Likewise.
20094 * elf/dl-cache.c: Likewise.
20095 * elf/dl-misc.c: Likewise.
20096 * elf/dl-profile.c: Likewise.
20097 * elf/dl-support.c: Likewise.
20098 * elf/ldconfig.c: Likewise.
20099 * elf/sprof.c: Likewise.
20100 * iconv/dummy-repertoire.c: Likewise.
20101 * iconv/iconv_charmap.c: Likewise.
20102 * iconv/skeleton.c: Likewise.
20103 * iconvdata/8bit-generic.c: Likewise.
20104 * iconvdata/cp737.h: Likewise.
20105 * iconvdata/cp775.h: Likewise.
20106 * iconvdata/ibm1008.h: Likewise.
20107 * iconvdata/ibm1025.h: Likewise.
20108 * iconvdata/ibm1046.h: Likewise.
20109 * iconvdata/ibm1097.h: Likewise.
20110 * iconvdata/ibm1112.h: Likewise.
20111 * iconvdata/ibm1122.h: Likewise.
20112 * iconvdata/ibm1123.h: Likewise.
20113 * iconvdata/ibm1124.h: Likewise.
20114 * iconvdata/ibm1129.h: Likewise.
20115 * iconvdata/ibm1130.h: Likewise.
20116 * iconvdata/ibm1132.h: Likewise.
20117 * iconvdata/ibm1133.h: Likewise.
20118 * iconvdata/ibm1137.h: Likewise.
20119 * iconvdata/ibm1140.h: Likewise.
20120 * iconvdata/ibm1141.h: Likewise.
20121 * iconvdata/ibm1142.h: Likewise.
20122 * iconvdata/ibm1143.h: Likewise.
20123 * iconvdata/ibm1144.h: Likewise.
20124 * iconvdata/ibm1145.h: Likewise.
20125 * iconvdata/ibm1146.h: Likewise.
20126 * iconvdata/ibm1147.h: Likewise.
20127 * iconvdata/ibm1148.h: Likewise.
20128 * iconvdata/ibm1149.h: Likewise.
20129 * iconvdata/ibm1153.h: Likewise.
20130 * iconvdata/ibm1154.h: Likewise.
20131 * iconvdata/ibm1155.h: Likewise.
20132 * iconvdata/ibm1156.h: Likewise.
20133 * iconvdata/ibm1157.h: Likewise.
20134 * iconvdata/ibm1158.h: Likewise.
20135 * iconvdata/ibm1160.h: Likewise.
20136 * iconvdata/ibm1161.h: Likewise.
20137 * iconvdata/ibm1162.h: Likewise.
20138 * iconvdata/ibm1163.h: Likewise.
20139 * iconvdata/ibm1164.h: Likewise.
20140 * iconvdata/ibm1166.h: Likewise.
20141 * iconvdata/ibm1167.h: Likewise.
20142 * iconvdata/ibm12712.h: Likewise.
20143 * iconvdata/ibm1390.h: Likewise.
20144 * iconvdata/ibm1399.h: Likewise.
20145 * iconvdata/ibm16804.h: Likewise.
20146 * iconvdata/ibm4517.h: Likewise.
20147 * iconvdata/ibm4899.h: Likewise.
20148 * iconvdata/ibm4909.h: Likewise.
20149 * iconvdata/ibm4971.h: Likewise.
20150 * iconvdata/ibm5347.h: Likewise.
20151 * iconvdata/ibm803.h: Likewise.
20152 * iconvdata/ibm856.h: Likewise.
20153 * iconvdata/ibm901.h: Likewise.
20154 * iconvdata/ibm902.h: Likewise.
20155 * iconvdata/ibm9030.h: Likewise.
20156 * iconvdata/ibm9066.h: Likewise.
20157 * iconvdata/ibm921.h: Likewise.
20158 * iconvdata/ibm922.h: Likewise.
20159 * iconvdata/ibm9448.h: Likewise.
20160 * iconvdata/isiri-3342.h: Likewise.
20161 * iconvdata/jis0201.h: Likewise.
20162 * include/link.h: Likewise.
20163 * include/netdb.h: Likewise.
20164 * inet/check_native.c: Likewise.
20165 * inet/check_pf.c: Likewise.
20166 * inet/getipv4sourcefilter.c: Likewise.
20167 * inet/getnameinfo.c: Likewise.
20168 * inet/getsourcefilter.c: Likewise.
20169 * inet/htonl.c: Likewise.
20170 * inet/setipv4sourcefilter.c: Likewise.
20171 * inet/setsourcefilter.c: Likewise.
20172 * inet/test-inet6_opt.c: Likewise.
20173 * inet/tst-network.c: Likewise.
20174 * locale/C-collate.c: Likewise.
20175 * locale/C-ctype.c: Likewise.
20176 * locale/C-time.c: Likewise.
20177 * locale/C-translit.h: Likewise.
20178 * locale/loadarchive.c: Likewise.
20179 * locale/programs/3level.h: Likewise.
20180 * locale/programs/charmap.c: Likewise.
20181 * locale/programs/charmap.h: Likewise.
20182 * locale/programs/ld-address.c: Likewise.
20183 * locale/programs/ld-collate.c: Likewise.
20184 * locale/programs/ld-ctype.c: Likewise.
20185 * locale/programs/ld-identification.c: Likewise.
20186 * locale/programs/ld-measurement.c: Likewise.
20187 * locale/programs/ld-messages.c: Likewise.
20188 * locale/programs/ld-monetary.c: Likewise.
20189 * locale/programs/ld-name.c: Likewise.
20190 * locale/programs/ld-numeric.c: Likewise.
20191 * locale/programs/ld-paper.c: Likewise.
20192 * locale/programs/ld-telephone.c: Likewise.
20193 * locale/programs/ld-time.c: Likewise.
20194 * locale/programs/linereader.c: Likewise.
20195 * locale/programs/locale.c: Likewise.
20196 * locale/programs/locarchive.c: Likewise.
20197 * locale/programs/locfile.h: Likewise.
20198 * locale/programs/repertoire.c: Likewise.
20199 * locale/programs/simple-hash.c: Likewise.
20200 * locale/programs/simple-hash.h: Likewise.
20201 * malloc/memusage.c: Likewise.
20202 * malloc/memusagestat.c: Likewise.
20203 * nis/nis_defaults.c: Likewise.
20204 * nis/nis_hash.c: Likewise.
20205 * nis/nis_print.c: Likewise.
20206 * nis/nis_xdr.c: Likewise.
20207 * nscd/connections.c: Likewise.
20208 * nscd/hstcache.c: Likewise.
20209 * nscd/nscd_gethst_r.c: Likewise.
20210 * nscd/nscd_getserv_r.c: Likewise.
20211 * nscd/nscd_helper.c: Likewise.
20212 * nscd/servicescache.c: Likewise.
20213 * nss/makedb.c: Likewise.
20214 * nss/nss_db/db-XXX.c: Likewise.
20215 * nss/nss_db/db-initgroups.c: Likewise.
20216 * nss/nss_db/db-netgrp.c: Likewise.
20217 * nss/nss_files/files-network.c: Likewise.
20218 * nss/nss_files/files-parse.c: Likewise.
20219 * posix/bug-regex5.c: Likewise.
20220 * posix/fnmatch_loop.c: Likewise.
20221 * posix/regcomp.c: Likewise.
20222 * posix/regexec.c: Likewise.
20223 * posix/tst-rfc3484-2.c: Likewise.
20224 * posix/tst-rfc3484-3.c: Likewise.
20225 * posix/tst-rfc3484.c: Likewise.
20226 * resolv/nss_dns/dns-canon.c: Likewise.
20227 * resolv/nss_dns/dns-network.c: Likewise.
20228 * resolv/res_init.c: Likewise.
20229 * resolv/res_mkquery.c: Likewise.
20230 * resolv/tst-aton.c: Likewise.
20231 * stdlib/cxa_atexit.c: Likewise.
20232 * stdlib/cxa_finalize.c: Likewise.
20233 * stdlib/gen-fpioconst.c: Likewise.
20234 * stdlib/strtol_l.c: Likewise.
20235 * string/tst-endian.c: Likewise.
20236 * sunrpc/auth_des.c: Likewise.
20237 * sunrpc/clnt_udp.c: Likewise.
20238 * sunrpc/rtime.c: Likewise.
20239 * sunrpc/svcauth_des.c: Likewise.
20240 * sunrpc/xdr.c: Likewise.
20241 * sunrpc/xdr_intXX_t.c: Likewise.
20242 * sunrpc/xdr_rec.c: Likewise.
20243 * sysdeps/generic/ldconfig.h: Likewise.
20244 * sysdeps/generic/ldsodefs.h: Likewise.
20245 * sysdeps/generic/memusage.h: Likewise.
20246 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20247 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20248 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20249 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20250 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20251 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20252 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20253 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20254 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20255 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20256 * sysdeps/posix/getaddrinfo.c: Likewise.
20257 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20258 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20259 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20260 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20261 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20262 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20263 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20264 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20265 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20266 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20267 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20268 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20269 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20270 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20271 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20272 * sysdeps/x86_64/dl-tls.h: Likewise.
20273 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20274 * time/alt_digit.c: Likewise.
20275 * time/era.c: Likewise.
20276 * wcsmbs/tst-c16c32-1.c: Likewise.
20278 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20280 * math/libm-test.inc (struct test_sincos_data): New type.
20281 (RUN_TEST_LOOP_sincos): New macro.
20282 (sincos_test_data): New variable.
20283 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20285 2013-05-16 Richard Henderson <rth@redhat.com>
20287 * math/atest-exp2.c (LIMB64): New macro.
20288 (CONSTSZ): New macro.
20289 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20291 (print_mpn_fp): ... to function scope.
20292 (read_mpn_hex): Remove.
20293 (get_log2): Remove.
20294 (exp2_mpn): Use mp_log2.
20295 (main): Use mp_exp1.
20297 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20299 * math/libm-test.inc: Remove comment about not testing "inexact"
20301 (INEXACT_EXCEPTION): New macro.
20302 (NO_INEXACT_EXCEPTION): Likewise.
20303 (INVALID_EXCEPTION_OK): Update value.
20304 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20305 (OVERFLOW_EXCEPTION_OK): Likewise.
20306 (UNDERFLOW_EXCEPTION_OK): Likewise.
20307 (IGNORE_ZERO_INF_SIGN): Likewise.
20308 (ERRNO_UNCHANGED): Likewise.
20309 (ERRNO_EDOM): Likewise.
20310 (ERRNO_ERANGE): Likewise.
20311 (test_exceptions): Handle testing "inexact" exceptions.
20312 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20313 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20314 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20315 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20317 (rint_towardzero_test_data): Likewise.
20318 (rint_downward_test_data): Likewise.
20319 (rint_upward_test_data): Likewise.
20321 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20322 with OVERFLOW_EXCEPTION.
20323 (exp10_test_data): Likewise.
20324 (exp2_test_data): Likewise.
20325 (expm1_test_data): Likewise.
20326 (lgamma_test_data): Likewise.
20327 (pow_test_data): Likewise.
20328 (tgamma_test_data): Likewise.
20329 (yn_test_data): Remove duplicate test of overflow.
20331 * math/libm-test.inc (struct test_cc_c_data): New type.
20332 (RUN_TEST_LOOP_cc_c): New macro.
20333 (cpow_test_data): New variable.
20334 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20336 * math/libm-test.inc (struct test_f_L_data): New type.
20337 (RUN_TEST_LOOP_f_L): New macro.
20338 (llrint_test_data): New variable.
20339 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20340 (llrint_tonearest_test_data): New variable.
20341 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20342 (llrint_towardzero_test_data): New variable.
20343 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20344 (llrint_downward_test_data): New variable.
20345 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20346 (llrint_upward_test_data): New variable.
20347 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20348 (llround_test_data): New variable.
20349 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20351 2013-05-13 Peter Collingbourne <pcc@google.com>
20353 * math/atest-exp2.c (get_log2): Remove const attribute.
20355 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20357 * math/libm-test.inc (struct test_f_l_data): New type.
20358 (RUN_TEST_LOOP_f_l): New macro.
20359 (lrint_test_data): New variable.
20360 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20361 (lrint_tonearest_test_data): New variable.
20362 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20363 (lrint_towardzero_test_data): New variable.
20364 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20365 (lrint_downward_test_data): New variable.
20366 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20367 (lrint_upward_test_data): New variable.
20368 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20369 (lround_test_data): New variable.
20370 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20372 2013-05-15 Peter Collingbourne <pcc@google.com>
20374 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20375 (EXTRACT_WORDS64) Use where appropriate.
20376 (INSERT_WORDS64) Likewise.
20378 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20379 constraints with x constraints.
20380 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20382 * malloc/obstack.c (_obstack_compat): Add initializer.
20384 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20386 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20387 si_trapno and add si_addr_lsb to _sifields.sigfault.
20388 (si_trapno): Remove macro.
20389 (si_addr_lsb): Define new macro.
20390 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20392 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20394 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20395 instead of TEST_f_l.
20396 (llrint_test_tonearest): Likewise.
20397 (llrint_test_towardzero): Likewise.
20398 (llrint_test_downward): Likewise.
20399 (llrint_test_upward): Likewise.
20400 (llround_test): Likewise.
20402 * math/libm-test.inc (struct test_f_i_data): Add comment.
20403 (RUN_TEST_LOOP_f_b): New macro.
20404 (RUN_TEST_LOOP_f_b_tg): Likewise.
20405 (finite_test_data): New variable.
20406 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20407 (isfinite_test_data): New variable.
20408 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20409 (isinf_test_data): New variable.
20410 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20411 (isnan_test_data): New variable.
20412 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20413 (isnormal_test_data): New variable.
20414 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20415 (issignaling_test_data): New variable.
20416 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20417 (signbit_test_data): New variable.
20418 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20420 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20421 with INVALID_EXCEPTION.
20422 (acosh_test_data): Likewise.
20423 (asin_test_data): Likewise.
20424 (atanh_test_data): Likewise.
20425 (fmod_test_data): Likewise.
20426 (log_test_data): Likewise.
20427 (log10_test_data): Likewise.
20428 (log2_test_data): Likewise.
20429 (pow_test_data): Likewise.
20430 (sqrt_test_data): Likewise.
20431 (y0_test_data): Likewise.
20432 (y1_test_data): Likewise.
20433 (yn_test_data): Likewise.
20435 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20438 * math/libm-test.inc (struct test_ff_i_data): New type.
20439 (RUN_TEST_LOOP_ff_i_tg): New macro.
20440 (isgreater_test_data): New variable.
20441 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20442 (isgreaterequal_test_data): New variable.
20443 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20444 (isless_test_data): New variable.
20445 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20446 (islessequal_test_data): New variable.
20447 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20448 (islessgreater_test_data): New variable.
20449 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20450 (isunordered_test_data): New variable.
20451 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20453 2013-05-14 David S. Miller <davem@davemloft.net>
20455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20457 2013-05-14 Joseph Myers <joseph@codesourcery.com>
20459 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20461 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20463 (struct test_f_i_data): Change type of max_ulp to int.
20465 * math/libm-test.inc (test_ffI_f1_data): New type.
20466 (RUN_TEST_LOOP_ffI_f1): New macro.
20467 (remquo_test_data): New variable.
20468 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20470 * setjmp/tst-setjmp-fp.c: New file.
20471 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20472 (link-libm): New variable.
20473 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20475 * math/libm-test.inc (struct test_f_i_data): New type.
20476 (RUN_TEST_LOOP_f_i): New macro.
20477 (RUN_TEST_LOOP_f_i_tg): Likewise.
20478 (fpclassify_test_data): New variable.
20479 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20480 (ilogb_test_data): New variable.
20481 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20483 * math/libm-test.inc (scalbln_test): Correct function name in END
20486 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20487 (RUN_TEST_LOOP_fI_f1): New macro.
20488 (frexp_test_data): New variable.
20489 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20491 * math/libm-test.inc (struct test_fF_f1_data): New type.
20492 (RUN_TEST_LOOP_fF_f1): New macro.
20493 (modf_test_data): New variable.
20494 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20496 * math/libm-test.inc (struct test_f_f1_data): New type.
20497 (RUN_TEST_LOOP_f_f1): New macro.
20498 (gamma_test_data): New variable.
20499 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20500 (lgamma_test_data): New variable.
20501 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20503 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20505 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20506 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20507 (main): Comment "tls" pseudo-hwcap.
20509 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20511 * math/libm-test.inc (struct test_fl_f_data): New type.
20512 (RUN_TEST_LOOP_fl_f): New variable.
20513 (scalbln_test_data): New variable.
20514 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20516 * math/libm-test.inc (struct test_fi_f_data): New type.
20517 (RUN_TEST_LOOP_fi_f): New macro.
20518 (ldexp_test_data): New variable.
20519 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20520 (scalbn_test_data): New variable.
20521 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20523 * math/libm-test.inc (struct test_c_f_data): New type.
20524 (RUN_TEST_LOOP_c_f): New macro.
20525 (cabs_test_data): New variable.
20526 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20527 (carg_test_data): New variable.
20528 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20529 (cimag_test_data): New variable.
20530 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20531 (creal_test_data): New variable.
20532 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20534 * math/libm-test.inc (struct test_if_f_data): New type.
20535 (RUN_TEST_LOOP_if_f): New macro.
20536 (jn_test_data): New variable.
20537 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20538 (yn_test_data): New variable.
20539 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20541 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20543 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20545 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20546 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20548 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20550 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20551 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20552 (bench-deps): Add bench-timing.h.
20553 * benchtests-bench-skeleton.c: Include bench-timing.h.
20554 (main): Use TIMING_* macros instead of clock_gettime.
20555 * benchtests/bench-timing.h: New file.
20558 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20559 Renamed from _LIB_VERSION.
20560 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20562 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20564 * math/libm-test.inc (struct test_fff_f_data): New type.
20565 (RUN_TEST_LOOP_fff_f): New macro.
20566 (fma_test_data): New variable.
20567 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20568 (fma_towardzero_test_data): New variable.
20569 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20570 (fma_downward_test_data): New variable.
20571 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20572 (fma_upward_test_data): New variable.
20573 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20575 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20576 (struct test_c_c_data): New type.
20577 (RUN_TEST_LOOP_c_c): New macro.
20578 (cacos_test_data): New variable.
20579 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20580 (cacosh_test_data): New variable.
20581 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20582 (casin_test_data): New variable.
20583 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20584 (casinh_test_data): New variable.
20585 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20586 (catan_test_data): New variable.
20587 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20588 (catanh_test_data): New variable.
20589 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20590 (ccos_test_data): New variable.
20591 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20592 (ccosh_test_data): New variable.
20593 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20594 (cexp_test_data): New variable.
20595 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20596 (clog_test_data): New variable.
20597 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20598 (clog10_test_data): New variable.
20599 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20600 (conj_test_data): New variable.
20601 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20602 (cproj_test_data): New variable.
20603 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20604 (csin_test_data): New variable.
20605 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20606 (csinh_test_data): New variable.
20607 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20608 (csqrt_test_data): New variable.
20609 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20610 (ctan_test_data): New variable.
20611 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20612 (ctan_tonearest_test_data): New variable.
20613 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20614 (ctan_towardzero_test_data): New variable.
20615 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20616 (ctan_downward_test_data): New variable.
20617 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20618 (ctan_upward_test_data): New variable.
20619 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20620 (ctanh_test_data): New variable.
20621 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20622 (ctanh_tonearest_test_data): New variable.
20623 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20624 (ctanh_towardzero_test_data): New variable.
20625 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20626 (ctanh_downward_test_data): New variable.
20627 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20628 (ctanh_upward_test_data): New variable.
20629 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20630 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20633 * math/libm-test.inc (struct test_ff_f_data): New type.
20634 (struct test_ff_f_data_nexttoward): Likewise.
20635 (RUN_TEST_LOOP_2_f): New macro.
20636 (RUN_TEST_LOOP_ff_f): Likewise.
20637 (atan2_test_data): New variable.
20638 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20639 (copysign_test_data): New variable.
20640 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20641 (fdim_test_data): New variable.
20642 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20643 (fmax_test_data): New variable.
20644 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20645 (fmin_test_data): New variable.
20646 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20647 (fmod_test_data): New variable.
20648 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20649 (hypot_test_data): New variable.
20650 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20651 (nextafter_test_data): New variable.
20652 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20653 (nexttoward_test_data): New variable.
20654 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20655 (pow_test_data): New variable.
20656 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20657 (pow_tonearest_test_data): New variable.
20658 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20659 (pow_towardzero_test_data): New variable.
20660 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20661 (pow_downward_test_data): New variable.
20662 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20663 (pow_upward_test_data): New variable.
20664 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20665 (remainder_test_data): New variable.
20666 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20667 (scalb_test_data): New variable.
20668 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20669 * sysdeps/i386/fpu/libm-test-ulps: Update.
20671 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20673 * math/libm-test.inc (fma_test): Use max_value instead of local
20675 (nextafter_test): Likewise.
20677 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20678 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20679 (acos_downward_test_data): New variable.
20680 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20681 (acos_upward_test_data): New variable.
20682 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20683 (acosh_test_data): New variable.
20684 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20685 (asin_test_data): New variable.
20686 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20687 (asin_tonearest_test_data): New variable.
20688 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20689 (asin_towardzero_test_data): New variable.
20690 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20691 (asin_downward_test_data): New variable.
20692 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20693 (asin_upward_test_data): New variable.
20694 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20695 (asinh_test_data): New variable.
20696 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20697 (atan_test_data): New variable.
20698 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20699 (atanh_test_data): New variable.
20700 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20701 (cbrt_test_data): New variable.
20702 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20703 (ceil_test_data): New variable.
20704 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20705 (cos_test_data): New variable.
20706 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20707 (cos_tonearest_test_data): New variable.
20708 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20709 (cos_towardzero_test_data): New variable.
20710 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20711 (cos_downward_test_data): New variable.
20712 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20713 (cos_upward_test_data): New variable.
20714 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20715 (cosh_test_data): New variable.
20716 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20717 (cosh_tonearest_test_data): New variable.
20718 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20719 (cosh_towardzero_test_data): New variable.
20720 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20721 (cosh_downward_test_data): New variable.
20722 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20723 (cosh_upward_test_data): New variable.
20724 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20725 (erf_test_data): New variable.
20726 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20727 (erfc_test_data): New variable.
20728 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20729 (exp_test_data): New variable.
20730 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20731 (exp_tonearest_test_data): New variable.
20732 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20733 (exp_towardzero_test_data): New variable.
20734 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20735 (exp_downward_test_data): New variable.
20736 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20737 (exp_upward_test_data): New variable.
20738 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20739 (exp10_test_data): New variable.
20740 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20741 (exp2_test_data): New variable.
20742 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20743 (expm1_test_data): New variable.
20744 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20745 (fabs_test_data): New variable.
20746 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20747 (floor_test_data): New variable.
20748 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20749 (j0_test_data): New variable.
20750 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20751 (j1_test_data): New variable.
20752 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20753 (log_test_data): New variable.
20754 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20755 (log10_test_data): New variable.
20756 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20757 (log1p_test_data): New variable.
20758 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20759 (log2_test_data): New variable.
20760 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20761 (logb_test_data): New variable.
20762 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20763 (logb_downward_test_data): New variable.
20764 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20765 (nearbyint_test_data): New variable.
20766 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20767 (rint_test_data): New variable.
20768 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20769 (rint_tonearest_test_data): New variable.
20770 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20771 (rint_towardzero_test_data): New variable.
20772 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20773 (rint_downward_test_data): New variable.
20774 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20775 (rint_upward_test_data): New variable.
20776 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20777 (round_test_data): New variable.
20778 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20779 (sin_test_data): New variable.
20780 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20781 (sin_tonearest_test_data): New variable.
20782 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20783 (sin_towardzero_test_data): New variable.
20784 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20785 (sin_downward_test_data): New variable.
20786 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20787 (sin_upward_test_data): New variable.
20788 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20789 (sinh_test_data): New variable.
20790 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20791 (sinh_tonearest_test_data): New variable.
20792 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20793 (sinh_towardzero_test_data): New variable.
20794 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20795 (sinh_downward_test_data): New variable.
20796 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20797 (sinh_upward_test_data): New variable.
20798 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20799 (sqrt_test_data): New variable.
20800 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20801 (tan_test_data): New variable.
20802 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20803 (tan_tonearest_test_data): New variable.
20804 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20805 (tan_towardzero_test_data): New variable.
20806 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20807 (tan_downward_test_data): New variable.
20808 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20809 (tan_upward_test_data): New variable.
20810 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20811 (tanh_test_data): New variable.
20812 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20813 (tgamma_test_data): New variable.
20814 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20815 (trunc_test_data): New variable.
20816 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20817 (y0_test_data): New variable.
20818 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20819 (y1_test_data): New variable.
20820 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20821 (significand_test_data): New variable.
20822 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20824 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20827 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20829 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20831 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20833 2013-05-10 Andreas Jaeger <aj@suse.de>
20836 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20837 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20839 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20841 * math/gen-libm-test.pl (adjust_arg): New function.
20842 (special_functions): Handle generating output in both functions
20844 (parse_args): Likewise.
20845 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20846 $in_func argument to parse_args.
20847 * math/libm-test.inc (struct test_f_f_data): New type.
20848 (IF_ROUND_INIT_): New macro.
20849 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20850 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20851 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20852 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20853 (ROUND_RESTORE_): Likewise.
20854 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20855 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20856 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20857 (ROUND_RESTORE_FE_UPWARD): Likewise.
20858 (RUN_TEST_LOOP_f_f): New macro.
20859 (acos_test_data): New variable.
20860 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20861 (acos_tonearest_test_data): New variable.
20862 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20864 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20866 * benchtests/bench-skeleton.c (startup): Fix coding style.
20868 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20871 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20872 negative infinity argument.
20873 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20874 negative infinity argument.
20875 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20876 negative infinity argument.
20877 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20880 2013-05-10 Florian Weimer <fweimer@redhat.com>
20882 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20883 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20884 * iconv/iconv_prog.c (main): Likewise.
20885 * locale/programs/charmap-dir.c (charmap_readdir)
20886 (fopen_uncompressed): Likewise.
20887 * locale/programs/locfile.c (siblings_uncached)
20888 (write_locale_data): Use lstat64 instead of lstat.
20889 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20892 2013-05-10 Andreas Jaeger <aj@suse.de>
20895 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20897 Include <locale.h>.
20899 2013-05-09 Carlos O'Donell <carlos@redhat.com>
20901 * elf/dl-close.c (_dl_close_worker): Add comments.
20903 2013-05-09 Joseph Myers <joseph@codesourcery.com>
20906 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20908 (__ieee754_rem_pio2l): Update comments.
20911 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20913 (__ieee754_rem_pio2l): Update comments.
20915 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20916 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20918 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20921 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20922 (M_PI_34_LOG10El): Likewise.
20923 (M_PI2_LOG10El): Likewise.
20924 (M_PI4_LOG10El): Likewise.
20925 (M_PI_LOG10El): Likewise.
20927 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20931 2013-05-08 Joseph Myers <joseph@codesourcery.com>
20933 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20934 (MINUS_ZERO_INIT): Likewise.
20935 (PLUS_INFTY_INIT): Likewise.
20936 (MINUS_INFTY_INIT): Likewise.
20937 (QNAN_VALUE_INIT): Likewise.
20938 (MAX_VALUE_INIT): Likewise.
20939 (MIN_VALUE_INIT): Likewise.
20940 (MIN_SUBNORM_VALUE_INIT): Likewise.
20941 (plus_zero): Initialize with PLUS_ZERO_INIT.
20942 (minus_zero): Initialize with MINUS_ZERO_INIT.
20943 (plus_infty): Initialize with PLUS_INFTY_INIT.
20944 (minus_infty): Initialize with MINUS_INFTY_INIT.
20945 (qnan_value): Initialize with QNAN_VALUE_INIT.
20946 (max_value): Initialize with MAX_VALUE_INIT.
20947 (min_value): Initialize with MIN_VALUE_INIT.
20948 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20950 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20951 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20952 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20953 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20955 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20956 (RUN_TEST_2_f): Likewise.
20957 (RUN_TEST_ff_f): Likewise.
20958 (RUN_TEST_fi_f): Likewise.
20959 (RUN_TEST_fl_f): Likewise.
20960 (RUN_TEST_fff_f): Likewise.
20961 (RUN_TEST_c_f): Likewise.
20962 (RUN_TEST_f_f1): Likewise.
20963 (RUN_TEST_fF_f1): Likewise.
20964 (RUN_TEST_fI_f1): Likewise.
20965 (RUN_TEST_ffI_f1): Likewise.
20966 (RUN_TEST_c_c): Likewise.
20967 (RUN_TEST_cc_c): Likewise.
20968 (RUN_TEST_f_i): Likewise.
20969 (RUN_TEST_f_i_tg): Likewise.
20970 (RUN_TEST_ff_i_tg): Likewise.
20971 (RUN_TEST_f_b): Likewise.
20972 (RUN_TEST_f_b_tg): Likewise.
20973 (RUN_TEST_f_l): Likewise.
20974 (RUN_TEST_f_L): Likewise.
20975 (RUN_TEST_sincos): Likewise.
20976 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20977 whether to show exceptions. Do not include ");\n" in return
20979 (special_functions): Output call to RUN_TEST_sincos instead of
20980 check_float calls. Update calls to new_test.
20981 (parse_args): Output call to single RUN_TEST_* macro instead of
20982 check_* calls and other assignments. Update calls to new_test.
20988 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20989 input to result for tgamma overflow.
20990 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20991 (gamma_coeff): New variable.
20992 (NCOEFF): New macro.
20993 (gamma_positive): New function.
20994 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20995 underflow here. Use gamma_positive instead of exp (lgamma) for
20997 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20998 (gamma_coeff): New variable.
20999 (NCOEFF): New macro.
21000 (gammaf_positive): New function.
21001 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21002 underflow here. Use gamma_positive instead of exp (lgamma) for
21004 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21005 (gamma_coeff): New variable.
21006 (NCOEFF): New macro.
21007 (gammal_positive): New function.
21008 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21009 underflow here. Use gamma_positive instead of exp (lgamma) for
21011 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21012 (gamma_coeff): New variable.
21013 (NCOEFF): New macro.
21014 (gammal_positive): New function.
21015 (__ieee754_gammal_r): Handle positive infinity, overflow and
21016 underflow here. Handle NaN the same as positive infinity. Remove
21017 check x < 0xffffffff for negative integers. Use gamma_positive
21018 instead of exp (lgamma) for other arguments.
21019 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21020 (gamma_coeff): New variable.
21021 (NCOEFF): New macro.
21022 (gammal_positive): New function.
21023 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21024 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21025 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21026 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21027 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21028 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21029 * sysdeps/generic/math_private.h (__gamma_productf): New
21031 (__gamma_product): Likewise.
21032 (__gamma_productl): Likewise.
21033 * math/Makefile (libm-calls): Add gamma_product.
21034 * math/libm-test.inc (tgamma_test): Add more tests.
21035 * sysdeps/i386/fpu/libm-test-ulps: Update.
21036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21038 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21040 * benchtests/bench-skeleton.c (main): Preheat CPU.
21042 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21044 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21046 2013-05-07 Roland McGrath <roland@hack.frob.com>
21048 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21049 and _dl_skip_args_internal.
21051 2013-05-07 Carlos O'Donell <carlos@redhat.com>
21053 * manual/message.texi (Message Translation): Talk about users.
21054 Message to key mapping impacts design.
21056 2013-05-06 Roland McGrath <roland@hack.frob.com>
21058 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21060 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21062 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21063 * sysdeps/wordsize-64/glob64.c: ... here.
21065 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21066 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21069 * debug/getlogin_r_chk.c: Moved to ...
21070 * login/getlogin_r_chk.c: ... here.
21071 * debug/Makefile (routines): Move getlogin_r_chk to ...
21072 * login/Makefile (routines): ... here.
21073 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21074 * login/Versions (libc: GLIBC_2.4): ... here.
21076 * io/poll.c (__poll): Renamed from poll.
21077 Add libc_hidden_def.
21078 (poll): Define as weak alias.
21080 * debug/ptsname_r_chk.c: Moved to ...
21081 * login/ptsname_r_chk.c: ... here.
21082 * debug/Makefile (routines): Move ptsname_r_chk to ...
21083 * login/Makefile (routines): ... here.
21084 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21085 * login/Versions (libc: GLIBC_2.4): ... here.
21087 * posix/getlogin.c: Moved to ...
21088 * login/getlogin.c: ... here.
21089 * posix/getlogin_r.c: Moved to ...
21090 * login/getlogin_r.c: ... here.
21091 * posix/getlogin_r.c: Moved to ...
21092 * login/getlogin_r.c: ... here.
21093 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21094 * login/Makefile (routines): ... here.
21095 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21096 * login/Versions (libc: GLIBC_2.0): ... here.
21098 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21099 (setrlimit): Define as weak alias.
21101 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21102 Call __ names for open, ftruncate, and close.
21103 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21104 (truncate): Define as weak alias.
21106 2013-05-06 Joseph Myers <joseph@codesourcery.com>
21108 * math/gen-libm-test.pl (parse_args): Initialize x before each
21109 test of frexp, modf and remquo.
21111 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21112 test signgam value.
21114 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21118 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21120 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21122 2013-05-06 Roland McGrath <roland@hack.frob.com>
21124 * elf/dl-writev.h: New file.
21125 * elf/dl-misc.c: Include it.
21126 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21127 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21129 2013-05-04 Joseph Myers <joseph@codesourcery.com>
21131 * math/libm-test.inc (noXFails): Remove variable.
21132 (noXPasses): Likewise.
21133 (BUILD_COMPLEX_INT): Remove macro.
21134 (print_screen): Remove xfail argument.
21135 (print_screen_max_error): Likewise.
21136 (update_stats): Likewise.
21137 (print_max_error): Likewise. Update calls to other affected
21139 (print_complex_max_error): Likewise.
21140 (test_single_exception): Update calls to print_screen.
21141 (test_single_errno): Likewise.
21142 (check_float_internal): Remove xfail argument. Update calls to
21143 other affected functions.
21144 (check_float): Likewise.
21145 (check_complex): Likewise.
21146 (check_int): Likewise.
21147 (check_long): Likewise.
21148 (check_bool): Likewise.
21149 (check_longlong): Likewise.
21150 (main): Don't print noXFails and noXPasses.
21151 * math/gen-libm-test.pl (top level): Don't mention expected
21152 failure handling in comment.
21153 (new_test): Don't handle expected failures.
21154 (parse_args): Don't mention expected failure handling in comment.
21155 (generate_testfile): Don't handle expected failures.
21156 (parse_ulps): Likewise.
21157 (print_ulps_file): Likewise.
21158 (get_failure): Remove function.
21159 (output_test): Don't handle expected failures.
21160 * make/README.libm-test: Don't mention expected failure handling.
21162 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21163 (minus_zero): Likewise.
21164 (plus_infty): Likewise.
21165 (minus_infty): Likewise.
21166 (qnan_value): Likewise.
21167 (max_value): Likewise.
21168 (min_value): Likewise.
21169 (min_subnorm_value): Likewise.
21170 (initialize): Do not initialize those variables dynamically.
21172 2013-05-03 Roland McGrath <roland@hack.frob.com>
21174 * io/open.c (__open_2): Moved to ...
21175 * io/open_2.c: ... this new file.
21176 * io/open64.c (__open64_2): Moved to ...
21177 * io/open64_2.c: ... this new file.
21178 * io/openat.c (__openat_2): Moved to ...
21179 * io/openat_2.c: ... this new file.
21180 * io/openat64.c (__openat64_2): Moved to ...
21181 * io/openat64_2.c: ... this new file.
21182 * io/Makefile (routines): Add them.
21183 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21184 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21185 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21186 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21187 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21188 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21189 (__openat64): Add hidden_ver.
21190 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21191 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21193 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21194 Separately conditionalize setting of GLRO(dl_sysinfo) so
21195 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21196 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21198 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21200 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21201 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21203 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21204 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21205 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21206 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21207 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21209 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21211 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21212 test signgam value.
21214 * math/libm-test.inc (hypot_test): Do not use
21215 IGNORE_ZERO_INF_SIGN.
21217 2013-05-03 Andreas Jaeger <aj@suse.de>
21219 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21221 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21222 (PF_MAX): Adjust for VSOCK change.
21224 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21228 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21231 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21232 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21233 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21235 2013-05-02 David S. Miller <davem@davemloft.net>
21237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21239 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21241 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21243 2013-05-01 Roland McGrath <roland@hack.frob.com>
21245 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21247 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21250 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21251 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21252 Use __attribute__ ((__gnu_inline__)).
21253 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21254 Don't use __attribute__ ((__gnu_inline__)).
21256 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21259 * math/s_catan.c (__catan): Handle small real or imaginary part of
21260 input specially to avoid spurious underflow.
21261 * math/s_catanf.c (__catanf): Likewise.
21262 * math/s_catanh.c (__catanh): Likewise.
21263 * math/s_catanhf.c (__catanhf): Likewise.
21264 * math/s_catanhl.c (__catanhl): Likewise.
21265 * math/s_catanl.c (__catanl): Likewise.
21266 * math/libm-test.inc (catan_test): Add more tests.
21267 (catanh_test): Likewise.
21268 * sysdeps/i386/fpu/libm-test-ulps: Update.
21269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21271 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21275 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21278 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21279 accurately for denominator in atan2.
21280 * math/s_catanf.c (__catanf): Likewise.
21281 * math/s_catanh.c (__catanh): Likewise.
21282 * math/s_catanhf.c (__catanhf): Likewise.
21283 * math/s_catanhl.c (__catanhl): Likewise.
21284 * math/s_catanl.c (__catanl): Likewise.
21285 * math/libm-test.inc (catan_test): Add more tests.
21286 (catanh_test): Likewise.
21287 * sysdeps/i386/fpu/libm-test-ulps: Update.
21288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21290 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21292 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21294 * benchtests/Makefile (bench): Remove slow benchmarks.
21295 * benchtests/atan-inputs: Add slow benchmark inputs.
21296 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21297 (BENCH_FUNC): Accept variant offset.
21299 * benchtests/bench-skeleton.c (main): Run benchmark for each
21301 * benchtests/cos-inputs: Add slow benchmark inputs.
21302 * benchtests/exp-inputs: Likewise.
21303 * benchtests/pow-inputs: Likewise.
21304 * benchtests/sin-inputs: Likewise.
21305 * benchtests/slowatan-inputs: Remove.
21306 * benchtests/slowatan.c: Remove.
21307 * benchtests/slowcos-inputs: Remove.
21308 * benchtests/slowcos.c: Remove.
21309 * benchtests/slowexp-inputs: Remove.
21310 * benchtests/slowexp.c: Remove.
21311 * benchtests/slowpow-inputs: Remove.
21312 * benchtests/slowpow.c: Remove.
21313 * benchtests/slowsin-inputs: Remove.
21314 * benchtests/slowsin.c: Remove.
21315 * benchtests/slowtan-inputs: Remove.
21316 * benchtests/slowtan.c: Remove.
21317 * benchtests/tan-inputs: Add slow benchmark inputs.
21318 * scripts/bench.pl: Parse comments and directives.
21320 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21322 ($(objpfx)bench-%.c): Remove *-ITER.
21323 * benchtests/bench-modf.c: Remove definition of ITER.
21324 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21325 (main): Loop for DURATION seconds instead of fixed number of
21327 * scripts/bench.pl: Don't expect iterations in parameters.
21329 2013-04-29 Roland McGrath <roland@hack.frob.com>
21331 * io/fchdir.c (__fchdir): Renamed from fchdir.
21332 (fchdir): Define as weak alias.
21334 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21336 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21337 (ERRNO_EDOM): Likewise.
21338 (ERRNO_ERANGE): Likewise.
21339 (noErrnoTests): New variable.
21340 (init_max_error): Set errno to 0.
21341 (test_single_errno): New function.
21342 (test_errno): Likewise.
21343 (check_float_internal): Call test_errno. Set errno to 0.
21344 (check_complex): Refer to errno tests in comment.
21345 (check_int): Call test_errno. Set errno to 0.
21346 (check_long): Likewise.
21347 (check_bool): Likewise.
21348 (check_longlong): Likewise.
21349 (cos_test): Use ERRNO_* flags for errno tests instead of
21351 (expm1_test): Likewise.
21352 (fmod_test): Likewise.
21353 (ilogb_test): Likewise.
21354 (lgamma_test): Likewise.
21355 (pow_test): Likewise.
21356 (remainder_test): Likewise.
21357 (sin_test): Likewise.
21358 (tan_test): Likewise.
21359 (yn_test): Likewise.
21360 (initialize): Set errno to 0.
21361 (main): Print number of errno tests.
21362 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21364 2013-04-29 Andreas Jaeger <aj@suse.de>
21367 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21371 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21372 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21376 * stdlib/random.c (__initstate): Return NULL if
21380 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21381 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21384 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21388 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21390 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21391 of individual tests.
21392 (casin_test): Likewise.
21393 (casinh_test): Likewise.
21395 2013-04-27 Joseph Myers <joseph@codesourcery.com>
21398 * math/s_catan.c (__catan): Handle arguments with large real or
21399 imaginary part separately without squaring.
21400 * math/s_catanf.c (__catanf): Likewise.
21401 * math/s_catanh.c (__catanh): Likewise.
21402 * math/s_catanhf.c (__catanhf): Likewise.
21403 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21405 (__catanhl): Handle arguments with large real or imaginary part
21406 separately without squaring.
21407 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21409 (__catanl): Handle arguments with large real or imaginary part
21410 separately without squaring.
21411 * math/libm-test.inc (catan_test): Add more tests.
21412 (catanh_test): Likewise.
21413 * sysdeps/i386/fpu/libm-test-ulps: Update.
21414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21416 2013-04-27 Andreas Jaeger <aj@suse.de>
21419 * stdlib/stdlib.h: Update guards for qecvt.
21420 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21423 2013-04-27 Allan McRae <allan@archlinux.org>
21425 * sysdeps/i386/fpu/libm-test-ulps: Update.
21427 2013-04-26 Joseph Myers <joseph@codesourcery.com>
21430 * math/s_catan.c: Include <float.h>.
21431 (__catan): Ensure underflow exception occurs for underflowed
21433 * math/s_catanf.c: Include <float.h>.
21434 (__catanf): Ensure underflow exception occurs for underflowed
21436 * math/s_catanh.c: Include <float.h>.
21437 (__catanh): Ensure underflow exception occurs for underflowed
21439 * math/s_catanhf.c: Include <float.h>.
21440 (__catanhf): Ensure underflow exception occurs for underflowed
21442 * math/s_catanhl.c: Include <float.h>.
21443 (__catanhl): Ensure underflow exception occurs for underflowed
21445 * math/s_catanl.c: Include <float.h>.
21446 (__catanl): Ensure underflow exception occurs for underflowed
21448 * math/libm-test.inc (catan_test): Add more tests.
21449 (catanh_test): Likewise.
21452 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21453 underflowed result.
21454 * math/s_ccoshf.c (__ccoshf): Likewise.
21455 * math/s_ccoshl.c (__ccoshl): Likewise.
21456 * math/s_csin.c (__csin): Likewise.
21457 * math/s_csinf.c (__csinf): Likewise.
21458 * math/s_csinh.c (__csinh): Likewise.
21459 * math/s_csinhf.c (__csinhf): Likewise.
21460 * math/s_csinhl.c (__csinhl): Likewise.
21461 * math/s_csinl.c (__csinl): Likewise.
21462 * math/libm-test.inc (ccos_test): Add more tests.
21463 (ccosh_test): Likewise.
21464 (csin_test): Likewise.
21465 (csinh_test): Likewise.
21467 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21469 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21470 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21471 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21472 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21473 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21474 powerpc/power5+/fpu folders.
21475 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21478 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21480 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21482 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21484 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21485 additions to variable.
21486 [$(config-machine) = x86_64] (modules-names): Likewise.
21487 ($(objpfx)tst-audit3): Remove dependency.
21488 ($(objpfx)tst-audit3.out): Likewise.
21489 ($(objpfx)tst-audit4): Likewise.
21490 ($(objpfx)tst-audit4.out): Likewise.
21491 ($(objpfx)tst-audit5): Likewise.
21492 ($(objpfx)tst-audit5.out): Likewise.
21493 ($(objpfx)tst-audit6): Likewise.
21494 ($(objpfx)tst-audit6.out): Likewise.
21495 ($(objpfx)tst-audit7): Likewise.
21496 ($(objpfx)tst-audit7.out): Likewise.
21497 (tst-audit3-ENV): Remove variable.
21498 (tst-audit4-ENV): Likewise.
21499 (tst-audit5-ENV): Likewise.
21500 (tst-audit6-ENV): Likewise.
21501 (tst-audit7-ENV): Likewise.
21502 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21503 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21504 addition to variable.
21505 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21506 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21507 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21508 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21509 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21510 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21511 tst-audit3, tst-audit4 and tst-audit5.
21512 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21513 tst-audit6 and tst-audit7.
21514 [$(subdir) = elf] (modules-names): Add audit modules for those
21516 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21517 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21518 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21519 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21520 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21521 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21522 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21523 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21524 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21525 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21526 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21527 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21528 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21529 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21530 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21531 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21533 [$(subdir) = elf && $(config-cflags-avx) = yes]
21534 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21535 [$(subdir) = elf && $(config-cflags-avx) = yes]
21536 (CFLAGS-tst-auditmod4a.c): Likewise.
21537 [$(subdir) = elf && $(config-cflags-avx) = yes]
21538 (CFLAGS-tst-auditmod4b.c): Likewise.
21539 [$(subdir) = elf && $(config-cflags-avx) = yes]
21540 (CFLAGS-tst-auditmod6b.c): Likewise.
21541 [$(subdir) = elf && $(config-cflags-avx) = yes]
21542 (CFLAGS-tst-auditmod6c.c): Likewise.
21543 [$(subdir) = elf && $(config-cflags-avx) = yes]
21544 (CFLAGS-tst-auditmod7b.c): Likewise.
21545 * elf/tst-audit3.c: Move to ...
21546 * sysdeps/x86_64/tst-audit3.c: ... here.
21547 * elf/tst-audit4.c: Move to ...
21548 * sysdeps/x86_64/tst-audit4.c: ... here.
21549 * elf/tst-audit5.c: Move to ...
21550 * sysdeps/x86_64/tst-audit5.c: ... here.
21551 * elf/tst-audit6.c: Move to ...
21552 * sysdeps/x86_64/tst-audit6.c: ... here.
21553 * elf/tst-audit7.c: Move to ...
21554 * sysdeps/x86_64/tst-audit7.c: ... here.
21555 * elf/tst-auditmod3a.c: Move to ...
21556 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21557 * elf/tst-auditmod3b.c: Move to ...
21558 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21559 * elf/tst-auditmod4a.c: Move to ...
21560 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21561 * elf/tst-auditmod4b.c: Move to ...
21562 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21563 * elf/tst-auditmod5a.c: Move to ...
21564 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21565 * elf/tst-auditmod5b.c: Move to ...
21566 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21567 * elf/tst-auditmod6a.c: Move to ...
21568 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21569 * elf/tst-auditmod6b.c: Move to ...
21570 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21571 * elf/tst-auditmod6c.c: Move to ...
21572 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21573 * elf/tst-auditmod7a.c: Move to ...
21574 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21575 * elf/tst-auditmod7b.c: Move to ...
21576 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21578 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21581 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21582 define unconditionally.
21583 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21584 define unconditionally.
21585 (INT8_C, INT16_C, etc.): Likewise.
21587 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21589 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21590 __ehdr_start with hidden visibility.
21592 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21594 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21596 * math/libm-test.inc (cos_test): Use accurate hex constants.
21597 (sincost_test): Likewise.
21599 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21601 * math/libm-test.inc (catan_test): Add more tests.
21602 (catanh_test): Likewise.
21604 * math/s_catanf.c (__catanf): Use suffixed floating-point
21606 * math/s_catanhf.c (__catanhf): Likewise.
21607 * math/s_catanhl.c (__catanhl): Likewise.
21608 * math/s_catanl.c (__catanl): Likewise.
21611 * math/s_catan.c (__catan): Calculate imaginary part of result
21612 with log1p not log unless computing log of number close to 0.
21613 * math/s_catanf.c (__catanf): Likewise.
21614 * math/s_catanl.c (__catanl): Likewise.
21615 * math/s_catanh.c (__catanh): Calculate real part of result with
21616 log1p not log unless computing log of number close to 0.
21617 * math/s_catanhf.c (__catanhf): Likewise.
21618 * math/s_catanhl.c (__catanhl): Likewise.
21619 * math/libm-test.inc (catan_test): Add more tests.
21620 (catanh_test): Likewise.
21621 * sysdeps/i386/fpu/libm-test-ulps: Update.
21622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21624 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21626 * benchtests/Makefile: Mention files in which fast and slow
21627 paths of math functions are implemented.
21629 2013-04-23 Roland McGrath <roland@hack.frob.com>
21631 * sysdeps/posix/timespec_get.c: New file.
21633 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21635 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21637 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21639 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21640 powerpc/power5/fpu folders.
21641 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21642 * benchtests/Makefile: Add modf testcase.
21643 * benchtests/bench-modf.c: New file: Benchmark test for mo
21645 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21648 * time/Makefile (tests): Add tst-strptime-whitespace.
21649 * time/strptime_l.c (get_number): Use ISSPACE.
21650 (__strptime_internal): Likewise.
21651 * time/tst-strptime-whitespace.c: New test case.
21653 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21655 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21657 (_nss_files_init): Set it here.
21659 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21661 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21662 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21665 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21667 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21669 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21671 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21674 2013-04-21 David S. Miller <davem@davemloft.net>
21676 * po/ru.po: Update Russion translation from translation project.
21678 2013-04-17 Adam Conrad <adconrad@0c3.net>
21680 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21683 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21685 * configure.in: Remove i386 configure warning. Remove i386 case.
21686 * configure: Regenerate.
21687 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21688 Add example to error message.
21689 * sysdeps/i386/configure: Regenerate.
21691 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21693 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21695 * benchtests/cos-inputs: New file.
21696 * benchtests/slowcos-inputs: New file.
21697 * benchtests/slowcos.c: New file.
21698 * benchtests/slowtan-inputs: New file.
21699 * benchtests/slowtan.c: New file.
21700 * benchtests/tan-inputs: New file.
21702 2013-04-16 Roland McGrath <roland@hack.frob.com>
21704 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21707 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21709 * benchtests/Makefile: Include cppflags-iterator.mk to add
21710 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21712 * Makefile.in (bench-clean): New target.
21713 * benchtests/Makefile (bench-clean): Likewise.
21715 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21717 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21719 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21721 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21723 2013-04-15 Andreas Schwab <schwab@suse.de>
21725 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21726 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21727 * nscd/pwdcache.c (cache_addpw): Likewise.
21728 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21731 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21733 * benchtests/Makefile (bench): Write all output to
21734 bench-out.tmp together.
21736 2013-04-15 Andreas Schwab <schwab@suse.de>
21738 * nscd/nscd.c (main): Don't fork again after closing files.
21740 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21742 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21744 * benchtests/Rules (bench-deps): Collect dependencies into a
21745 single variable. Add Makefile to dependencies.
21746 ($(objpfx)bench-%.c): Depend on bench-deps.
21748 2013-04-12 Roland McGrath <roland@hack.frob.com>
21749 Xavier Roche <roche+kml2@exalead.com>
21752 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21753 just that it's a file descriptor.
21754 * manual/llio.texi (Synchronizing AIO Operations): Update description
21755 for EBADF error from aio_fsync.
21757 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21759 * Rules (bench): Move target definition...
21760 * benchtests/Makefile: ... here.
21762 2013-04-11 Carlos O'Donell <carlos@redhat.com>
21764 * math/libm-test.inc (cos_test): Fix PI/2 test.
21765 (sincos_test): Likewise.
21766 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21767 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21769 2013-04-11 Andreas Schwab <schwab@suse.de>
21772 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21773 accept exponent character only when digits were seen.
21774 * stdio-common/Makefile (tests): Add bug26.
21775 * stdio-common/bug26.c: New file.
21778 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21781 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21783 * Makeconfig (rtld-prefix): Define built linker prefix.
21784 * Rules (run-bench): Use it.
21785 * math/Makefile (run-regen-ulps): Likewise.
21787 * Rules (bench): Remove eval.
21789 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21790 Roland McGrath <roland@hack.frob.com>
21791 Ondrej Bilka <neleai@seznam.cz>
21794 * time/getdate.c: Include ctype.h and alloca.h.
21795 (__getdate_r): Trim leading and trailing spaces of input.
21796 * time/tst-getdate.c (tests): Add tests with leading and
21799 2013-04-08 Roland McGrath <roland@hack.frob.com>
21802 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21803 when computing value.
21805 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21807 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21808 Use testrun.sh to run libm tests.
21811 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21813 2013-04-06 Marko Myllynen <myllynen@redhat.com>
21816 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21818 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21820 * Makefile.in (regen-ulps): New target.
21821 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21822 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21823 [ifneq (no,$(PERL)] (regen-ulps): New target.
21824 [ifeq (no,$(PERL)] (regen-ulps): New target.
21825 * math/libm-test.inc (ulps_file_name): Define.
21826 (output_dir): New variable.
21827 (options): Add "output-dir" option.
21828 (parse_opt): Handle 'o' case.
21829 (main): If output_dir is non-NULL use it as a prefix
21831 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21833 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21835 [BZ #10060, #10062]
21836 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21837 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21838 fail configure if __sync_val_compare_and_swap is not inlined.
21839 * sysdeps/i386/configure: Regenerate.
21840 * configure.in: Build for i686 when configured for i386.
21841 * configure: Regenerate.
21842 * README: Remove i386 reference.
21844 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21846 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21847 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21849 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21851 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21852 (lmsnanval): New variables.
21853 (F): Add conversion tests.
21854 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21855 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21857 * stdio-common/tstdiomisc.c (F): Properly collect individual
21860 [BZ #14686, #15336]
21861 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21862 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21863 Instead, use input NaN values or generate a qNaN by arithmetic
21864 operation. Also fix bugs to comply with the standard.
21865 * math/libm-test.inc (remainder_test): Add more tests.
21867 [BZ #15335, #15342]
21868 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21869 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21870 input NaN values or generate a qNaN by arithmetic operation.
21872 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21875 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21878 2013-04-03 Joseph Myers <joseph@codesourcery.com>
21881 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21882 underflowed result.
21883 * math/s_cexpf.c (__cexpf): Likewise.
21884 * math/s_cexpl.c (__cexpl): Likewise.
21885 * math/libm-test.inc (cexp_test): Add more tests.
21887 2013-04-03 Andreas Schwab <schwab@suse.de>
21890 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21891 order arrays from heap if bigger than alloca cutoff.
21893 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21895 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21896 (SNAN_TESTS_double): Refer to GCC PR56831.
21897 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21900 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21902 * Rules (bench): Move bench.out after the run is complete.
21904 * Rules (bench): Echo currently running benchmark.
21906 * benchtests/Makefile (bench): Add atan and slowatan.
21907 * benchtests/atan-inputs: New file.
21908 * benchtests/slowatan-inputs: New file.
21909 * benchtests/slowatan.c: New file.
21911 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21912 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21916 * sysdeps/unix/sysv/linux/kernel-features.h
21917 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21918 __ASSUME_XFS_RESTRICTED_CHOWN.
21919 * sysdeps/unix/sysv/linux/pathconf.c
21920 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21921 Save and restore errno.
21923 2013-04-02 Joseph Myers <joseph@codesourcery.com>
21926 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21927 arguments using __kernel_casinh.
21928 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21929 arguments using __kernel_casinhf.
21930 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21931 arguments using __kernel_casinhl.
21932 * math/libm-test.inc (cacosh_test): Add more tests.
21933 * sysdeps/i386/fpu/libm-test-ulps: Update.
21934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21936 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21938 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21939 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21941 * bench/Makefile (bench): Add sin and slowsin.
21942 * benchtests/sin-inputs: New file.
21943 * benchtests/slowsin-inputs: New file.
21944 * benchtests/slowsin.c: New file.
21946 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21947 (bench): Add slowexp and slowpow.
21948 (exp-ITER): Increase iterations.
21949 (pow-ITER): Likewise.
21950 * benchtests/exp-inputs: Change input.
21951 * benchtests/pow-inputs: Likewise.
21952 * benchtests/slowexp-inputs: New file.
21953 * benchtests/slowexp.c: New file.
21954 * benchtests/slowpow-inputs: New file.
21955 * benchtests/slowpow.c: New file.
21957 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21959 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21961 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21962 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21963 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21964 * benchtests/Makefile: Add rint benchtest.
21965 * benchtests/rint-inputs: Input for rint benchtest.
21967 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21969 * Versions.def (libm): Add GLIBC_2.18.
21970 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21971 hidden libm prototypes.
21972 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21973 * math/Makefile (libm-calls): Add s_issignaling.
21974 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21975 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21976 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21978 * math/math.h [__USE_GNU] (issignaling): New macro.
21979 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21980 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21981 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21982 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21983 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21984 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21985 * manual/arith.texi (issignaling): New section.
21986 * manual/libm-err-tab.pl (@all_functions): Update comment.
21987 * math/gen-libm-test.pl (parse_args): Apply special handling for
21989 * math/libm-test.inc (print_float, issignaling_test): New
21991 (check_float_internal): Add issignaling checks.
21992 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21993 default definition.
21994 * sysdeps/powerpc/math-tests.h: New file.
21995 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21997 * math/test-snan.c (TEST_FUNC): Likewise.
21999 2013-03-30 David S. Miller <davem@davemloft.net>
22001 * po/de.po: Update from translation team.
22003 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22006 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22007 imaginary part less than 1.0 and real part less than 0.5
22009 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22010 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22011 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22012 (cacos_test): Add more tests.
22013 (casin_test): Likewise.
22014 (casinh_test): Likewise.
22015 * sysdeps/i386/fpu/libm-test-ulps: Update.
22016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22018 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22020 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22021 ONE with its value.
22023 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22024 (__pow_mp): Replace ONE and MONE with their values.
22025 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22026 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22027 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22028 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22029 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22030 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22032 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22034 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22035 (__pow_mp): Replace ZERO and MZERO with their values.
22036 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22037 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22038 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22039 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22040 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22041 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22044 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22046 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22048 2013-03-28 Roland McGrath <roland@hack.frob.com>
22050 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22051 Declare with __attribute__ ((weak)).
22052 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22053 Call __call_tls_dtors only if it's not NULL.
22055 2013-03-28 Roland McGrath <roland@hack.frob.com>
22057 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22058 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22059 magic __ehdr_start linker symbol if it's defined.
22060 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22061 them up here if it was already done.
22063 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22064 (_dl_aux_init): Use const in cast when setting it.
22065 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22066 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22067 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22069 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22071 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22072 * csu/libc-tls.c: Nor here.
22073 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22075 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22076 (__libc_message): Never call vsyslog.
22078 2013-03-28 Alan Modra <amodra@gmail.com>
22080 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22082 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22085 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22088 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22092 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22095 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22096 Don't add gid passed as argument.
22098 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22100 2013-03-27 Joseph Myers <joseph@codesourcery.com>
22103 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22104 imaginary part between 1.0 and 1.5 and real part less than 0.5
22106 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22107 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22108 * math/libm-test.inc (cacos_test): Add more tests.
22109 (casin_test): Likewise.
22110 (casinh_test): Likewise.
22111 * sysdeps/i386/fpu/libm-test-ulps: Update.
22112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22114 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22116 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22119 (denorm): Likewise.
22120 (__dbl_mp): Likewise.
22121 (add_magnitudes): Likewise.
22122 (sub_magnitudes): Likewise.
22130 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22132 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22133 (__dubcos): Likewise.
22134 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22135 (__ieee754_acos): Likewise.
22136 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22137 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22138 (__exp1): Likewise.
22139 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22140 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22142 (my_log2): Likewise.
22143 (checkint): Likewise.
22144 * sysdeps/ieee754/dbl-64/e_remainder.c
22145 (__ieee754_remainder): Likewise.
22146 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22147 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22148 (bsloww): Likewise.
22149 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22151 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22152 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22153 MANTISSA_STORE_T to store computations on mantissa. Use
22154 macros for rounding and division.
22155 (denorm): Likewise.
22156 (__dbl_mp): Likewise.
22157 (add_magnitudes): Likewise.
22158 (sub_magnitudes): Likewise.
22161 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22162 powers of two in terms of TWOPOW macro.
22163 (mp_no): Make type of mantissa as MANTISSA_T.
22164 [!RADIXI]: Define RADIXI.
22165 [!TWO52]: Define TWO52.
22166 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22168 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22170 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22171 llroundl symbol when building for PPC32.
22173 2013-03-24 Mark H Weaver <mhw@netris.org>
22175 * manual/arith.texi (Normalization Functions): Fix prototypes for
22176 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22178 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22181 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22182 high value to check if expl overflow.
22183 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22184 to check for underflow and overflow.
22185 * math/libm-test.inc: Add exp test.
22187 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22190 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22193 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22195 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22198 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22200 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22201 wrap blocks consisting of several statements.
22203 * sysdeps/generic/math-tests.h: New file.
22204 * sysdeps/i386/fpu/math-tests.h: Likewise.
22205 * math/test-snan.c: Include it.
22206 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22208 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22211 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22212 (__ieee754_j0l): Do not improve calculations using cos of twice
22213 input for inputs above LDBL_MAX / 2.0L.
22214 (__ieee754_y0l): Likewise.
22215 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22216 (__ieee754_j1l): Do not improve calculations using cos of twice
22217 input for inputs above LDBL_MAX / 2.0L.
22218 (__ieee754_y1l): Likewise.
22219 * math/libm-test.inc (j0_test): Add another test.
22220 (j1_test): Likewise.
22221 (y0_test): Likewise.
22222 (y1_test): Likewise.
22223 * sysdeps/i386/fpu/libm-test-ulps: Update.
22225 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22227 * Rules ($(objpfx)bench-%.c): Include code from a C source
22230 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22233 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22234 imaginary part 1.0 and real part less than 0.5 specially.
22235 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22236 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22237 * math/libm-test.inc (cacos_test): Add more tests.
22238 (casin_test): Likewise.
22239 (casinh_test): Likewise.
22240 * sysdeps/i386/fpu/libm-test-ulps: Update.
22241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22243 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22245 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22246 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22248 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22250 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22251 * config.make.in (config-cflags-sse4): Remove variable.
22252 (config-cflags-avx): Likewise.
22253 (config-cflags-sse2avx): Likewise.
22254 (config-cflags-novzeroupper): Likewise.
22255 (config-asflags-i686): Likewise.
22256 (have-mfma4): Likewise.
22257 (have-as-vis3): Likewise.
22259 * configure.in (MIG): Do not AC_SUBST.
22260 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22261 (libc_cv_cc_sse4): Do not AC_SUBST.
22262 (libc_cv_cc_avx): Likewise.
22263 (libc_cv_cc_sse2avx): Likewise.
22264 (libc_cv_cc_novzeroupper): Likewise.
22265 (libc_cv_cc_fma4): Likewise.
22266 (libc_cv_as_i686): Likewise.
22267 (libc_cv_sparc_as_vis3): Likewise.
22268 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22270 (config-asflags-i686): Likewise.
22271 (config-cflags-avx): Likewise.
22272 (config-cflags-sse2avx): Likewise.
22273 (have-mfma4): Likewise.
22274 (config-cflags-novzeroupper): Likewise.
22275 * sysdeps/mach/configure.in (MIG): Likewise.
22276 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22277 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22279 (config-cflags-avx): Likewise.
22280 (config-cflags-sse2avx): Likewise.
22281 (have-mfma4): Likewise.
22282 (config-cflags-novzeroupper): Likewise.
22283 * configure: Regenerated.
22284 * sysdeps/i386/configure: Likewise.
22285 * sysdeps/mach/configure: Likewise.
22286 * sysdeps/sparc/configure: Likewise.
22287 * sysdeps/x86_64/configure: Likewise.
22289 2013-03-20 Roland McGrath <roland@hack.frob.com>
22292 * locale/programs/localedef.c (options): Put N_ translation marker
22293 on argument names, not just descriptions.
22295 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22297 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22299 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
22302 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22304 2013-03-19 Roland McGrath <roland@hack.frob.com>
22306 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22307 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22308 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22309 [!BEFORE_ABORT] (before_abort): New function.
22310 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22311 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22312 (writev_for_fatal): New function.
22313 (WRITEV_FOR_FATAL): New macro; call that.
22314 (backtrace_and_maps): New function.
22315 (BEFORE_ABORT): New macro; call that.
22316 (struct str_list): Type removed.
22317 (__libc_message, __libc_fatal): Functions removed.
22318 Include <sysdeps/posix/libc_fatal.c> instead.
22320 2013-03-19 Joseph Myers <joseph@codesourcery.com>
22322 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22324 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22327 2013-03-19 Andreas Schwab <schwab@suse.de>
22329 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22330 * sysdeps/gnu/configure: Regenerate.
22332 * configure.in: Substitute libc_cv_rtlddir.
22333 * configure: Regenerate.
22334 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22335 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22336 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22337 * elf/Makefile (install-others, CFLAGS-interp.c)
22338 (ldso_install, common-ldd-rewrite): Likewise.
22339 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22340 $(inst_slibdir)/$(rtld-installed-name).
22341 * scripts/rellns-sh: Add -p option.
22342 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22345 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22347 * manual/nptl.texi: Renamed to ...
22348 * manual/threads.texi: ... this.
22349 * manual/Makefile (chapters): Update.
22351 2013-03-18 Roland McGrath <roland@hack.frob.com>
22354 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22355 on argument names, not just descriptions.
22356 * malloc/memusagestat.c (options): Likewise.
22357 * nss/getent.c (options): Likewise.
22359 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
22362 * iconv/iconv_prog.c (options): Put N_ translation marker
22363 on argument names, not just descriptions.
22364 * iconv/iconvconfig.c (options): Likewise.
22366 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
22368 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22369 implementation which is faster on all x86_64 architectures.
22370 Tested on AMD, Intel Nehalem, SNB, IVB.
22371 * sysdeps/x86_64/strnlen.S: Likewise.
22373 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22374 Remove all multiarch strlen and strnlen versions.
22375 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22376 Remove strlen and strnlen related parts.
22378 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22379 Inline strlen part.
22380 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22382 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22383 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22384 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22385 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22386 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22387 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22389 2013-03-17 Carlos O'Donell <carlos@redhat.com>
22391 * manual/memory.texi (Malloc Tunable Parameters):
22392 Sort parameters alphabetically. Add comments for missing entries.
22394 2013-03-17 David S. Miller <davem@davemloft.net>
22396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22398 2013-03-16 Joseph Myers <joseph@codesourcery.com>
22401 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22402 for arguments at most half maximum finite value.
22403 * math/libm-test.inc (j0_test): Add more tests.
22404 (j1_test): Likewise.
22405 (y0_test): Likewise.
22406 (y1_test): Likewise.
22407 * sysdeps/i386/fpu/libm-test-ulps: Update.
22408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22411 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22412 1 / x and functions P and Q for arguments above 0x1p256L.
22413 (__ieee754_y0l): Likewise.
22414 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22415 (__ieee754_y1l): Likewise.
22416 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22417 (j1_test): Likewise.
22418 (y0_test): Likewise.
22419 (y1_test): Likewise.
22421 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22423 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22426 2013-03-15 Roland McGrath <roland@hack.frob.com>
22428 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22429 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22430 zero since it's initialized to EXEC_PAGESIZE.
22432 * sysdeps/unix/sysv/linux/ldsodefs.h
22433 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22434 * sysdeps/generic/ldsodefs.h: ... here.
22436 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22438 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22440 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22442 * math/test-snan.c: Renamed from
22443 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22444 * math/Makefile (tests): Add test-snan.
22445 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22448 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22449 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22451 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22452 __builtin_nan family of functions.
22453 * math/libm-test.inc (initialize): Initialize qnan_value with
22454 __builtin_nan family of functions.
22455 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22457 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22459 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22460 storage class. Initialize qNaN_var and sNaN_var with
22461 __builtin_nan and __builtin_nans families of functions,
22464 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22465 (sqrt_test): Remove duplicate test with qNaN input.
22466 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22467 (round_test, signbit_test, significand_test): Note missing +/-Inf
22468 as well as qNaN tests.
22470 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22471 qNaN_var. Fix a few strings, too.
22472 * math/libm-test.inc (nan_value): Rename to qnan_value.
22473 * math/gen-libm-test.pl (%beautify): Adjust to that.
22474 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22475 * math/test-misc.c (main): Likewise.
22476 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22477 to __qnan_bytes, and __qnan_union, respectively.
22478 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22480 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22481 and lqnanval, respectively.
22482 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22483 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22484 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22485 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22487 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22488 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22491 * math/test-misc.c (main): Fix copy'n'pastos.
22492 * misc/tst-efgcvt.c (special): Likewise.
22494 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22495 Remove declarations.
22497 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22499 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22500 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22501 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22502 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22504 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22506 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22507 macro to return vdso values correctly in IFUNC implementations.
22508 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22509 Optimization by using IFUNC.
22511 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22512 Richard Henderson <rth@redhat.com>
22513 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22515 * Makefile.in (bench): New target.
22516 * NEWS: Mention the benchmark framework.
22517 * Rules (bench): Likewise.
22518 (binaries-bench): Generate binaries for functions to
22520 * benchtests/Makefile: New makefile for benchmark tests.
22521 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22523 * benchtests/exp-inputs: New input file for EXP function.
22524 * benchtests/pow-inputs: New input file for POW function.
22525 * scripts/bench.pl: New script to generate source files for
22526 benchmark programs.
22528 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22530 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22531 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22532 computations on mantissa. Use macros for rounding and
22534 (denorm): Likewise.
22535 (__dbl_mp): Likewise.
22536 (add_magnitudes): Likewise.
22537 (sub_magnitudes): Likewise.
22540 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22541 powers of two in terms of TWOPOW macro.
22542 (mp_no): Make type of mantissa as MANTISSA_T.
22543 [!RADIXI]: Define RADIXI.
22544 [!TWO52]: Define TWO52.
22545 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22547 * manual/nptl.texi (cindex): Modify threads to pthreads.
22549 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22551 * sysdeps/x86_64/preconfigure: Regenerated.
22553 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22556 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22558 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22559 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22561 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22562 * math/libm-test.inc (j0_test): Do not allow one spurious
22563 underflow exception.
22564 (y1_test): Likewise.
22566 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22568 * manual/Makefile (chapters): Add nptl.
22569 * manual/debug.texi (Debugging Support): Add link to Threads
22571 * manual/nptl.texi: New file.
22573 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22575 2013-03-14 Petr Baudis <pasky@ucw.cz>
22577 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22578 for non-NULL pointer before the memory validity test. Pointed
22579 out by Holger Brunck <holger.brunck@keymile.com>.
22581 2013-03-13 Andreas Schwab <schwab@suse.de>
22583 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22586 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22588 * timezone/zic.c: Update from tzcode 2013b.
22590 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22592 * manual/install.texi (Configuring and compiling):
22593 Mention i686 and i586.
22594 * INSTALL: Regenerate.
22596 2013-03-12 Roland McGrath <roland@hack.frob.com>
22598 * sysdeps/init_array/elf-init.c: New file.
22600 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22601 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22603 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22604 __gmon_start__ as global, but as static with a .preinit_array pointer.
22605 * sysdeps/init_array/gmon-start.c: New file. Use that.
22606 * sysdeps/init_array/crti.S: New file, empty except for comments.
22607 * sysdeps/init_array/crtn.S: Likewise.
22609 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22611 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22613 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22614 Remove Prefer_SSE_for_memop.
22615 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22616 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22617 HAS_PREFER_SSE_FOR_MEMOP.
22618 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22620 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22621 Remove bzero, memset ifunc support.
22622 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22623 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22624 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22625 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22627 2013-03-11 Andreas Schwab <schwab@suse.de>
22630 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22632 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22633 (GLIBC_2.16): Remove pthread_atfork.
22635 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22637 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22638 (ptestcases.h): Likewise.
22640 2013-03-08 Roland McGrath <roland@hack.frob.com>
22642 * Makeconfig ($(common-objpfx)config.status): Depend on
22643 sysdeps/*/preconfigure{,.in} too.
22645 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22647 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22648 (__free_hook): Use void * instead of __malloc_ptr_t.
22649 (__malloc_hook): Likewise.
22650 (__realloc_hook): Likewise.
22651 (__memalign_hook): Likewise.
22652 (__after_morecore_hook): Likewise.
22653 * malloc/arena.c (save_malloc_hook): Likewise.
22654 (save_free_hook): Likewise.
22655 * malloc/hooks.c (malloc_hook_ini): Likewise.
22656 (realloc_hook_ini): Likewise.
22657 (memalign_hook_ini): Likewise.
22658 * malloc/malloc.c (malloc_hook_ini): Likewise.
22659 (realloc_hook_ini): Likewise.
22660 (memalign_hook_ini): Likewise.
22661 (__free_hook): Likewise.
22662 (__malloc_hook): Likewise.
22663 (__realloc_hook): Likewise.
22664 (__memalign_hook): Likewise.
22665 (__libc_malloc): Likewise.
22666 (__libc_free): Likewise.
22667 (__libc_realloc): Likewise.
22668 (__libc_memalign): Likewise.
22669 (__libc_valloc): Likewise.
22670 (__libc_pvalloc): Likewise.
22671 (__libc_calloc): Likewise.
22672 (__posix_memalign): Likewise.
22673 * malloc/morecore.c (__sbrk): Likewise.
22674 (__default_morecore): Likewise.
22676 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22678 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22679 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22680 __malloc_ptrdiff_t.
22682 * malloc/malloc.h (__malloc_size_t): Remove macro.
22683 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22685 (old_memalign_hook): Likewise.
22686 (old_realloc_hook): Likewise.
22687 (struct hdr): Likewise.
22689 (mallochook): Likewise.
22690 (memalignhook): Likewise.
22691 (reallochook): Likewise.
22692 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22693 (tr_old_realloc_hook): Likewise.
22694 (tr_old_memalign_hook): Likewise.
22695 (tr_mallochook): Likewise.
22696 (tr_reallochook): Likewise.
22697 (tr_memalignhook): Likewise.
22699 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22701 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22702 default_ldbl_pack and using as default implementation.
22703 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22705 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22706 redundant definition.
22707 (ldbl_insert_mantissa): Likewise.
22708 (ldbl_canonicalize): Likewise.
22709 (ldbl_nearbyint): Likewise.
22710 (ldbl_pack): Rename to ldbl_pack_ppc.
22711 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22712 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22713 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22715 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22717 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22718 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22719 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22720 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22721 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22722 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22723 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22724 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22726 2013-03-07 Andreas Jaeger <aj@suse.de>
22728 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22731 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22733 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22734 Include mpa.h and declare __MPEXP.
22735 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22736 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22737 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22738 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22739 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22740 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22741 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22743 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22744 (__slowpow): Use long double EXPL and LOGL functions to
22746 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22747 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22748 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22749 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22750 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22751 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22754 intermediate variable to calculate exponent.
22756 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22760 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22761 [!NO__SQR]: Define __sqr.
22762 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22763 and NO__SQR. Remove all code except __mul and __sqr. Include
22764 sysdeps/ieee754/dbl-64/mpa.c.
22765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22768 * posix/Makefile (tests): Add tst-pathconf.
22769 * posix/tst-pathconf.c: New test case.
22770 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22772 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22774 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
22776 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22778 2013-03-06 Andreas Jaeger <aj@suse.de>
22780 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22781 definition via __MAP_ANONYMOUS.
22783 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22784 it's not part of Linux headers.
22786 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22787 (MAP_HUGE_MASK): Define.
22789 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22791 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22792 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22794 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22795 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22797 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22798 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22800 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22802 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22803 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22804 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22805 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22806 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22807 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22809 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22812 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22813 Handle f2fs and efivarfs.
22815 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22818 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22819 (EFIVARFS_MAGIC): Add.
22820 (F2FS_LINK_MAX): Add.
22822 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22824 * stdio-common/vfprintf.c: Replace __builtin_expect with
22827 2013-03-06 Joseph Myers <joseph@codesourcery.com>
22830 * sysdeps/generic/bp-sym.h: Remove file.
22831 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22832 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22833 <bp-sym.h> and <bp-asm.h>.
22834 (__longjmp): Don't use BP_SYM.
22835 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22837 (memcpy): Don't use BP_SYM.
22838 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22839 <bp-sym.h> and <bp-asm.h>.
22840 (memcpy): Don't use BP_SYM.
22841 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22843 (memcpy): Don't use BP_SYM.
22844 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22846 (memset): Don't use BP_SYM.
22847 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22848 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22849 (__bzero): Don't use BP_SYM.
22850 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22851 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22852 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22853 <bp-sym.h> and <bp-asm.h>.
22854 (memcmp): Don't use BP_SYM. Remove comment about bounded
22856 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22857 <bp-sym.h> and <bp-asm.h>.
22858 (memcpy): Don't use BP_SYM.
22859 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22860 <bp-sym.h> and <bp-asm.h>.
22861 (memset): Don't use BP_SYM.
22862 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22863 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22864 (__bzero): Don't use BP_SYM.
22865 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22866 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22867 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22868 <bp-sym.h> and <bp-asm.h>.
22869 (strncmp): Don't use BP_SYM. Remove comment about bounded
22871 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22872 <bp-sym.h> and <bp-asm.h>.
22873 (memcpy): Don't use BP_SYM.
22874 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22875 <bp-sym.h> and <bp-asm.h>.
22876 (memset): Don't use BP_SYM.
22877 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22878 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22879 (__bzero): Don't use BP_SYM.
22880 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22881 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22882 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22883 <bp-sym.h> and <bp-asm.h>.
22884 (__memchr): Don't use BP_SYM.
22885 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22886 <bp-sym.h> and <bp-asm.h>.
22887 (memcmp): Don't use BP_SYM. Remove comment about bounded
22889 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22890 <bp-sym.h> and <bp-asm.h>.
22891 (memcpy): Don't use BP_SYM.
22892 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22893 <bp-sym.h> and <bp-asm.h>.
22894 (__mempcpy): Don't use BP_SYM.
22895 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22896 <bp-sym.h> and <bp-asm.h>.
22897 (__memrchr): Don't use BP_SYM.
22898 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22899 <bp-sym.h> and <bp-asm.h>.
22900 (memset): Don't use BP_SYM.
22901 (__bzero): Likewise.
22902 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22903 <bp-sym.h> and <bp-asm.h>.
22904 (__rawmemchr): Don't use BP_SYM.
22905 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22906 <bp-sym.h> and <bp-asm.h>.
22907 (__STRCMP): Don't use BP_SYM.
22908 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22909 <bp-sym.h> and <bp-asm.h>.
22910 (strchr): Don't use BP_SYM.
22911 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22912 <bp-sym.h> and <bp-asm.h>.
22913 (__strchrnul): Don't use BP_SYM.
22914 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22915 <bp-sym.h> and <bp-asm.h>.
22916 (strlen): Don't use BP_SYM.
22917 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22918 <bp-sym.h> and <bp-asm.h>.
22919 (strncmp): Don't use BP_SYM. Remove comment about bounded
22921 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22922 <bp-sym.h> and <bp-asm.h>.
22923 (__strnlen): Don't use BP_SYM.
22924 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22925 <bp-sym.h> and <bp-asm.h>.
22926 (__GI__setjmp): Don't use BP_SYM.
22927 (_setjmp): Likewise.
22928 (__sigsetjmp): Likewise.
22929 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22930 (L(start_addresses)): Don't use BP_SYM.
22931 (_start): Likewise.
22932 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22934 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22935 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22936 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22937 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22938 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22940 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22941 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22942 about bounded pointers.
22943 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22944 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22945 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22947 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22948 about bounded pointers. Remove GKM FIXME comments.
22949 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22950 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22952 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22953 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22954 Remove GKM FIXME comments.
22955 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22956 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22957 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22959 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22960 about bounded pointers. Remove GKM FIXME comment.
22961 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22963 (strncmp): Don't use BP_SYM. Remove comment about bounded
22965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22966 <bp-sym.h> and <bp-asm.h>.
22967 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22969 <bp-sym.h> and <bp-asm.h>.
22970 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22973 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22975 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22978 2013-03-05 David S. Miller <davem@davemloft.net>
22980 * po/es.po: Update from translation team.
22982 2013-03-05 Andreas Jaeger <aj@suse.de>
22984 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22985 <bits/mman-linux.h>.
22986 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22988 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22989 <bits/mman-linux.h> to end of file.
22990 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22992 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22993 <bits/mman-linux.h> to end of file.
22994 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22996 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22997 <bits/mman-linux.h> to end of file.
22999 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23000 (MCL_CURRENT, MCL_FUTURE): Define here.
23002 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23005 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23007 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23009 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23011 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23012 fourth parameter needed for rt_sigprocmask syscall.
23013 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23014 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23015 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23016 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23017 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23018 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23020 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23023 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23024 comment about bounded pointers.
23025 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23026 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23028 2013-03-04 Andreas Jaeger <aj@suse.de>
23030 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23031 common definitions.
23033 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23034 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23035 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23036 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23037 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23038 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23040 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23043 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23044 __ieee754_sqrl instead of __sqrl.
23046 2013-03-01 Joseph Myers <joseph@codesourcery.com>
23048 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23049 * sysdeps/powerpc/fpu_control.h: ... here.
23050 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23051 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23052 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23053 * sysdeps/powerpc/bits/mathinline.h: ... here.
23055 2013-03-01 Roland McGrath <roland@hack.frob.com>
23057 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23058 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23059 to just [NEED_DL_SYSINFO_DSO].
23060 * elf/dl-support.c: Likewise.
23061 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23062 * elf/rtld.c (dl_main): Likewise.
23063 * elf/setup-vdso.h (setup_vdso): Likewise.
23064 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23065 * sysdeps/unix/sysv/linux/dl-sysdep.c
23066 (_dl_discover_osversion): Likewise.
23068 2013-03-01 Carlos O'Donell <carlos@redhat.com>
23070 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23071 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23073 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23075 * NEWS: Mention libm performance improvements and non-x86 PI
23078 * csu/libc-start.c (__pthread_initialize_minimal): Change
23079 function arguments.
23080 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23082 2013-02-28 Joseph Myers <joseph@codesourcery.com>
23085 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23086 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23087 <bp-sym.h> and <bp-asm.h>.
23088 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23089 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23091 (memcpy): Don't use BP_SYM.
23092 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23094 (__mpn_add_n): Don't use BP_SYM.
23095 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23096 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23098 (__mpn_addmul_1): Don't use BP_SYM.
23099 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23100 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23102 (_setjmp): Don't use BP_SYM.
23103 (__novmx_setjmp): Likewise.
23104 (__GI__setjmp): Likewise.
23105 (__vmx_setjmp): Likewise.
23106 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23108 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23109 (__bzero): Don't use BP_SYM.
23110 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23111 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23112 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23113 <bp-sym.h> and <bp-asm.h>.
23114 (memcpy): Don't use BP_SYM.
23115 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23116 <bp-sym.h> and <bp-asm.h>.
23117 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23118 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23119 <bp-sym.h> and <bp-asm.h>.
23120 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23121 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23123 (__mpn_lshift): Don't use BP_SYM.
23124 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23125 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23127 (memset): Don't use BP_SYM.
23128 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23129 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23130 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23132 (__mpn_mul_1): Don't use BP_SYM.
23133 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23134 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23135 <bp-sym.h> and <bp-asm.h>.
23136 (memcmp): Don't use BP_SYM.
23137 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23138 <bp-sym.h> and <bp-asm.h>.
23139 (memcpy): Don't use BP_SYM.
23140 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23141 <bp-sym.h> and <bp-asm.h>.
23142 (memset): Don't use BP_SYM.
23143 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23144 <bp-sym.h> and <bp-asm.h>.
23145 (strncmp): Don't use BP_SYM.
23146 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23147 <bp-sym.h> and <bp-asm.h>.
23148 (memcpy): Don't use BP_SYM.
23149 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23150 <bp-sym.h> and <bp-asm.h>.
23151 (memset): Don't use BP_SYM.
23152 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23153 <bp-sym.h> and <bp-asm.h>.
23154 (__memchr): Don't use BP_SYM.
23155 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23156 <bp-sym.h> and <bp-asm.h>.
23157 (memcmp): Don't use BP_SYM.
23158 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23159 <bp-sym.h> and <bp-asm.h>.
23160 (memcpy): Don't use BP_SYM.
23161 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23162 <bp-sym.h> and <bp-asm.h>.
23163 (__mempcpy): Don't use BP_SYM.
23164 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23165 <bp-sym.h> and <bp-asm.h>.
23166 (__memrchr): Don't use BP_SYM.
23167 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23168 <bp-sym.h> and <bp-asm.h>.
23169 (memset): Don't use BP_SYM.
23170 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23171 <bp-sym.h> and <bp-asm.h>.
23172 (__rawmemchr): Don't use BP_SYM.
23173 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23174 <bp-sym.h> and <bp-asm.h>.
23175 (__STRCMP): Don't use BP_SYM.
23176 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23177 <bp-sym.h> and <bp-asm.h>.
23178 (strchr): Don't use BP_SYM.
23179 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23180 <bp-sym.h> and <bp-asm.h>.
23181 (__strchrnul): Don't use BP_SYM.
23182 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23183 <bp-sym.h> and <bp-asm.h>.
23184 (strlen): Don't use BP_SYM.
23185 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23186 <bp-sym.h> and <bp-asm.h>.
23187 (strncmp): Don't use BP_SYM.
23188 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23189 <bp-sym.h> and <bp-asm.h>.
23190 (__strnlen): Don't use BP_SYM.
23191 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23193 (__mpn_rshift): Don't use BP_SYM.
23194 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23195 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23196 <bp-sym.h> and <bp-asm.h>.
23197 (__sigsetjmp): Don't use BP_SYM.
23198 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23199 (L(start_addresses)): Don't use BP_SYM.
23200 (_start): Likewise.
23201 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23203 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23204 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23205 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23206 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23208 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23209 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23210 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23211 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23213 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23215 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23216 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23218 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23220 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23221 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23222 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23224 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23226 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23228 (strncmp): Don't use BP_SYM,
23229 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23231 (__mpn_sub_n): Don't use BP_SYM.
23232 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23233 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23235 (__mpn_submul_1): Don't use BP_SYM.
23236 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23238 <bp-sym.h> and <bp-asm.h>.
23239 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23241 <bp-sym.h> and <bp-asm.h>.
23242 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23245 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23248 Use ZK to minimize writes to Z.
23249 (sub_magnitudes): Simplify code a bit.
23250 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23251 Use ZK to minimize writes to Z.
23252 (sub_magnitudes): Simplify code a bit.
23254 2013-02-27 Roland McGrath <roland@hack.frob.com>
23256 * csu/gmon-start.c: Add special exception to license text.
23258 2013-02-27 Richard Henderson <rth@redhat.com>
23260 * scripts/config.guess: Update from config.git.
23261 * scripts/config.sub: Likewise.
23263 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23265 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23267 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23269 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23271 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23273 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23275 2013-02-26 Roland McGrath <roland@hack.frob.com>
23277 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23278 [$(build-shared = yes].
23280 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23282 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23283 (__mul): Reduce iterations for calculating mantissa.
23285 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23287 (__mpranred): Likewise.
23290 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23291 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23293 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23295 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23296 Define __attribute__.
23298 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23300 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23302 * posix/regex_internal.h (__attribute): Remove.
23303 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23304 (re_string_context_at): Likewise.
23305 (bitset_not): Use __attribute__ and mark function as possibly
23307 (bitset_merge): Likewise.
23308 (bitset_mask): Likewise.
23309 (re_string_char_size_at): Likewise.
23310 (re_string_wchar_at): Likewise.
23311 (re_string_elem_size_at): Likewise.
23313 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23315 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23319 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23323 (denorm): Likewise.
23324 (__dbl_mp): Likewise.
23325 (add_magnitudes): Likewise.
23326 (sub_magnitudes): Likewise.
23330 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23333 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23336 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23339 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23340 up changes with default code.
23341 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23344 2013-02-24 Allan McRae <allan@archlinux.org>
23346 * manual/socket.texi (The Internet Namespace): Order menu items
23347 to match that in the file.
23349 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23350 node listing of the info page menu.
23352 2013-02-21 Joseph Myers <joseph@codesourcery.com>
23355 * sysdeps/i386/bp-asm.h: Remove file.
23356 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23357 (PARMS): Do not use macros from bp-asm.h.
23361 (__mpn_add_n): Do not use BP_SYM
23362 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23364 (PARMS): Do not use macros from bp-asm.h.
23367 (__mpn_addmul_1): Do not use BP_SYM
23368 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23370 (PARMS): Do not use macros from bp-asm.h.
23371 (SIGMSK): Likewise.
23372 (_setjmp): Likewise. Do not use BP_SYM.
23373 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23375 (PARMS): Do not use macros from bp-asm.h.
23376 (SIGMSK): Likewise.
23377 (setjmp): Likewise. Do not use BP_SYM.
23378 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23380 (PARMS): Do not use macros from bp-asm.h.
23381 (__frexp): Do not use BP_SYM.
23383 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23385 (PARMS): Do not use macros from bp-asm.h.
23386 (__frexpf): Do not use BP_SYM.
23387 (frexpf): Likewise.
23388 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23390 (PARMS): Do not use macros from bp-asm.h.
23391 (__frexpl): Do not use BP_SYM.
23392 (frexpl): Likewise.
23393 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23395 (PARMS): Do not use macros from bp-asm.h.
23396 (__remquo): Do not use BP_SYM.
23397 (remquo): Likewise.
23398 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23400 (PARMS): Do not use macros from bp-asm.h.
23401 (__remquof): Do not use BP_SYM.
23402 (remquof): Likewise.
23403 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23405 (PARMS): Do not use macros from bp-asm.h.
23406 (__remquol): Do not use BP_SYM.
23407 (remquol): Likewise.
23408 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23410 (PARMS): Do not use macros from bp-asm.h.
23413 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23414 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23416 (PARMS): Do not use macros from bp-asm.h.
23417 (strlen): Do not use BP_SYM.
23418 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23420 (PARMS): Do not use macros from bp-asm.h.
23424 (__mpn_add_n): Do not use BP_SYM.
23425 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23427 (PARMS): Do not use macros from bp-asm.h.
23430 (__mpn_addmul_1): Do not use BP_SYM.
23431 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23434 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23436 (PARMS): Do not use macros from bp-asm.h.
23439 (__mpn_lshift): Do not use BP_SYM.
23440 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23442 (PARMS): Do not use macros from bp-asm.h.
23446 (memcpy): Likewise. Do not use BP_SYM.
23447 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23448 libc_hidden_def and weak_alias.
23449 (mempcpy): Do not use BP_SYM in weak_alias.
23450 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23452 (PARMS): Do not use macros from bp-asm.h.
23455 [!BZERO_P] (CHR): Likewise.
23456 (memset): Likewise. Do not use BP_SYM.
23457 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23459 (PARMS): Do not use macros from bp-asm.h.
23462 (__mpn_mul_1): Do not use BP_SYM.
23463 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23465 (PARMS): Do not use macros from bp-asm.h.
23468 (__mpn_rshift): Do not use BP_SYM.
23469 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23471 (PARMS): Do not use macros from bp-asm.h.
23474 (strchr): Likewise. Do not use BP_SYM.
23475 (index): Do not use BP_SYM in weak_alias.
23476 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23478 (PARMS): Do not use macros from bp-asm.h.
23481 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23482 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23484 (PARMS): Do not use macros from bp-asm.h.
23485 (strlen): Do not use BP_SYM.
23486 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23488 (PARMS): Do not use macros from bp-asm.h.
23492 (__mpn_sub_n): Do not use BP_SYM.
23493 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23495 (PARMS): Do not use macros from bp-asm.h.
23498 (__mpn_submul_1): Do not use BP_SYM.
23499 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23501 (PARMS): Do not use macros from bp-asm.h.
23505 (__mpn_add_n): Do not use BP_SYM.
23506 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23509 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23511 (PARMS): Do not use macros from bp-asm.h.
23514 (memcmp): Do not use BP_SYM.
23515 (bcmp): Do not use BP_SYM in weak_alias.
23516 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23518 (PARMS): Do not use macros from bp-asm.h.
23522 (memcpy): Likewise. Do not use BP_SYM.
23523 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23525 (PARMS): Do not use macros from bp-asm.h.
23529 (memmove): Likewise. Do not use BP_SYM.
23530 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23532 (PARMS): Do not use macros from bp-asm.h.
23536 (__mempcpy): Likewise. Do not use BP_SYM.
23537 (mempcpy): Do not use BP_SYM in weak_alias.
23538 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23540 (PARMS): Do not use macros from bp-asm.h.
23543 [!BZERO_P] (CHR): Likewise.
23544 (memset): Likewise. Do not use BP_SYM.
23545 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23547 (PARMS): Do not use macros from bp-asm.h.
23549 (strcmp): Do not use BP_SYM.
23550 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23552 (PARMS): Do not use macros from bp-asm.h.
23555 [USE_AS_STRTOK_R] (SAVE): Likewise.
23556 (FUNCTION): Likewise. Do not use BP_SYM.
23557 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23559 (strtok_r): Likewise.
23560 (__GI___strtok_r): Likewise.
23561 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23562 (PARMS): Do not use macros from bp-asm.h.
23565 (__mpn_lshift): Do not use BP_SYM.
23566 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23567 (PARMS): Do not use macros from bp-asm.h.
23570 (__memchr): Do not use BP_SYM.
23571 (memchr): Do not use BP_SYM in weak_alias.
23572 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23573 (PARMS): Do not use macros from bp-asm.h.
23576 (memcmp): Do not use BP_SYM.
23577 (bcmp): Do not use BP_SYM in weak_alias.
23578 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23579 (PARMS): Do not use macros from bp-asm.h.
23582 (__mpn_mul_1): Do not use BP_SYM.
23583 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23585 (PARMS): Do not use macros from bp-asm.h.
23588 (__rawmemchr): Do not use BP_SYM.
23589 (rawmemchr): Do not use BP_SYM in weak_alias.
23590 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23591 (PARMS): Do not use macros from bp-asm.h.
23594 (__mpn_rshift): Do not use BP_SYM.
23595 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23596 (PARMS): Do not use macros from bp-asm.h.
23597 (SIGMSK): Likewise.
23598 (__sigsetjmp): Likewise. Do not use BP_SYM.
23599 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23600 (_start): Do not use BP_SYM.
23601 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23602 (PARMS): Do not use macros from bp-asm.h.
23605 (__stpcpy): Likewise. Do not use BP_SYM.
23606 (stpcpy): Do not use BP_SYM in weak_alias.
23607 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23609 (PARMS): Do not use macros from bp-asm.h.
23613 (__stpncpy): Likewise. Do not use BP_SYM.
23614 (stpncpy): Do not use BP_SYM in weak_alias.
23615 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23616 (PARMS): Do not use macros from bp-asm.h.
23619 (strchr): Likewise. Do not use BP_SYM.
23620 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23622 (PARMS): Do not use macros from bp-asm.h.
23625 (__strchrnul): Likewise. Do not use BP_SYM.
23626 (strchrnul): Do not use BP_SYM in weak_alias.
23627 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23629 (PARMS): Do not use macros from bp-asm.h.
23631 (strcspn): Do not use BP_SYM.
23632 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23634 (PARMS): Do not use macros from bp-asm.h.
23637 (strpbrk): Likewise. Do not use BP_SYM.
23638 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23640 (PARMS): Do not use macros from bp-asm.h.
23643 (strrchr): Likewise. Do not use BP_SYM.
23644 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23645 (PARMS): Do not use macros from bp-asm.h.
23647 (strspn): Do not use BP_SYM.
23648 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23649 (PARMS): Do not use macros from bp-asm.h.
23653 (FUNCTION): Likewise. Do not use BP_SYM.
23654 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23656 (strtok_r): Likewise.
23657 (__GI___strtok_r): Likewise.
23658 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23659 (PARMS): Do not use macros from bp-asm.h.
23663 (__mpn_sub_n): Do not use BP_SYM.
23664 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23666 (PARMS): Do not use macros from bp-asm.h.
23669 (__mpn_submul_1): Do not use BP_SYM.
23670 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23672 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23674 (PARMS): Do not use macros from bp-asm.h.
23679 (__clone): Do not use BP_SYM.
23680 (clone): Do not use BP_SYM in weak_alias.
23681 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23683 (PARMS): Do not use macros from bp-asm.h.
23685 (__mmap64): Do not use BP_SYM.
23686 (mmap64): Do not use BP_SYM in weak_alias.
23687 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23688 <bp-sym.h> and <bp-asm.h>.
23689 (PARMS): Do not use macros from bp-asm.h.
23690 (__posix_fadvise64_l64): Do not use BP_SYM.
23691 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23692 (PARMS): Do not use macros from bp-asm.h.
23694 (semtimedop): Do not use BP_SYM.
23695 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23698 2013-02-21 Allan McRae <allan@archlinux.org>
23700 * manual/message.texi (Charset conversion in gettext):
23701 Move @end statement to beginning of line.
23703 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23705 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23707 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23710 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23711 (denorm): Likewise.
23712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23713 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23715 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23717 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23718 tail-call to the resolved function if pltexit isn't needed.
23720 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23722 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23723 or Y being zero as being unlikely.
23724 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23727 2013-02-20 Carlos O'Donell <carlos@redhat.com>
23729 * manual/nss.texi (System Databases and Name Service Switch):
23730 Remove frobnicate @pxref.
23732 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23734 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23735 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23737 2013-02-20 Petr Machata <pmachata@redhat.com>
23739 * elf/elf.h (R_ARM_TARGET1): New macro.
23740 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23741 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23742 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23743 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23744 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23745 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23746 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23747 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23748 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23749 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23750 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23751 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23752 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23753 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23754 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23755 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23756 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23757 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23758 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23759 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23760 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23761 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23762 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23763 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23764 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23765 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23766 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23767 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23768 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23769 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23770 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23771 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23772 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23773 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23774 (R_ARM_THM_GOT_BREL12): Likewise.
23775 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23776 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23777 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23778 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23779 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23780 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23781 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23782 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23783 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23785 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23787 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23788 __attribute_used__ to __attribute__ ((unused)).
23790 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23792 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23794 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23795 comment formatting.
23796 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23798 2013-02-19 Joseph Myers <joseph@codesourcery.com>
23801 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23803 (ENTER): Remove both macro definitions.
23805 (CHECK_BOUNDS_LOW): Likewise.
23806 (CHECK_BOUNDS_HIGH): Likewise.
23807 (CHECK_BOUNDS_BOTH): Likewise.
23808 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23809 (RETURN_BOUNDED_POINTER): Likewise.
23810 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23811 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23812 (POP_ERRNO_LOCATION_RETURN): Likewise.
23813 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23814 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23815 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23817 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23818 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23819 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23820 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23821 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23822 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23823 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23824 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23825 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23826 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23827 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23828 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23829 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23830 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23832 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23833 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23835 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23836 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23837 * sysdeps/i386/i586/memset.S (memset): Likewise.
23838 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23839 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23840 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23842 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23843 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23844 Change uses of L(2) to L(out).
23845 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23846 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23847 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23848 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23849 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23851 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23852 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23854 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23855 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23856 (RETURN): Do not use macro LEAVE.
23857 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23858 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23859 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23860 * sysdeps/i386/i686/memset.S (memset): Likewise.
23861 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23862 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23863 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23864 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23866 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23867 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23868 L(1_2) and L(1_3) into L(1).
23869 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23870 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23871 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23872 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23873 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23874 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23875 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23876 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23877 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23879 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23880 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23881 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23882 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23883 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23884 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23885 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23886 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23887 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23888 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23889 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23890 * sysdeps/i386/strspn.S (strspn): Likewise.
23891 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23893 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23894 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23895 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23896 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23897 L(1_3) into L(1_1).
23898 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23899 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23900 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23902 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23904 2013-02-19 Jakub Jelinek <jakub@redhat.com>
23906 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23909 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23911 * math/atest-exp.c (exp_mpn): Remove ROUND.
23912 * math/atest-exp2.c (exp_mpn): Likewise.
23913 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23915 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23916 * stdlib/tst-tls-atexit-lib.c: Likewise.
23917 * stdlib/tst-tls-atexit.c: Likewise.
23919 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23921 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23922 and __attribute_alloc_size__.
23924 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23926 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23927 __attribute_alloc_size__.
23928 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23929 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23931 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23933 * include/programs/xmalloc.h: New file.
23934 * catgets/gencat.c: Include it.
23935 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23936 * elf/pldd.c: Likewise.
23937 * iconv/iconv_charmap.c: Likewise.
23938 * iconv/iconvconfig.c: Likewise.
23939 * iconv/strtab.c: Likewise.
23940 * locale/programs/locale.c: Likewise.
23941 * locale/programs/localedef.h: Likewise.
23942 * locale/programs/simple-hash.c: Likewise.
23943 * nscd/nscd.h: Likewise.
23944 * nss/makedb.c: Likewise.
23945 * sysdeps/generic/ldconfig.h: Likewise.
23947 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23949 * Versions.def: Add GLIBC_2.18.
23950 * include/link.h (struct link_map): New member l_tls_dtor_count.
23951 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23952 (__call_tls_dtors): Likewise.
23953 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23954 __cxa_thread_atexit_impl.
23955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23963 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23971 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23972 (tests): Add test case tst-tls-atexit.
23973 (modules-names): Add shared library for tst-tls-atexit.
23974 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23975 (GLIBC_PRIVATE): Add __call_tls_dtors.
23976 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23978 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23979 * stdlib/tst-tls-atexit.c: New test case.
23980 * stdlib/tst-tls-atexit-lib.c: New test case.
23982 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23984 * elf/Versions (ld): Add _dl_find_dso_for_object.
23985 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23986 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23987 (dl_open_worker): Use _dl_find_dso_for_object.
23988 * elf/dl-sym.c (do_sym): Likewise.
23989 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23991 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23993 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23994 Syntactic changes only.
23995 (_dl_runtime_profile): Do a tail-call to the resolved function.
23997 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24000 * sysdeps/x86_64/bp-asm.h: Remove file.
24001 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24002 <bp-sym.h> and <bp-asm.h>.
24003 (__clone): Do not use BP_SYM.
24004 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24005 <bp-sym.h> and <bp-asm.h>.
24006 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24007 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24009 (_setjmp): Do not use BP_SYM.
24010 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24012 (setjmp): Do not use BP_SYM.
24013 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24015 (mempcpy): Do not use BP_SYM in weak_alias.
24016 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24018 (strchr): Do not use BP_SYM.
24019 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24021 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24022 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24023 (_start): Do not use BP_SYM.
24024 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24026 (strcat): Do not use BP_SYM.
24027 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24029 (STRCMP): Do not use BP_SYM.
24030 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24032 (STRCPY): Do not use BP_SYM.
24033 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24035 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24037 (FUNCTION): Do not use BP_SYM.
24038 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24040 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24042 2013-02-17 Andreas Jaeger <aj@suse.de>
24044 * time/Versions: Sort entries.
24045 * string/Versions: Likewise.
24046 * resolv/Versions: Likewise.
24047 * posix/Versions: Likewise.
24048 * iconv/Versions: Likewise.
24049 * elf/Versions: Likewise.
24050 * wcsmbs/Versions: Likewise.
24052 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24054 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24055 loop termination condition.
24057 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24058 variable to calculate EZ.
24061 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24062 the lower precision input.
24064 2013-02-15 Joseph Myers <joseph@codesourcery.com>
24067 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24068 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24069 (run-via-rtld-prefix): Do not handle %-bp tests.
24070 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24071 (all-object-suffixes): Remove .ob.
24072 (bppfx): Remove variable.
24073 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24074 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24075 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24076 [$(build-bounded) = yes] (libtype.ob): Likewise.
24077 * Makerules (elide-routines.ob): Remove variable.
24078 (do-tests-clean): Do not handle *-bp.out.
24079 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24080 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24081 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24082 (tests): Do not include $(tests-bp.out).
24083 (xtests): Do not include $(xtests-bp.out).
24084 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24085 [$(build-bounded) = yes] ($(addprefix
24086 $(objpfx),$(binaries-bounded))): Remove rule.
24087 ($(objpfx)%-bp.out): Remove rule.
24088 * config.make.in (build-bounded): Remove variable.
24089 * crypt/Makefile [$(build-bounded) = yes]
24090 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24091 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24092 append to variable.
24093 [$(build-bounded) = yes] (install-lib): Likewise.
24094 [$(build-bounded) = yes] (generated): Likewise.
24095 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24097 * intl/Makefile [$(build-bounded) = yes]
24098 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24099 * math/Makefile [$(build-bounded) = yes]
24100 ($(tests:%=$(objpfx)%-bp): Likewise.
24101 * misc/Makefile [$(build-bounded) = yes]
24102 ($(objpfx)tst-tsearch-bp): Likewise.
24103 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24104 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24106 * string/Makefile (o-objects.ob): Remove variable.
24107 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24108 (CFLAGS-.ob): Remove variable.
24109 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24110 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24111 both definitions of variable.
24112 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24113 (ASFLAGS-.ob): Remove variable.
24115 2013-02-14 Joseph Myers <joseph@codesourcery.com>
24118 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24119 Remove __BOUNDED_POINTERS__ from condition.
24120 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24121 * string/bits/string2.h [!__NO_STRING_INLINES &&
24122 !__BOUNDED_POINTERS__]: Likewise.
24123 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24125 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24126 Remove conditional code.
24127 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24128 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24129 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24133 * csu/libc-start.c: Do not include <bp-sym.h>.
24134 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24135 * elf/dl-open.c: Do not include <bp-sym.h>.
24136 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24137 * math/fegetenv.c: Do not include <bp-sym.h>.
24138 (fegetenv): Do not use BP_SYM in versioned symbols.
24139 * nptl/sysdeps/pthread/bits/libc-lockP.h
24140 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24142 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24143 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24144 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24145 (__pthread_mutex_destroy): Likewise.
24146 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24147 (__pthread_mutex_lock): Likewise.
24148 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24149 (__pthread_mutex_trylock): Likewise.
24150 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24151 (__pthread_mutex_unlock): Likewise.
24152 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24153 (__pthread_mutexattr_init): Likewise.
24154 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24155 (__pthread_mutexattr_destroy): Likewise.
24156 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24157 (__pthread_mutexattr_settype): Likewise.
24158 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24159 (__pthread_rwlock_init): Likewise.
24160 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24161 (__pthread_rwlock_destroy): Likewise.
24162 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24163 (__pthread_rwlock_rdlock): Likewise.
24164 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24165 (__pthread_rwlock_tryrdlock): Likewise.
24166 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24167 (__pthread_rwlock_wrlock): Likewise.
24168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24169 (__pthread_rwlock_trywrlock): Likewise.
24170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24171 (__pthread_rwlock_unlock): Likewise.
24172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24173 (__pthread_key_create): Likewise.
24174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24175 (__pthread_setspecific): Likewise.
24176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24177 (__pthread_getspecific): Likewise.
24178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24181 (_pthread_cleanup_push_defer): Likewise.
24182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24183 (_pthread_cleanup_pop_restore): Likewise.
24184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24185 (pthread_setcancelstate): Likewise.
24186 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24188 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24189 (memchr): Do not use BP_SYM in weak_alias.
24190 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24191 (fegetenv): Do not use BP_SYM in versioned symbols.
24192 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24193 (fesetenv): Do not use BP_SYM in versioned symbols.
24194 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24195 (feupdateenv): Do not use BP_SYM in versioned symbols.
24196 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24197 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24198 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24199 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24200 (open64): Do not use BP_SYM in weak_alias.
24201 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24202 (fegetenv): Do not use BP_SYM in versioned symbols.
24203 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24204 (fesetenv): Do not use BP_SYM in versioned symbols.
24205 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24206 (feupdateenv): Do not use BP_SYM in versioned symbols.
24207 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24208 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24209 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24210 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24211 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24212 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24213 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24215 (__libc_start_main): Do not use BP_SYM.
24217 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24219 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24220 redundant return line.
24222 (denorm): Likewise.
24223 (dbl_mp): Likewise.
24224 (sub_magnitudes): Likewise.
24230 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24232 (denorm): Likewise.
24233 (dbl_mp): Likewise.
24234 (sub_magnitudes): Likewise.
24241 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24243 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24244 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24247 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24248 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24249 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24250 of __mul for squares.
24251 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24253 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24255 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24256 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24258 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24261 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24263 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24264 prototype or function definition. Rename ubp_* variables and
24265 parameters. Remove argv definitions conditional on
24266 [__BOUNDED_POINTERS__].
24267 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24268 * elf/dl-runtime.c (_dl_fixup): Likewise.
24269 * include/set-hooks.h (RUN_HOOK): Likewise.
24270 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24272 * string/strcpy.c (strcpy): Do not use __unbounded.
24273 * sysdeps/generic/frame.h (struct layout): Likewise.
24274 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24275 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24276 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24277 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24278 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24279 (__backtrace): Likewise.
24280 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24282 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24283 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24284 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24286 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24287 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24288 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24289 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24290 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24291 Do not use __unbounded.
24292 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24293 Rename __unboundedrlimits parameter to rlimits in prototype.
24294 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24295 Do not use __unbounded.
24296 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24297 not use __ptrvalue.
24298 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24299 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24300 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24301 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24302 __ptrvalue or __unbounded.
24303 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24304 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24306 (__new_msgctl): Do not use __ptrvalue.
24307 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24309 (__libc_msgrcv): Do not use __ptrvalue.
24310 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24311 startup_info): Do not use __unbounded.
24312 (__libc_start_main): Likewise. Rename ubp_* variables and
24313 parameters. Remove argv definitions conditional on
24314 [__BOUNDED_POINTERS__].
24315 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24317 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24319 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24321 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24323 (__new_shmctl): Do not use __ptrvalue.
24324 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24325 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24327 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24328 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24329 (__libc_sigaction): Likewise.
24330 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24331 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24333 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24335 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24337 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24339 * string/mempcpy.c: Implement by calling memcpy.
24341 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24343 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24345 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24348 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24349 values in the mantissa.
24351 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24352 minimize writes to Z.
24353 (sub_magnitudes): Simplify code a bit.
24355 2013-02-12 Roland McGrath <roland@hack.frob.com>
24357 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24358 from the message. The linker prefixes all warnings with that already.
24360 2013-02-12 Andreas Schwab <schwab@suse.de>
24363 * posix/regexec.c (extend_buffers): Add parameter min_len.
24364 (check_matching): Pass minimum needed length.
24365 (clean_state_log_if_needed): Likewise.
24366 (get_subexp): Likewise.
24367 * posix/Makefile (tests): Add bug-regex34.
24368 (bug-regex34-ENV): Define.
24369 * posix/bug-regex34.c: New file.
24372 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24373 elements compare against the byte sequence of it, not its name.
24374 * posix/Makefile (tests): Add bug-regex35.
24375 (bug-regex35-ENV): Define.
24376 * posix/bug-regex35.c: New file.
24378 2013-02-11 Tom de Vries <tom@codesourcery.com>
24380 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24382 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24383 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24384 (CHECK_EOL): Add undef.
24386 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
24388 * bits/stdlib-bsearch.h: New file.
24389 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24390 * stdlib/stdlib.h: Likewise.
24392 2013-02-11 Roland McGrath <roland@hack.frob.com>
24394 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24395 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24397 * manual/search.texi (Array Search Function): Add missing const in
24399 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24400 declaration to use rlim_t.
24401 (Basic Scheduling Functions): Remove erroneous const from
24402 sched_getparam prototype. Remove erroneous * from
24403 sched_get_priority_max and sched_get_priority_min prototypes.
24404 (Resource Usage): Fix summary @comment on vtimes to refer to
24405 sys/vtimes.h rather than vtimes.h.
24406 Add missing *s in vtimes prototype.
24407 (Limits on Resources): Fix ulimit prototype to return long int.
24408 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24409 prototypes to use long int rather than double.
24410 (BSD Random): Fix initstate and setstate to use char *, not void *.
24411 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24412 prototype to make second argument 'struct aiocb64 *const[]'.
24413 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24414 (Status of AIO Operations): Remove erroneous const in aio_return and
24415 aio_return64 prototypes.
24416 (Synchronizing I/O): Fix sync prototype to return void.
24417 * manual/startup.texi (Suboptions): Remove an erroneous const in
24418 getsubopt prototype.
24419 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24420 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24421 use size_t rather than int.
24422 (Scanning All Users): Likewise for getpwent_r.
24423 (Setting Groups): Add missing const to setgroups prototype.
24424 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24425 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24426 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24427 'const void *' rather than 'const char *'.
24428 (Host Address Functions): Likewise for inet_ntop.
24429 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24430 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24431 ssize_t for return value.
24432 (Sending Data): Likewise for send, sendto, sendmsg.
24433 (Socket Option Functions): Add a missing const in setsockopt prototype.
24434 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24435 use wchar_t for the argument.
24436 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24437 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24439 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24440 double/float/long double for second argument.
24441 Fix return types of significand, significandf, significandl.
24442 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24443 argument in fchmod prototype.
24444 (File Owner): Use uid_t and gid_t in fchown prototype.
24445 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24446 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24447 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24448 use 'const struct dirent **' as argument types to CMP function pointer
24450 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24451 (File Times): Fix summary magic @comment for struct utimbuf and utime
24452 to refer to utime.h, not time.h.
24453 * manual/string.texi (Argz Functions): Add missing const in
24454 argz_extract and argz_next prototypes.
24455 (Finding Tokens in a String): Likewise for basename.
24456 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24457 (Copying and Concatenation): Fix typo in wmemmove prototype.
24458 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24459 (Signal Stack): Remove erroneous const in sigstack prototype.
24460 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24462 (Simple Calendar Time): Likewise for stime.
24463 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24465 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24466 say sys/sysctl.h instead.
24467 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24468 and vsyslog prototypes.
24470 2013-02-11 Tom de Vries <tom@codesourcery.com>
24472 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24475 2013-02-11 Roland McGrath <roland@hack.frob.com>
24477 * misc/sys/mman.h: Fix typo in mremap comment.
24479 2013-02-08 Roland McGrath <roland@hack.frob.com>
24481 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24482 the '\0' terminator.
24484 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24487 * debug/segfault.c: Don't include <bp-checks.h>.
24488 * sysdeps/generic/bp-checks.h: Remove file.
24489 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24490 (__GETDENTS): Don't use CHECK_N.
24491 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24492 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24493 (__getgroups): Don't use CHECK_N.
24494 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24495 (setgroups): Don't use CHECK_N.
24496 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24497 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24498 (__libc_msgrcv): Don't use CHECK_N.
24499 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24500 (__libc_msgsnd): Don't use CHECK_N.
24501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24503 (__libc_pread): Don't use CHECK_N.
24504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24505 include <bp-checks.h>.
24506 (__libc_pread64): Don't use CHECK_N.
24507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24508 include <bp-checks.h>.
24509 (__libc_pwrite): Don't use CHECK_N.
24510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24511 include <bp-checks.h>.
24512 (__libc_pwrite64): Don't use CHECK_N.
24513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24515 (__libc_pread): Don't use CHECK_N.
24516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24517 include <bp-checks.h>.
24518 (__libc_pread64): Don't use CHECK_N.
24519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24520 include <bp-checks.h>.
24521 (__libc_pwrite): Don't use CHECK_N.
24522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24523 include <bp-checks.h>.
24524 (__libc_pwrite64): Don't use CHECK_N.
24525 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24526 (do_pread): Don't use CHECK_N.
24527 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24528 (do_pread64): Don't use CHECK_N.
24529 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24530 (do_pwrite): Don't use CHECK_N.
24531 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24532 (do_pwrite64): Don't use CHECK_N.
24533 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24534 (__libc_readv): Don't use CHECK_N.
24535 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24536 (semop): Don't use CHECK_N.
24537 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24539 (semtimedop): Don't use CHECK_N.
24540 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24541 (__libc_pread): Don't use CHECK_N.
24542 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24544 (__libc_pread64): Don't use CHECK_N.
24545 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24547 (__libc_pwrite): Don't use CHECK_N.
24548 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24550 (__libc_pwrite64): Don't use CHECK_N.
24551 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24553 (__libc_msgrcv): Don't use CHECK_N.
24554 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24555 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24556 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24557 (__libc_writev): Don't use CHECK_N.
24559 2013-02-08 Roland McGrath <roland@hack.frob.com>
24561 * string/strcpy.c: Removed unused variable.
24563 * Makeconfig (+sysdep-includes): Define with := rather than =.
24564 Use an existing include/ subdir of each sysdeps dir before it.
24566 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24568 * nscd/connection.c (register_traced_file): Comment function.
24569 [HAVE_INOTIFY] (union __inev): Define.
24570 [HAVE_INOTIFY] (inotify_check_files): New function.
24571 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24572 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24574 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24576 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24578 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24579 loaded if not already and that a failure is permanent.
24581 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24584 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24585 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24587 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24590 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24591 (CHECK_1_NULL_OK): Likewise.
24592 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24593 (__fxstat): Do not use CHECK_1.
24594 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24596 (___fxstat64): Do not use CHECK_1.
24597 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24599 (__fxstatat): Do not use CHECK_1.
24600 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24602 (__fxstatat64): Do not use CHECK_1.
24603 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24605 (__fxstat): Do not use CHECK_1.
24606 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24608 (__fxstatat): Do not use CHECK_1.
24609 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24611 (__getresgid): Do not use CHECK_1.
24612 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24614 (__getresuid): Do not use CHECK_1.
24615 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24617 (__lxstat): Do not use CHECK_1.
24618 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24620 (__old_msgctl): Do not use CHECK_1.
24621 (__new_msgctl): Likewise.
24622 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24624 (__new_setrlimit): Do not use CHECK_1.
24625 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24627 (__old_shmctl): Do not use CHECK_1.
24628 (__new_shmctl): Likewise.
24629 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24631 (__xstat): Do not use CHECK_1.
24632 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24633 (__lxstat): Do not use CHECK_1.
24634 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24636 (___lxstat64): Do not use CHECK_1.
24637 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24638 (__old_msgctl): Do not use CHECK_1.
24639 (__new_msgctl): Likewise.
24640 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24642 (__gettimeofday): Do not use CHECK_1.
24643 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24644 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24645 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24647 (__gettimeofday): Do not use CHECK_1.
24648 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24649 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24650 (__new_shmctl): Do not use CHECK_1.
24651 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24653 (do_sigtimedwait): Do not use CHECK_1.
24654 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24656 (do_sigwaitinfo): Do not use CHECK_1.
24657 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24659 (msgctl): Do not use CHECK_1.
24660 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24662 (shmctl): Do not use CHECK_1.
24663 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24664 (ustat): Do not use CHECK_1.
24665 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24667 (__fxstat): Do not use CHECK_1.
24668 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24670 (__fxstatat): Do not use CHECK_1.
24671 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24673 (__lxstat): Do not use CHECK_1.
24674 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24676 (__xstat): Do not use CHECK_1.
24677 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24678 (__xstat): Do not use CHECK_1.
24679 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24680 (___xstat64): Do not use CHECK_1.
24683 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24685 (CHECK_BOUNDS_HIGH): Likewise.
24686 * string/strcpy.c: Do not include <bp-checks.h>.
24687 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24689 2013-02-07 Roland McGrath <roland@hack.frob.com>
24691 * nscd/nscd-client.h (__nscd_drop_map_ref):
24692 Add __attribute__ ((unused)).
24693 * nis/nss-nisplus.h (niserr2nss): Likewise.
24695 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24696 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24698 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24699 Remove inline keyword.
24700 * include/rounding-mode.h (round_away): Likewise.
24701 * libio/wfileops.c (adjust_wide_data): Likewise.
24702 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24703 (__m128i_strloadu_tolower): Likewise.
24704 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24705 (__m128i_strloadu_tolower): Likewise.
24706 * time/mktime.c (ydhms_diff): Likewise.
24707 * locale/elem-hash.h (elem_hash): Likewise.
24708 * locale/setlocale.c (setdata): Likewise.
24709 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24710 (re_string_wchar_at): Likewise.
24711 (bitset_not, bitset_merge, bitset_mask): Likewise.
24712 [!(__GNUC__ > 3)] (inline): Remove macro.
24713 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24714 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24715 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24716 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24717 * string/memcmp.c (memcmp_bytes): Likewise.
24718 * locale/programs/locarchive.c (compute_hashval): Likewise.
24719 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24720 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24721 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24722 * nss/getent.c (print_rpc, print_protocols): Likewise.
24723 (print_passwd, print_group, print_aliases): Likewise.
24724 * nis/nss-nisplus.h (niserr2nss): Likewise.
24725 * nscd/connections.c (restart_p): Likewise.
24726 Change return type to bool.
24728 2013-02-05 Roland McGrath <roland@hack.frob.com>
24730 * Makeconfig (all-Depend-files): Add existing
24731 $(sorted-subdirs:=/Depend) files.
24732 (all-subdirs): Remove nss.
24733 * sysdeps/unix/inet/Subdirs: Add it here instead.
24734 * hesiod/Depend: New file.
24736 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24737 instead of calling alloca.
24739 * io/lseek.c (__lseek): Rename to __libc_lseek.
24740 Define __lseek as an alias.
24742 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24744 2013-02-04 Carlos O'Donell <carlos@redhat.com>
24746 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24747 else clause and remove check for non-standard endianness.
24749 2013-02-04 David S. Miller <davem@davemloft.net>
24751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24753 2013-02-04 Joseph Myers <joseph@codesourcery.com>
24756 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24757 (__ubp_memchr): Remove prototype.
24758 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24759 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24760 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24761 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24762 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24764 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24765 (__ubp_memchr): Likewise.
24766 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24767 (__ubp_memchr): Likewise.
24768 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24769 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24770 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24771 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24773 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24774 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24775 (__getcwd): Do not use CHECK_STRING.
24776 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24778 (__real_chown): Do not use CHECK_STRING.
24779 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24781 (fchownat): Do not use CHECK_STRING.
24782 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24784 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24786 (__lchown): Do not use CHECK_STRING.
24787 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24788 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24789 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24790 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24792 include <bp-checks.h>.
24793 (truncate64): Do not use CHECK_STRING.
24794 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24796 (__real_chown): Do not use CHECK_STRING.
24797 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24799 (__lchown): Do not use CHECK_STRING.
24800 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24802 (__chown): Do not use CHECK_STRING.
24803 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24805 (truncate64): Do not use CHECK_STRING.
24806 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24808 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24809 (__xmknod): Do not use CHECK_STRING.
24810 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24812 (__xmknodat): Do not use CHECK_STRING.
24813 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24814 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24816 2013-02-04 Andreas Schwab <schwab@suse.de>
24819 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24820 * include/netdb.h: Likewise for h_errno.
24821 * elf/tst-stackguard1.c: Include <tls.h>.
24823 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24825 * elf/link.h (struct link_map): Extend the l_addr comment.
24826 * include/link.h (struct link_map): Likewise.
24828 2013-02-01 Joseph Myers <joseph@codesourcery.com>
24831 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24832 (BOUNDED_1): Remove macro.
24833 * debug/backtrace.c: Don't include <bp-checks.h>.
24834 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24835 (__backtrace): Likewise.
24836 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24838 (__backtrace): Don't use BOUNDED_1.
24839 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24841 (__backtrace): Don't use BOUNDED_1.
24842 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24843 (__backtrace): Don't use BOUNDED_1.
24844 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24845 (shmat): Don't use BOUNDED_N.
24847 2013-01-31 Joseph Myers <joseph@codesourcery.com>
24850 * sysdeps/generic/bp-start.h: Remove file.
24851 * csu/libc-start.c: Don't include <bp-start.h>.
24852 (LIBC_START_MAIN): Set up __environ directly instead of using
24853 INIT_ARGV_and_ENVIRON.
24854 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24858 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24860 (CHECK_FCNTL): Likewise.
24861 (CHECK_N_PAGES): Likewise.
24864 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24866 (CHECK_SIGSET_NULL_OK): Likewise.
24867 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24869 (sigpending): Don't use CHECK_SIGSET.
24870 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24872 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24873 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24875 (do_sigsuspend): Don't use CHECK_SIGSET.
24876 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24878 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24879 (do_sigwait): Don't use CHECK_SIGSET.
24880 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24882 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24883 include <bp-checks.h>.
24884 (sigpending): Don't use CHECK_SIGSET.
24885 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24886 include <bp-checks.h>.
24887 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24888 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24890 (sigpending): Don't use CHECK_SIGSET.
24891 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24893 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24896 * sysdeps/generic/bp-semctl.h: Remove file.
24897 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24898 <bp-checks.h> and <bp-semctl.h>.
24899 (__old_semctl): Don't use CHECK_SEMCTL.
24900 (__new_semctl): Likewise.
24901 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24903 (__old_semctl): Don't use CHECK_SEMCTL.
24904 (__new_semctl): Likewise.
24905 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24906 <bp-checks.h> and <bp-semctl.h>.
24907 (__old_semctl): Don't use CHECK_SEMCTL.
24908 (__new_semctl): Likewise.
24909 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24910 <bp-checks.h> and <bp-semctl.h>.
24911 (semctl): Don't use CHECK_SEMCTL.
24914 * Makerules (elide-bp-thunks): Remove variable.
24915 (elide-routines.oS): Don't use $(elide-bp-thunks).
24916 (elide-routines.os): Likewise.
24917 (elide-routines.o): Likewise.
24918 (elide-routines.op): Likewise.
24919 (elide-routines.og): Likewise.
24920 (objects): Don't use $(bp-thunks).
24921 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24923 (common-generated): Do not add s-proto-bp.d.
24924 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24927 Do not generate makefile rules for bounded-pointer thunks.
24928 * sysdeps/generic/bp-thunks.h: Remove file.
24929 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24930 * sysdeps/unix/s-proto-bp.S: Likewise.
24933 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24934 parts of result separately when argument is not close to line from
24935 -i to i and one part of argument is small.
24936 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24937 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24938 * math/libm-test.inc (cacos_test): Add more tests.
24939 (casin_test): Likewise.
24940 (casinh_test): Likewise.
24941 * sysdeps/i386/fpu/libm-test-ulps: Update.
24942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24944 2013-01-31 David S. Miller <davem@davemloft.net>
24946 * po/de.po: Update from translation team.
24948 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24950 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24952 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24954 * configure.in (_AC_PROG_CC_C89): New definition.
24955 * configure: Regenerate.
24957 * configure.in (AC_PROG_CPP): New definition.
24958 * configure: Regenerate.
24960 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24962 * debug/tst-backtrace.h: New file.
24963 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24964 (ret): Remove variable.
24966 (FAIL): Remove macro.
24967 (NO_INLINE): Likewise.
24968 (fn1): Use match function instead of strstr.
24969 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24970 (ret): Remove variable.
24972 (FAIL): Remove macro.
24973 (NO_INLINE): Likewise.
24974 (fn): Use match function instead of strstr.
24975 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24976 (ret): Remove variable.
24978 (FAIL): Remove macro.
24979 (NO_INLINE): Likewise.
24980 (handle_signal): Use match function instead of strstr.
24981 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24982 (ret): Remove variable.
24984 (FAIL): Remove macro.
24985 (NO_INLINE): Likewise.
24986 (handle_signal): Use match function instead of strstr.
24988 2013-01-23 Roland McGrath <roland@hack.frob.com>
24990 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24992 2013-01-23 David S. Miller <davem@davemloft.net>
24994 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24995 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24996 argument of CAS if possible.
24997 * sysdeps/sparc/sparc64/bits/atomic.h
24998 (__arch_compare_and_exchange_val_32_acq): Likewise.
24999 (__arch_compare_and_exchange_val_64_acq): Likewise.
25001 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25003 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25004 * sysdeps/posix/ulimit.c: ... this.
25005 Include <limits.h>.
25006 * sysdeps/unix/bsd/ulimit.c: Remove file.
25008 2013-01-23 Adam Conrad <adconrad@0c3.net>
25010 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25011 (LDFLAGS-tst-array5): Likewise.
25013 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25016 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25017 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25018 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25019 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25021 2013-01-21 David S. Miller <davem@davemloft.net>
25023 * sysdeps/sparc/backtrace.c: New file.
25024 * sysdeps/sparc/sparc32/backtrace.h: New file.
25025 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25026 * sysdeps/sparc/sparc64/backtrace.h: New file.
25027 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25028 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25031 2013-01-21 Andreas Schwab <schwab@suse.de>
25034 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25037 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25039 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25041 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25043 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25044 Mark Mitchell <mark@codesourcery.com>
25045 Tom de Vries <tom@codesourcery.com>
25046 Paul Pluzhnikov <ppluzhnikov@google.com>
25048 * debug/tst-backtrace2.c: New file.
25049 * debug/tst-backtrace3.c: Likewise.
25050 * debug/tst-backtrace4.c: Likewise.
25051 * debug/tst-backtrace5.c: Likewise.
25052 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25053 (CFLAGS-tst-backtrace3.c): Likewise.
25054 (CFLAGS-tst-backtrace4.c): Likewise.
25055 (CFLAGS-tst-backtrace5.c): Likewise.
25056 (LDFLAGS-tst-backtrace2): Likewise.
25057 (LDFLAGS-tst-backtrace3): Likewise.
25058 (LDFLAGS-tst-backtrace4): Likewise.
25059 (LDFLAGS-tst-backtrace5): Likewise.
25060 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25061 tst-backtrace4 and tst-backtrace5.
25063 2013-01-18 Anton Blanchard <anton@samba.org>
25064 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25066 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25067 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25068 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25069 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25071 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25072 "+r" and remove output regs list as redundant. Add explicit inline
25073 asm to specify register of return val to work around compiler codegen
25074 bug. Remove (int) cast on return value. Add return type parameter to
25075 use in macro so that this macro does not truncate return value for
25077 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25078 pass to INTERNAL_VSYSCALL_NCS.
25079 (INLINE_VSYSCALL): Add 'long int' as return type to
25080 INTERNAL_VSYSCALL_NCS macro invocation.
25081 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25082 INTERNAL_VSYSCALL_NCS macro invocation.
25083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25085 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25088 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25089 Fix application of SIMD FP exception mask.
25091 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25092 mp_no from a power of two.
25093 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25094 __mpexp_twomm1. Use __pow_mp.
25096 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25099 2013-01-17 David S. Miller <davem@davemloft.net>
25101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25103 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25106 * include/complex.h: Condition contents on [!_COMPLEX_H].
25107 (__kernel_casinhf): New prototype.
25108 (__kernel_casinh): Likewise.
25109 (__kernel_casinhl): Likewise.
25110 * math/Makefile (libm_calls): Add k_casinh.
25111 * math/k_casinh.c: New file.
25112 * math/k_casinhf.c: Likewise.
25113 * math/k_casinhl.c: Likewise.
25114 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25115 finite nonzero arguments.
25116 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25117 finite nonzero arguments.
25118 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25119 finite nonzero arguments.
25120 * math/s_casinh.c: Do not include <float.h>.
25121 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25122 * math/s_casinhf.c: Do not include <float.h>.
25123 (__casinhf): Move code for finite nonzero arguments to
25125 * math/s_casinhl.c: Do not include <float.h>.
25126 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25128 (__casinhl): Move code for finite nonzero arguments to
25130 * math/libm-test.inc (cacos_test): Add more tests.
25131 * sysdeps/i386/fpu/libm-test-ulps: Update.
25132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25134 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25136 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25137 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25138 [!HAVE_MREMAP]: Remove [defined linux] case.
25139 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25141 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25143 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25145 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
25147 * elf/elf.h (R_386_SIZE32): New relocation.
25148 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25150 (elf_machine_rela): Likewise.
25151 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25152 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25154 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25156 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25157 (FP_FAST_FMA): Do not define.
25158 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25159 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25160 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25161 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25162 !_SOFT_FLOAT]: Likewise.
25163 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25164 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25166 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25167 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25168 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25169 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25170 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25171 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25174 2013-01-16 Andreas Schwab <schwab@suse.de>
25177 * include/stdlib.h (__mktemp): Add declaration.
25178 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25179 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25181 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25183 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25185 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25186 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25187 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25189 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25190 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25192 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25194 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25195 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25196 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25198 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25199 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25201 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25203 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25205 2013-01-15 David S. Miller <davem@davemloft.net>
25207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25208 trunc{,f} to libm-sysdep_routes.
25209 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25219 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25220 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25221 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25222 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25223 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25224 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25227 nearbyint{,f} to libm-sysdep_routes.
25228 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25239 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25241 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25242 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25244 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25245 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25246 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25248 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25249 libc_feholdexcept and libc_fesetenv.
25251 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25253 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25255 2013-01-14 David S. Miller <davem@davemloft.net>
25257 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25258 (SPARC_ASM_VIS2_IFUNC): Likewise.
25259 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25261 use of 'siam' instruction.
25262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25268 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25269 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25270 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25271 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25280 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25281 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25283 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25290 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25291 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25292 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25293 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25295 routines to libm-sysdep_routines.
25296 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25299 fdim/fdimf to libm-sysdep_routines.
25300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25308 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25309 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25310 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25311 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25313 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25315 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25316 to optimize copies.
25318 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25319 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25320 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25322 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25323 local variable MPTWO.
25324 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25327 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25329 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25332 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25334 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25336 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25338 * manual/pattern.texi (glob_t): Document gl_flags.
25339 (glob64_t): Likewise.
25341 2013-01-11 David S. Miller <davem@davemloft.net>
25343 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25344 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25345 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25346 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25347 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25348 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25349 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25350 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25351 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25352 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25353 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25354 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25355 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25357 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25358 sparc V9 rather than using V8 code.
25359 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25360 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25362 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25364 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25367 2013-01-11 Roland McGrath <roland@hack.frob.com>
25369 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25370 not in the main loop.
25371 * configure: Regenerated.
25373 2013-01-11 Joseph Myers <joseph@codesourcery.com>
25375 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25376 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25378 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25379 [!__GLIBC_HAVE_LONG_LONG] case.
25380 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25381 condition to just #else.
25382 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25383 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25384 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25385 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25387 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25388 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25389 #elif condition to just #else.
25390 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25391 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25392 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25393 #elif condition to just #else.
25395 2013-01-11 Steve Ellcey <sellcey@mips.com>
25397 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25398 (EF_MIPS_ARCH_64): Fix value.
25399 (EF_MIPS_ARCH_32R2): New.
25400 (EF_MIPS_ARCH_64R2): New.
25402 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25404 * Makeconfig (+link-pie-before-libc): New.
25405 (+link-pie-after-libc): Likewise.
25406 (+link-pie-tests): Likewise.
25407 (+link-pie): Rewritten.
25408 (link-before-libc): Remove $(config-LDFLAGS).
25409 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25410 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25411 (config-LDFLAGS): Renamed to ...
25412 (rtld-LDFLAGS): This.
25413 (rtld-tests-LDFLAGS): New macro.
25414 (link-libc-rpath-link): Likewise.
25415 (link-libc-tests-rpath-link): Likewise.
25416 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25417 (link-libc): Prepand $(link-libc-rpath-link).
25418 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25419 (test-program-prefix): New macro.
25420 (test-via-rtld-prefix): Likewise.
25421 (test-program-cmd): Likewise.
25422 (host-test-program-cmd): Likewise.
25423 * Makefile ($(common-objpfx)testrun.sh): Replace
25424 $(run-program-prefix) with $(test-program-prefix).
25425 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25427 ($(common-objpfx)shlib.lds): Likewise.
25428 (build-module-helper): Likewise.
25429 ($(common-objpfx)format.lds): Likewise.
25430 * Rules (binaries-pie-tests): New.
25431 (binaries-pie-notests): Likewise.
25432 (binaries-pie): Rewritten.
25433 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25434 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25435 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25436 (make-test-out): Replace $(host-built-program-cmd) with
25437 $(host-test-program-cmd).
25438 * config.make.in (build-hardcoded-path-in-tests): New variable.
25439 * configure.in (--enable-hardcoded-path-in-tests): New configure
25441 (hardcoded_path_in_tests): New AC_SUBST.
25442 * configure: Regenerated.
25443 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25444 $(built-program-cmd) with $(test-program-cmd).
25445 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25446 (test_program_cmd): This.
25447 * elf/Makefile ($(objpfx)order.out): Run test with
25448 $(test-program-prefix).
25449 ($(objpfx)order2.out): Likewise.
25450 ($(objpfx)tst-initorder.out): Likewise.
25451 ($(objpfx)tst-initorder2.out): Likewise.
25452 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25453 $(test-program-cmd).
25454 ($(objpfx)tst-array1-static.out): Likewise.
25455 ($(objpfx)tst-array2.out): Likewise.
25456 ($(objpfx)tst-array3.out): Likewise.
25457 ($(objpfx)tst-array4.out): Likewise.
25458 ($(objpfx)tst-array5.out): Likewise.
25459 ($(objpfx)tst-array5-static.out): Likewise.
25460 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25461 $(test-program-cmd).
25462 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25463 $(run-program-prefix) with $(test-program-prefix).
25464 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25465 (test_program_prefix): This.
25466 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25467 $(run-program-prefix) with $(test-program-prefix).
25468 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25469 (test_program_prefix): This.
25470 * iconvdata/tst-tables.sh: Likewise.
25471 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25472 $(run-program-prefix) with $(test-program-prefix).
25473 ($(objpfx)tst-translit.out): Likewise.
25474 ($(objpfx)tst-gettext2.out): Likewise.
25475 ($(objpfx)tst-gettext4.out): Likewise.
25476 ($(objpfx)tst-gettext6.out): Likewise.
25477 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25478 (test_program_prefix): This.
25479 * intl/tst-gettext2.sh: Likewise.
25480 * intl/tst-gettext4.sh Likewise.
25481 * intl/tst-gettext6.sh: Likewise.
25482 * intl/tst-translit.sh: Likewise.
25483 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25484 with $(test-program-cmd).
25485 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25486 $(run-program-prefix) with $(test-program-prefix).
25487 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25488 (test_program_prefix): This.
25489 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25490 $(run-program-prefix) with $(test-program-prefix).
25491 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25492 (test_program_prefix): This.
25493 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25494 * posix/Makefile ($(objpfx)globtest.out): Replace
25495 $(run-via-rtld-prefix) and $(test-wrapper) with
25496 $(test-program-prefix) and $(test-via-rtld-prefix).
25497 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25498 $(test-program-prefix).
25499 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25500 $(host-test-program-cmd).
25501 (tst-spawn-ARGS): Likewise.
25502 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25503 $(test-program-prefix).
25504 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25505 (test_via_rtld_prefix): This.
25506 (test_wrapper): Renamed to ...
25507 (test_program_prefix): This.
25508 (run_program_prefix): Replaced by test_program_prefix.
25509 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25510 (test_program_prefix): This.
25511 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25512 with $(host-test-program-cmd).
25513 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25514 $(run-program-prefix) with $(test-program-prefix).
25515 ($(objpfx)tst-printf.out): Likewise.
25516 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25517 $(test-program-cmd).
25518 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25519 (test_program_prefix): This.
25520 * stdio-common/tst-unbputc.sh: Likewise.
25521 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25522 $(run-program-prefix) with $(test-program-prefix).
25523 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25524 (test_program_prefix): This.
25525 * string/Makefile ($(objpfx)tst-svc.out): Replace
25526 $(built-program-cmd) with $(test-program-cmd).
25528 2013-01-11 Andreas Jaeger <aj@suse.de>
25531 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25532 value. Sync with Linux 3.7.
25534 2013-01-10 David S. Miller <davem@davemloft.net>
25536 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25537 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25538 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25540 2013-01-10 Roland McGrath <roland@hack.frob.com>
25542 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25544 * configure: Regenerated.
25546 2013-01-10 David S. Miller <davem@davemloft.net>
25548 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25549 sparc V9 rather than using V8 code.
25550 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25551 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25553 2013-01-10 Roland McGrath <roland@hack.frob.com>
25555 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25556 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25557 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25558 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25559 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25560 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25561 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25562 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25563 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25564 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25565 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25566 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25567 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25568 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25569 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25570 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25571 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25572 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25573 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25574 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25575 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25576 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25577 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25578 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25579 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25580 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25581 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25583 2013-01-10 David S. Miller <davem@davemloft.net>
25585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25587 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25589 * posix/Makefile (tests-static): New variable.
25590 (tests): Add $(tests-static).
25591 (tst-exec-static-ARGS): New variable.
25592 (tst-spawn-static-ARGS): Likewise.
25593 * posix/tst-exec-static.c: New file.
25594 * posix/tst-spawn-static.c: Likewise.
25595 * posix/tst-exec.c: Support run directly.
25596 * posix/tst-spawn.c: Likewise.
25598 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25600 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25602 * math/bits/mathcalls.h (llrint): Likewise.
25603 (llround): Likewise.
25604 * stdlib/stdlib.h (struct drand48_data): Likewise.
25605 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25606 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25607 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25609 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25611 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25612 (elf_greg_t): Likewise.
25613 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25614 (__jmp_buf): Likewise.
25615 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25617 (llrint): Likewise, for all definitions.
25618 (llrintl): Likewise.
25620 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25621 Remove [__GNUC__] condition.
25622 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25623 condition to just [__USE_ISOC99].
25624 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25626 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25629 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25630 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25632 (_POSIX_V6_ILP32_OFF32): Likewise.
25633 (_XBS5_ILP32_OFF32): Likewise.
25634 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25635 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25637 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25639 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25641 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25642 doubles __mpexp_twomm1. Adjust usage.
25643 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25646 2013-01-10 Andreas Schwab <schwab@suse.de>
25649 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25650 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25652 2013-01-09 David S. Miller <davem@davemloft.net>
25655 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25656 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25657 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25658 (TCP_FASTOPEN): Define.
25659 (tcp_repair_opt): New structure.
25660 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25662 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25663 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25664 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25665 (tcp_cookie_transactions): New structure.
25667 2013-01-09 Anton Blanchard <anton@samba.org>
25669 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25670 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25671 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25672 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25674 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25676 * include/features.h (__USE_ANSI): Remove.
25678 2013-01-09 Roland McGrath <roland@hack.frob.com>
25680 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25682 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25684 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25686 * sysdeps/s390/fpu/libm-test-ulps: Update.
25688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25690 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25694 (denorm): Likewise.
25695 (__mp_dbl): Likewise.
25696 (__dbl_mp): Likewise.
25697 (add_magnitudes): Likewise.
25698 (sub_magnitudes): Likewise.
25704 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25708 (denorm): Likewise.
25709 (__mp_dbl): Likewise.
25710 (__dbl_mp): Likewise.
25711 (add_magnitudes): Likewise.
25712 (sub_magnitudes): Likewise.
25718 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25722 (denorm): Likewise.
25723 (__mp_dbl): Likewise.
25724 (__dbl_mp): Likewise.
25725 (add_magnitudes): Likewise.
25726 (sub_magnitudes): Likewise.
25733 2013-01-08 Joseph Myers <joseph@codesourcery.com>
25735 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25736 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25737 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25738 2 && __USE_EXTERN_INLINES]: Likewise.
25740 2013-01-08 Andreas Jaeger <aj@suse.de>
25743 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25745 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25746 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25748 2013-01-07 Anton Blanchard <anton@samba.org>
25750 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25751 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25752 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25753 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25754 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25755 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25756 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25757 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25758 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25759 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25760 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25761 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25762 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25763 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25764 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25765 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25766 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25767 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25768 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25769 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25770 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25771 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25772 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25773 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25774 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25775 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25776 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25777 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25778 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25779 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25780 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25781 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25782 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25783 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25784 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25785 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25786 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25787 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25788 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25789 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25790 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25791 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25792 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25794 2013-01-07 Joseph Myers <joseph@codesourcery.com>
25796 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25797 (__MALLOC_PMT): Likewise.
25798 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25799 [__GNUC__], only on [_LIBC].
25800 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25801 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25802 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25803 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25804 forward declaration.
25805 (realloc_hook_ini): Likewise.
25806 (memalign_hook_ini): Likewise.
25807 (__libc_memalign): Do not use __MALLOC_PMT in variable
25809 (__libc_valloc): Likewise.
25810 (__libc_pvalloc): Likewise.
25811 (__libc_calloc): Likewise.
25812 (__posix_memalign): Likewise.
25815 * math/s_casinh.c: Include <float.h>.
25816 (__casinh): Do not do computation with squaring and square root
25817 for large arguments.
25818 * math/s_casinhf.c: Include <float.h>.
25819 (__casinhf): Do not do computation with squaring and square root
25820 for large arguments.
25821 * math/s_casinhl.c: Include <float.h>.
25822 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25823 (__casinhl): Do not do computation with squaring and square root
25824 for large arguments.
25825 * math/libm-test.inc (casin_test): Add more tests.
25826 (casinh_test): Likewise.
25827 * sysdeps/i386/fpu/libm-test-ulps: Update.
25828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25830 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25832 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25833 (__x86_64_raw_data_cache_size): Likewise.
25834 (__x86_64_data_cache_size_half): Likewise.
25835 (__x86_64_raw_data_cache_size_half): Likewise.
25836 (__x86_64_shared_cache_size): Likewise.
25837 (__x86_64_raw_shared_cache_size): Likewise.
25838 (__x86_64_shared_cache_size_half): Likewise.
25839 (__x86_64_raw_shared_cache_size_half): Likewise.
25840 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25842 (__x86_data_cache_size): This.
25843 (__x86_64_raw_data_cache_size): Renamed to ...
25844 (__x86_raw_data_cache_size): This.
25845 (__x86_64_data_cache_size_half): Renamed to ...
25846 (__x86_data_cache_size_half): This.
25847 (__x86_64_raw_data_cache_size_half): Renamed to ...
25848 (__x86_raw_data_cache_size_half): This.
25849 (__x86_64_shared_cache_size): Renamed to ...
25850 (__x86_shared_cache_size): This.
25851 (__x86_64_raw_shared_cache_size): Renamed to ...
25852 (__x86_raw_shared_cache_size): This.
25853 (__x86_64_shared_cache_size_half): Renamed to ...
25854 (__x86_shared_cache_size_half): This.
25855 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25856 (__x86_raw_shared_cache_size_half): This.
25857 * sysdeps/x86_64/memcpy.S: Updated.
25858 * sysdeps/x86_64/memset.S: Likewise.
25859 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25860 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25861 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25863 2013-01-04 David S. Miller <davem@davemloft.net>
25865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25867 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25869 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25870 1 to avoid redefinition warning.
25871 (__USE_GNU): Don't define.
25872 (init_signaling_nan): Protoize.
25874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25876 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25878 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25880 (__cpymn): Likewise.
25881 (norm): Remove commented code.
25882 (denorm): Likewise.
25883 (__mp_dbl): Likewise.
25885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25886 (__cpymn): Likewise.
25887 (norm): Remove commented code.
25888 (denorm): Likewise.
25889 (__mp_dbl): Likewise.
25892 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25893 mp_no value for 1.0 and 2.0.
25894 (norm): Use RADIXI instead of radixi.d.
25895 (denorm): Likewise.
25896 (__mul): Use 0.0 instead of zero.d.
25897 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25898 mp_no value for 1.0 and 2.0.
25899 (norm): Use RADIXI instead of radixi.d.
25900 (denorm): Likewise.
25901 (__mul): Use 0.0 instead of zero.d.
25903 2013-01-04 Joseph Myers <joseph@codesourcery.com>
25906 * math/s_casinh.c (__casinh): Reduce finite argument to first
25907 quadrant then set signs of results at the end.
25908 * math/s_casinhf.c (__casinhf): Likewise.
25909 * math/s_casinhl.c (__casinhl): Likewise.
25910 * math/libm-test.inc (casin_test): Add more tests.
25911 (casinh_test): Likewise.
25912 * sysdeps/i386/fpu/libm-test-ulps: Update.
25913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25915 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25917 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25919 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25921 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25923 (denorm): Likewise.
25924 (__mp_dbl): Likewise.
25927 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25928 and adjust the header comment.
25930 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25931 variable name from declaration.
25933 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25935 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25936 Initialize COMMON_CPUID_INDEX_7 element.
25937 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25938 (CPUID_RTM): Likewise.
25939 (HAS_RTM): Likewise.
25940 (COMMON_CPUID_INDEX_7): New enum.
25942 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25945 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25946 size is zero, record memory as freed.
25948 2013-01-03 Andreas Jaeger <aj@suse.de>
25950 * po/ia.po: Add new Interlingua translation.
25952 2012-01-03 Allan McRae <allan@archlinux.org>
25954 * locale/programs/localedef.c: Fix description of '--posix' flag.
25956 2013-01-02 Joseph Myers <joseph@codesourcery.com>
25958 * NEWS: Update dates in second copyright notice.
25959 * README: Update copyright dates in example.
25960 * manual/libc.texinfo: Update copyright dates.
25961 * scripts/test-installation.pl: Update copyright date in --version
25964 * hurd/ctty-input.c: Fix copyright notice formatting.
25965 * hurd/ctty-output.c: Likewise.
25966 * hurd/dtable.c: Likewise.
25967 * hurd/hurd-raise.c: Likewise.
25968 * hurd/hurdprio.c: Likewise.
25969 * hurd/msgportdemux.c: Likewise.
25970 * misc/sys/file.h: Likewise.
25971 * misc/sys/ioctl.h: Likewise.
25972 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25973 * sysdeps/mach/hurd/chdir.c: Likewise.
25974 * sysdeps/mach/hurd/fchdir.c: Likewise.
25975 * sysdeps/mach/hurd/rename.c: Likewise.
25976 * sysdeps/mach/hurd/rmdir.c: Likewise.
25977 * sysdeps/mach/hurd/seekdir.c: Likewise.
25978 * sysdeps/mach/hurd/setsid.c: Likewise.
25979 * sysdeps/posix/wait3.c: Likewise.
25981 * All files with FSF copyright notices: Update copyright dates
25982 using scripts/update-copyrights.
25983 * intl/plural.c: Regenerated.
25984 * locale/programs/charmap-kw.h: Likewise.
25985 * locale/programs/locfile-kw.h: Likewise.
25987 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25989 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25992 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25993 calculation loop and add branch prediction.
25995 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25996 check access beyond bounds of m1np.
25998 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26000 (__inv): Remove local variable MPTWO to use the global
26002 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26003 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26005 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26006 MP3HALFS static const.
26008 2013-01-01 David S. Miller <davem@davemloft.net>
26010 * po/ca.po: Update from translation team.
26012 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26014 * scripts/update-copyrights: New file.
26015 * Makeconfig: Reformat copyright notice.
26016 * ctype/ctype.h: Likewise.
26017 * debug/swprintf_chk.c: Likewise.
26018 * elf/dl-cache.c: Likewise.
26019 * elf/dl-debug.c: Likewise.
26020 * elf/dl-object.c: Likewise.
26021 * grp/initgroups.c: Likewise.
26022 * hurd/Makefile: Likewise.
26023 * hurd/hurd/signal.h: Likewise.
26024 * hurd/hurdfault.c: Likewise.
26025 * hurd/hurdioctl.c: Likewise.
26026 * hurd/hurdlookup.c: Likewise.
26027 * hurd/intr-msg.c: Likewise.
26028 * iconv/gconv_open.c: Likewise.
26029 * libio/swprintf.c: Likewise.
26030 * locale/lc-ctype.c: Likewise.
26031 * locale/nl_langinfo.c: Likewise.
26032 * mach/Machrules: Likewise.
26033 * mach/Makefile: Likewise.
26034 * malloc/obstack.h: Likewise.
26035 * manual/Makefile: Likewise.
26036 * manual/tsort.awk: Likewise.
26037 * misc/bits/stab.def: Likewise.
26038 * nis/nis_print_group_entry.c: Likewise.
26039 * nis/nis_table.c: Likewise.
26040 * nis/nss_compat/compat-pwd.c: Likewise.
26041 * nis/nss_compat/compat-spwd.c: Likewise.
26042 * po/Makefile: Likewise.
26043 * posix/fnmatch.c: Likewise.
26044 * posix/regex.h: Likewise.
26045 * resolv/Makefile: Likewise.
26046 * resolv/nss_dns/dns-network.c: Likewise.
26047 * resolv/res_hconf.c: Likewise.
26048 * scripts/gen-sorted.awk: Likewise.
26049 * soft-fp/soft-fp.h: Likewise.
26050 * stdio-common/printf.h: Likewise.
26051 * stdlib/monetary.h: Likewise.
26052 * stdlib/random.c: Likewise.
26053 * stdlib/random_r.c: Likewise.
26054 * sysdeps/generic/Makefile: Likewise.
26055 * sysdeps/gnu/Makefile: Likewise.
26056 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26057 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26058 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26059 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26060 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26061 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26062 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26063 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26064 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26065 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26066 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26067 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26068 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26069 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26070 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26071 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26072 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26073 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26074 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26075 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26076 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26077 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26078 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26079 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26080 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26081 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26082 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26083 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26084 * sysdeps/mach/hurd/errnos.awk: Likewise.
26085 * sysdeps/mach/hurd/fork.c: Likewise.
26086 * sysdeps/mach/hurd/getcwd.c: Likewise.
26087 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26088 * sysdeps/mach/hurd/mmap.c: Likewise.
26089 * sysdeps/mach/hurd/utimes.c: Likewise.
26090 * sysdeps/mach/hurd/xmknod.c: Likewise.
26091 * sysdeps/posix/profil.c: Likewise.
26092 * sysdeps/posix/readdir_r.c: Likewise.
26093 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26094 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26095 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26096 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26097 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26098 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26099 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26100 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26101 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26102 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26103 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26104 * sysdeps/pthread/lio_listio.c: Likewise.
26105 * sysdeps/sparc/dl-procinfo.h: Likewise.
26106 * sysdeps/unix/i386/sysdep.S: Likewise.
26107 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26108 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26109 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26110 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26112 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26113 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26114 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26115 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26116 * sysdeps/wordsize-32/divdi3.c: Likewise.
26117 * time/sys/time.h: Likewise.
26118 * wcsmbs/Makefile: Likewise.
26120 2013-01-01 David S. Miller <davem@davemloft.net>
26122 * po/fr.po: Update from translation team.
26124 * catgets/gencat.c: Update copyright year.
26125 * csu/version.c: Likewise.
26126 * debug/catchsegv.sh: Likewise.
26127 * debug/pcprofiledump.c: Likewise.
26128 * debug/xtrace.sh: Likewise.
26129 * elf/ldconfig.c: Likewise.
26130 * elf/ldd.bash.in: Likewise.
26131 * elf/pldd.c: Likewise.
26132 * elf/sotruss.ksh: Likewise.
26133 * elf/sprof.c: Likewise.
26134 * iconv/iconv_prog.c: Likewise.
26135 * iconv/iconvconfig.c: Likewise.
26136 * locale/programs/locale.c: Likewise.
26137 * locale/programs/localedef.c: Likewise.
26138 * login/programs/pt_chown.c: Likewise.
26139 * malloc/memusage.sh: Likewise.
26140 * malloc/memusagestat.c: Likewise.
26141 * malloc/mtrace.pl: Likewise.
26142 * nscd/nscd.c: Likewise.
26143 * nss/getent.c: Likewise.
26144 * nss/makedb.c: Likewise.
26145 * posix/getconf.c: Likewise.
26147 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26149 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26152 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26154 * math/bits/mathcalls.h (modf): Use __nonnull.
26156 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26158 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26159 (split): Use macro CN instead of the bare value.
26160 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26162 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26163 instead of the bare value.
26164 (power1): Likewise.
26166 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26168 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26170 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26172 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26174 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26175 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26176 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26177 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26179 2012-12-28 Andreas Jaeger <aj@suse.de>
26181 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26182 values are from Linux 3.7.
26184 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26185 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26187 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26189 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26192 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26194 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26195 variables with preprocessor constants.
26196 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26197 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26198 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26200 2012-12-27 Bruno Haible <bruno@clisp.org>
26203 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26206 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26208 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26209 and use variable directly.
26210 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26212 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26214 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26215 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26217 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26218 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26219 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26220 include directive. Remove local variable MPONE.
26221 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26222 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26223 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26225 2012-12-25 David S. Miller <davem@davemloft.net>
26227 * version.h (RELEASE): Set to "development".
26228 (VERSION): Set to "2.17.90".
26229 * NEWS: Add 2.18 section.
26231 2012-12-21 David S. Miller <davem@davemloft.net>
26233 * po/hr.po: Update from translation team.
26235 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26237 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26239 2012-12-19 Steve Ellcey <sellcey@mips.com>
26241 * NEWS: Mention new memcpy for MIPS.
26243 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26245 * manual/contrib.texi (Contributors): Spelling correction.
26247 2012-12-15 David S. Miller <davem@davemloft.net>
26249 * po/ru.po: Update from translation team.
26251 2012-12-13 David S. Miller <davem@davemloft.net>
26253 * NEWS: Mention IFUNC testsuite enhancements.
26255 * po/pl.po: Update from translation team.
26256 * po/bg.po: Likewise.
26258 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26259 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26261 2012-12-11 David S. Miller <davem@davemloft.net>
26263 * po/sv.po: Update from translation team.
26265 * po/vi.po: Update from translation team.
26267 * po/cs.po: Update from translation team.
26269 * po/de.po: Update from translation team.
26270 * po/eo.po: Likewise.
26271 * po/nl.po: Likewise.
26273 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26276 * manual/argp.texi (Argp Helper Functions): Move node to follow
26277 Argp Parsing State.
26280 * manual/conf.texi (Limits on File System Capacity): Mention if
26281 terminating null is included in the max size.
26283 2012-12-10 Andreas Jaeger <aj@suse.de>
26285 * po/cs.po: Update from translation team.
26287 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26289 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26290 void pointer and cast to uintptr_t.
26291 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26293 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26294 * sysdeps/s390/s390-64/memset.S: Likewise.
26296 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
26299 * menual/message.texi (Message Translation): Fix typos.
26300 (Helper programs for gettext): Likewise.
26302 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26305 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26308 2012-12-07 David S. Miller <davem@davemloft.net>
26310 * po/libc.pot: Update.
26312 2012-12-07 Richard Henderson <rth@redhat.com>
26315 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26316 normal/normal case to before the switch.
26317 (_FP_DIV): Likewise.
26319 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26320 Mike Frysinger <vapier@gentoo.org>
26322 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26323 check for __NR_fadvise64_64.
26325 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26327 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26328 0, not just to plain "0" as a statement.
26329 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26332 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26334 * NEWS: Use sourceware.org in Bugzilla URL.
26336 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26339 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26341 * stdio-common/tst-put-error.c (do_test): Add newline to the
26342 padded test to ensure flush.
26344 2012-12-05 Jeff Law <law@redhat.com>
26346 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26348 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26350 * README: Don't refer to ports add-on as distributed separately.
26351 Mention AArch64 in list of systems supported in the ports add-on.
26353 * LICENSES: Add more non-FSF copyright and license notices.
26355 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26358 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26360 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26361 10000 as width of padded output.
26363 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26365 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26367 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26368 variable LX with __attribute__ ((unused)).
26369 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26371 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26372 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26373 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26374 with __attribute__ ((unused)).
26376 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
26378 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26380 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26382 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26383 (CFLAGS-nldbl-acos.c): New variable.
26384 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26385 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26386 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26387 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26388 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26389 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26390 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26391 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26392 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26393 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26394 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26395 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26396 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26397 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26398 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26399 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26400 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26401 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26402 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26403 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26404 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26405 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26406 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26407 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26408 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26409 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26410 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26411 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26412 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26413 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26414 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26415 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26416 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26417 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26418 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26419 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26420 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26421 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26422 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26423 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26424 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26425 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26426 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26427 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26428 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26429 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26430 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26431 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26432 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26433 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26434 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26435 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26436 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26437 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26438 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26439 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26440 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26441 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26442 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26443 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26444 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26445 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26446 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26447 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26448 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26449 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26450 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26451 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26452 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26453 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26454 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26455 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26456 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26457 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26458 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26459 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26460 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26461 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26462 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26463 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26464 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26465 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26466 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26467 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26468 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26469 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26470 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26471 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26472 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26473 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26474 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26475 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26476 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26477 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26478 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26479 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26480 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26483 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26486 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26487 whole low double instead of just low 47 bits when splitting values
26490 2012-12-03 Allan McRae <allan@archlinux.org>
26492 * manual/stdio.texi (Predefined Printf Handlers): Remove
26493 @hsep and @vsep usage.
26495 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26497 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26498 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26500 2012-12-03 Jeff Law <law@redhat.com>
26502 * time/sys/time.h (settimeofday): Do not mark TV argument
26505 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26507 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26508 when currently writing and seek to current position when not.
26509 * libio/Makefile (tests): Remove bug-fclose1.
26510 * libio/bug-fclose1.c: Delete.
26512 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26514 * manual/arith.texi (feenableexcept): Fix typo.
26515 (fedisableexcept): Likewise.
26517 2012-11-30 Roland McGrath <roland@hack.frob.com>
26519 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26520 second, differently-typed declaration, rather than a cast.
26522 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26524 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26525 * include/rpc/svc.h: ... here.
26527 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26530 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26531 depending n and resplen2 to catch cases where answer
26534 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26536 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26537 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26539 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26541 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26543 2012-11-29 Roland McGrath <roland@hack.frob.com>
26545 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26547 2012-11-28 Jeff Law <law@redhat.com>
26550 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26551 dataset_temporary. Track alloca usage into alloca_used.
26552 If dataset is large allocate and release it via malloc/free.
26554 2012-06-04 Florian Weimer <fweimer@redhat.com>
26557 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26559 2012-11-28 David S. Miller <davem@davemloft.net>
26561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26563 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26566 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26567 of pi/2 rounded to nearest to 64 bits.
26568 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26569 nearest to 64 bits.
26570 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26573 2012-11-28 Jeff Law <law@redhat.com>
26574 Martin Osvald <mosvald@redhat.com>
26577 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26578 * sunrpc/svc.c: Include time.h.
26579 (__svc_accept_failed): New function.
26580 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26581 any reason other than EINTR, call __svc_accept_failed.
26582 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26583 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26585 2012-11-28 Andreas Schwab <schwab@suse.de>
26587 * scripts/abilist.awk: Also handle indirect functions in .opd
26590 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26593 * sysdeps/x86/fpu/powl_helper.c: New file.
26594 * sysdeps/x86/fpu/Makefile: Likewise.
26595 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26597 (__ieee754_powl): Use __powl_helper for finite arguments except
26598 integer exponents below 8.
26599 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26601 (__ieee754_powl): Use __powl_helper for finite arguments except
26602 integer exponents below 8.
26603 * math/libm-test.inc (pow_test): Add more tests and enable some
26604 previously disabled tests.
26605 * sysdeps/i386/fpu/libm-test-ulps: Update.
26606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26608 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26609 Carlos O'Donell <carlos_odonell@mentor.com>
26611 * nss/makedb.c (is_prime): Assert that input is odd and greater
26612 than 4. Note that fact in a comment too.
26613 (next_prime): Add 4 to input.
26615 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26618 * libio/Makefile (tests): Add test case tst-fwrite-error.
26619 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26620 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26621 * libio/tst-fwrite-error.c: New test case.
26623 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26625 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26626 before casting to void *.
26627 * include/libc-internal.h (__pointer_type): New macro.
26628 (__integer_if_pointer_type_sub): Likewise.
26629 (__integer_if_pointer_type): Likewise.
26630 (cast_to_integer): Likewise.
26631 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26632 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26633 before casting to atomic64_t.
26634 (atomic_exchange_acq): Likewise.
26635 (__arch_exchange_and_add_body): Likewise.
26636 (__arch_add_body): Likewise.
26637 (atomic_add_negative): Likewise.
26638 (atomic_add_zero): Likewise.
26640 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26642 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26643 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26644 (add_fdes): Likewise.
26645 (linear_search_fdes): Likewise.
26646 (binary_search_unencoded_fdes): Likewise.
26648 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26650 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26652 2012-11-24 Adam Conrad <adconrad@0c3.net>
26654 * configure.in: Autodetect C++ header directories.
26655 * configure: Regenerated.
26657 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26659 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26661 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26665 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26667 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26668 LDBL_MANT_DIG == 106]: Disable some tests.
26669 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26671 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26675 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26676 input for small inputs. Return +/- pi/2 for large inputs.
26677 * math/libm-test.inc (atan_test): Add more tests.
26679 * sysdeps/generic/unwind-dw2-fde-glibc.c
26680 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26681 __attribute__ ((unused)).
26684 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26685 x * y if x and y are nonzero and z is zero.
26688 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26689 nonzero exponents with absolute value below 0x1p-117 to +/-
26693 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26694 up arguments below 2**-450, not just those below 2**-500.
26695 * math/libm-test.inc (hypot_test): Add another test.
26698 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26699 Return a+b for ratio over 2**120, not 2**60.
26700 * math/libm-test.inc (hypot_test): Add another test.
26702 * math/libm-test.inc (clog_test): Use
26703 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26704 (clog10_test): Likewise.
26707 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26709 2012-11-22 Andreas Schwab <schwab@suse.de>
26711 * sysdeps/i386/fpu/libm-test-ulps: Update.
26713 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26715 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26716 printf output with newline.
26718 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26721 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26722 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26723 -z nodlopen, -z initfirst and -z execstack support.
26724 * configure: Regenerated.
26726 * elf/elf.h (DF_1_NODIRECT): New macro.
26727 (DF_1_IGNMULDEF): Likewise.
26728 (DF_1_NOKSYMS): Likewise.
26729 (DF_1_NOHDR): Likewise.
26730 (DF_1_EDITED): Likewise.
26731 (DF_1_NORELOC): Likewise.
26732 (DF_1_SYMINTPOSE): Likewise.
26733 (DF_1_GLOBAUDIT): Likewise.
26734 (DF_1_SINGLETON): Likewise.
26735 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26736 DT_1_SUPPORTED_MASK bits.
26737 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26739 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26741 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26743 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26745 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26748 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26749 (sendmmsg): Move declarations...
26750 * socket/sys/socket.h: ... here.
26751 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26752 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26754 * socket/recvmmsg.c: ... this new file.
26755 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26756 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26757 definition of __sendmmsg hidden.
26758 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26759 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26760 Move ENOSYS stub into and include it from...
26761 * socket/sendmmsg.c: ... this new file.
26762 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26763 (sysdep_routines): Move recvmmsg and sendmmsg...
26764 * socket/Makefile (routines): ... here.
26765 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26766 (GLIBC_PRIVATE): Add __sendmmsg.
26767 * include/sys/socket.h (__sendmmsg): Add declarations.
26768 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26771 2012-11-20 Joseph Myers <joseph@codesourcery.com>
26773 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26774 variable I1 with __attribute__ ((unused)).
26775 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26777 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26779 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26780 DUMMY variables with __attribute__ ((unused)).
26782 * bits/byteswap.h: Include <bits/types.h>.
26783 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26785 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26787 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26788 string_t. Do not manually set errno.
26789 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26790 length with __strnlen. Make sure to both set errno and return it on
26793 2012-11-19 David S. Miller <davem@davemloft.net>
26795 With help from Joseph Myers.
26796 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26797 very large arguments properly.
26798 * math/libm-test.inc (atan_test): New tests.
26799 (atan2_test): New tests.
26800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26801 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26803 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26806 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26809 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26810 [POSIX] (EADDRNOTAVAIL): Likewise.
26811 [POSIX] (EAFNOSUPPORT): Likewise.
26812 [POSIX] (EALREADY): Likewise.
26813 [POSIX] (ECONNABORTED): Likewise.
26814 [POSIX] (ECONNREFUSED): Likewise.
26815 [POSIX] (ECONNRESET): Likewise.
26816 [POSIX] (EDESTADDRREQ): Likewise.
26817 [POSIX] (EDQUOT): Likewise.
26818 [POSIX] (EHOSTUNREACH): Likewise.
26819 [POSIX] (EIDRM): Likewise.
26820 [POSIX] (EISCONN): Likewise.
26821 [POSIX] (ELOOP): Likewise.
26822 [POSIX] (EMULTIHOP): Likewise.
26823 [POSIX] (ENETDOWN): Likewise.
26824 [POSIX] (ENETUNREACH): Likewise.
26825 [POSIX] (ENOBUFS): Likewise.
26826 [POSIX] (ENODATA): Likewise.
26827 [POSIX] (ENOLINK): Likewise.
26828 [POSIX] (ENOMSG): Likewise.
26829 [POSIX] (ENOPROTOOPT): Likewise.
26830 [POSIX] (ENOSR): Likewise.
26831 [POSIX] (ENOSTR): Likewise.
26832 [POSIX] (ENOTCONN): Likewise.
26833 [POSIX] (ENOTSOCK): Likewise.
26834 [POSIX] (EOPNOTSUPP): Likewise.
26835 [POSIX] (EOVERFLOW): Likewise.
26836 [POSIX] (EPROTO): Likewise.
26837 [POSIX] (EPROTONOSUPPORT): Likewise.
26838 [POSIX] (EPROTOTYPE): Likewise.
26839 [POSIX] (ESTALE): Likewise.
26840 [POSIX] (ETIME): Likewise.
26841 [POSIX] (ETXTBSY): Likewise.
26842 [POSIX] (EWOULDBLOCK): Likewise.
26843 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26844 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26845 [POSIX] (SEEK_CUR): Likewise.
26846 [POSIX] (SEEK_END): Likewise.
26847 [POSIX || UNIX98] (mode_t): Do not require.
26848 [POSIX] (off_t): Likewise.
26849 [POSIX] (pid_t): Likewise.
26850 [POSIX] (sys/stat.h): Do not allow header.
26851 [POSIX] (unistd.h): Likewise.
26852 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26853 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26854 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26855 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26857 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26858 sigevent): Specify elements.
26859 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26861 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26862 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26864 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26865 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26866 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26867 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26868 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26869 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26870 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26871 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26872 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26873 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26874 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26875 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26876 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26877 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26879 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26881 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26883 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26885 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26886 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26887 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26888 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26889 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26890 Specify lower bound on value.
26891 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26892 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26893 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26894 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26895 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26896 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26897 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26898 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26900 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26902 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26903 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26904 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26905 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26906 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26907 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26908 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26909 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26910 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26911 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26912 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26913 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26914 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26915 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26916 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26917 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26919 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26921 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26922 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26923 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26924 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26925 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26926 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26928 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26929 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26930 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26931 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26932 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26933 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26934 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26936 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26937 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26938 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26939 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26940 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26941 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26942 specify as optional.
26943 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26944 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26945 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26946 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26947 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26948 [XPG3] (NL_LANGMAX): Likewise.
26949 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26950 [POSIX || XPG3] (NL_NMAX): Likewise.
26951 [POSIX || XPG3] (NL_SETMAX): Likewise.
26952 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26953 [XPG3] (NZERO): Likewise.
26954 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26955 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26956 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26957 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26958 (REG_ERANGE): Expect.
26959 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26961 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26962 Use (void) in prototype.
26963 [POSIX] (*_t): Allow.
26964 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26965 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26966 (WRDE_BADVAL): Expect.
26968 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26970 [XPG3 || XPG4] (O_RSYNC): Likewise.
26971 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26973 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26974 [XPG3 || XPG4] (sigqueue): Likewise.
26975 [XPG3 || XPG4] (sigtimedwait): Likewise.
26976 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26977 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26978 [XPG3 || XPG4] (vsnprintf): Likewise.
26979 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26981 [XPG3 || XPG4] (blksize_t): Likewise.
26982 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26984 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26985 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26986 [XPG3 || XPG4] (struct itimerspec): Likewise.
26987 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26988 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26989 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26990 [XPG3 || XPG4] (clockid_t): Likewise.
26991 [XPG3 || XPG4] (timer_t): Likewise.
26992 [XPG3 || XPG4] (clock_getres): Likewise.
26993 [XPG3 || XPG4] (clock_gettime): Likewise.
26994 [XPG3 || XPG4] (clock_settime): Likewise.
26995 [XPG3 || XPG4] (nanosleep): Likewise.
26996 [XPG3 || XPG4] (timer_create): Likewise.
26997 [XPG3 || XPG4] (timer_delete): Likewise.
26998 [XPG3 || XPG4] (timer_gettime): Likewise.
26999 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27000 [XPG3 || XPG4] (timer_settime): Likewise.
27001 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27002 [XPG3 || XPG4] (getlogin_r): Likewise.
27003 [XPG3 || XPG4] (pread): Likewise.
27004 [XPG3 || XPG4] (pthread_atfork): Likewise.
27005 [XPG3 || XPG4] (pwrite): Likewise.
27008 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27011 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27013 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27014 finalizing MALLSTREAM.
27016 * sysdeps/mach/hurd/syncfs.c: New file.
27018 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27021 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27022 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27023 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27024 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27025 (_nss_dns_gethostbyname4_r): Likewise.
27026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27027 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27029 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27032 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27034 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27036 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27037 * elf/cache.c (print_entry): Print ",AArch64" for
27040 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27041 * elf/cache.c (print_entry): Print ",hard-float" for
27044 2012-11-18 David S. Miller <davem@davemloft.net>
27046 With help from Joseph Myers.
27047 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27049 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27051 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27052 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27054 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27055 * math/libm-test.inc (y0_test): New tests.
27056 (y1_test): New tests.
27057 * sysdeps/i386/fpu/libm-test-ulps: Update.
27058 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27061 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27063 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27065 * configure: Regenerated.
27067 2012-11-17 David S. Miller <davem@davemloft.net>
27070 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27071 nonzero exponents with absolute value below 0x1p-128 to +/-
27074 2012-11-17 Joseph Myers <joseph@codesourcery.com>
27076 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27078 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27080 * posix/getconf-speclist.c: New file.
27081 * posix/posix-envs.def: Likewise.
27082 * posix/confstr.c (START_ENV_GROUP): New macro.
27083 (END_ENV_GROUP): Likewise.
27084 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27085 (KNOWN_PRESENT_ENV_STRING): Likewise.
27086 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27087 (UNKNOWN_ENVIRONMENT): Likewise.
27088 (confstr): Include posix-envs.def instead of handling
27089 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27090 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27091 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27092 (END_ENV_GROUP): Likewise.
27093 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27094 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27095 (UNKNOWN_ENVIRONMENT): Likewise.
27096 (__sysconf): Include posix-envs.def instead of handling associated
27097 cases directly here.
27098 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27099 preprocessing getconf-speclist.c rather than running getconf or
27100 generating empty file.
27102 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27104 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27106 2012-11-16 Andrej Lajovic <natrij@gmail.com>
27109 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27111 2012-11-16 David S. Miller <davem@davemloft.net>
27113 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27114 smaller than LDBL_EPSILON/2.0L, just return xm1.
27116 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27118 * elf/tst-array1.c (init): Set constructor priority to 1000.
27119 (fini): Set destructor priority to 1000.
27120 * elf/tst-array2dep.c: Likewise.
27122 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27125 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27126 (_IO_new_file_xsputn): Also return EOF if none of the input
27127 data was written when overflow failed.
27128 * libio/iopadn.c (_IO_padn): Likewise.
27129 * libio/iowpadn.c (_IO_wpadn): Likewise.
27130 * stdio-common/tst-put-error.c: Add copyright notice.
27131 (do_test): Add case for printing padded string.
27132 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27133 _IO_padn returned error.
27134 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27135 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27138 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27140 * libio/libioP.h: Add comment note that the references to C++
27141 bits are now obsolete.
27143 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27145 * math/libm-test.inc (check_complex): Use asprintf.
27147 2012-11-14 Joseph Myers <joseph@codesourcery.com>
27149 * debug/pcprofiledump.c (print_version): Update copyright year.
27150 * malloc/memusagestat.c (print_version): Likewise.
27152 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27155 * elf/Makefile (tests): Add tst-audit8.
27156 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27157 ($(objpfx)tst-audit8.out): New target.
27158 (tst-audit8-ENV): New variable.
27159 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27160 audit if l_reloc_result is NULL.
27161 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27162 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27163 * elf/tst-audit8.c: New file.
27165 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27167 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27168 * misc/Makefile (CFLAGS-select.c): Define.
27169 * posix/Makefile (CFLAGS-pause.c): Define.
27171 2012-11-13 David S. Miller <davem@davemloft.net>
27173 * crypt/Makefile: Move test targets after toplevel Rules
27174 inclusion. Grab any necessary sysdep routines when linking.
27175 * crypt/md5.c (md5_process_block): Remove define, we will always
27176 name it __md5_process_block.
27177 (md5_finish_ctx): Update md5_process_block call.
27178 (md5_stream): Likewise.
27179 (md5_process_bytes): Likewise.
27180 (md5_process_block): Rename to __md5_process_block and move to ...
27181 * crypt/md5-block.c: ... here.
27182 * crypt/sha256.c (sha256_process_block): Move to ...
27183 * crypt/sha256-block.c: ... here.
27184 * crypt/sha512.c (sha512_process_block): Move to ...
27185 * crypt/sha512-block.c: ... here.
27186 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27188 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27189 * sysdeps/sparc/sparc64/multiarch/Makefile
27190 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27192 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27193 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27195 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27196 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27197 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27198 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27199 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27200 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27201 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27202 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27203 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27205 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27206 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27208 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27210 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27212 * timezone/tzselect.ksh: Update from tzcode git revision
27213 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27214 * timezone/zdump.c: Likewise.
27215 * timezone/zic.c: Likewise.
27216 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27217 in TZVERSION setting, not $(PKGVERSION).
27218 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27219 REPORT_BUGS_TO settings.
27222 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27225 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27227 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27228 detection to immediately after _FP_ROUND().
27229 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27232 2012-11-11 David S. Miller <davem@davemloft.net>
27234 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27236 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27237 __close rather than their public counterparts.
27239 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27241 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27243 [UNIX98] (sem_timedwait): Do not expect.
27244 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27245 [XPG4 || UNIX98] (sockatmark): Do not expect.
27246 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27247 (clock_getcpuclockid): Do not expect.
27248 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27249 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27251 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27252 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27253 [UNIX98] (vwscanf): Likewise.
27254 [UNIX98] (vswscanf): Likewise.
27256 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27258 * timezone/version.h: Remove file.
27259 * timezone/README: Do not refer to version.h.
27260 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27261 $(objpfx)version.h.
27262 ($(objpfx)zdump.o): Likewise.
27263 ($(objpfx)version.h): New target.
27265 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27267 * timezone/README: Don't mention modification to tzselect.ksh.
27268 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27269 work on unmodified tzselect.ksh. Substitute version numbers in
27272 * Makefile (format-me): Remove.
27273 (INSTALL): Adjust indentation. Use commands directly instead of
27274 using $(format-me).
27276 * aclocal.m4 (ACX_PKGVERSION): New macro.
27277 (ACX_BUGURL): Likewise.
27278 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27279 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27280 (REPORT_BUGS_TO): Likewise.
27281 * configure: Regenerated.
27282 * config.h.in (PKGVERSION): New macro.
27283 (REPORT_BUGS_TO): Likewise.
27284 * config.make.in (PKGVERSION): New variable.
27285 (PKGVERSION_TEXI): Likewise.
27286 (REPORT_BUGS_TO): Likewise.
27287 (REPORT_BUGS_TEXI): Likewise.
27288 * Makefile (format-me): Use -I$(common-objpfx)manual.
27289 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27290 ($(common-objpfx)manual/%): New target.
27291 (manual/%): Remove target.
27292 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27293 (print_version): Use PKGVERSION.
27294 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27295 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27296 and REPORT_BUGS_TO.
27297 ($(objpfx)xtrace): Likewise.
27298 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27299 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27300 (print_version): Use PKGVERSION.
27301 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27302 (do_version): Use PKGVERSION.
27303 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27305 (common-ldd-rewrite): Likewise.
27306 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27307 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27308 (print_version): Use PKGVERSION.
27309 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27310 * elf/pldd.c (argp_program_bug_address): Remove variable.
27311 (more_help): New function.
27312 (argp): Use more_help.
27313 (print_version): Use PKGVERSION.
27314 * elf/sln.c (main): Use PKGVERSION.
27315 (usage): Use REPORT_BUGS_TO.
27316 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27317 (top level): Use PKGVERSION.
27318 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27319 (print_version): Use PKGVERSION.
27320 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27321 (print_version): Use PKGVERSION.
27322 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27323 (print_version): Use PKGVERSION.
27324 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27325 (print_version): Use PKGVERSION.
27326 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27327 (print_version): Use PKGVERSION.
27328 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27329 (print_version): Use PKGVERSION.
27330 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27332 ($(objpfx)memusage): Likewise.
27333 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27334 (do_version): Use PKGVERSION.
27335 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27336 (print_version): Use PKGVERSION.
27337 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27338 ($PKGVERSION): New variable.
27339 ($REPORT_BUGS_TO): Likewise.
27340 (usage): Use $REPORT_BUGS_TO.
27341 (top level): Use $PKGVERSION.
27342 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27343 ($(objpfx)pkgvers.texi): New rule.
27344 ($(objpfx)stamp-pkgvers): Likewise.
27345 * manual/install.texi: Include pkgvers.texi.
27346 (--with-pkgversion): Document new configure option.
27347 (--with-bugurl): Likewise.
27348 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27349 than necessarily for this particular distribution. Use
27350 REPORT_BUGS_TO for where to report bugs.
27351 * INSTALL: Regenerated.
27352 * manual/libc.texinfo: Include pkgvers.texi.
27353 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27354 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27355 (print_version): Use PKGVERSION.
27356 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27357 (print_version): Use PKGVERSION.
27358 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27359 (print_version): Use PKGVERSION.
27360 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27361 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27363 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27364 (print_version): Use PKGVERSION.
27365 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27366 (print_version): Use PKGVERSION.
27367 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27370 * timezone/checktab.awk: Update from tzcode 2012i.
27371 * timezone/ialloc.c: Likewise.
27372 * timezone/private.h: Likewise.
27373 * timezone/scheck.c: Likewise.
27374 * timezone/tzfile.h: Likewise.
27375 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27376 (TZVERSION): Hardcode tzcode version number.
27377 * timezone/zdump.c: Update from tzcode 2012i.
27378 * timezone/zic.c: Likewise.
27379 * timezone/version.h: New file.
27380 * timezone/README: Describe version.h. Update upstream location.
27383 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27384 (mktemp): Enable declaration.
27385 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27386 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27387 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27388 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27390 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27392 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27394 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27396 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27398 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27402 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27403 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27404 for copies of such integer values.
27405 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27406 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27408 2012-11-09 Andreas Jaeger <aj@suse.de>
27410 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27411 definitions and declarations that are provided by
27412 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27414 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27416 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27417 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27418 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27421 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27423 * elf/elf.h: Update comment before AArch64 relocations.
27425 2012-11-07 David S. Miller <davem@davemloft.net>
27427 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27428 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27429 (__start_context): Declare.
27430 (__makecontext_ret): Delete.
27431 (__makecontext): Hook up __start_context instead of
27433 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27434 (sysdep_routines): Add __start_context when in stdlib.
27436 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27438 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27439 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27440 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27442 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27443 (READELF): New variable. Use it instead of hardcoded "readelf".
27445 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27447 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27448 * sysdeps/x86/Makefile: Here.
27449 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27450 * sysdeps/x86/tst-xmmymm.sh: This.
27452 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27454 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27456 [UNIX98] (pthread_barrier_t): Do not expect.
27457 [UNIX98] (pthread_barrierattr_t): Likewise.
27458 [UNIX98] (pthread_spinlock_t): Likewise.
27459 [UNIX98] (pthread_barrier_destroy): Likewise.
27460 [UNIX98] (pthread_barrier_init): Likewise.
27461 [UNIX98] (pthread_barrier_wait): Likewise.
27462 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27463 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27464 [UNIX98] (pthread_barrierattr_init): Likewise.
27465 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27466 [UNIX98] (pthread_getcpuclockid): Likewise.
27467 [UNIX98] (pthread_mutex_timedlock): Likewise.
27468 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27469 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27470 [UNIX98] (pthread_sigmask): Likewise.
27471 [UNIX98] (pthread_spin_destroy): Likewise.
27472 [UNIX98] (pthread_spin_init): Likewise.
27473 [UNIX98] (pthread_spin_lock): Likewise.
27474 [UNIX98] (pthread_spin_trylock): Likewise.
27475 [UNIX98] (pthread_spin_unlock): Likewise.
27476 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27478 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27479 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27480 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27481 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27482 [XPG3 || XPG4] (pthread_key_t): Likewise.
27483 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27484 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27485 [XPG3 || XPG4] (pthread_once_t): Likewise.
27486 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27487 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27488 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27489 [XPG3 || XPG4] (pthread_t): Likewise.
27491 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27493 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27495 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27496 Change function return type to int.
27498 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27499 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27500 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27501 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27502 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27503 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27504 [!POSIX] (posix_madvise): Likewise.
27505 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27507 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27508 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27509 (mode_t): Likewise.
27510 (posix_mem_offset): Likewise.
27511 (posix_typed_mem_get_info): Likewise.
27512 (posix_typed_mem_open): Likewise.
27514 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27515 Change condition to [XOPEN2K8].
27517 * conform/conformtest.pl: Preprocess allow-header data with -x c
27518 instead of from stdin.
27519 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27520 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27521 [C99-based standards] (cerfc): Likewise.
27522 [C99-based standards] (cexp2): Likewise.
27523 [C99-based standards] (cexpm1): Likewise.
27524 [C99-based standards] (clog10): Likewise.
27525 [C99-based standards] (clog1p): Likewise.
27526 [C99-based standards] (clog2): Likewise.
27527 [C99-based standards] (clgamma): Likewise.
27528 [C99-based standards] (ctgamma): Likewise.
27529 [C99-based standards] (cerff): Likewise.
27530 [C99-based standards] (cerfcf): Likewise.
27531 [C99-based standards] (cexp2f): Likewise.
27532 [C99-based standards] (cexpm1f): Likewise.
27533 [C99-based standards] (clog10f): Likewise.
27534 [C99-based standards] (clog1pf): Likewise.
27535 [C99-based standards] (clog2f): Likewise.
27536 [C99-based standards] (clgammaf): Likewise.
27537 [C99-based standards] (ctgammaf): Likewise.
27538 [C99-based standards] (cerfl): Likewise.
27539 [C99-based standards] (cerfcl): Likewise.
27540 [C99-based standards] (cexp2l): Likewise.
27541 [C99-based standards] (cexpm1l): Likewise.
27542 [C99-based standards] (clog10l): Likewise.
27543 [C99-based standards] (clog1pl): Likewise.
27544 [C99-based standards] (clog2l): Likewise.
27545 [C99-based standards] (clgammal): Likewise.
27546 [C99-based standards] (ctgammal): Likewise.
27547 * conform/data/inttypes.h-data [C99-based standards]: Include
27548 stdint.h-data. Remove all expectations for stdint.h contents.
27549 [C99-based standards] (PRI*): Do not allow.
27550 [C99-based standards] (SCN*): Likewise.
27551 [C99-based standards] (*_t): Likewise.
27552 [C99-based-standards] (PRId8): Expect macro.
27553 [C99-based-standards] (PRIi8): Likewise.
27554 [C99-based-standards] (PRIo8): Likewise.
27555 [C99-based-standards] (PRIu8): Likewise.
27556 [C99-based-standards] (PRIx8): Likewise.
27557 [C99-based-standards] (PRIX8): Likewise.
27558 [C99-based-standards] (SCNd8): Likewise.
27559 [C99-based-standards] (SCNi8): Likewise.
27560 [C99-based-standards] (SCNo8): Likewise.
27561 [C99-based-standards] (SCNu8): Likewise.
27562 [C99-based-standards] (SCNx8): Likewise.
27563 [C99-based-standards] (PRIdLEAST8): Likewise.
27564 [C99-based-standards] (PRIiLEAST8): Likewise.
27565 [C99-based-standards] (PRIoLEAST8): Likewise.
27566 [C99-based-standards] (PRIuLEAST8): Likewise.
27567 [C99-based-standards] (PRIxLEAST8): Likewise.
27568 [C99-based-standards] (PRIXLEAST8): Likewise.
27569 [C99-based-standards] (SCNdLEAST8): Likewise.
27570 [C99-based-standards] (SCNiLEAST8): Likewise.
27571 [C99-based-standards] (SCNoLEAST8): Likewise.
27572 [C99-based-standards] (SCNuLEAST8): Likewise.
27573 [C99-based-standards] (SCNxLEAST8): Likewise.
27574 [C99-based-standards] (PRIdFAST8): Likewise.
27575 [C99-based-standards] (PRIiFAST8): Likewise.
27576 [C99-based-standards] (PRIoFAST8): Likewise.
27577 [C99-based-standards] (PRIuFAST8): Likewise.
27578 [C99-based-standards] (PRIxFAST8): Likewise.
27579 [C99-based-standards] (PRIXFAST8): Likewise.
27580 [C99-based-standards] (SCNdFAST8): Likewise.
27581 [C99-based-standards] (SCNiFAST8): Likewise.
27582 [C99-based-standards] (SCNoFAST8): Likewise.
27583 [C99-based-standards] (SCNuFAST8): Likewise.
27584 [C99-based-standards] (SCNxFAST8): Likewise.
27585 [C99-based-standards] (PRId16): Likewise.
27586 [C99-based-standards] (PRIi16): Likewise.
27587 [C99-based-standards] (PRIo16): Likewise.
27588 [C99-based-standards] (PRIu16): Likewise.
27589 [C99-based-standards] (PRIx16): Likewise.
27590 [C99-based-standards] (PRIX16): Likewise.
27591 [C99-based-standards] (SCNd16): Likewise.
27592 [C99-based-standards] (SCNi16): Likewise.
27593 [C99-based-standards] (SCNo16): Likewise.
27594 [C99-based-standards] (SCNu16): Likewise.
27595 [C99-based-standards] (SCNx16): Likewise.
27596 [C99-based-standards] (PRIdLEAST16): Likewise.
27597 [C99-based-standards] (PRIiLEAST16): Likewise.
27598 [C99-based-standards] (PRIoLEAST16): Likewise.
27599 [C99-based-standards] (PRIuLEAST16): Likewise.
27600 [C99-based-standards] (PRIxLEAST16): Likewise.
27601 [C99-based-standards] (PRIXLEAST16): Likewise.
27602 [C99-based-standards] (SCNdLEAST16): Likewise.
27603 [C99-based-standards] (SCNiLEAST16): Likewise.
27604 [C99-based-standards] (SCNoLEAST16): Likewise.
27605 [C99-based-standards] (SCNuLEAST16): Likewise.
27606 [C99-based-standards] (SCNxLEAST16): Likewise.
27607 [C99-based-standards] (PRIdFAST16): Likewise.
27608 [C99-based-standards] (PRIiFAST16): Likewise.
27609 [C99-based-standards] (PRIoFAST16): Likewise.
27610 [C99-based-standards] (PRIuFAST16): Likewise.
27611 [C99-based-standards] (PRIxFAST16): Likewise.
27612 [C99-based-standards] (PRIXFAST16): Likewise.
27613 [C99-based-standards] (SCNdFAST16): Likewise.
27614 [C99-based-standards] (SCNiFAST16): Likewise.
27615 [C99-based-standards] (SCNoFAST16): Likewise.
27616 [C99-based-standards] (SCNuFAST16): Likewise.
27617 [C99-based-standards] (SCNxFAST16): Likewise.
27618 [C99-based-standards] (PRId32): Likewise.
27619 [C99-based-standards] (PRIi32): Likewise.
27620 [C99-based-standards] (PRIo32): Likewise.
27621 [C99-based-standards] (PRIu32): Likewise.
27622 [C99-based-standards] (PRIx32): Likewise.
27623 [C99-based-standards] (PRIX32): Likewise.
27624 [C99-based-standards] (SCNd32): Likewise.
27625 [C99-based-standards] (SCNi32): Likewise.
27626 [C99-based-standards] (SCNo32): Likewise.
27627 [C99-based-standards] (SCNu32): Likewise.
27628 [C99-based-standards] (SCNx32): Likewise.
27629 [C99-based-standards] (PRIdLEAST32): Likewise.
27630 [C99-based-standards] (PRIiLEAST32): Likewise.
27631 [C99-based-standards] (PRIoLEAST32): Likewise.
27632 [C99-based-standards] (PRIuLEAST32): Likewise.
27633 [C99-based-standards] (PRIxLEAST32): Likewise.
27634 [C99-based-standards] (PRIXLEAST32): Likewise.
27635 [C99-based-standards] (SCNdLEAST32): Likewise.
27636 [C99-based-standards] (SCNiLEAST32): Likewise.
27637 [C99-based-standards] (SCNoLEAST32): Likewise.
27638 [C99-based-standards] (SCNuLEAST32): Likewise.
27639 [C99-based-standards] (SCNxLEAST32): Likewise.
27640 [C99-based-standards] (PRIdFAST32): Likewise.
27641 [C99-based-standards] (PRIiFAST32): Likewise.
27642 [C99-based-standards] (PRIoFAST32): Likewise.
27643 [C99-based-standards] (PRIuFAST32): Likewise.
27644 [C99-based-standards] (PRIxFAST32): Likewise.
27645 [C99-based-standards] (PRIXFAST32): Likewise.
27646 [C99-based-standards] (SCNdFAST32): Likewise.
27647 [C99-based-standards] (SCNiFAST32): Likewise.
27648 [C99-based-standards] (SCNoFAST32): Likewise.
27649 [C99-based-standards] (SCNuFAST32): Likewise.
27650 [C99-based-standards] (SCNxFAST32): Likewise.
27651 [C99-based-standards] (PRId64): Likewise.
27652 [C99-based-standards] (PRIi64): Likewise.
27653 [C99-based-standards] (PRIo64): Likewise.
27654 [C99-based-standards] (PRIu64): Likewise.
27655 [C99-based-standards] (PRIx64): Likewise.
27656 [C99-based-standards] (PRIX64): Likewise.
27657 [C99-based-standards] (SCNd64): Likewise.
27658 [C99-based-standards] (SCNi64): Likewise.
27659 [C99-based-standards] (SCNo64): Likewise.
27660 [C99-based-standards] (SCNu64): Likewise.
27661 [C99-based-standards] (SCNx64): Likewise.
27662 [C99-based-standards] (PRIdLEAST64): Likewise.
27663 [C99-based-standards] (PRIiLEAST64): Likewise.
27664 [C99-based-standards] (PRIoLEAST64): Likewise.
27665 [C99-based-standards] (PRIuLEAST64): Likewise.
27666 [C99-based-standards] (PRIxLEAST64): Likewise.
27667 [C99-based-standards] (PRIXLEAST64): Likewise.
27668 [C99-based-standards] (SCNdLEAST64): Likewise.
27669 [C99-based-standards] (SCNiLEAST64): Likewise.
27670 [C99-based-standards] (SCNoLEAST64): Likewise.
27671 [C99-based-standards] (SCNuLEAST64): Likewise.
27672 [C99-based-standards] (SCNxLEAST64): Likewise.
27673 [C99-based-standards] (PRIdFAST64): Likewise.
27674 [C99-based-standards] (PRIiFAST64): Likewise.
27675 [C99-based-standards] (PRIoFAST64): Likewise.
27676 [C99-based-standards] (PRIuFAST64): Likewise.
27677 [C99-based-standards] (PRIxFAST64): Likewise.
27678 [C99-based-standards] (PRIXFAST64): Likewise.
27679 [C99-based-standards] (SCNdFAST64): Likewise.
27680 [C99-based-standards] (SCNiFAST64): Likewise.
27681 [C99-based-standards] (SCNoFAST64): Likewise.
27682 [C99-based-standards] (SCNuFAST64): Likewise.
27683 [C99-based-standards] (SCNxFAST64): Likewise.
27684 [C99-based-standards] (PRIdMAX): Likewise.
27685 [C99-based-standards] (PRIiMAX): Likewise.
27686 [C99-based-standards] (PRIoMAX): Likewise.
27687 [C99-based-standards] (PRIuMAX): Likewise.
27688 [C99-based-standards] (PRIxMAX): Likewise.
27689 [C99-based-standards] (PRIXMAX): Likewise.
27690 [C99-based-standards] (SCNdMAX): Likewise.
27691 [C99-based-standards] (SCNiMAX): Likewise.
27692 [C99-based-standards] (SCNoMAX): Likewise.
27693 [C99-based-standards] (SCNuMAX): Likewise.
27694 [C99-based-standards] (SCNxMAX): Likewise.
27695 [C99-based-standards] (PRIdPTR): Likewise.
27696 [C99-based-standards] (PRIiPTR): Likewise.
27697 [C99-based-standards] (PRIoPTR): Likewise.
27698 [C99-based-standards] (PRIuPTR): Likewise.
27699 [C99-based-standards] (PRIxPTR): Likewise.
27700 [C99-based-standards] (PRIXPTR): Likewise.
27701 [C99-based-standards] (SCNdPTR): Likewise.
27702 [C99-based-standards] (SCNiPTR): Likewise.
27703 [C99-based-standards] (SCNoPTR): Likewise.
27704 [C99-based-standards] (SCNuPTR): Likewise.
27705 [C99-based-standards] (SCNxPTR): Likewise.
27706 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27708 * conform/data/stdint.h-data: Update comments to clarify
27710 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27712 [C99-based standards] (INT8_MAX): Likewise.
27713 [C99-based standards] (INT16_MIN): Likewise.
27714 [C99-based standards] (INT16_MAX): Likewise.
27715 [C99-based standards] (INT32_MIN): Likewise.
27716 [C99-based standards] (INT32_MAX): Likewise.
27717 [C99-based standards] (INT64_MIN): Likewise.
27718 [C99-based standards] (INT64_MAX): Likewise.
27719 [C99-based standards] (UINT8_MAX): Likewise.
27720 [C99-based standards] (UINT16_MAX): Likewise.
27721 [C99-based standards] (UINT32_MAX): Likewise.
27722 [C99-based standards] (UINT64_MAX): Likewise.
27723 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27724 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27725 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27726 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27727 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27728 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27729 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27730 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27731 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27732 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27733 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27734 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27735 [C99-based standards] (INT_FAST8_MIN): Likewise.
27736 [C99-based standards] (INT_FAST8_MAX): Likewise.
27737 [C99-based standards] (INT_FAST16_MIN): Likewise.
27738 [C99-based standards] (INT_FAST16_MAX): Likewise.
27739 [C99-based standards] (INT_FAST32_MIN): Likewise.
27740 [C99-based standards] (INT_FAST32_MAX): Likewise.
27741 [C99-based standards] (INT_FAST64_MIN): Likewise.
27742 [C99-based standards] (INT_FAST64_MAX): Likewise.
27743 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27744 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27745 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27746 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27747 [C99-based standards] (INTPTR_MIN): Likewise.
27748 [C99-based standards] (INTPTR_MAX): Likewise.
27749 [C99-based standards] (UINTPTR_MAX): Likewise.
27750 [C99-based standards] (INTMAX_MIN): Likewise.
27751 [C99-based standards] (INTMAX_MAX): Likewise.
27752 [C99-based standards] (UINTMAX_MAX): Likewise.
27753 [C99-based standards] (PTRDIFF_MIN): Likewise.
27754 [C99-based standards] (PTRDIFF_MAX): Likewise.
27755 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27756 [C99-based standards] (SIZE_MAX): Likewise.
27757 [C99-based standards] (WCHAR_MAX): Likewise.
27758 [C99-based standards] (WINT_MAX): Likewise.
27759 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27760 constraint on value.
27761 [C99-based standards] (WCHAR_MIN): Likewise.
27762 [C99-based standards] (WINT_MIN): Likewise.
27763 [C99-based standards] (*_t): Allow.
27764 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27765 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27766 Include math.h-data and complex.h-data. Remove all expectations
27767 of math.h and complex.h contents.
27768 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27770 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27771 (struct tm): Expect tag.
27772 [C99-based-standards] (wcstof): Expect function.
27773 [C99-based-standards] (wcstold): Likewise.
27774 [C99-based-standards] (wcstoll): Likewise.
27775 [C99-based-standards] (wcstoull): Likewise.
27776 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27777 macro-int-constant. Specify type.
27778 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27779 constraint on value.
27780 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27782 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27784 [ISO C standards]: Do not allow headers.
27785 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27786 wcs[abcdefghijklmnopqrstuvwxyz]*.
27787 [ISO C standards] (*_t): Do not allow.
27788 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27790 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27791 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27793 [ISO C standards]: Do not allow headers.
27794 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27795 is[abcdefghijklmnopqrstuvwxyz]*.
27796 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27797 to[abcdefghijklmnopqrstuvwxyz]*.
27798 [ISO C standards] (*_t): Do not allow.
27799 * conform/data/stdalign.h-data: New file.
27800 * conform/data/stdbool.h-data: Likewise.
27801 * conform/data/stdnoreturn.h-data: Likewise.
27803 2012-11-07 Roland McGrath <roland@hack.frob.com>
27806 * manual/filesys.texi (Directory Entries): Typo fix.
27807 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27809 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27811 * elf/elf.h (EM_AARCH64): New macro.
27812 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27813 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27814 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27815 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27816 (R_AARCH64_TLSDESC): Likewise.
27817 (NT_ARM_TLS): Likewise.
27818 (NT_ARM_HW_BREAK): Likewise.
27819 (NT_ARM_HW_WATCH): Likewise.
27821 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27824 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27825 (__ieee754_powl): Saturate nonzero exponents with absolute value
27826 below 0x1p-79 to +/- 0x1p-79.
27827 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27828 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27829 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27830 nonzero exponents with absolute value below 0x1p-32 to +/-
27832 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27833 (__ieee754_powl): Saturate nonzero exponents with absolute value
27834 below 0x1p-79 to +/- 0x1p-79.
27835 * math/libm-test.inc (pow_test): Add more tests.
27837 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27839 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27840 _dl_s390_cap_flags with kernel. Increase string length.
27841 (_dl_s390_platforms): Add z196 and zEC12.
27843 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27845 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27846 Change XOPEN21K to XOPEN2K.
27848 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27850 * string/memmove.c: Use memcpy when possible.
27852 2012-11-06 Andreas Jaeger <aj@suse.de>
27854 * po/eo.po: Update from translation team.
27856 2012-11-06 Joseph Myers <joseph@codesourcery.com>
27859 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27860 exponent and small x and y exponents, scale x or y up. Increase
27861 by 2 the exponent used in scaling up.
27862 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27863 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27864 * math/libm-test.inc (fma_test): Add more tests.
27865 (fma_test_towardzero): Likewise.
27866 (fma_test_downward): Likewise.
27867 (fma_test_upward): Likewise.
27869 2012-11-05 Joseph Myers <joseph@codesourcery.com>
27872 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27876 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27877 namespace for names of struct fields.
27878 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27880 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27881 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27883 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27886 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27888 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27890 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27894 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27897 2012-11-04 Joseph Myers <joseph@codesourcery.com>
27900 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27901 definitely overflow as x * y not x * y + z.
27902 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27903 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27904 * math/libm-test.inc (fma_test): Add more tests.
27905 (fma_test_towardzero): Likewise.
27906 (fma_test_downward): Likewise.
27907 (fma_test_upward): Likewise.
27909 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27913 * include/stub-tag.h: Remove file.
27914 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27916 * manual/maint.texi (Porting): Don't reference it.
27917 * Makerules ($(objpfx)stubs): Likewise.
27918 * dirent/closedir.c: Don't include <stub-tag.h>.
27919 * dirent/dirfd.c: Likewise.
27920 * dirent/fdopendir.c: Likewise.
27921 * dirent/getdents.c: Likewise.
27922 * dirent/getdents64.c: Likewise.
27923 * dirent/opendir.c: Likewise.
27924 * dirent/readdir.c: Likewise.
27925 * dirent/readdir64.c: Likewise.
27926 * dirent/readdir64_r.c: Likewise.
27927 * dirent/readdir_r.c: Likewise.
27928 * dirent/rewinddir.c: Likewise.
27929 * dirent/seekdir.c: Likewise.
27930 * dirent/telldir.c: Likewise.
27931 * gmon/profil.c: Likewise.
27932 * grp/setgroups.c: Likewise.
27933 * inet/if_index.c: Likewise.
27934 * io/access.c: Likewise.
27935 * io/chdir.c: Likewise.
27936 * io/chmod.c: Likewise.
27937 * io/chown.c: Likewise.
27938 * io/close.c: Likewise.
27939 * io/dup.c: Likewise.
27940 * io/dup2.c: Likewise.
27941 * io/dup3.c: Likewise.
27942 * io/euidaccess.c: Likewise.
27943 * io/faccessat.c: Likewise.
27944 * io/fchdir.c: Likewise.
27945 * io/fchmod.c: Likewise.
27946 * io/fchmodat.c: Likewise.
27947 * io/fchown.c: Likewise.
27948 * io/fchownat.c: Likewise.
27949 * io/fcntl.c: Likewise.
27950 * io/flock.c: Likewise.
27951 * io/fstatfs.c: Likewise.
27952 * io/fstatfs64.c: Likewise.
27953 * io/fstatvfs.c: Likewise.
27954 * io/fstatvfs64.c: Likewise.
27955 * io/futimens.c: Likewise.
27956 * io/fxstat.c: Likewise.
27957 * io/fxstat64.c: Likewise.
27958 * io/fxstatat.c: Likewise.
27959 * io/fxstatat64.c: Likewise.
27960 * io/getcwd.c: Likewise.
27961 * io/isatty.c: Likewise.
27962 * io/lchmod.c: Likewise.
27963 * io/lchown.c: Likewise.
27964 * io/link.c: Likewise.
27965 * io/linkat.c: Likewise.
27966 * io/lseek.c: Likewise.
27967 * io/lseek64.c: Likewise.
27968 * io/lxstat64.c: Likewise.
27969 * io/mkdir.c: Likewise.
27970 * io/mkdirat.c: Likewise.
27971 * io/mkfifo.c: Likewise.
27972 * io/mkfifoat.c: Likewise.
27973 * io/open.c: Likewise.
27974 * io/open64.c: Likewise.
27975 * io/openat.c: Likewise.
27976 * io/openat64.c: Likewise.
27977 * io/pipe.c: Likewise.
27978 * io/pipe2.c: Likewise.
27979 * io/poll.c: Likewise.
27980 * io/posix_fadvise.c: Likewise.
27981 * io/posix_fadvise64.c: Likewise.
27982 * io/posix_fallocate.c: Likewise.
27983 * io/posix_fallocate64.c: Likewise.
27984 * io/read.c: Likewise.
27985 * io/readlink.c: Likewise.
27986 * io/readlinkat.c: Likewise.
27987 * io/rmdir.c: Likewise.
27988 * io/sendfile.c: Likewise.
27989 * io/sendfile64.c: Likewise.
27990 * io/statfs.c: Likewise.
27991 * io/statfs64.c: Likewise.
27992 * io/statvfs.c: Likewise.
27993 * io/statvfs64.c: Likewise.
27994 * io/symlink.c: Likewise.
27995 * io/symlinkat.c: Likewise.
27996 * io/ttyname.c: Likewise.
27997 * io/ttyname_r.c: Likewise.
27998 * io/umask.c: Likewise.
27999 * io/unlink.c: Likewise.
28000 * io/unlinkat.c: Likewise.
28001 * io/utime.c: Likewise.
28002 * io/utimensat.c: Likewise.
28003 * io/write.c: Likewise.
28004 * io/xmknod.c: Likewise.
28005 * io/xmknodat.c: Likewise.
28006 * io/xstat.c: Likewise.
28007 * io/xstat64.c: Likewise.
28008 * login/getpt.c: Likewise.
28009 * login/grantpt.c: Likewise.
28010 * login/unlockpt.c: Likewise.
28011 * math/e_acoshl.c: Likewise.
28012 * math/e_acosl.c: Likewise.
28013 * math/e_asinl.c: Likewise.
28014 * math/e_atan2l.c: Likewise.
28015 * math/e_atanhl.c: Likewise.
28016 * math/e_coshl.c: Likewise.
28017 * math/e_expl.c: Likewise.
28018 * math/e_fmodl.c: Likewise.
28019 * math/e_gammal_r.c: Likewise.
28020 * math/e_hypotl.c: Likewise.
28021 * math/e_j0l.c: Likewise.
28022 * math/e_j1l.c: Likewise.
28023 * math/e_jnl.c: Likewise.
28024 * math/e_lgammal_r.c: Likewise.
28025 * math/e_log10l.c: Likewise.
28026 * math/e_log2l.c: Likewise.
28027 * math/e_logl.c: Likewise.
28028 * math/e_powl.c: Likewise.
28029 * math/e_rem_pio2l.c: Likewise.
28030 * math/e_sinhl.c: Likewise.
28031 * math/e_sqrtl.c: Likewise.
28032 * math/fclrexcpt.c: Likewise.
28033 * math/fedisblxcpt.c: Likewise.
28034 * math/feenablxcpt.c: Likewise.
28035 * math/fegetenv.c: Likewise.
28036 * math/fegetexcept.c: Likewise.
28037 * math/fegetround.c: Likewise.
28038 * math/feholdexcpt.c: Likewise.
28039 * math/fesetenv.c: Likewise.
28040 * math/fesetround.c: Likewise.
28041 * math/feupdateenv.c: Likewise.
28042 * math/fgetexcptflg.c: Likewise.
28043 * math/fraiseexcpt.c: Likewise.
28044 * math/fsetexcptflg.c: Likewise.
28045 * math/ftestexcept.c: Likewise.
28046 * math/k_cosl.c: Likewise.
28047 * math/k_rem_pio2l.c: Likewise.
28048 * math/k_sinl.c: Likewise.
28049 * math/k_tanl.c: Likewise.
28050 * math/s_asinhl.c: Likewise.
28051 * math/s_atanl.c: Likewise.
28052 * math/s_cbrtl.c: Likewise.
28053 * math/s_erfl.c: Likewise.
28054 * math/s_expm1l.c: Likewise.
28055 * math/s_log1pl.c: Likewise.
28056 * math/s_tanhl.c: Likewise.
28057 * misc/acct.c: Likewise.
28058 * misc/brk.c: Likewise.
28059 * misc/chflags.c: Likewise.
28060 * misc/chroot.c: Likewise.
28061 * misc/fchflags.c: Likewise.
28062 * misc/fgetxattr.c: Likewise.
28063 * misc/flistxattr.c: Likewise.
28064 * misc/fremovexattr.c: Likewise.
28065 * misc/fsetxattr.c: Likewise.
28066 * misc/fsync.c: Likewise.
28067 * misc/ftruncate.c: Likewise.
28068 * misc/futimes.c: Likewise.
28069 * misc/futimesat.c: Likewise.
28070 * misc/getdomain.c: Likewise.
28071 * misc/getdtsz.c: Likewise.
28072 * misc/gethostid.c: Likewise.
28073 * misc/gethostname.c: Likewise.
28074 * misc/getloadavg.c: Likewise.
28075 * misc/getpagesize.c: Likewise.
28076 * misc/getsysstats.c: Likewise.
28077 * misc/getxattr.c: Likewise.
28078 * misc/gtty.c: Likewise.
28079 * misc/ioctl.c: Likewise.
28080 * misc/lgetxattr.c: Likewise.
28081 * misc/listxattr.c: Likewise.
28082 * misc/llistxattr.c: Likewise.
28083 * misc/lremovexattr.c: Likewise.
28084 * misc/lsetxattr.c: Likewise.
28085 * misc/lutimes.c: Likewise.
28086 * misc/madvise.c: Likewise.
28087 * misc/mincore.c: Likewise.
28088 * misc/mlock.c: Likewise.
28089 * misc/mlockall.c: Likewise.
28090 * misc/mmap.c: Likewise.
28091 * misc/mprotect.c: Likewise.
28092 * misc/msync.c: Likewise.
28093 * misc/munlock.c: Likewise.
28094 * misc/munlockall.c: Likewise.
28095 * misc/munmap.c: Likewise.
28096 * misc/preadv.c: Likewise.
28097 * misc/preadv64.c: Likewise.
28098 * misc/ptrace.c: Likewise.
28099 * misc/pwritev.c: Likewise.
28100 * misc/pwritev64.c: Likewise.
28101 * misc/readv.c: Likewise.
28102 * misc/reboot.c: Likewise.
28103 * misc/remap_file_pages.c: Likewise.
28104 * misc/removexattr.c: Likewise.
28105 * misc/revoke.c: Likewise.
28106 * misc/select.c: Likewise.
28107 * misc/setdomain.c: Likewise.
28108 * misc/setegid.c: Likewise.
28109 * misc/seteuid.c: Likewise.
28110 * misc/sethostid.c: Likewise.
28111 * misc/sethostname.c: Likewise.
28112 * misc/setregid.c: Likewise.
28113 * misc/setreuid.c: Likewise.
28114 * misc/setxattr.c: Likewise.
28115 * misc/sstk.c: Likewise.
28116 * misc/stty.c: Likewise.
28117 * misc/swapoff.c: Likewise.
28118 * misc/swapon.c: Likewise.
28119 * misc/sync.c: Likewise.
28120 * misc/syncfs.c: Likewise.
28121 * misc/syscall.c: Likewise.
28122 * misc/truncate.c: Likewise.
28123 * misc/ualarm.c: Likewise.
28124 * misc/usleep.c: Likewise.
28125 * misc/ustat.c: Likewise.
28126 * misc/utimes.c: Likewise.
28127 * misc/vhangup.c: Likewise.
28128 * misc/writev.c: Likewise.
28129 * posix/_exit.c: Likewise.
28130 * posix/alarm.c: Likewise.
28131 * posix/execve.c: Likewise.
28132 * posix/fexecve.c: Likewise.
28133 * posix/fork.c: Likewise.
28134 * posix/fpathconf.c: Likewise.
28135 * posix/getaddrinfo.c: Likewise.
28136 * posix/getegid.c: Likewise.
28137 * posix/geteuid.c: Likewise.
28138 * posix/getgid.c: Likewise.
28139 * posix/getgroups.c: Likewise.
28140 * posix/getlogin.c: Likewise.
28141 * posix/getlogin_r.c: Likewise.
28142 * posix/getpgid.c: Likewise.
28143 * posix/getpid.c: Likewise.
28144 * posix/getppid.c: Likewise.
28145 * posix/getresgid.c: Likewise.
28146 * posix/getresuid.c: Likewise.
28147 * posix/getsid.c: Likewise.
28148 * posix/getuid.c: Likewise.
28149 * posix/glob64.c: Likewise.
28150 * posix/nanosleep.c: Likewise.
28151 * posix/pathconf.c: Likewise.
28152 * posix/pause.c: Likewise.
28153 * posix/posix_madvise.c: Likewise.
28154 * posix/pread.c: Likewise.
28155 * posix/pread64.c: Likewise.
28156 * posix/pwrite.c: Likewise.
28157 * posix/pwrite64.c: Likewise.
28158 * posix/sched_getaffinity.c: Likewise.
28159 * posix/sched_getp.c: Likewise.
28160 * posix/sched_gets.c: Likewise.
28161 * posix/sched_primax.c: Likewise.
28162 * posix/sched_primin.c: Likewise.
28163 * posix/sched_rr_gi.c: Likewise.
28164 * posix/sched_setaffinity.c: Likewise.
28165 * posix/sched_setp.c: Likewise.
28166 * posix/sched_sets.c: Likewise.
28167 * posix/sched_yield.c: Likewise.
28168 * posix/setgid.c: Likewise.
28169 * posix/setlogin.c: Likewise.
28170 * posix/setpgid.c: Likewise.
28171 * posix/setresgid.c: Likewise.
28172 * posix/setresuid.c: Likewise.
28173 * posix/setsid.c: Likewise.
28174 * posix/setuid.c: Likewise.
28175 * posix/sleep.c: Likewise.
28176 * posix/spawni.c: Likewise.
28177 * posix/sysconf.c: Likewise.
28178 * posix/times.c: Likewise.
28179 * posix/wait.c: Likewise.
28180 * posix/wait3.c: Likewise.
28181 * posix/wait4.c: Likewise.
28182 * posix/waitpid.c: Likewise.
28183 * resolv/gai_sigqueue.c: Likewise.
28184 * resource/getpriority.c: Likewise.
28185 * resource/getrlimit.c: Likewise.
28186 * resource/getrusage.c: Likewise.
28187 * resource/nice.c: Likewise.
28188 * resource/setpriority.c: Likewise.
28189 * resource/setrlimit.c: Likewise.
28190 * resource/ulimit.c: Likewise.
28191 * rt/aio_cancel.c: Likewise.
28192 * rt/aio_fsync.c: Likewise.
28193 * rt/aio_read.c: Likewise.
28194 * rt/aio_sigqueue.c: Likewise.
28195 * rt/aio_suspend.c: Likewise.
28196 * rt/aio_write.c: Likewise.
28197 * rt/clock_getres.c: Likewise.
28198 * rt/clock_gettime.c: Likewise.
28199 * rt/clock_nanosleep.c: Likewise.
28200 * rt/clock_settime.c: Likewise.
28201 * rt/lio_listio.c: Likewise.
28202 * rt/mq_close.c: Likewise.
28203 * rt/mq_getattr.c: Likewise.
28204 * rt/mq_notify.c: Likewise.
28205 * rt/mq_open.c: Likewise.
28206 * rt/mq_receive.c: Likewise.
28207 * rt/mq_send.c: Likewise.
28208 * rt/mq_setattr.c: Likewise.
28209 * rt/mq_timedreceive.c: Likewise.
28210 * rt/mq_timedsend.c: Likewise.
28211 * rt/mq_unlink.c: Likewise.
28212 * rt/shm_open.c: Likewise.
28213 * rt/shm_unlink.c: Likewise.
28214 * rt/timer_create.c: Likewise.
28215 * rt/timer_delete.c: Likewise.
28216 * rt/timer_getoverr.c: Likewise.
28217 * rt/timer_gettime.c: Likewise.
28218 * rt/timer_settime.c: Likewise.
28219 * setjmp/__longjmp.c: Likewise.
28220 * setjmp/setjmp.c: Likewise.
28221 * signal/kill.c: Likewise.
28222 * signal/killpg.c: Likewise.
28223 * signal/raise.c: Likewise.
28224 * signal/sigaction.c: Likewise.
28225 * signal/sigaltstack.c: Likewise.
28226 * signal/sigblock.c: Likewise.
28227 * signal/sigignore.c: Likewise.
28228 * signal/sigintr.c: Likewise.
28229 * signal/signal.c: Likewise.
28230 * signal/sigpause.c: Likewise.
28231 * signal/sigpending.c: Likewise.
28232 * signal/sigqueue.c: Likewise.
28233 * signal/sigreturn.c: Likewise.
28234 * signal/sigset.c: Likewise.
28235 * signal/sigsetmask.c: Likewise.
28236 * signal/sigstack.c: Likewise.
28237 * signal/sigsuspend.c: Likewise.
28238 * signal/sigtimedwait.c: Likewise.
28239 * signal/sigvec.c: Likewise.
28240 * signal/sigwait.c: Likewise.
28241 * signal/sigwaitinfo.c: Likewise.
28242 * signal/sysv_signal.c: Likewise.
28243 * socket/accept.c: Likewise.
28244 * socket/accept4.c: Likewise.
28245 * socket/bind.c: Likewise.
28246 * socket/connect.c: Likewise.
28247 * socket/getpeername.c: Likewise.
28248 * socket/getsockname.c: Likewise.
28249 * socket/getsockopt.c: Likewise.
28250 * socket/isfdtype.c: Likewise.
28251 * socket/listen.c: Likewise.
28252 * socket/recv.c: Likewise.
28253 * socket/recvfrom.c: Likewise.
28254 * socket/recvmsg.c: Likewise.
28255 * socket/send.c: Likewise.
28256 * socket/sendmsg.c: Likewise.
28257 * socket/sendto.c: Likewise.
28258 * socket/setsockopt.c: Likewise.
28259 * socket/shutdown.c: Likewise.
28260 * socket/sockatmark.c: Likewise.
28261 * socket/socket.c: Likewise.
28262 * socket/socketpair.c: Likewise.
28263 * stdio-common/ctermid.c: Likewise.
28264 * stdio-common/cuserid.c: Likewise.
28265 * stdio-common/remove.c: Likewise.
28266 * stdio-common/rename.c: Likewise.
28267 * stdio-common/renameat.c: Likewise.
28268 * stdio-common/tempname.c: Likewise.
28269 * stdlib/getcontext.c: Likewise.
28270 * stdlib/makecontext.c: Likewise.
28271 * stdlib/setcontext.c: Likewise.
28272 * stdlib/swapcontext.c: Likewise.
28273 * stdlib/system.c: Likewise.
28274 * streams/fattach.c: Likewise.
28275 * streams/fdetach.c: Likewise.
28276 * streams/getmsg.c: Likewise.
28277 * streams/getpmsg.c: Likewise.
28278 * streams/putmsg.c: Likewise.
28279 * streams/putpmsg.c: Likewise.
28280 * sysdeps/unix/bsd/getpt.c: Likewise.
28281 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28282 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28283 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28286 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28287 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28288 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28289 * sysvipc/msgctl.c: Likewise.
28290 * sysvipc/msgget.c: Likewise.
28291 * sysvipc/msgrcv.c: Likewise.
28292 * sysvipc/msgsnd.c: Likewise.
28293 * sysvipc/semctl.c: Likewise.
28294 * sysvipc/semget.c: Likewise.
28295 * sysvipc/semop.c: Likewise.
28296 * sysvipc/semtimedop.c: Likewise.
28297 * sysvipc/shmat.c: Likewise.
28298 * sysvipc/shmctl.c: Likewise.
28299 * sysvipc/shmdt.c: Likewise.
28300 * sysvipc/shmget.c: Likewise.
28301 * termios/tcdrain.c: Likewise.
28302 * termios/tcflow.c: Likewise.
28303 * termios/tcflush.c: Likewise.
28304 * termios/tcgetattr.c: Likewise.
28305 * termios/tcgetpgrp.c: Likewise.
28306 * termios/tcsendbrk.c: Likewise.
28307 * termios/tcsetattr.c: Likewise.
28308 * termios/tcsetpgrp.c: Likewise.
28309 * time/adjtime.c: Likewise.
28310 * time/clock.c: Likewise.
28311 * time/getitimer.c: Likewise.
28312 * time/gettimeofday.c: Likewise.
28313 * time/setitimer.c: Likewise.
28314 * time/settimeofday.c: Likewise.
28315 * time/stime.c: Likewise.
28316 * time/time.c: Likewise.
28318 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
28320 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28323 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28325 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28327 2012-11-03 Joseph Myers <joseph@codesourcery.com>
28330 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28331 FE_TONEAREST before applying Dekker multiplication and Knuth
28332 addition. Clear inexact exceptions and check for exact zero
28333 results afterwards.
28334 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28335 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28336 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28337 * math/libm-test.inc (fma_test): Add more tests.
28338 (fma_test_towardzero): Likewise.
28339 (fma_test_downward): Likewise.
28340 (fma_test_upward): Likewise.
28341 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28343 (libc_fesetround): New macro.
28344 (libc_fesetroundf): Likewise.
28345 (libc_fesetroundl): Likewise.
28346 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28348 (libc_fesetround_387): Likewise.
28349 (libc_fesetroundf): New macro.
28350 (libc_fesetround): Likewise.
28351 (libc_fesetroundl): Likewise.
28352 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28354 (libc_fesetroundf): New macro.
28355 (libc_fesetround): Likewise.
28356 (libc_fesetroundl): Likewise.
28357 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28358 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28359 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28361 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28362 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28364 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28365 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28367 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28371 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28372 integer constant usable in #if and use that to give value to enum
28374 (FE_DIVBYZERO): Likewise.
28375 (FE_UNDERFLOW): Likewise.
28376 (FE_OVERFLOW): Likewise.
28377 (FE_INVALID): Likewise.
28378 (FE_INVALID_SNAN): Likewise.
28379 (FE_INVALID_ISI): Likewise.
28380 (FE_INVALID_IDI): Likewise.
28381 (FE_INVALID_ZDZ): Likewise.
28382 (FE_INVALID_IMZ): Likewise.
28383 (FE_INVALID_COMPARE): Likewise.
28384 (FE_INVALID_SOFTWARE): Likewise.
28385 (FE_INVALID_SQRT): Likewise.
28386 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28387 (FE_TONEAREST): Likewise.
28388 (FE_TOWARDZERO): Likewise.
28389 (FE_UPWARD): Likewise.
28390 (FE_DOWNWARD): Likewise.
28391 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28392 (FE_DIVBYZERO): Likewise.
28393 (FE_OVERFLOW): Likewise.
28394 (FE_UNDERFLOW): Likewise.
28395 (FE_INEXACT): Likewise.
28396 (FE_TONEAREST): Likewise.
28397 (FE_DOWNWARD): Likewise.
28398 (FE_UPWARD): Likewise.
28399 (FE_TOWARDZERO): Likewise.
28400 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28401 (FE_UNDERFLOW): Likewise.
28402 (FE_OVERFLOW): Likewise.
28403 (FE_DIVBYZERO): Likewise.
28404 (FE_INVALID): Likewise.
28405 (FE_TONEAREST): Likewise.
28406 (FE_TOWARDZERO): Likewise.
28407 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28408 (FE_OVERFLOW): Likewise.
28409 (FE_UNDERFLOW): Likewise.
28410 (FE_DIVBYZERO): Likewise.
28411 (FE_INEXACT): Likewise.
28412 (FE_TONEAREST): Likewise.
28413 (FE_TOWARDZERO): Likewise.
28414 (FE_UPWARD): Likewise.
28415 (FE_DOWNWARD): Likewise.
28416 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28417 (FE_DIVBYZERO): Likewise.
28418 (FE_OVERFLOW): Likewise.
28419 (FE_UNDERFLOW): Likewise.
28420 (FE_INEXACT): Likewise.
28421 (FE_TONEAREST): Likewise.
28422 (FE_DOWNWARD): Likewise.
28423 (FE_UPWARD): Likewise.
28424 (FE_TOWARDZERO): Likewise.
28426 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28428 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28430 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28432 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28433 commands. Quote $PWD.
28434 (blacklist_exports): Don't use remove_newlines. Replace "declare
28436 (remove_newlines): Remove.
28438 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28440 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28441 * stdlib/stdlib.h (atof): Moved to ...
28442 * include/bits/stdlib-float.h: Here. New file.
28443 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28444 * stdlib/bits/stdlib-float.h: New file.
28445 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28447 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28450 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28452 * conform/conformtest.pl (@headers): Add fenv.h.
28453 * conform/data/fenv.h-data: New file.
28454 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28455 include of <math/fenv.h>.
28457 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28458 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28459 && !UNIX98]. Enables tests for XOPEN2K8.
28460 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28461 POSIX2008]: Likewise.
28463 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28464 (struct rusage): Do not expect type or its members.
28467 * math/math.h (FP_NAN): Define macro to integer constant usable in
28468 #if and use that to give value to enum constant.
28469 (FP_INFINITE): Likewise.
28470 (FP_ZERO): Likewise.
28471 (FP_SUBNORMAL): Likewise.
28472 (FP_NORMAL): Likewise.
28474 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28476 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28477 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28480 2012-11-02 Roland McGrath <roland@hack.frob.com>
28482 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28483 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28484 autoconf-time if not.
28485 * configure.in: Remove AC_PREREQ.
28487 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28489 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28490 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28491 of the internal implementation.
28493 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28495 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28496 except include of <misc/sys/syslog.h>.
28498 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28501 function returns with a NULL context exit with zero.
28503 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28505 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28507 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28509 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28510 (run_program_cmd): This.
28511 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28512 (tst_langinfo): New variable. Use it.
28514 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28516 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28517 floating point opcodes.
28519 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28521 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28524 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28526 * sysdeps/mach/hurd/powerpc: Remove directory.
28527 * sysdeps/mach/powerpc: Likewise.
28529 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28531 * scripts/check-local-headers.sh: Ignore c++ headers.
28533 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28535 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28536 __libc_cleanup_region_start argument.
28538 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28542 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28543 x * y using scaling, not as x * y + z.
28544 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28545 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28546 * math/libm-test.inc (fma_test): Add more tests.
28547 (fma_test_towardzero): Likewise.
28548 (fma_test_downward): Likewise.
28549 (fma_test_upward): Likewise.
28551 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28553 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28555 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28557 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28560 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28562 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28564 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28571 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28574 Fix the order of the list for glibc 2.17.
28575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28578 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28582 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28585 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28586 for low part of x being zero before using __atanl (y).
28587 * math/libm-test.inc (atan2_test): Add another test.
28589 * manual/install.texi (Configuring and compiling): Document
28590 general use of test-wrapper and test-wrapper-env.
28591 * INSTALL: Regenerated.
28593 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28594 (__fma): Do not extract and scale down low bits on after-rounding
28595 systems when result rounded to normal precision would have normal
28597 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28598 (__fmal): Do not extract and scale down low bits on after-rounding
28599 systems when result rounded to normal precision would have normal
28601 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28602 (__fmal): Do not extract and scale down low bits on after-rounding
28603 systems when result rounded to normal precision would have normal
28605 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28607 (fma_test): Add more tests.
28608 (fma_test_towardzero): Likewise.
28609 (fma_test_downward): Likewise.
28610 (fma_test_upward): Likewise.
28612 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28614 * sysdeps/i386/tininess.h: Renamed to ...
28615 * sysdeps/x86/tininess.h: This.
28616 * sysdeps/x86_64/tininess.h: Removed.
28618 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28620 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28621 input. Use $(build-program-cmd).
28622 ($(objpfx)tst-array1-static.out): Likewise.
28623 ($(objpfx)tst-array2.out): Likewise.
28624 ($(objpfx)tst-array3.out): Likewise.
28625 ($(objpfx)tst-array4.out): Likewise.
28626 ($(objpfx)tst-array5.out): Likewise.
28627 ($(objpfx)tst-array5-static.out): Likewise.
28629 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28631 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28634 * nss/nsswitch.h (nss_interface_function): Provide new
28635 macro for use with NSS functions.
28636 * grp/initgroups.c: Use new macro.
28637 * nss/getXXbyYY.c: Likewise.
28638 * nss/getXXbyYY_r.c: Likewise.
28639 * nss/getXXent.c: Likewise.
28640 * nss/getXXent_r.c: Likewise.
28641 * sysdeps/posix/getaddrinfo.c: Likewise.
28643 2012-10-30 Andreas Jaeger <aj@suse.de>
28645 * po/ru.po: Update Russion translation from translation project.
28647 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28651 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28652 result and shift together with sticky bit instead of replicating
28653 round-to-nearest rounding.
28654 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28655 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28656 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28657 missing underflow exceptions.
28658 (fma_test_towardzero): Add more tests.
28659 (fma_test_downward): Likewise.
28660 (fma_test_upward): Likewise.
28663 * sysdeps/generic/tininess.h: New file.
28664 * sysdeps/i386/tininess.h: Likewise.
28665 * sysdeps/sh/tininess.h: Likewise.
28666 * sysdeps/x86_64/tininess.h: Likewise.
28667 * stdlib/tst-strtod-underflow.c: Likewise.
28668 * stdlib/tst-tininess.c: Likewise.
28669 * stdlib/strtod_l.c: Include <tininess.h>.
28670 (round_and_return): Do not set errno for exact underflow cases.
28671 Force an underflow exception when setting errno for underflow.
28672 Determine underflow based on rounding to normal precision if
28673 TININESS_AFTER_ROUNDING.
28674 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28675 ERANGE for exact underflow cases.
28676 * stdlib/Makefile (tests): Add tst-tininess and
28677 tst-strtod-underflow.
28678 ($(objpfx)tst-tininess): Use $(link-libm).
28679 ($(objpfx)tst-strtod-underflow): Likewise.
28681 2012-10-30 Andreas Jaeger <aj@suse.de>
28684 * elf/Makefile (tests): Remove conditional for have-initfini-array
28685 since this is now always required and the variable does not exist
28687 (tests-static): Likewise.
28688 (modules-names): Likewise.
28690 * po/eo.po: Add Esperanto translation from translation project.
28692 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28693 merged with constructor/destructor.
28694 (init_array): Likewise.
28695 * elf/tst-array2dep.c (fini_array): Likewise.
28696 (init_array): Likewise.
28698 2012-10-29 Mike Frysinger <vapier@gentoo.org>
28700 * manual/message.texi: Delete @cartouche tags.
28702 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28704 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28706 * sysdeps/mach/hurd/fsync.c: Likewise.
28708 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28709 [_POSIX_REALTIME_SIGNALS]: Change condition to
28710 [_POSIX_REALTIME_SIGNALS > 0].
28712 2012-10-27 Andreas Jaeger <aj@suse.de>
28714 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28715 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28716 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28717 [__WORDSIZE != 64]: Likewise.
28719 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28721 * iconvdata/tst-table.sh: Remove ${SHELL}.
28722 * iconvdata/tst-tables.sh: Likewise.
28724 2012-10-25 David S. Miller <davem@davemloft.net>
28726 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28727 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28730 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28732 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28733 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28734 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28737 2012-10-25 Roland McGrath <roland@hack.frob.com>
28739 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28740 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28743 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28744 Jim Blandy <jimb@codesourcery.com>
28746 * scripts/cross-test-ssh.sh: New file.
28747 * manual/install.texi (Configuring and compiling): Document use of
28749 * INSTALL: Regenerated.
28751 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28753 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28756 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28758 * Makeconfig (run-program-prefix): Fix comment.
28760 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28761 Jim Blandy <jimb@codesourcery.com>
28763 * Makeconfig (test-wrapper): New variable,
28764 (test-wrapper-env): Likewise.
28765 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28766 (run-built-tests): Define to yes.
28767 (run-program-prefix): Use $(test-wrapper).
28768 (built-program-cmd): Likewise.
28769 * Rules (make-test-out): Use $(test-wrapper-env) and
28770 $(host-built-program-cmd).
28771 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28772 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28774 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28775 $(test-wrapper-env) to tst-rtld-load-self.sh.
28776 ($(objpfx)order2.out): Use $(test-wrapper).
28777 ($(objpfx)tst-initorder.out): Likewise.
28778 ($(objpfx)tst-initorder2.out): Likewise.
28779 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28780 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28781 (test_wrapper_env): New variable. Use it to run ld.so.
28782 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28783 Use it to run ld.so.
28784 (test_wrapper_env): Likewise.
28785 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28786 $(test-wrapper) to run-iconv-test.sh.
28787 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28788 (ICONV): Use $test_wrapper.
28789 * posix/Makefile ($(objpfx)globtest.out): Pass
28790 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28791 globtest.sh, not $(run-program-prefix).
28792 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28793 (test_wrapper): Likewise.
28794 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28795 set together with run_via_rtld_prefix.
28796 (run_program_prefix): Define in terms of test_wrapper and
28797 run_via_rtld_prefix.
28799 2012-10-24 Roland McGrath <roland@hack.frob.com>
28801 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28802 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28806 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28807 Declare __clock_getres, __clock_gettime, __clock_settime,
28808 __clock_nanosleep, and __clock_getcpuclockid.
28809 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28810 Remove librt_hidden_def (clock_gettime).
28811 * sysdeps/unix/clock_gettime.c: Likewise.
28812 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28813 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28814 * rt/clock_getres.c: Define __clock_getres as an alias.
28815 * sysdeps/posix/clock_getres.c: Likewise.
28816 * rt/clock_settime.c: Define __clock_settime as an alias.
28817 * sysdeps/unix/clock_settime.c: Likewise.
28818 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28819 * sysdeps/unix/clock_nanosleep.c: Likewise.
28820 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28821 * rt/clock-compat.c: New file.
28822 * rt/Makefile (librt-routines): Add clock-compat and move
28823 $(clock-routines) to ...
28824 (routines): ... here, new variable.
28825 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28826 Don't add get_clockfreq here.
28827 * rt/Versions (libc: GLIBC_2.17): New version set.
28828 Add clock_* symbols here.
28829 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28830 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28831 (GLIBC_2.17): Add clock_* symbols.
28832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28834 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28843 * NEWS: Mention the move.
28845 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28846 Use __open, __read, __close rather than their public counterparts.
28847 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28848 (__get_clockfreq_via_cpuinfo): Likewise.
28849 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28850 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28852 * config.h.in (HAVE_IFUNC): New #undef.
28853 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28855 * configure: Regenerated.
28857 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28859 * configure.in: Move READELF check to start of file.
28860 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28861 libc_cv_asm_gnu_indirect_function in the process.
28862 * configure: Regenerated.
28864 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28866 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28867 send the output to /dev/null.
28868 (libc_cv_cc_with_libunwind): Likewise.
28869 (libc_cv_as_noexecstack): Likewise.
28870 * configure: Regenerate.
28872 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28874 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28876 * posix/globtest.sh (TMPDIR): Do not set.
28877 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28878 (testout): Likewise.
28880 2012-10-24 Andreas Jaeger <aj@suse.de>
28882 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28883 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28884 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28885 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28886 posix_fadvise64, posix_fallocate64.
28888 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28889 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28890 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28892 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28894 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28896 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28897 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28898 <bits/fcntl-linux.h>.
28899 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28901 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28902 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28903 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28904 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28905 [__WORDSIZE != 64]: Likewise.
28907 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28909 * Makeconfig (run-built-tests): New variable.
28910 * Rules [$(cross-compiling) = yes]: Change condition to
28911 [$(run-built-tests) = no].
28912 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28913 to [$(run-built-tests) = yes].
28914 * elf/Makefile [$(cross-compiling) = no]: Likewise
28915 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28916 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28917 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28918 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28919 * io/Makefile [$(cross-compiling) = no]: Likewise.
28920 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28921 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28922 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28923 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28924 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28925 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28926 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28927 * string/Makefile [$(cross-compiling) = no]: Likewise.
28929 * posix/Makefile ($(objpfx)globtest.out): Pass
28930 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28931 $(rtld-installed-name).
28932 * posix/globtest.sh (elf_objpfx): Remove variable.
28933 (rtld_installed_name): Likewise.
28934 (library_path): Likewise.
28935 (run_program_prefix): New variable. Use for running globtest
28938 2012-10-23 Jim Blandy <jimb@codesourcery.com>
28939 Joseph Myers <joseph@codesourcery.com>
28941 * Makeconfig (host-built-program-cmd): New variable.
28942 * elf/Makefile (tst-stackguard1-ARGS): Use
28943 $(host-built-program-cmd).
28944 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28945 (tst-spawn-ARGS): Likewise.
28946 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28948 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28949 Jim Blandy <jimb@codesourcery.com>
28951 * Makeconfig (run-via-rtld-prefix): New variable.
28952 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28953 (built-program-cmd): Likewise.
28955 2012-10-22 Andreas Jaeger <aj@suse.de>
28957 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28958 __O_RSYNC if it exists, otherwise to O_SYNC.
28960 2012-10-22 Jim Blandy <jimb@codesourcery.com>
28961 Joseph Myers <joseph@codesourcery.com>
28963 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28965 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28967 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28970 2012-10-22 Andreas Jaeger <aj@suse.de>
28972 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28974 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28976 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28977 bits/fcntl-linux.h.
28979 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28980 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28982 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28984 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28987 2012-10-21 Jim Blandy <jimb@codesourcery.com>
28988 Joseph Myers <joseph@codesourcery.com>
28990 * config.make.in (NM): New variable.
28992 2012-10-21 Andreas Jaeger <aj@suse.de>
28994 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28995 definitions and declarations that are provided by
28996 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28998 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29001 * elf/Makefile (tests-static): Add tst-leaks1-static.
29002 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29003 ($(objpfx)tst-leaks1-static): New rule.
29004 ($(objpfx)tst-leaks1-static-mem): Likewise.
29005 (tst-leaks1-static-ENV): New macro.
29006 * elf/dl-open.c (dl_open_worker): Check the main application
29007 only if SHARED is defined.
29008 * elf/tst-leaks1-static.c: New file.
29010 2012-10-20 Andreas Jaeger <aj@suse.de>
29012 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29013 generic values for Linux.
29014 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29015 and declarations that are provided by <bits/fcntl-linux.h> and
29016 include <bits/fcntl-linux.h>.
29017 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29018 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29020 2012-10-20 Roland McGrath <roland@hack.frob.com>
29022 * io/fcntl.h: Move include of <bits/types.h> to the top and
29023 include it unconditionally.
29025 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29027 * wcsmbs/Makefile (tests-ifunc): New variable.
29028 (tests): Add $(tests-ifunc).
29029 * wcsmbs/test-wcschr-ifunc.c: New file.
29030 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29031 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29032 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29033 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29034 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29036 * string/Makefile (tests-ifunc): New variable.
29037 (tests): Add $(tests-ifunc).
29038 * string/test-memccpy.c (TEST_NAME): New macro.
29039 * string/test-memchr.c (TEST_NAME): Likewise.
29040 * string/test-memcmp.c (TEST_NAME): Likewise.
29041 * string/test-memcpy.c (TEST_NAME): Likewise.
29042 * string/test-memmem.c (TEST_NAME): Likewise.
29043 * string/test-memmove.c (TEST_NAME): Likewise.
29044 * string/test-memset.c (TEST_NAME): Likewise.
29045 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29046 * string/test-stpcpy.c (TEST_NAME): Likewise.
29047 * string/test-stpncpy.c (TEST_NAME): Likewise.
29048 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29049 * string/test-strcasestr.c (TEST_NAME): Likewise.
29050 * string/test-strcat.c (TEST_NAME): Likewise.
29051 * string/test-strchr.c (TEST_NAME): Likewise.
29052 * string/test-strcmp.c(TEST_NAME): Likewise.
29053 * string/test-strcpy.c (TEST_NAME): Likewise.
29054 * string/test-strcspn.c (TEST_NAME): Likewise.
29055 * string/test-strlen.c (TEST_NAME): Likewise.
29056 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29057 * string/test-strncmp.c (TEST_NAME): Likewise.
29058 * string/test-strncpy.c (TEST_NAME): Likewise.
29059 * string/test-strnlen.c (TEST_NAME): Likewise.
29060 * string/test-strpbrk.c (TEST_NAME): Likewise.
29061 * string/test-strrchr.c (TEST_NAME): Likewise.
29062 * string/test-strspn.c (TEST_NAME): Likewise.
29063 * string/test-strstr.c (TEST_NAME): Likewise.
29064 * string/test-bcopy-ifunc.c: New file.
29065 * string/test-bzero-ifunc.c: Likewise.
29066 * string/test-memccpy-ifunc.c: Likewise.
29067 * string/test-memchr-ifunc.c: Likewise.
29068 * string/test-memcmp-ifunc.c: Likewise.
29069 * string/test-memcpy-ifunc.c: Likewise.
29070 * string/test-memmem-ifunc.c: Likewise.
29071 * string/test-memmove-ifunc.c: Likewise.
29072 * string/test-mempcpy-ifunc.c: Likewise.
29073 * string/test-memset-ifunc.c: Likewise.
29074 * string/test-rawmemchr-ifunc.c: Likewise.
29075 * string/test-stpcpy-ifunc.c: Likewise.
29076 * string/test-stpncpy-ifunc.c: Likewise.
29077 * string/test-strcasecmp-ifunc.c: Likewise.
29078 * string/test-strcasestr-ifunc.c: Likewise.
29079 * string/test-strcat-ifunc.c: Likewise.
29080 * string/test-strchr-ifunc.c: Likewise.
29081 * string/test-strchrnul-ifunc.c: Likewise.
29082 * string/test-strcmp-ifunc.c: Likewise.
29083 * string/test-strcpy-ifunc.c: Likewise.
29084 * string/test-strcspn-ifunc.c: Likewise.
29085 * string/test-strlen-ifunc.c: Likewise.
29086 * string/test-strncasecmp-ifunc.c: Likewise.
29087 * string/test-strncat-ifunc.c: Likewise.
29088 * string/test-strncmp-ifunc.c: Likewise.
29089 * string/test-strncpy-ifunc.c: Likewise.
29090 * string/test-strnlen-ifunc.c: Likewise.
29091 * string/test-strpbrk-ifunc.c: Likewise.
29092 * string/test-strrchr-ifunc.c: Likewise.
29093 * string/test-strspn-ifunc.c: Likewise.
29094 * string/test-strstr-ifunc.c: Likewise.
29096 * debug/Makefile (tests-ifunc): New variable.
29097 (tests): Add $(tests-ifunc).
29098 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29099 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29100 * debug/test-stpcpy_chk-ifunc.c: New file.
29101 * debug/test-strcpy_chk-ifunc.c: Likewise.
29103 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29106 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29107 header is not read in.
29109 2012-10-19 Joseph Myers <joseph@codesourcery.com>
29111 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29112 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29113 directly. Pass built executable to script as
29114 $(built-program-cmd).
29115 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29116 $testprogram without using LD_LIBRARY_PATH and $ldso.
29118 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29119 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29120 $(rtld-installed-name).
29121 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29122 (rtld_installed_name): Likewise.
29123 (library_path): Likewise.
29124 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29125 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29126 $(run-program-prefix) to tst-tables.sh.
29127 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29128 it to run tst-table-from and tst-table-to.
29129 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29130 Pass it to tst-table.sh.
29131 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29132 $(run-program-prefix) to tst-gettext.sh.
29133 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29135 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29137 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29138 to run tst-gettext.
29139 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29140 to run tst-gettext2.
29141 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29142 to run tst-translit.
29143 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29144 $(run-program-prefix) to tst-mtrace.sh.
29145 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29147 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29148 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29149 $(rtld-installed-name).
29150 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29151 (rtld_installed_name): Likewise.
29152 (run_program_prefix): New variable. Use it to run wordexp-test.
29154 * Makeconfig (ARCH): Remove all definitions.
29155 (machine): Likewise.
29156 [ARCH]: Remove conditional code.
29157 [!objdir]: Give error.
29158 [!objdir] (objpfx): Remove.
29159 [!objdir] (common-objpfx): Likewise.
29160 [!objdir] (common-objdir): Likewise.
29161 * configure.in (config_makefile): Remove. Hardcode Makefile in
29162 AC_CONFIG_FILES call.
29163 * configure: Regenerated.
29166 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29168 (testout): Likewise.
29170 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29171 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29172 $(rtld-installed-name).
29173 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29174 (rtld_installed_name): Likwise.
29175 (runit): Remove function.
29176 (run_getconf): New variable, Use it for running getconf binary.
29178 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29181 * string/test-memmem.c (check_result): New function.
29182 (do_one_test): Use it.
29183 (check1): New function.
29184 (test_main): Use it.
29186 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29188 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29190 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29192 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29193 (_G_LSEEK64): Likewise.
29194 (_G_MMAP64): Likewise.
29195 (_G_FSTAT64): Likewise.
29196 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29197 (_G_LSEEK64): Likewise.
29198 (_G_MMAP64): Likewise.
29199 (_G_FSTAT64): Likewise.
29200 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29201 unconditional. Call __mmap64 directly.
29202 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29203 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29204 __lseek64 directly.
29205 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29206 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29208 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29209 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29210 __lseek64 directly.
29211 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29212 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29213 __lseek64 directly.
29214 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29215 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29216 __lseek64 directly.
29217 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29218 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29219 __fxstat64 directly.
29220 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29221 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29223 (freopen64) [!_G_OPEN64]: Remove conditional code.
29224 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29226 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29227 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29229 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29230 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29232 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29233 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29235 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29236 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29238 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29239 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29241 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29242 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29244 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29246 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29249 * manual/memory.texi (Malloc Tunable Parameters): Add note
29250 about free list pointers overwriting some perturb bytes.
29251 Wording suggested by Roland McGrath.
29253 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29255 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29256 (lgamma_test): Likewise.
29257 (tgamma_test): Likewise.
29259 2012-10-16 Florian Weimer <fweimer@redhat.com>
29262 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29263 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29265 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29267 * NEWS: Mention BZ #14716.
29268 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29269 when removing AVAILABLE1_USES_J macro.
29271 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29273 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29274 (__bswap_64): __uint64_t for unsigned 64-bit int.
29276 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29278 * include/string.h (memmem): Declare libc hidden alias.
29279 * string/memmem.c (memmem): Define libc hidden alias.
29280 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29281 __read, __close instead of open, read, close.
29283 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29285 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29286 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29288 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29289 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29290 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29292 (__rawmemchr_sse2): Likewise.
29293 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29294 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29295 (__strchr_sse2): Likewise.
29296 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29297 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29298 (__strcasecmp_sse2): Likewise.
29299 (__strncasecmp_sse2): Likewise.
29300 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29301 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29302 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29303 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29304 (__strrchr_sse2): Likewise.
29305 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29307 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29308 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29309 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29310 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29311 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29312 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29313 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29314 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29315 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29316 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29317 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29318 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29319 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29320 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29321 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29322 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29323 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29324 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29325 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29326 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29327 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29328 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29329 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29330 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29331 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29332 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29333 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29334 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29335 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29336 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29338 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29340 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29341 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29342 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29343 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29345 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29347 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29348 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29349 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29350 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29352 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29353 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29354 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29355 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29356 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29357 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29358 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29359 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29360 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29361 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29362 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29363 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29364 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29365 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29366 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29367 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29368 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29369 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29370 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29371 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29372 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29373 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29374 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29375 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29376 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29377 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29378 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29379 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29380 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29381 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29382 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29383 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29384 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29385 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29386 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29387 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29388 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29389 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29390 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29391 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29392 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29394 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29395 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29396 * include/ifunc-impl-list.h: New file.
29397 * misc/ifunc-impl-list.c: Likewise.
29398 * misc/Makefile (routines): Add ifunc-impl-list.
29399 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29400 * string/test-string.h: Include <ifunc-impl-list.h>.
29401 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29402 TEST_NAME]: New variables.
29403 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29405 (test_init): Call __libc_ifunc_impl_list to initialize
29406 func_list if TEST_IFUNC and TEST_NAME are defined.
29408 * string/Makefile (strop-tests): Add bcopy and bzero.
29409 * string/test-bcopy.c: New file.
29410 * string/test-bzero.c: Likewise.
29411 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29413 * string/test-memset.c: Support bzero test if TEST_BZERO is
29415 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29417 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29419 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29422 2012-10-10 Joseph Myers <joseph@codesourcery.com>
29424 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29425 * configure: Regenerated.
29427 * Makeconfig (+link-static-before-libc): Don't include
29428 $(link-static-libc).
29430 * libio/libio.h (_IO_pos_t): Remove.
29432 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29434 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29437 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29439 * crypt/crypt-entry.c: Include fips-private.h.
29440 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29441 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29442 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29443 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29445 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29447 * crypt/crypt-private.h: Include stdbool.h.
29448 (_ufc_setup_salt_r): Return bool.
29449 * crypt/crypt-entry.c: Include errno.h.
29450 (__crypt_r): Return NULL with EINVAL for bad salt.
29451 * crypt/crypt_util.c (bad_for_salt): New.
29452 (_ufc_setup_salt_r): Check that salt is long enough and within
29453 the specified alphabet.
29454 * crypt/badsalttest.c: New file.
29455 * crypt/Makefile (tests): Add it.
29456 ($(objpfx)badsalttest): New.
29458 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29460 * NEWS: Add entry for BZ #14602.
29462 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29464 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29466 * math/libm-test.inc: Update comment listing what functions and
29468 (isgreater_test): New function.
29469 (isgreaterequal_test): Likewise.
29470 (isless_test): Likewise.
29471 (islessequal_test): Likewise.
29472 (islessgreater_test): Likewise.
29473 (isunordered_test): Likewise.
29474 (main): Call the new functions.
29476 2012-10-09 Roland McGrath <roland@hack.frob.com>
29478 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29479 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29480 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29481 * sysdeps/i386/configure: Regenerated.
29482 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29483 * sysdeps/mach/configure: Regenerated.
29484 * sysdeps/mach/hurd/configure: Regenerated.
29485 * sysdeps/powerpc/configure: Regenerated.
29486 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29487 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29488 * sysdeps/s390/s390-32/configure: Regenerated.
29489 * sysdeps/s390/s390-64/configure: Regenerated.
29490 * sysdeps/sh/configure: Regenerated.
29491 * sysdeps/sparc/configure: Regenerated.
29492 * sysdeps/unix/sysv/linux/configure: Regenerated.
29493 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29494 * sysdeps/x86_64/configure: Regenerated.
29496 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29497 defined. Don't check if MAP is NULL.
29499 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29501 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29502 (_G_stat64): Likewise.
29503 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29504 (_G_stat64): Likewise.
29505 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29506 instead of struct _G_stat64.
29507 * libio/fileops.c (mmap_remap_check): Likewise.
29508 (decide_maybe_mmap): Likewise.
29509 (_IO_new_file_seekoff): Likewise.
29510 (_IO_file_stat): Likewise.
29511 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29513 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29514 instead of struct _G_stat64.
29515 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29517 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29520 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29522 (CHECK_EOL): New macro.
29523 (two_way_short_needle): Check beginning of haystack for EOL. Use
29525 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29526 Replace with CHECK_EOL.
29527 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29528 Replace with CHECK_EOL.
29530 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29532 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29534 * math/libm-test.inc: Update comment listing what functions and
29536 (finite_test): New function.
29537 (isinf_test): Likewise.
29538 (isnan_test): Likewise.
29539 (fpclassify_test): Test subnormal input.
29540 (isfinite_test): Likewise.
29541 (isnormal_test): Likewise.
29542 (main): Call the new functions.
29544 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29547 * Makerules (%.dynsym): Force C locale when running
29548 $(OBJDUMP) --dynamic-syms.
29550 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29552 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29555 2012-10-06 David S. Miller <davem@davemloft.net>
29557 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29558 upper 32-bits of the length value in %o2 since we use branch-on-register
29559 tests which consider the entire 64-bit register.
29561 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29563 * string/test-strstr.c (check2): Add a test for page boundary.
29565 2012-10-05 David S. Miller <davem@davemloft.net>
29567 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29568 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29570 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29572 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29573 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29574 and bzero when HWCAP_SPARC_CRYPTO is present.
29576 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29579 * string/test-strstr.c (check2): New function.
29580 (test_main): Call check2.
29582 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29584 * string/bug-strcasestr1.c (do_test): Moved to ...
29585 * string/test-strcasestr.c (check1): Here. New function.
29586 (do_one_test): Break out result checking code into ...
29587 (check_result): This. New function.
29588 (do_one_test): Call check_result.
29589 (test_main): Call check1.
29590 * string/bug-strchr1.c (do_test): Moved to ...
29591 * string/test-strchr.c (check1): Here. New function.
29592 (do_one_test): Break out result checking code into ...
29593 (check_result): This. New function.
29594 (do_one_test): Call check_result.
29595 (test_main): Call check1.
29596 * string/bug-strstr1.c (main): Moved to ...
29597 * string/test-strstr.c (check1): Here. New function.
29598 (do_one_test): Break out result checking code into ...
29599 (check_result): This. New function.
29600 (do_one_test): Call check_result.
29601 (test_main): Call check1.
29602 * string/bug-strcasestr1.c: Removed.
29603 * string/bug-strchr1.c: Likewise.
29604 * string/bug-strstr1.c: Likewise.
29606 * elf/Makefile (dl-routines): Add hwcaps.
29607 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29608 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29609 (_dl_important_hwcaps): Moved to ...
29610 * elf/dl-hwcaps.c: Here. New file.
29611 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29614 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29615 if IS_IN_rtld isn't defined.
29617 * elf/dl-support.c (_dl_sysinfo_map): New.
29618 Include "get-dynamic-info.h" and "setup-vdso.h".
29619 (_dl_non_dynamic_init): Call setup_vdso.
29620 * elf/dynamic-link.h: Don't include <assert.h>.
29621 (elf_get_dynamic_info): Moved to ...
29622 * elf/get-dynamic-info.h: Here. New file.
29623 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29624 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29625 * elf/setup-vdso.h: Here. New file.
29626 * elf/rtld.c: Include "setup-vdso.h".
29627 (dl_main): Call setup_vdso.
29629 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29631 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29632 creal in comment listing functions tested. List finite, isinf,
29633 isnan, isless, islessequal, isgreater, isgreaterequal,
29634 islessgreater, isunordered, lgamma_r and pow10 as functions and
29635 macros not tested. Mention which functions not tested are aliases
29636 for other functions. Fix typo. Note that signs of NaNs are not
29639 * scripts/config.guess: Update from config.git.
29640 * scripts/config.sub: Likewise.
29642 2012-10-04 Roland McGrath <roland@hack.frob.com>
29644 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29645 * misc/madvise.c (madvise): Renamed to __madvise.
29646 Make madvise a weak alias.
29647 * include/sys/mman.h: Declare __madvise.
29648 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29649 * sysdeps/unix/syscalls.list
29650 (madvise): Make __madvise the strong name, and madvise a weak alias.
29651 * sysdeps/unix/sysv/linux/syscalls.list
29652 (madvise, mmap): Remove redundant entries.
29653 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29654 * malloc/malloc.c (mtrim): Likewise.
29655 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29657 2012-10-03 Roland McGrath <roland@hack.frob.com>
29659 * sysdeps/mach/hurd/dl-cache.c: File removed.
29660 * config.h.in (USE_LDCONFIG): New #undef.
29661 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29662 * configure: Regenerated.
29663 * elf/Makefile (dl-routines): Add dl-cache only under
29664 [$(use-ldconfig) = yes].
29665 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29666 cache on [USE_LDCONFIG].
29667 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29669 * elf/rtld.c (dl_main): Likewise.
29671 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29673 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29674 _SC_LEVEL4_CACHE_LINESIZE.
29676 2012-10-03 Roland McGrath <roland@hack.frob.com>
29678 * sysdeps/unix/bsd/confstr.h: File removed.
29680 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29682 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29685 2012-10-02 Roland McGrath <roland@hack.frob.com>
29687 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29688 Make 'mapoff' field ElfW(Off) rather than off_t.
29690 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29692 * nscd/Makefile: Remove nscd-cflags and all its users.
29693 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29694 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29697 * malloc.c (malloc_printerr): Clarify error message.
29699 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29702 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29703 Set bit_FMA_Usable if FMA is supported.
29704 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29706 (bit_FMA4_Usable): Updated.
29707 (index_FMA_Usable): New macro.
29708 (CPUID_FMA): Likewise
29709 (HAS_FMA): Defined with bit_FMA_Usable.
29711 2012-10-01 Roland McGrath <roland@hack.frob.com>
29713 * bits/types.h (__swblk_t): Type removed.
29714 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29715 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29716 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29717 (__SWBLK_T_TYPE): Likewise.
29718 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29719 (__SWBLK_T_TYPE): Likewise.
29720 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29721 (__SWBLK_T_TYPE): Likewise.
29722 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29723 (__SWBLK_T_TYPE): Likewise.
29725 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
29726 Honza Horak <hhorak@redhat.com>
29728 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29729 (xdr_mapname): Use YPMAXMAP as maxsize.
29730 (xdr_peername): Use YPMAXPEER as maxsize.
29731 (xdr_keydat): Use YPAXRECORD as maxsize.
29732 (xdr_valdat): Use YPMAXRECORD as maxsize.
29734 2012-10-01 Roland McGrath <roland@hack.frob.com>
29736 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29738 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29739 * csu/init-first.c: ... here.
29740 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29741 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29742 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29743 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29744 * sysdeps/i386/init-first.c: File removed.
29745 * sysdeps/sh/init-first.c: File removed.
29747 2012-10-01 Joseph Myers <joseph@codesourcery.com>
29750 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29751 if x * y might underflow to zero and z is zero.
29752 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29753 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29754 * math/libm-test.inc (min_subnorm_value): New variable.
29755 (fma_test): Add more tests.
29756 (fma_test_towardzero): Likewise.
29757 (fma_test_downward): Likewise
29758 (fma_test_upward): Likewise.
29759 (initialize): Set min_subnorm_value.
29761 2012-09-29 Joseph Myers <joseph@codesourcery.com>
29764 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29766 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29767 mode for addition resulting in exact zero.
29768 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29769 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29771 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29772 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29773 * math/libm-test.inc (fma_test): Add more tests.
29774 (fma_test_towardzero): New function.
29775 (fma_test_downward): Likewise.
29776 (fma_test_upward): Likewise.
29777 (main): Call the new functions.
29779 2012-09-28 David S. Miller <davem@davemloft.net>
29781 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29783 2012-09-28 Roland McGrath <roland@hack.frob.com>
29785 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29786 instead of SIGALRM.
29788 * sysdeps/gnu/_G_config.h: Moved to ...
29789 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29790 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29791 * sysdeps/generic/_G_config.h: ... here.
29793 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29795 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29797 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29798 Conditionalize target on [libnss_test1.so-version].
29800 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29802 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29803 (elfobjdir): Move out of conditionals.
29805 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29806 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29807 (__nss_lookup_function): Conditionalize label remove_from_tree on
29808 [!DO_STATIC_NSS || SHARED], matching its only use.
29810 2012-09-28 David S. Miller <davem@davemloft.net>
29812 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29813 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29815 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29817 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29818 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29819 when HWCAP_SPARC_CRYPTO is present.
29821 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29823 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29825 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29828 * stdio-common/vfprintf.c (process_string_arg): Revert
29831 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29833 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29835 * stdio-common/tst-sprintf.c: Include <locale.h>
29836 (main): Test sprintf's handling of incomplete multibyte
29839 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29841 * elf/dl-runtime.c (VERSYMIDX): Removed.
29842 * elf/dl-version.c (VERSYMIDX): Likewise.
29843 * elf/do-rel.h (VERSYMIDX): Likewise.
29844 (VALIDX): Likewise.
29845 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29846 * elf/rtld.c (VALIDX): Likewise.
29847 (ADDRIDX): Likewise.
29848 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29849 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29850 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29851 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29852 (VALIDX): Likewise.
29853 (ADDRIDX): Likewise.
29855 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29857 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29859 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29862 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29864 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29865 addresses are in the same scope as 192.0.2/24.
29866 * posix/gai.conf: Document new scope table defaults.
29868 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29871 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29872 for ftell. Compute offsets from write pointers instead.
29873 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29875 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29878 * libio/Makefile (tests): New test case tst-fseek.
29879 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29880 combination works in wide mode.
29881 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29882 state when the external buffer state changes.
29884 2012-09-27 David S. Miller <davem@davemloft.net>
29887 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29888 pass reloc->r_addend in as the 'high' argument to
29889 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29893 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29895 * rt/tst-aio2.c: Include <pthread.h>.
29896 * rt/tst-aio3.c: Likewise.
29898 2012-09-27 Steve Ellcey <sellcey@mips.com>
29900 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29902 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29904 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29905 contents on [SHARED].
29907 2012-09-26 Marek Polacek <polacek@redhat.com>
29911 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29912 for C++ and GCC <4.3 as well as for non GCC compilers.
29914 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29918 2012-09-25 Roland McGrath <roland@hack.frob.com>
29920 * Makefile.in (all, install): Declare with .PHONY.
29921 Reported by Michael Hope <michael.hope@linaro.org>.
29923 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29925 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29926 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29928 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29930 (sydep_routines): Add the new and the internal functions.
29931 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29932 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29934 (GLIBC_2.17): Add the new function.
29935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29936 (GLIBC_2.17): Likewise.
29937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29938 (GLIBC_2.17): Likewise.
29939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29940 (GLIBC_2.17): Likewise.
29941 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29943 2012-09-25 Alan Modra <amodra@gmail.com>
29945 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29946 Add release barrier before setting once_control to say
29947 initialisation is done. Add hints on lwarx. Use macro in
29949 (clear_once_control): Add release barrier.
29951 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29954 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29956 * math/s_clog10.c (__clog10): Likewise.
29957 * math/s_clog10f.c (__clog10f): Likewise.
29958 * math/s_clog10l.c (__clog10l): Likewise.
29959 * math/s_clogf.c (__clogf): Likewise.
29960 * math/s_clogl.c (__clogl): Likewise.
29961 * math/Makefile (libm-calls): Add x2y2m1.
29962 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29963 (__x2y2m1): Likewise.
29964 (__x2y2m1l): Likewise.
29965 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29966 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29967 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29968 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29969 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29970 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29971 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29972 * sysdeps/i386/fpu/libm-test-ulps: Update.
29973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29976 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29977 int as type of variable DEPTH.
29978 (glob): Use size_t instead of int as type of variables NEWCOUNT
29981 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29983 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29984 Add s_sincosf-sse2.
29985 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29986 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29987 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29988 macros for using routine as __sincosf_ia32.
29989 Use macro for function declaration and weak_alias.
29990 * sysdeps/i386/fpu/libm-test-ulps: Update.
29992 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29993 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29995 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29996 subnormal argument.
29997 * math/s_cexpf.c (__cexpf): Likewise.
29998 * math/s_csinf.c (__csinf): Likewise.
29999 * math/s_csinhf.c (__csinhf): Likewise.
30000 * math/s_ctanf.c (__ctanf): Likewise.
30001 * math/s_ctanhf.c (__ctanhf): Likewise.
30002 * math/s_ccosh.c (__ccoshf): Likewise.
30003 * math/s_cexp.c (__cexpl): Likewise.
30004 * math/s_csin.c (__csin): Likewise.
30005 * math/s_csinh.c (__csinh): Likewise.
30006 * math/s_ctan.c (__ctan): Likewise.
30007 * math/s_ctanh.c (ctanh): Likewise.
30008 * math/s_ccoshl.c (__ccoshl): Likewise.
30009 * math/s_cexpl.c (__cexpl): Likewise.
30010 * math/s_csinl.c (__csinl): Likewise.
30011 * math/s_csinhl.c (__csinhl): Likewise.
30012 * math/s_ctanl.c (__ctanl): Likewise.
30013 * math/s_ctanhl.c (__ctanhl): Likewise.
30015 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30017 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30018 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30019 (_IO_off_t): Define to __off_t, not _G_off_t.
30020 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30021 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30022 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30023 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30024 type of __dummy and __dummy2 fields.
30025 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30026 (_G_ssize_t): Likewise.
30027 (_G_off_t): Likewise.
30028 (_G_pid_t): Likewise.
30029 (_G_uid_t): Likewise.
30030 (_G_wchar_t): Likewise.
30031 (_G_wint_t): Likewise.
30032 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30033 (_G_ssize_t): Likewise.
30034 (_G_off_t): Likewise.
30035 (_G_pid_t): Likewise.
30036 (_G_uid_t): Likewise.
30037 (_G_wchar_t): Likewise.
30038 (_G_wint_t): Likewise.
30039 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30040 (_G_ssize_t): Likewise.
30041 (_G_off_t): Likewise.
30042 (_G_pid_t): Likewise.
30043 (_G_uid_t): Likewise.
30044 (_G_wchar_t): Likewise.
30045 (_G_wint_t): Likewise.
30047 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30049 * malloc/arena.c: Include malloc-sysdep.h.
30050 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30051 is sufficient to shrink the heap or an unmap is needed.
30052 * sysdeps/generic/malloc-sysdep.h: New file. Define
30053 new function check_may_shrink_heap.
30054 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30055 new function check_may_shrink_heap.
30057 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30059 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30062 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30064 * catgets/test-gencat.sh: Add "set -e".
30065 * elf/tst-pathopt.sh: Likewise.
30066 * grp/tst_fgetgrent.sh: Likewise.
30067 * iconvdata/run-iconv-test.sh: Likewise.
30068 * intl/tst-gettext.sh: Likewise.
30069 * intl/tst-gettext2.sh: Likewise.
30070 * intl/tst-gettext4.sh: Likewise.
30071 * intl/tst-gettext6.sh: Likewise.
30072 * intl/tst-translit.sh: Likewise.
30073 * io/ftwtest-sh: Likewise.
30074 * libio/test-freopen.sh: Likewise.
30075 * malloc/tst-mtrace.sh: Likewise.
30076 * posix/globtest.sh: Likewise.
30077 * posix/tst-getconf.sh: Likewise.
30078 * posix/wordexp-tst.sh: Likewise.
30079 * stdio-common/tst-printf.sh: Likewise.
30080 * stdio-common/tst-unbputc.sh: Likewise.
30081 * stdlib/tst-fmtmsg.sh: Likewise.
30082 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30083 * catgets/Makefile: Do not specify -e option when running
30084 testsuite shell scripts.
30085 * elf/Makefile: Likewise.
30086 * grp/Makefile: Likewise.
30087 * iconvdata/Makefile: Likewise.
30088 * intl/Makefile: Likewise.
30089 * io/Makefile: Likewise.
30090 * libio/Makefile: Likewise.
30091 * malloc/Makefile: Likewise.
30092 * posix/Makefile: Likewise.
30093 * stdio-common/Makefile: Likewise.
30094 * stdlib/Makefile: Likewise.
30095 * sysdeps/x86_64/Makefile: Likewise.
30097 * io/ftwtest-sh: Add copyright header.
30098 * posix/globtest.sh: Likewise.
30099 * posix/tst-getconf.sh: Likewise.
30100 * posix/wordexp-tst.sh: Likewise.
30101 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30103 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30106 * Makeconfig (+link): Defined as $(+link-static) if
30107 $(build-shared) isn't yes.
30108 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30110 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30112 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30115 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30116 new chunk size with MALLOC_ALIGN_MASK.
30118 2012-09-24 Joseph Myers <joseph@codesourcery.com>
30121 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30123 (__printf_fphex): Determine rounding using get_rounding_mode and
30125 * stdio-common/tst-printf-round.c (struct hex_test): New
30127 (hex_tests): New variable.
30128 (test_hex_in_one_mode): New function.
30129 (do_test): Also run tests for hex float output.
30131 2012-09-21 Joseph Myers <joseph@codesourcery.com>
30133 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30134 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30135 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30136 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30137 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30138 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30139 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30140 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30142 2012-09-20 Joseph Myers <joseph@codesourcery.com>
30144 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30145 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30146 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30147 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30149 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30152 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30154 * elf/tst-rtld-load-self.sh: New test.
30155 * elf/Makefile: Run it.
30157 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30159 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30160 (tst-writev-ENV): Remove.
30161 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30163 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30165 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30167 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30169 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30171 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30173 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30174 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30175 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30178 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30181 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30182 * config.make.in (have-cpp-asm-debuginfo): Removed.
30183 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30184 * configure: Regenerated.
30186 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30189 * stdio-common/printf_fp.c: Include <stdbool.h> and
30191 (___printf_fp): Determine rounding using get_rounding_mode and
30193 * stdio-common/tst-printf-round.c: New file.
30194 * stdio-common/Makefile (tests): Add tst-printf-round.
30195 (link-libm): New variable.
30196 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30198 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30201 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30202 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30204 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30207 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30209 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30210 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30211 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30212 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30214 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30217 * include/rounding-mode.h: New file.
30218 * sysdeps/generic/get-rounding-mode.h: Likewise.
30219 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30220 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30221 (MAX_VALUE): New macro.
30222 (MIN_VALUE): Likewise.
30223 (overflow_value): New function.
30224 (underflow_value): Likewise.
30225 (round_and_return): Use overflow_value and underflow_value to
30226 determine return values in overflow and underflow cases. Use
30227 round_away to determine rounding depending on rounding mode.
30228 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30229 determine return values in overflow and underflow cases.
30230 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30231 (struct test_results): New structure.
30232 (struct test): Use struct test_results to store expected results
30233 for all rounding modes.
30234 (TEST): Include expected results for all rounding modes.
30235 (test_in_one_mode): New function.
30236 (do_test): Use test_in_one_mode to compute and check results.
30237 Check results for all rounding modes.
30238 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30241 2012-12-09 Allan McRae <allan@archlinux.org>
30243 * sysdeps/i386/fpu/libm-test-ulps: Update
30245 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30247 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30248 (_G_int32_t): Likewise.
30249 (_G_uint16_t): Likewise.
30250 (_G_uint32_t): Likewise.
30251 (_G_HAVE_BOOL): Likewise.
30252 (_G_HAVE_ATEXIT): Likewise.
30253 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30254 (_G_HAVE_IO_FILE_OPEN): Likewise.
30255 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30256 (_G_int32_t): Likewise.
30257 (_G_uint16_t): Likewise.
30258 (_G_uint32_t): Likewise.
30259 (_G_HAVE_BOOL): Likewise.
30260 (_G_HAVE_ATEXIT): Likewise.
30261 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30262 (_G_HAVE_IO_FILE_OPEN): Likewise.
30263 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30264 (_G_int32_t): Likewise.
30265 (_G_uint16_t): Likewise.
30266 (_G_uint32_t): Likewise.
30267 (_G_HAVE_BOOL): Likewise.
30268 (_G_HAVE_ATEXIT): Likewise.
30269 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30270 (_G_HAVE_IO_FILE_OPEN): Likewise.
30272 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30274 * csu/libc-tls.c: Update copyright years.
30276 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30278 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30279 [!_G_USING_THUNKS]: Remove conditional code.
30280 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30281 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30283 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30284 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30285 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30286 (_G_VTABLE_LABEL_PREFIX): Likewise.
30287 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30288 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30289 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30290 (_G_VTABLE_LABEL_PREFIX): Likewise.
30291 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30292 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30293 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30294 (_G_VTABLE_LABEL_PREFIX): Likewise.
30295 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30297 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30299 * libio/Makefile: Include ../Makeconfig before tests.
30300 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30301 only if $(build-shared) is yes.
30303 * iconv/gconv_db.c: Update copyright years.
30305 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30307 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30308 unwind info if defined PIC. Fix special cases description.
30309 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30311 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30313 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30315 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30317 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30319 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30322 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30323 (LDLIBS-tst-chk4): This.
30324 (LDFLAGS-tst-chk5): Renamed to ...
30325 (LDLIBS-tst-chk5): This.
30326 (LDFLAGS-tst-chk6): Renamed to ...
30327 (LDLIBS-tst-chk6): This.
30328 (LDFLAGS-tst-lfschk4): Renamed to ...
30329 (LDLIBS-tst-lfschk4): This.
30330 (LDFLAGS-tst-lfschk5): Renamed to ...
30331 (LDLIBS-tst-lfschk5): This.
30332 (LDFLAGS-tst-lfschk6): Renamed to ...
30333 (LDLIBS-tst-lfschk6): This.
30335 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30336 on $(common-objpfx)soversions.mk.
30338 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30341 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30344 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30346 * malloc/arena.c (arena_get_retry): New function that gets
30347 another arena for the caller to try its request on.
30348 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30349 current arena cannot fulfill the request.
30350 (__libc_memalign): Likewise.
30351 (__libc_memalign): Likewise.
30352 (__libc_pvalloc): Likewise.
30353 (__libc_calloc): Likewise.
30355 2012-09-05 John Tobey <john.tobey@gmail.com>
30358 * manual/arith.texi (Operations on Complex): Fix description
30359 of carg branch cut.
30361 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30364 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30368 * manual/memory.texi (Memory): Make order of menu items match
30371 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30373 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30374 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30375 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30377 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30379 * csu/libc-tls.c (static_dtv): Renamed to ...
30380 (_dl_static_dtv): This. Make it global.
30381 (_dl_initial_dtv): Removed.
30382 (__libc_setup_tls): Updated.
30383 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30384 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30387 2012-09-06 Petr Machata <pmachata@redhat.com>
30389 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30390 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30391 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30392 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30394 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30397 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30398 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30401 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30404 * Makeconfig (link-static-before-libc): Replace $(+prector)
30406 (link-static-after-libc): Replace $(+postctor) with
30408 (link-bounded): Replace $(+prector)/$(+postctor) with
30409 $(+prectorT)/$(+postctorT).
30410 (+prectorT): New macro.
30411 (+postctorT): Likewise.
30413 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30415 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30416 (round_str): Handle values above the maximum for IBM long double
30418 * stdlib/tst-strtod-round.c (tests): Regenerated.
30420 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30422 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30424 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30425 zarch_nohighgprs around the zarch optimized routines.
30426 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30427 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30428 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30431 2012-09-05 David S. Miller <davem@davemloft.net>
30433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30435 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30436 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30437 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30438 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30441 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30443 * malloc/arena.c: Fold copyright years.
30444 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30446 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30448 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30450 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30452 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30454 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30456 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30457 change internal state upon failure.
30459 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30461 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30462 * malloc/memusage.c (mmap): Likewise.
30463 (mmap64, mremap): Likewise. Adjust name in comment.
30465 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30467 * libio/fileops.c: Fix typos in comments.
30468 * libio/oldfileops.c: Likewise.
30469 * libio/wfileops.c: Likewise.
30471 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30474 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30475 (tst-malloc-usable-ENV): Set environment for test case.
30476 * malloc/hooks.c (malloc_check_get_size): New function to get
30478 * malloc/malloc.c (musable): Use malloc_check_get_size.
30479 * malloc/tst-malloc-usable.c: New test case.
30481 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30483 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30485 2012-09-05 Allan McRae <allan@archlinux.org>
30488 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30489 determine header location.
30490 * configure: Regenerated.
30492 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30494 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30496 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30497 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30499 (test): Regenerate.
30501 2012-09-04 David S. Miller <davem@davemloft.net>
30503 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30504 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30505 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30507 2012-09-04 Florian Weimer <fweimer@redhat.com>
30509 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30512 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30514 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30517 * libio/iogetdelim.c: Include <limits.h>.
30518 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30519 + len + 1 would overflow.
30521 2012-09-03 Andreas Jaeger <aj@suse.de>
30523 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30524 * sysdeps/i386/fpu/libm-test-ulps: Update.
30526 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30528 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30529 Add s_sinf-sse2, s_conf-sse2.
30531 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30532 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30533 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30534 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30536 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30537 for using routine as __sinf_ia32.
30538 Use macro for function declaration and weak_alias.
30539 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30540 for using routine as __cosf_ia32.
30541 Use macro for function declaration and weak_alias.
30543 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30544 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30546 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30547 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30548 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30550 * math/libm-test.inc (cos_test): Add more test cases.
30551 (sin_test): Likewise.
30552 (sincos_test): Likewise.
30554 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30556 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30557 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30559 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30561 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30564 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30565 first element of the GOT.
30566 (elf_machine_load_address): Return the difference between
30567 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30569 2012-09-01 Allan McRae <allan@archlinux.org>
30572 * configure.in (AWK): Require gawk version 3.0 or later.
30573 * configure: Regenerated.
30575 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30577 * sysdeps/unix/sysv/linux/kernel-features.h
30578 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30579 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30580 [__NR_clock_getres]: Make code unconditional.
30581 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30582 (clock_getcpuclockid): Remove code left unreachable by removal of
30584 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30585 code unconditional.
30586 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30587 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30588 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30589 Make code unconditional.
30590 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30591 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30592 * sysdeps/unix/sysv/linux/clock_settime.c
30593 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30595 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30596 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30598 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30601 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30602 scripts/test-installation.pl.
30604 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30605 and $ld_so_version if it is set.
30607 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30610 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30611 failure if reading from procfs failed.
30612 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30614 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30616 * sysdeps/unix/sysv/linux/kernel-features.h
30617 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30618 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30619 Remove conditional code.
30620 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30621 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30622 Remove conditional code.
30623 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30624 * sysdeps/unix/sysv/linux/i386/fxstat.c
30625 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30626 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30627 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30628 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30629 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30630 * sysdeps/unix/sysv/linux/i386/lxstat.c
30631 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30632 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30633 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30634 Remove conditional code.
30635 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30636 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30637 Remove conditional code.
30638 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30639 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30640 <kernel-features.h>.
30641 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30643 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30644 Remove conditional code.
30645 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30646 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30647 Remove conditional.
30649 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30652 * NEWS: Add fixed bug number.
30654 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30657 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30658 underflowing exponent in case of negative sign.
30659 * stdlib/tst-strtod-round-data: Add more tests.
30660 * stdlib/tst-strtod-round.c (tests): Regenerated.
30663 * stdlib/strtod_l.c (NDIG): Remove.
30664 (HEXNDIG): Likewise.
30665 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30666 smallest representable value.
30667 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30668 lie within an exact representation of 1/2 ulp of the result.
30669 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30671 (TENS_P9_IDX): Define unconditionally.
30672 (TENS_P9_SIZE): Likewise.
30673 (TENS_P10_IDX): Likewise.
30674 (TENS_P10_SIZE): Likewise.
30675 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30676 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30677 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30678 entries for 10^2^13 and 10^2^14.
30679 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30680 (TENS_P13_IDX): Define.
30681 (TENS_P13_SIZE): Likewise.
30682 (TENS_P14_IDX): Likewise.
30683 (TENS_P14_SIZE): Likewise.
30684 (_fpioconst_pow10): Change array size to
30685 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30687 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30688 1024]: Add entries for 10^2^13 and 10^2^14.
30689 [LAST_POW10 > _LAST_POW10]: Remove #error.
30690 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30691 (_fpioconst_pow10): Change array size to
30692 FPIOCONST_POW10_ARRAY_SIZE.
30693 * stdlib/gen-fpioconst.c: New file.
30694 * stdlib/gen-tst-strtod-round.c: Likewise.
30695 * stdlib/tst-strtod-round-data: Likewise.
30696 * stdlib/tst-strtod-round.c: Likewise.
30697 * stdlib/Makefile (tests): Add tst-strtod-round.
30700 * stdlib/strtod_l.c: Include <stdint.h>.
30701 (NDEBUG): Do not define.
30702 (round_and_return): Change EXPONENT parameter to type intmax_t.
30703 Rearrange calculations to avoid internal overflow possibilities.
30704 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30705 Rearrange calculations to avoid internal overflow possibilities.
30706 Assert that number fits inside MPNSIZE limbs.
30707 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30708 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30709 calculations and add assertions to avoid internal overflow
30710 possibilities. Add casts to avoid signed/unsigned operations.
30711 * stdlib/tst-strtod-overflow.c: New file.
30712 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30714 2012-08-25 Marek Polacek <polacek@redhat.com>
30716 * time/time.h: Fix some typos in comments.
30718 2012-08-23 Roland McGrath <roland@hack.frob.com>
30720 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30721 * posix/tst-rfc3484-2.c: Likewise.
30722 * posix/tst-rfc3484-3.c: Likewise.
30724 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30726 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30727 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30729 2012-08-23 Joseph Myers <joseph@codesourcery.com>
30731 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30732 #include of fxstatat64.c.
30734 2012-08-22 Roland McGrath <roland@hack.frob.com>
30736 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30737 * shadow/getspent_r.c: Likewise.
30738 * shadow/getspnam.c: Likewise.
30739 * shadow/getspnam_r.c: Likewise.
30740 * gshadow/getsgent.c: Likewise.
30741 * gshadow/getsgent_r.c: Likewise.
30742 * gshadow/getsgnam.c: Likewise.
30743 * gshadow/getsgnam_r.c: Likewise.
30744 * inet/getnetbyad.c: Likewise.
30745 * inet/getnetbyad_r.c: Likewise.
30746 * inet/getnetbynm.c: Likewise.
30747 * inet/getnetbynm_r.c: Likewise.
30748 * inet/getnetent.c: Likewise.
30749 * inet/getnetent_r.c: Likewise.
30750 * inet/getproto.c: Likewise.
30751 * inet/getproto_r.c: Likewise.
30752 * inet/getprtent.c: Likewise.
30753 * inet/getprtent_r.c: Likewise.
30754 * inet/getprtname.c: Likewise.
30755 * inet/getprtname_r.c: Likewise.
30756 * inet/getrpcbyname.c: Likewise.
30757 * inet/getrpcbyname_r.c: Likewise.
30758 * inet/getrpcbynumber.c: Likewise.
30759 * inet/getrpcbynumber_r.c: Likewise.
30760 * inet/getrpcent.c: Likewise.
30761 * inet/getrpcent_r.c: Likewise.
30762 * inet/getaliasent.c: Likewise.
30763 * inet/getaliasent_r.c: Likewise.
30764 * inet/getaliasname.c: Likewise.
30765 * inet/getaliasname_r.c: Likewise.
30766 * nscd/getgrgid_r.c: Likewise.
30767 * nscd/getgrnam_r.c: Likewise.
30768 * nscd/gethstbyad_r.c: Likewise.
30769 * nscd/gethstbynm3_r.c: Likewise.
30770 * nscd/getpwnam_r.c: Likewise.
30771 * nscd/getpwuid_r.c: Likewise.
30772 * nscd/getsrvbynm_r.c: Likewise.
30773 * nscd/getsrvbypt_r.c: Likewise.
30774 * nscd/gai.c: Likewise.
30776 * configure.in (build_nscd): New substituted variable, set
30777 by --disable-build-nscd and defaults to $use_nscd.
30778 * configure: Regenerated.
30779 * config.make.in (build-nscd): New substituted variable.
30780 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30781 Change conditional to require [$(build-nscd) = yes] as well.
30782 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30785 * configure.in (use_nscd): New substituted variable, set by
30786 --disable-nscd. If enabled, define USE_NSCD.
30787 * configure: Regenerated.
30788 * config.h.in: Add USE_NSCD.
30789 * config.make.in (use-nscd): New substituted variable.
30790 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30791 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30792 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30793 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30794 (CFLAGS-getgrnam_r.c): Likewise.
30795 (CFLAGS-initgroups.c): Likewise.
30796 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30797 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30799 * inet/getnetgrent_r.c
30800 (nscd_setnetgrent): New function, broken out of ...
30801 (setnetgrent): ... here. Call it.
30802 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30803 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30804 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30805 * nscd/Makefile (routines, aux): Move definitions after include of
30806 Makeconfig. Conditionalize on [$(use-nscd) != no].
30807 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30808 Conditionalize on [USE_NSCD].
30809 (is_nscd, nscd_init_cb): Likewise.
30810 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30811 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30812 * nss/nss_db/db-init.c: Likewise.
30813 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30815 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30816 (make_request): Use it.
30817 (cache_valid_p): New function.
30818 (__check_pf): Use it.
30819 * NEWS: Add item for --disable-nscd.
30821 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30823 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30824 to support sed >= 4.2.1-20-ga9bf076.
30825 * configure: Regenerated.
30827 2012-08-22 Roland McGrath <roland@hack.frob.com>
30829 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30830 Conditionalize whole body on [IREL].
30832 2012-08-22 Jeff Law <law@redhat.com>
30835 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30836 if the family is PF_UNSPEC.
30838 2012-08-22 Mike Frysinger <vapier@gentoo.org>
30840 * Makerules (lib-version): Rename from V.
30841 (install-lib-nosubdir): Change V to lib-version.
30843 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30846 * powerpc32/power6/wcschr.c: New file.
30847 * powerpc32/power6/wcscpy.c: New file.
30848 * powerpc32/power6/wcsrchr.c: New file.
30849 * powerpc64/power6/wcschr.c: New file.
30850 * powerpc64/power6/wcscpy.c: New file.
30851 * powerpc64/power6/wcsrchr.c: New file.
30853 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30855 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30856 (two_way_short_needle): Use it.
30857 * string/strstr.c (AVAILABLE1_USES_J): Define.
30858 * string/strcasestr.c: Likewise.
30860 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30862 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30865 * NEWS: Add an entry.
30866 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30867 define their defaults.
30868 (two_way_short_needle): Detect end-of-string on-the-fly.
30869 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30870 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30871 * string/bug-strcasestr1.c: New test.
30872 * string/Makefile: Run it.
30874 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30877 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30878 the first character.
30880 2012-08-21 Roland McGrath <roland@hack.frob.com>
30882 * csu/elf-init.c (__libc_csu_irel): Function removed.
30883 * csu/libc-start.c (apply_irel): New function.
30884 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30886 2012-08-21 Joseph Myers <joseph@codesourcery.com>
30888 * sysdeps/unix/sysv/linux/kernel-features.h
30889 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30890 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30891 <kernel-features.h>.
30892 [__NR_fadvise64_64]: Make code unconditional.
30893 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30894 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30895 !__NR_fadvise64_64)]: Likewise.
30896 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30897 !__NR_fadvise64_64))]: Likewise.
30898 [__NR_fadvise64]: Make code unconditional.
30899 [!__NR_fadvise64]: Remove conditional code.
30900 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30901 <kernel-features.h>.
30902 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30904 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30907 not include <kernel-features.h>.
30908 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30910 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30912 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30913 include <kernel-features.h>.
30914 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30916 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30919 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30921 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30922 slight instruction rearrangements per scrollpipe analysis.
30923 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30925 2012-08-20 Roland McGrath <roland@hack.frob.com>
30927 * manual/syslog.texi (syslog; vsyslog, closelog):
30928 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30929 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30931 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30932 DSOCAPS to match condition on defining it.
30934 2012-08-20 Joseph Myers <joseph@codesourcery.com>
30936 * sysdeps/unix/sysv/linux/kernel-features.h
30937 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30939 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30940 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30942 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30943 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30945 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30946 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30948 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30949 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30951 * sysdeps/unix/sysv/linux/kernel-features.h
30952 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30953 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30955 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30956 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30957 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30958 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30959 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30960 Make code unconditional.
30961 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30962 (__mmap64) [!__NR_mmap2]: Likewise.
30963 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30964 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30965 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30966 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30967 [__NR_mmap2]: Make code unconditional.
30968 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30969 (__mmap64) [!__NR_mmap2]: Likewise.
30971 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30973 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30975 2012-08-18 Andreas Jaeger <aj@suse.de>
30977 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30979 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30981 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30982 * include/unistd.h (__have_sock_cloexec): Likewise.
30983 (__have_pipe2): Likewise.
30984 (__have_dup3): Likewise.
30986 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30989 * include/unistd.h (__have_pipe2): Change define into an extern int.
30990 (__have_dup3): Likewise.
30991 * socket/have_sock_cloexec.c: Include fcntl.h.
30992 (__have_pipe2): New variable.
30993 (__have_dup3): Likewise.
30995 2012-08-17 Mike Frysinger <vapier@gentoo.org>
30997 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30999 2012-08-17 Marek Polacek <polacek@redhat.com>
31001 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31002 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31004 2012-08-17 Roland McGrath <roland@hack.frob.com>
31006 * configure.in: Add AC_SUBST for sysheaders.
31007 * configure: Regenerated.
31008 * config.make.in (sysheaders): New substituted variable.
31010 * sysdeps/unix/mkfifo.c: Moved ...
31011 * sysdeps/posix/mkfifo.c: ... here.
31012 * sysdeps/unix/mkfifoat.c: Moved ...
31013 * sysdeps/posix/mkfifoat.c: ... here.
31015 * sysdeps/unix/utime.c: Moved ...
31016 * sysdeps/posix/utime.c: ... here.
31018 * sysdeps/unix/time.c: Moved ...
31019 * sysdeps/posix/time.c: ... here.
31020 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31021 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31023 * sysdeps/unix/nice.c: Moved ...
31024 * sysdeps/posix/nice.c: ... here.
31026 * sysdeps/unix/alarm.c: Moved ...
31027 * sysdeps/posix/alarm.c: ... here.
31029 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31031 2012-08-17 Jeff Law <law@redhat.com>
31033 * intl/Makefile (codeset_mo): New variable.
31034 ($(codeset_mo)): New target.
31035 (tst-codeset.out): Depend on that. Remove explicit rule.
31036 (tst-gettext3.out, tst-gettext5.out): Likewise.
31037 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31038 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31039 * intl/tst-codeset.sh: Remove.
31040 * intl/tst-gettext3.sh: Likewise.
31041 * intl/tst-gettext5.sh: Likewise.
31043 2012-08-17 Roland McGrath <roland@hack.frob.com>
31045 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31046 * sysdeps/unix/syscalls.list: ... here.
31048 * sysdeps/posix/getaddrinfo.c
31049 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31050 (gaiconf_init, gaiconf_reload): Use them.
31051 [!_STATBUF_ST_NSEC]
31052 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31053 Define using time_t rather than struct timespec.
31055 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31056 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31058 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31060 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31061 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31064 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31065 __libc_cleanup_push argument.
31067 * bits/param.h: New file.
31068 * misc/sys/param.h: New file.
31069 * include/sys/param.h: New file.
31070 * misc/Makefile (headers): Add bits/param.h.
31071 * sysdeps/generic/sys/param.h: File removed.
31072 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31073 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31074 * sysdeps/mach/hurd/bits/param.h: New file.
31075 * sysdeps/mach/hurd/sys/param.h: File removed.
31077 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31080 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31082 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31083 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31086 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31087 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31088 rather than -D_IO_MTSAFE_IO conditionally.
31089 * stdio-common/Makefile (CPPFLAGS): Likewise.
31090 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31091 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31092 Use $(libio-mtsafe).
31093 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31094 of -D_IO_MTSAFE_IO.
31095 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31096 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31097 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31098 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31099 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31100 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31101 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31102 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31103 (CFLAGS-fread_u_chk.c): Likewise.
31104 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31105 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31106 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31107 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31108 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31109 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31110 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31111 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31112 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31114 * libio/Makefile: Test [$(libc-reentrant) = yes]
31115 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31118 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31119 * sysdeps/pthread/configure: File removed.
31120 * sysdeps/pthread/Makeconfig: New file.
31121 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31122 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31124 2012-08-16 Gary Benson <gbenson@redhat.com>
31126 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31127 unmapping the first object in a namespace.
31129 2012-08-16 Roland McGrath <roland@hack.frob.com>
31131 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31132 (__internal_setnetgrent): ... this. Add internal_function to
31133 definition. Add libc_hidden_def.
31134 (setnetgrent): Update caller.
31135 (internal_endnetgrent): Renamed to ...
31136 (__internal_endnetgrent): ... this. Add internal_function to
31137 definition. Add libc_hidden_def.
31138 (endnetgrent): Update caller.
31139 (internal_getnetgrent_r): Renamed to ...
31140 (__internal_getnetgrent_r): ... this. Add internal_function to
31141 definition. Add libc_hidden_def.
31142 (__getnetgrent_r): Update caller.
31143 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31145 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31147 * stdlib/longlong.h: Update from GCC.
31149 2012-08-16 Roland McGrath <roland@hack.frob.com>
31151 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31152 on _QL, which is set by umul_ppmm but never used.
31153 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31154 variables, which are set by GMP macros but never used.
31155 * stdio-common/_itowa.c (_itowa): Likewise.
31156 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31157 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31159 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31161 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31162 struct La_sh_regs is not constant.
31163 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31164 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31165 and struct La_sparc64_regs are not constant.
31167 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31169 * sysdeps/unix/sysv/linux/kernel-features.h
31170 (__ASSUME_POSIX_TIMERS): Remove.
31171 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31172 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31173 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31174 Make code unconditional.
31175 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31176 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31177 Make code unconditional.
31178 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31179 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31180 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31181 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31182 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31183 Make code unconditional.
31184 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31185 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31186 (__libc_missing_posix_timers): Remove.
31188 2012-08-15 Roland McGrath <roland@hack.frob.com>
31190 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31191 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31193 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31195 * elf/dl-sym.c: Include <stdlib.h>.
31197 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31198 constants, which avoids warnings in 32-bit builds.
31200 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31201 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31203 * misc/lseek.c: File moved to ...
31204 * io/lseek.c: ... here.
31206 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31208 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31209 shifting LEN more than 31 bits at once.
31211 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31214 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31215 segmentation fault for a case of two empty input strings.
31216 * string/test-strncasecmp.c (check1): Renamed to...
31217 (bz12205): ...this.
31218 (bz14195): Add new testcase for two empty input strings and N > 0.
31219 (test_main): Call new testcase, adapt for renamed function.
31221 2012-08-15 Andreas Jaeger <aj@suse.de>
31224 * crypt/md5test2.c: New test, based on test supplied by Serge
31225 Belyshev <belyshev@depni.sinp.msu.ru>.
31226 * crypt/Makefile (xtests): Add md5test-giant..
31227 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31229 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31232 * crypt/md5.c (md5_process_block): Don't assume the buffer
31233 length is less than 2**32.
31234 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31235 length is less than 2**64.
31237 2012-08-15 Roland McGrath <roland@hack.frob.com>
31239 * string/str-two-way.h: Include <sys/param.h>.
31240 (MAX): Macro removed.
31242 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31243 Move #define and #undef of memmove to just before and after
31244 including <string.h>.
31246 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31247 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31248 and after including <string.h>. Move declarations of
31249 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31250 to before #include "string/memmove.c".
31252 * include/dirent.h: Declare __getdirentries.
31254 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31255 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31257 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31259 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31260 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31261 * sysdeps/i386/configure: Regenerated.
31262 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31263 STABS_CURRENT_FILE, and STABS_FUN.
31264 (END): Remove call to STABS_FUN_END.
31265 (STABS_CURRENT_FILE1): Delete.
31266 (STABS_CURRENT_FILE): Likewise.
31267 (STABS_FUN): Likewise.
31268 (STABS_FUN_END): Likewise.
31269 (STABS_FUN2): Likewise.
31270 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31271 * sysdeps/x86_64/configure: Regenerated.
31273 2012-08-14 Roland McGrath <roland@hack.frob.com>
31275 * elf/dl-open.c: Include <atomic.h>.
31276 * elf/dl-lookup.c: Likewise.
31278 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31280 * sysdeps/unix/sysv/linux/kernel-features.h
31281 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31282 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31284 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31286 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31287 condition on __ASSUME_CLONE_THREAD_FLAGS.
31289 2012-08-14 Andreas Jaeger <aj@suse.de>
31291 * sysdeps/i386/fpu/libm-test-ulps: Update.
31293 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31295 * include/atomic.h (atomic_exchange_and_add): Split into ...
31296 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31299 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31301 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31303 2012-08-13 Jeff Law <law@redhat.com>
31305 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31306 null byte in the output string.
31308 2012-08-10 Joseph Myers <joseph@codesourcery.com>
31310 * sysdeps/unix/sysv/linux/kernel-features.h
31311 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31312 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31313 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31314 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31315 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31316 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31317 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31319 2012-08-09 Jeff Law <law@redhat.com>
31322 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31323 When avoid_arena is set, don't retry in the that arena. Pick the
31324 next one, whatever it might be.
31325 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31326 (arena_lock): Pass in new parameter to arena_get2.
31327 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31329 (__libc_malloc): Unify retrying after main arena failure with
31330 __libc_memalign version.
31331 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31333 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31336 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31337 to __redirect_strstr.
31338 (__strstr_sse42): Use typeof __redirect_strstr.
31339 (__strstr_ia32): Likewise.
31340 (__libc_strstr): New prototype.
31341 (strstr): Renamed to ...
31342 (__libc_strstr): This.
31343 (strstr): New strong alias of __libc_strstr.
31344 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31345 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31348 (__libc_time): New prototype.
31349 (time_ifunc): Replace time with __libc_time.
31350 (time): New strong alias and hidden definition of __libc_time.
31351 (__GI_time): Remove strong alias.
31352 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31353 Include <stddef.h>.
31354 (memmove): Redefined to __redirect_memmove.
31355 (__memmove_sse2): Use typeof __redirect_memmove.
31356 (__memmove_ssse3): Likewise.
31357 (__memmove_ssse3_back): Likewise.
31358 (__libc_memmove): New prototype.
31359 (memmove): Renamed to ...
31360 (__libc_memmove): This.
31361 (memmove): New strong alias of __libc_memmove.
31363 2012-08-08 Mark Salter <msalter@redhat.com>
31366 (R_MN10300_TLS_GD): Define.
31367 (R_MN10300_TLS_LD): Likewise.
31368 (R_MN10300_TLS_LDO): Likewise.
31369 (R_MN10300_TLS_GOTIE): Likewise.
31370 (R_MN10300_TLS_IE): Likewise.
31371 (R_MN10300_TLS_LE): Likewise.
31372 (R_MN10300_TLS_DTPMOD): Likewise.
31373 (R_MN10300_TLS_DTPOFF): Likewise.
31374 (R_MN10300_TLS_TPOFF): Likewise.
31375 (R_MN10300_SYM_DIFF): Likewise.
31376 (R_MN10300_ALIGN): Likewise.
31377 (R_MN10300_NUM): Update.
31379 2012-08-08 Joseph Myers <joseph@codesourcery.com>
31381 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31384 2012-08-08 Roland McGrath <roland@hack.frob.com>
31386 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31388 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31389 sysdeps/unix -> sysdeps/posix move.
31390 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31392 2012-08-07 Allan McRae <allan@archlinux.org>
31395 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31396 (SUNOS_CPP): Likewise.
31397 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31399 (open_input): Call CPP using execvp.
31401 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31403 * sysdeps/unix/sysv/linux/kernel-features.h
31404 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31405 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31406 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31407 (__ASSUME_WAITID_SYSCALL): Likewise.
31408 * sysdeps/unix/sysv/linux/dl-execstack.c
31409 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31410 code unconditional.
31411 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31413 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31414 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31415 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31417 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31419 [__ASSUME_WAITID_SYSCALL]: Likewise.
31420 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31422 2012-08-07 Roland McGrath <roland@hack.frob.com>
31424 * sysdeps/unix/closedir.c: Renamed to ...
31425 * sysdeps/posix/closedir.c: ... here.
31426 * sysdeps/unix/dirfd.c: Renamed to ...
31427 * sysdeps/posix/dirfd.c: ... here.
31428 * sysdeps/unix/dirstream.h: Renamed to ...
31429 * sysdeps/posix/dirstream.h: ... here.
31430 * sysdeps/unix/fdopendir.c: Renamed to ...
31431 * sysdeps/posix/fdopendir.c: ... here.
31432 * sysdeps/unix/opendir.c: Renamed to ...
31433 * sysdeps/posix/opendir.c: ... here.
31434 * sysdeps/unix/readdir.c: Renamed to ...
31435 * sysdeps/posix/readdir.c: ... here.
31436 * sysdeps/unix/readdir_r.c: Renamed to ...
31437 * sysdeps/posix/readdir_r.c: ... here.
31438 * sysdeps/unix/rewinddir.c: Renamed to ...
31439 * sysdeps/posix/rewinddir.c: ... here.
31440 * sysdeps/unix/seekdir.c: Renamed to ...
31441 * sysdeps/posix/seekdir.c: ... here.
31442 * sysdeps/unix/telldir.c: Renamed to ...
31443 * sysdeps/posix/telldir.c: ... here.
31444 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31445 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31446 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31447 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31449 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31450 * bits/fcntl.h: ... here.
31452 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31454 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31455 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31456 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31457 (struct flock): Move l_start, l_len to the beginning.
31458 Use __pid_t for l_pid.
31459 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31460 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31461 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31462 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31463 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31464 [__USE_LARGEFILE64] (struct flock64): New type.
31465 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31467 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31468 * bits/dirent.h: ... here.
31470 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31471 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31473 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31475 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31476 Change from 2.6.0 to 2.6.16.
31477 * sysdeps/unix/sysv/linux/configure: Regenerated.
31478 * sysdeps/unix/sysv/linux/kernel-features.h
31479 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31480 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31482 (__ASSUME_UTIMES): Likewise.
31483 (__ASSUME_CLONE_STOPPED): Remove.
31484 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31485 architectures, not kernel version.
31486 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31487 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31488 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31489 (__ASSUME_WAITID_SYSCALL): Likewise.
31490 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31491 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31492 * README: State 2.6.16 as minimum Linux kernel version. Do not
31493 refer to older versions.
31495 2012-08-06 Roland McGrath <roland@hack.frob.com>
31497 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31498 Define alphasort64 as an alias.
31499 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31500 Define versionsort64 as an alias.
31501 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31502 Define scandir64 as an alias.
31503 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31504 Define scandirat64 as an alias.
31505 * dirent/alphasort64.c (alphasort64):
31506 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31507 * dirent/versionsort64.c: Likewise.
31508 * dirent/scandir64.c: Likewise.
31509 * dirent/scandirat64.c: Likewise.
31510 * sysdeps/wordsize-64/alphasort.c: File removed.
31511 * sysdeps/wordsize-64/alphasort64.c: File removed.
31512 * sysdeps/wordsize-64/scandir.c: File removed.
31513 * sysdeps/wordsize-64/scandir64.c: File removed.
31514 * sysdeps/wordsize-64/scandirat.c: File removed.
31515 * sysdeps/wordsize-64/scandirat64.c: File removed.
31516 * sysdeps/wordsize-64/versionsort.c: File removed.
31517 * sysdeps/wordsize-64/versionsort64.c: File removed.
31518 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31519 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31520 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31521 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31522 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31523 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31524 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31525 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31527 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31528 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31529 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31530 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31531 [defined __arch64__ || defined __sparcv9]
31532 (__INO_T_MATCHES_INO64_T): New macro.
31533 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31534 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31535 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31536 * sysdeps/unix/sysv/linux/bits/dirent.h
31537 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31538 (_DIRENT_MATCHES_DIRENT64): New macro.
31540 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31541 Define lockf64 as an alias.
31542 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31543 Define fseeko64 as an alias.
31544 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31545 Define ftello64 as an alias.
31546 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31547 Define _IO_fgetpos64 and fgetpos64 as aliases.
31548 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31549 Define _IO_fsetpos64 and fsetpos64 as aliases.
31550 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31551 Conditionalize body on this.
31552 * libio/fseeko64.c: Likewise.
31553 * libio/ftello64.c: Likewise.
31554 * libio/iofgetpos64.c: Likewise.
31555 * libio/iofsetpos64.c: Likewise.
31556 * sysdeps/wordsize-64/lockf.c: File removed.
31557 * sysdeps/wordsize-64/lockf64.c: File removed.
31558 * sysdeps/wordsize-64/fseeko.c: File removed.
31559 * sysdeps/wordsize-64/fseeko64.c: File removed.
31560 * sysdeps/wordsize-64/ftello.c: File removed.
31561 * sysdeps/wordsize-64/ftello64.c: File removed.
31562 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31563 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31564 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31565 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31566 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31567 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31568 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31569 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31570 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31571 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31572 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31573 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31574 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31575 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31577 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31578 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31579 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31580 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31581 [defined __arch64__ || defined __sparcv9]
31582 (__OFF_T_MATCHES_OFF64_T): New macro.
31583 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31584 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31585 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31586 (__OFF_T_MATCHES_OFF64_T): New macro.
31588 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31590 * stdlib/secure-getenv.c (__secure_getenv): Replace
31591 GLIBC_2_16 with GLIBC_2_17.
31593 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31595 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31596 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31598 2012-08-03 David S. Miller <davem@davemloft.net>
31600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31602 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31604 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31606 (__ASSUME_CORRECT_SI_PID): Likewise.
31607 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31608 (__ASSUME_TMPFS_NAME): Likewise.
31609 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31610 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31611 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31612 (HAVE_AUX_SECURE): Make definition unconditional.
31613 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31614 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31616 2012-08-03 Roland McGrath <roland@hack.frob.com>
31618 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31619 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31620 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31621 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31622 __eloop_threshold instead of SYMLOOP_MAX.
31624 * sysdeps/generic/eloop-threshold.h: New file.
31625 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31627 * elf/chroot_canon.c (chroot_canon): Likewise.
31629 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31632 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31633 Change to 2.6.0 everywhere.
31634 * sysdeps/unix/sysv/linux/configure: Regenerated.
31635 * sysdeps/unix/sysv/linux/kernel-features.h
31636 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31637 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31639 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31640 (__ASSUME_FUTEX_REQUEUE): Remove.
31641 (__ASSUME_STATFS64): Define unconditionally.
31642 (__ASSUME_AT_SECURE): Likewise.
31643 (__ASSUME_CORRECT_SI_PID): Likewise.
31644 (__ASSUME_TGKILL): Define without depending on kernel version for
31646 (__ASSUME_UTIMES): Likewise.
31647 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31649 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31650 (__ASSUME_TMPFS_NAME): Likewise.
31651 * README: Update reference to Linux kernel versions.
31653 2012-08-02 Marek Polacek <polacek@redhat.com>
31656 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31657 libc_cv_asm_type_prefix with %.
31658 * configure: Regenerated.
31659 * include/libc-symbols.h: Remove comment about
31660 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31661 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31662 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31663 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31664 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31665 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31666 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31667 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31668 * elf/tst-unique2mod1.c: Likewise.
31669 * elf/tst-unique1mod2.c: Likewise.
31670 * elf/tst-unique1mod1.c: Likewise.
31671 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31672 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31673 Replace ASM_TYPE_DIRECTIVE with .type.
31674 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31675 * sysdeps/i386/sysdep.h: Likewise.
31676 * sysdeps/x86_64/sysdep.h: Likewise.
31677 * sysdeps/sh/sysdep.h: Likewise.
31678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31679 Do not define ASM_TYPE_DIRECTIVE.
31680 * sysdeps/powerpc/sysdep.h: Likewise.
31681 * sysdeps/powerpc/powerpc32/sysdep.h:
31682 Replace ASM_TYPE_DIRECTIVE with .type.
31683 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31684 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31685 * sysdeps/i386/fpu/e_powf.S: Likewise.
31686 * sysdeps/i386/fpu/e_expl.S: Likewise.
31687 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31688 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31689 * sysdeps/i386/fpu/e_pow.S: Likewise.
31690 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31691 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31692 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31693 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31694 * sysdeps/i386/fpu/e_log2.S: Likewise.
31695 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31696 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31697 * sysdeps/i386/fpu/e_powl.S: Likewise.
31698 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31699 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31700 * sysdeps/i386/fpu/e_logl.S: Likewise.
31701 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31702 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31703 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31704 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31705 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31706 * sysdeps/i386/fpu/e_log.S: Likewise.
31707 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31708 * sysdeps/i386/fpu/e_logf.S: Likewise.
31709 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31710 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31711 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31712 * sysdeps/i386/fpu/e_log10.S: Likewise.
31713 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31714 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31715 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31716 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31717 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31718 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31719 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31720 * sysdeps/i386/i686/strtok.S: Likewise.
31721 * sysdeps/i386/i386-mcount.S: Likewise.
31722 * sysdeps/i386/strtok.S: Likewise.
31723 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31724 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31725 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31726 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31727 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31728 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31729 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31730 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31731 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31732 * sysdeps/x86_64/_mcount.S: Likewise.
31733 * sysdeps/x86_64/strtok.S: Likewise.
31734 * sysdeps/sh/_mcount.S: Likewise.
31736 2012-08-01 Roland McGrath <roland@hack.frob.com>
31738 * libio/iofopen.c: Include <fcntl.h>.
31739 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31740 (_IO_fopen64, fopen64): Define as aliases.
31741 * libio/iofopen64.c: Include <fcntl.h>.
31742 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31743 Conditionalize body on this.
31744 * sysdeps/wordsize-64/iofopen.c: File removed.
31745 * sysdeps/wordsize-64/iofopen64.c: File removed.
31747 2012-08-01 Marek Polacek <polacek@redhat.com>
31749 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31750 Use dlfcn directly instead of a variable.
31751 (binfmt-subdir): Do not define.
31754 2012-08-01 Joseph Myers <joseph@codesourcery.com>
31756 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31757 Remove all definitions.
31758 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31759 <kernel-features.h>.
31760 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31761 (miss_F_GETOWN_EX): Remove all definitions.
31762 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31764 [!__ASSUME_FCNTL64]: Remove conditional code.
31765 [__ASSUME_FCNTL64]: Make code unconditional.
31766 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31767 <kernel-features.h>.
31768 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31769 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31770 (lockf64) [__NR_fcntl64]: Make code unconditional.
31771 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31773 * sysdeps/unix/sysv/linux/kernel-features.h
31774 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31775 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31776 Make code unconditional.
31777 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31778 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31780 [__NR_vfork]: Make code unconditional.
31781 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31782 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31784 [__NR_vfork]: Make code unconditional.
31785 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31786 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31788 2012-08-01 Roland McGrath <roland@hack.frob.com>
31790 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31791 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31793 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31794 Define mkstemp64 as an alias.
31795 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31796 Define mkstemps64 as an alias.
31797 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31798 Define mkostemp64 as an alias.
31799 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31800 Define mkostemps64 as an alias.
31801 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31802 Conditionalize body on this.
31803 * misc/mkostemp64.c: Likewise.
31804 * misc/mkostemps64.c: Likewise.
31805 * misc/mkstemps64.c: Likewise.
31806 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31807 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31808 * sysdeps/wordsize-64/mkostemp.c: File removed.
31809 * sysdeps/wordsize-64/mkstemp.c: File removed.
31810 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31811 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31812 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31813 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31816 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31817 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31818 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31819 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31821 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31822 compat_symbol macros from <shlib-compat.h> rather than the underlying
31823 default_symbol_version and symbol_version macros, so that DEFAULT
31824 lines in shlib-versions are respected.
31825 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31827 2012-08-01 Florian Weimer <fweimer@redhat.com>
31829 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31830 Declare with warn_unused_result.
31831 (setgid, setregid, setegid, setresgid): Likewise.
31832 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31834 * WUR-REPORT: Remove set*id functions.
31836 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31838 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31840 2012-07-31 Roland McGrath <roland@hack.frob.com>
31843 * include/sys/socket.h (__libc_accept, __libc_accept4):
31844 Add attribute_hidden.
31845 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31847 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31849 * inet/getnetgrent_r.c (setup): Likewise.
31851 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31853 2012-07-31 David S. Miller <davem@davemloft.net>
31855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31857 2012-07-31 Joseph Myers <joseph@codesourcery.com>
31860 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31861 value between 1.0 and 2.0 and smaller part has absolute value less
31863 * math/s_clog10.c (__clog10): Likewise.
31864 * math/s_clog10f.c (__clog10f): Likewise.
31865 * math/s_clog10l.c (__clog10l): Likewise.
31866 * math/s_clogf.c (__clogf): Likewise.
31867 * math/s_clogl.c (__clogl): Likewise.
31868 * math/libm-test.inc (clog_test): Add more tests.
31869 (clog10_test): Likewise.
31870 * sysdeps/i386/fpu/libm-test-ulps: Update.
31871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31873 2012-07-31 Florian Weimer <fweimer@redhat.com>
31875 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31876 Exit with zero in case no suitable GID is found, and write a
31877 message to standard error.
31879 2012-07-30 Roland McGrath <roland@hack.frob.com>
31881 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31883 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31884 (MAXPATHLEN): Removed.
31885 (NOGROUP, NODEV): New macros.
31886 (setbit, clrbit, isset, isclr): New macros.
31887 (howmany, roundup, powerof2): New macros.
31888 (DEV_BSIZE): New macro.
31890 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31891 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31893 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31894 definition on [!__NO_LONG_DOUBLE_MATH].
31896 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31897 PTR_MANGLE and PTR_DEMANGLE.
31899 * socket/accept4.c (accept4): Rename to __libc_accept4.
31900 Define accept4 as a weak alias.
31902 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31903 on [_DIRENT_HAVE_D_TYPE].
31904 * io/ftw.c (ftw_dir): Likewise.
31906 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31908 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31910 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31911 Use the BSD numbers rather than the arbitrary ones we had.
31912 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31913 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31914 (SIGXCPU, SIGXFSZ): New macros.
31917 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31918 initializer on [_LIBC_REENTRANT].
31920 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31921 definitions inside [_POSIX_MAPPED_FILES].
31923 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31925 * dirent/opendir.c: Include <fcntl.h>.
31927 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31928 (__libc_getspecific): Likewise.
31929 (__libc_key_create): Likewise.
31931 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31932 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31933 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31934 (tmpfile64): Define as alias.
31935 * sysdeps/wordsize-64/tmpfile.c: File removed.
31936 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31937 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31938 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31940 * stdio-common/vfscanf.c: Include <stdbool.h>.
31941 * nss/makedb.c: Likewise.
31942 * stdio-common/_i18n_number.h: Likewise.
31943 * argp/argp-help.c: Likewise.
31944 * posix/wordexp.c: Likewise.
31945 * sysdeps/posix/spawni.c: Likewise.
31946 * nss/nss_files/files-initgroups.c: Likewise.
31947 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31948 * nss/nss_files/files-initgroups.c: Likewise.
31949 * nss/nss_db/db-netgrp.c: Likewise.
31950 * nss/nss_db/db-initgroups.c: Likewise.
31951 * io/fchmodat.c: Include <sys/stat.h>.
31953 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31954 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31956 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31959 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31960 Add multiple inclusion protection.
31962 2012-07-27 David S. Miller <davem@davemloft.net>
31964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31966 2012-07-27 Gary Benson <gbenson@redhat.com>
31969 * elf/rtld.c: Include <stap-probe.h>.
31970 (dl_main): Added static probes "init_start" and "init_complete".
31971 * elf/dl-load.c: Include <stap-probe.h>.
31972 (lose): Take new parameter "nsid".
31973 Added static probe "map_failed".
31974 (_dl_map_object_from_fd): Pass namespace id to lose.
31975 Added static probe "map_start".
31976 (open_verify): Pass namespace id to lose.
31977 * elf/dl-open.c: Include <stap-probe.h>.
31978 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31979 and "reloc_complete".
31980 * elf/dl-close.c: Include <stap-probe.h>.
31981 (_dl_close_worker): Added static probes "unmap_start" and
31983 * elf/rtld-debugger-interface.txt: New file documenting the above.
31985 2012-07-26 Roland McGrath <roland@hack.frob.com>
31987 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31988 rather than a string variable.
31989 * sunrpc/rpc_main.c (h_output): Likewise.
31990 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31992 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31994 * inet/check_native.c: New file.
31996 2012-07-26 Joseph Myers <joseph@codesourcery.com>
31999 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32000 if larger part has absolute value 1.0.
32001 * math/s_clog10.c (__clog10): Likewise.
32002 * math/s_clog10f.c (__clog10f): Likewise.
32003 * math/s_clog10l.c (__clog10l): Likewise.
32004 * math/s_clogf.c (__clogf): Likewise.
32005 * math/s_clogl.c (__clogl): Likewise.
32006 * math/libm-test.inc (clog_test): Add more tests.
32007 (clog10_test): Likewise.
32008 * sysdeps/i386/fpu/libm-test-ulps: Update.
32009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32011 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32012 (pltexit): Likewise.
32013 (La_regs): Likewise.
32014 (La_retval): Likewise.
32015 (int_retval): Likewise.
32016 Update #error for removed macros to refer only to definitions in
32018 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32020 (pltexit): Likewise.
32021 (La_regs): Likewise.
32022 (La_retval): Likewise.
32023 (int_retval): Likewise.
32024 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32026 (pltexit): Likewise.
32027 (La_regs): Likewise.
32028 (La_retval): Likewise.
32029 (int_retval): Likewise.
32030 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32032 (pltexit): Likewise.
32033 (La_regs): Likewise.
32034 (La_retval): Likewise.
32035 (int_retval): Likewise.
32036 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32038 (pltexit): Likewise.
32039 (La_regs): Likewise.
32040 (La_retval): Likewise.
32041 (int_retval): Likewise.
32042 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32044 (pltexit): Likewise.
32045 (La_regs): Likewise.
32046 (La_retval): Likewise.
32047 (int_retval): Likewise.
32048 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32050 (pltexit): Likewise.
32051 (La_regs): Likewise.
32052 (La_retval): Likewise.
32053 (int_retval): Likewise.
32054 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32055 macro definitions in tst-audit.h.
32056 * sysdeps/i386/tst-audit.h: New file.
32057 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32058 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32059 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32060 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32061 * sysdeps/sh/tst-audit.h: Likewise.
32062 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32063 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32064 * sysdeps/x86_64/tst-audit.h: Likewise.
32066 2012-07-26 Andreas Jaeger <aj@suse.de>
32068 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32071 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32072 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32073 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32075 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32076 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32077 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32079 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32082 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32084 (si_call_addr, si_syscall, si_arch): Define new macro.
32085 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32087 (si_call_addr, si_syscall, si_arch): Define new marcro.
32088 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32090 (si_call_addr, si_syscall, si_arch): Define new macro.
32091 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32093 (si_call_addr, si_syscall, si_arch): Define new macro.
32095 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32098 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32099 Change to 2.4.21 where previously 2.4.1.
32100 * sysdeps/unix/sysv/linux/configure: Regenerated.
32101 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32102 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32103 Linux kernel version.
32104 (__ASSUME_STD_AUXV): Remove.
32105 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32107 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32108 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32109 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32110 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32111 (__ASSUME_NETLINK_SUPPORT): Likewise.
32112 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32113 (__no_netlink_support): Remove conditional definition.
32114 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32116 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32117 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32118 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32119 (if_nameindex_ioctl): Remove.
32120 (if_nameindex_netlink): Do not handle __no_netlink_support.
32121 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32123 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32124 Remove conditional code.
32125 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32127 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32129 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32130 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32131 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32133 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32134 [!__ASSUME_STD_AUXV]: Remove conditional code.
32135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32136 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32137 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32139 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32140 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32142 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32144 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32145 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32147 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32149 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32152 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32155 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32156 code unconditional.
32157 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32159 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32161 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32164 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32166 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32169 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32170 code unconditional.
32171 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32173 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32175 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32178 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32179 code unconditional.
32180 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32182 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32184 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32187 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32189 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32190 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32191 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32192 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32193 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32194 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32195 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32196 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32197 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32198 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32199 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32200 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32201 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32202 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32203 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32204 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32205 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32206 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32207 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32208 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32209 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32210 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32211 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32213 2012-07-25 Florian Weimer <fweimer@redhat.com>
32215 * Versions.def: Add GLIBC_2.17.
32216 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32217 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32218 Introduce __libc_secure_getenv.
32219 * stdlib/Versions (2.17): Add secure_getenv
32220 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32221 * stdlib/secure-getenv.c: Rename __secure_getenv to
32222 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32223 symbol __secure_getenv for GLIBC_2.0.
32224 * stdlib/tst-secure-getenv.c: New.
32225 * stdlib/Makefile (tests): Add testcase.
32226 * manual/startup.texi (Environment Access): Document
32228 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32229 __libc_secure_getenv.
32230 * inet/ruserpass.c (ruserpass): Likewise.
32231 * malloc/mtrace.c (mtrace): Likewise.
32232 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32233 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32234 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32235 * sysdeps/posix/tempname.c: Likewise. Evaluate
32236 HAVE_SECURE_GETENV.
32237 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32238 __secure_getenv to __libc_secure_getenv.
32239 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32246 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32252 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32254 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32255 (struct La_i86_retval): Likewise.
32256 (struct La_x86_64_regs): Likewise.
32257 (struct La_x86_64_retval): Likewise.
32258 (struct La_x32_regs): Likewise.
32259 (struct La_x32_retval): Likewise.
32260 (struct La_ppc32_regs): Likewise.
32261 (struct La_ppc32_retval): Likewise.
32262 (struct La_ppc64_regs): Likewise.
32263 (struct La_ppc64_retval): Likewise.
32264 (struct La_sh_regs): Likewise.
32265 (struct La_sh_retval): Likewise.
32266 (struct La_s390_32_regs): Likewise.
32267 (struct La_s390_32_retval): Likewise.
32268 (struct La_s390_64_regs): Likewise.
32269 (struct La_s390_64_retval): Likewise.
32270 (struct La_sparc32_regs): Likewise.
32271 (struct La_sparc32_retval): Likewise.
32272 (struct La_sparc64_regs): Likewise.
32273 (struct La_sparc64_retval): Likewise.
32274 (struct audit_ifaces): Remove architecture-specific pltenter and
32276 * sysdeps/i386/ldsodefs.h: New file.
32277 * sysdeps/powerpc/ldsodefs.h: Likewise.
32278 * sysdeps/s390/ldsodefs.h: Likewise.
32279 * sysdeps/sh/ldsodefs.h: Likewise.
32280 * sysdeps/sparc/ldsodefs.h: Likewise.
32281 * sysdeps/x86_64/ldsodefs.h: Likewise.
32283 2012-07-25 Marek Polacek <polacek@redhat.com>
32286 * math/libm-test.inc (yn_test): Add another test.
32287 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32288 to ERANGE when the result is +-Inf.
32289 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32290 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32291 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32292 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32294 2012-07-24 Joseph Myers <joseph@codesourcery.com>
32296 * conform/data/time.h-data (NULL): Use macro-constant. Require
32298 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32300 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32302 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32304 * configure.in <sysdeps resolving>: Correct printing
32306 * configure: Regenerate.
32308 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32310 * math/w_ilogb.c: Include <limits.h>.
32311 * math/w_ilogbl.c: Likewise.
32313 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32315 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32316 va_copy. Document allowing for unavailable va_copy only as
32317 pre-C99 compatibility.
32318 * manual/string.texi (Copying and Concatenation): Use va_copy
32319 instead of __va_copy in concat example.
32321 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32323 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32324 (__sendto): Use create_address_port. Initialize APORT and deallocate
32327 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32328 with O_NOLINK passed to __file_name_lookup.
32330 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32331 with O_NOLINK passed to __file_name_lookup.
32333 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32334 negative N or less than NGIDS.
32336 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32337 type to string_t. Set ERANGE as errno and return it if NAME is not big
32338 enough. Use memcpy instead of strncpy.
32340 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32342 * elf/Makefile (check-data): Remove.
32343 (localplt.data): New vpath directive.
32344 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32345 instead of $(check-data).
32346 * scripts/data/localplt-generic.data: Move to ...
32347 * sysdeps/generic/localplt.data: ... here.
32348 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32349 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32350 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32353 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32356 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32359 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32362 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32365 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32369 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32371 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32372 PPC32 and PPC64 files.
32373 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32374 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32376 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32378 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32379 __makecontext_ret to ...
32380 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32381 ... here and call exit if uc_link is NULL. New file.
32382 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32383 __makecontext_ret.S.
32384 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32385 __makecontext_ret to ...
32386 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32387 ... here and call exit if uc_link is NULL. New file.
32388 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32389 __makecontext_ret.S.
32391 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32393 * elf/elf.h (R_390_IRELATIVE): New definition.
32394 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32395 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32396 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32397 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32398 (elf_machine_lazy_rel): Likewise.
32399 * sysdeps/s390/dl-irel.h: New file.
32400 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32401 * sysdeps/s390/s390-64/memset.S: New asm code.
32402 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32403 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32404 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32405 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32406 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32407 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32408 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32409 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32410 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32411 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32412 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32413 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32414 * sysdeps/s390/s390-32/memset.S: New asm code.
32415 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32417 2012-07-17 Marek Polacek <polacek@redhat.com>
32420 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32421 * sysdeps/s390/s390-64/configure.in: Likewise.
32422 * sysdeps/sparc/configure.in: Likewise.
32423 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32424 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32425 * sysdeps/i386/configure.in: Likewise.
32426 * sysdeps/x86_64/configure.in: Likewise.
32427 * sysdeps/sh/configure.in: Likewise.
32428 * sysdeps/s390/s390-32/configure: Regenerated.
32429 * sysdeps/s390/s390-64/configure: Likewise.
32430 * sysdeps/x86_64/configure: Likewise.
32431 * sysdeps/sh/configure: Likewise.
32432 * sysdeps/powerpc/powerpc64/configure: Likewise.
32433 * sysdeps/powerpc/powerpc32/configure: Likewise.
32434 * sysdeps/sparc/configure: Likwise.
32435 * sysdeps/i386/configure: Likewise.
32437 * elf/dl-open.c: Comment fixes.
32439 2012-07-17 Joseph Myers <joseph@codesourcery.com>
32441 * Makefile [CXX] (check-data): Remove.
32442 [CXX] (c++-types.data): New vpath directive.
32443 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32444 vpath. Do not allow for C++ type data being missing.
32445 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32446 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32447 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32448 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32449 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32450 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32451 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32454 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32457 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32460 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32463 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32466 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32469 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32470 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32472 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32475 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32476 definitions to architecture-specific files.
32477 (TLS_IE): Likewise.
32478 (TLS_LD): Likewise.
32479 (TLS_GD): Likewise.
32480 * sysdeps/i386/tls-macros.h: New file.
32481 * sysdeps/powerpc/tls-macros.h: Likewise.
32482 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32483 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32484 * sysdeps/sh/tls-macros.h: Likewise.
32485 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32486 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32487 * sysdeps/x86_64/tls-macros.h: Likewise.
32489 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32491 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32492 zero value for regular exit case.
32494 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32495 (__start_context): Preserve zero value for regular exit case.
32497 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32498 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32500 * manual/setjmp.texi (setcontext): Clarify normal process
32501 termination when uc_link is the null pointer.
32502 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32505 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32507 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32508 preprocessor. Test for each exception mask separately.
32510 2012-07-16 Andreas Jaeger <aj@suse.de>
32512 * po/ru.po: Update from translation team.
32514 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32516 * conform/data/string.h-data (NULL): Use macro-constant. Require
32518 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32519 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32520 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32521 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32522 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32524 2012-07-13 Andreas Jaeger <aj@suse.de>
32526 * po/fr.po: Update from translation team.
32528 2012-07-12 Marek Polacek <polacek@redhat.com>
32531 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32532 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32535 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32538 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32539 Change to 2.4.1 where previously 2.4.0.
32540 * sysdeps/unix/sysv/linux/configure: Regenerated.
32541 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32542 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32544 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32545 (__ASSUME_AT_CLKTCK): Remove.
32546 (__ASSUME_AT_PAGESIZE): Likewise.
32547 (__ASSUME_AT_XID): Likewise.
32548 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32549 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32550 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32552 (HAVE_AUX_PAGESIZE): Likewise.
32553 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32554 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32555 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32557 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32561 the temporary buffer used to invoke __gethostbyname2_r,
32562 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32563 host_data / struct gaih_addrtuple.
32564 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32565 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32566 header file nss/nsswitch.h.
32567 * nss/nsswitch.h (global scope): Add definition of implementation
32568 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32569 resolv/nss_dns/dns-host.c).
32571 2012-07-11 Andreas Jaeger <aj@suse.de>
32573 * po/fr.po: Update from translation team.
32575 * po/sv.po: Update from translation team
32576 * po/fr.po: Another update from translation team.
32578 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32580 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32581 for subnormals or multiply small sinh result by itself.
32582 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32585 2012-07-11 David S. Miller <davem@davemloft.net>
32587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32589 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32592 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32593 (INTERNAL_MARK): Shift it here.
32595 2012-07-10 Marek Polacek <polacek@redhat.com>
32598 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32599 libc_cv_asm_global_directive with .globl.
32600 * configure: Regenerated.
32601 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32603 * sysdeps/i386/configure: Regenerated.
32604 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32606 * sysdeps/x86_64/configure: Regenerated.
32607 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32608 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32609 * elf/tst-unique2mod2.c: Likewise.
32610 * elf/tst-unique2mod1.c: Likewise.
32611 * elf/tst-unique1mod2.c: Likewise.
32612 * elf/tst-unique1mod1.c: Likewise.
32613 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32614 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32615 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32616 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32617 * sysdeps/mach/sysdep.h: Likewise.
32618 * sysdeps/i386/sysdep.h: Likewise.
32619 * sysdeps/i386/i386-mcount.S: Likewise.
32620 * sysdeps/x86_64/_mcount.S: Likewise.
32621 * sysdeps/x86_64/sysdep.h: Likewise.
32622 * sysdeps/sh/_mcount.S: Likewise.
32623 * sysdeps/sh/sysdep.h: Likewise.
32624 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32625 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32626 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32627 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32628 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32629 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32630 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32631 * locale/localeinfo.h: Likewise.
32632 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32633 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32635 2012-07-09 Roland McGrath <roland@hack.frob.com>
32638 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32640 * manual/message.texi (The Uniforum approach): Likewise.
32641 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32642 (glibc iconv Implementation): Likewise.
32644 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32647 * math/s_clog.c (__clog): Avoid scaling a value down where that
32648 could result in underflow.
32649 * math/s_clog10.c (__clog10): Likewise.
32650 * math/s_clog10f.c (__clog10f): Likewise.
32651 * math/s_clog10l.c (__clog10l): Likewise.
32652 * math/s_clogf.c (__clogf): Likewise.
32653 * math/s_clogl.c (__clogl): Likewise.
32654 * math/libm-test.inc (clog_test): Add more tests.
32655 (clog10_test): Likewise.
32656 * sysdeps/i386/fpu/libm-test-ulps: Update.
32657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32659 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32662 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32663 by 7 not 8 to examine high bit of fractional part.
32666 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32667 for call to __mcount_internal.
32668 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32669 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32670 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32672 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32675 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32676 approximation for values within 0x1p-13f of an odd multiple of
32678 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32679 exception. Add more tests.
32680 * sysdeps/i386/fpu/libm-test-ulps: Update.
32683 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32684 inputs and return -1 for them. Do not check for +Inf in case not
32685 reachable for +Inf.
32686 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32687 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32688 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32689 and return -1 for them. Do not check for +Inf in case not
32690 reachable for +Inf.
32691 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32693 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32694 and return -1 for them. Do not check for +Inf in case not
32695 reachable for +Inf.
32696 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32697 spurious underflow.
32698 * sysdeps/i386/fpu/libm-test-ulps: Update.
32699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32701 2012-07-06 Mike Frysinger <vapier@gentoo.org>
32703 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32705 2012-07-05 Joseph Myers <joseph@codesourcery.com>
32709 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32710 could result in spurious underflow. Scale down values above
32711 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32712 * math/s_csqrtf.c (__csqrtf): Likewise.
32713 * math/s_csqrtl.c (__csqrtl): Likewise.
32714 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32715 spurious underflow.
32716 * sysdeps/i386/fpu/libm-test-ulps: Update.
32717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32719 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32721 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32723 * catgets/xopen-msg.awk: New file.
32724 * catgets/xopen-msg.sed: Removed.
32726 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32728 * intl/po2test.awk: New file.
32729 * intl/po2test.sed: Removed.
32731 2012-07-04 Joseph Myers <joseph@codesourcery.com>
32734 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32735 or multiply small sinh result by itself.
32736 * math/s_ctanf.c (__ctanf): Likewise.
32737 * math/s_ctanh.c (__ctanh): Likewise.
32738 * math/s_ctanhf.c (__ctanhf): Likewise.
32739 * math/s_ctanhl.c (__ctanhl): Likewise.
32740 * math/s_ctanl.c (__ctanl): Likewise.
32741 * math/libm-test.inc (ctan_test_tonearest): New function.
32742 (ctan_test_towardzero): Likewise.
32743 (ctan_test_downward): Likewise.
32744 (ctan_test_upward): Likewise.
32745 (ctanh_test_tonearest): Likewise.
32746 (ctanh_test_towardzero): Likewise.
32747 (ctanh_test_downward): Likewise.
32748 (ctanh_test_upward): Likewise.
32749 (main): Call these new functions.
32750 * sysdeps/i386/fpu/libm-test-ulps: Update.
32751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32753 2012-07-03 Mike Frysinger <vapier@gentoo.org>
32755 * .gitignore: Delete /ports entry.
32757 2012-07-03 Andreas Jaeger <aj@suse.de>
32759 * po/bg.po: Update from translation team.
32760 * po/cs.po: Likewise.
32761 * po/de.po: Likewise.
32762 * po/hr.po: Likewise.
32763 * po/nl.pl: Likewise.
32764 * po/pl.po: Likewise.
32765 * po/vi.po: Likewise.
32767 2012-07-03 Joseph Myers <joseph@codesourcery.com>
32769 * Makeconfig [!+link] (+link-before-libc): New variable.
32770 [!+link] (+link-after-libc): Likewise.
32771 [!+link] (+link-tests): Likewise.
32772 [!+link] (+link): Define in terms of $(+link-before-libc) and
32773 $(+link-after-libc).
32774 [!+link-static] (+link-static-before-libc): New variable.
32775 [!+link-static] (+link-static-after-libc): Likewise.
32776 [!+link-static] (+link-static-tests): Likewise.
32777 [!+link-static] (+link-static): Define in terms of
32778 $(+link-static-before-libc) and $(+link-static-after-libc).
32779 [build-shared] (link-libc-before-gnulib): New variable.
32780 [build-shared] (link-libc-tests): Likewise.
32781 [build-shared] (link-libc): Define in terms of
32782 $(link-libc-before-gnulib).
32783 [!build-shared] (link-libc-tests): New variable.
32784 (link-libc-static-tests): New variable.
32785 [!gnulib] (gnulib-arch): New variable.
32786 [!gnulib] (gnulib-tests): Likewise.
32787 [!gnulib] (static-gnulib-arch): Likewise.
32788 [!gnulib] (static-gnulib-tests): Likewise.
32789 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32790 Define with "=" instead of ":=".
32791 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32792 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32793 * Rules (binaries-all-notests): New variable.
32794 (binaries-all-tests): Likewise.
32795 (binaries-static-notests): Likewise.
32796 (binaries-static-tests): Likewise.
32797 (binaries-all): Define using $(binaries-all-notests) and
32798 $(binaries-all-tests).
32799 (binaries-static): Define using $(binaries-static-notests) and
32800 $(binaries-static-tests).
32801 (binaries-shared-tests): New variable.
32802 (binaries-shared-notests): Likewise.
32803 (binaries-shared): Remove variable.
32804 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32805 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32806 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32807 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32808 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32809 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32810 * elf/Makefile (sln-modules): New variable.
32811 (extra-objs): Add $(sln-modules:=.o).
32812 (ldconfig-modules): Add static-stubs.
32813 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32814 * elf/static-stubs.c: New file.
32817 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32818 by 7 not 8 to examine high bit of fractional part. Use volatile
32819 variables when splitting into final array of floats if
32820 __FLT_EVAL_METHOD__ != 0.
32821 * math/libm-test.inc (cos_test): Add another test.
32822 (sin_test): Likewise.
32823 * sysdeps/i386/fpu/libm-test-ulps: Update.
32826 * math/libm-test.inc (cosh_test): Add more tests.
32828 * version.h (RELEASE): Set to "development".
32829 (VERSION): Set to "2.16.90".
32831 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32833 * NEWS: Update copyright. Remove last-updated date.
32834 Mention math library bug fixes and timezone data changes.
32835 * README: Mention GNU/Hurd, x32, and HPPA support status.
32837 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32839 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32841 2012-06-27 Andreas Jaeger <aj@suse.de>
32843 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32845 2012-06-25 Andreas Jaeger <aj@suse.de>
32847 * sysdeps/s390/fpu/libm-test-ulps: Update.
32849 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32850 Thomas Schwinge <thomas@codesourcery.com>
32852 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32853 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32854 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32857 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32859 * sysdeps/mach/start.c: Remove file.
32860 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32861 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32862 * sysdeps/sh/init-first.c: Likewise.
32864 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32865 registers for frame unwinding purposes, add CFI directives.
32866 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32867 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32868 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32871 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32872 __fortify_fail returning.
32873 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32875 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32876 sysdeps/sh/____longjmp_chk.S.
32877 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32878 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32879 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32880 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32882 * sysdeps/sh/abort-instr.h: New file.
32883 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32884 process in case exit returns.
32886 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32887 initialize the GOT register before use.
32889 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32890 calculation of ARGC > 4.
32892 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32893 meaningful names to some local labels.
32895 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32896 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32898 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32899 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32900 (__arch_compare_and_exchange_val_16_acq): Likewise.
32901 (__arch_compare_and_exchange_val_32_acq): Likewise.
32902 (atomic_exchange_and_add): Fix gUSA sequence.
32903 (atomic_add): Likewise.
32904 (atomic_add_negative): Likewise.
32905 (atomic_add_zero): Likewise.
32906 (atomic_bit_test_set): Likewise.
32908 2012-06-22 Andreas Schwab <schwab@redhat.com>
32911 * include/link.h (struct link_map): Add l_free_initfini.
32912 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32914 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32915 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32916 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32919 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32921 * configure.in: Use AC_LANG_SOURCE.
32922 * configure: Regenerate.
32924 2012-06-22 Roland McGrath <roland@hack.frob.com>
32926 * configure.in (libc_cv_localstatedir): New substituted variable.
32927 * configure: Regenerated.
32928 * config.make.in (localstatedir): New variable, substituted from
32929 libc_cv_localstatedir.
32930 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32931 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32932 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32933 * sysdeps/gnu/configure: Regenerated.
32935 2012-06-21 Jeff Law <law@redhat.com>
32938 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32939 free. Simplify list management for _LIBC case.
32941 2012-06-21 Joseph Myers <joseph@codesourcery.com>
32944 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32945 Clear sign bit of 64-bit integer value before comparing against
32948 * sysdeps/mach/configure: Regenerated.
32950 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32953 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32955 2012-06-21 Jeff Law <law@redhat.com>
32958 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32959 uint16_t for elements in the "seen" array to avoid char overflows.
32960 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32961 * elf/dl-open.c (dl_open_worker): Likewise.
32963 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32965 * scripts/list-sources.sh: Scan PORTS for translations.
32966 * po/libc.pot: Regenerated.
32968 2012-06-21 Andreas Jaeger <aj@suse.de>
32971 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32973 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32974 * bits/byteswap-16.h (__bswap_16): Likewise.
32975 * bits/byteswap.h (__bswap_constant_16): Likewise.
32977 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32980 * sysdeps/i386/fpu_control.h: Removed.
32981 * sysdeps/x86_64/fpu_control.h: Moved to ...
32982 * sysdeps/x86/fpu_control.h: Here.
32984 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32985 (_FPU_SETCW): Likewise.
32987 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32990 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32991 * sysdeps/x86/fpu/bits/mathinline.h: This.
32992 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32996 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32997 functions if __x86_64__ is defined.
32999 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33001 * string/endian.h: Add !__ASSEMBLER__ condition for including
33002 conversion interfaces.
33004 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33007 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33008 of ABS(x) in calculating zero to negative powers other than odd
33010 * math/libm-test.inc (pow_test): Add more tests.
33012 2012-06-15 Andreas Jaeger <aj@suse.de>
33014 * manual/contrib.texi (Contributors): Update entry of Liubov
33015 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33018 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33020 * string/string.h: Add __wur to GNU version of strerror_r.
33022 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33025 * string/Makefile (tests): Add tst-strtok_r.
33026 * string/tst-strtok_r.c: New file.
33027 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33028 RAX_LP/RDX_LP on SAVE_PTR.
33030 2012-06-14 Roland McGrath <roland@hack.frob.com>
33032 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33034 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33036 * libm_test.inc (csqrt_test): Allow more spurious underflow
33038 (j0_test): Likewise.
33039 (j1_test): Likewise.
33040 (y0_test): Likewise.
33041 (y1_test): Likewise.
33043 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33045 * po/Makefile (libc.pot): Use UTF-8 charset.
33047 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33050 Suppress sign-conversion warning from FD_SET.
33051 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33052 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33053 not unsigned long int.
33054 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33056 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33060 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33061 __extern_always_inline instead of __extern_inline.
33062 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33063 (__signbit): Likewise.
33064 (__signbitl): Support C++ namespace.
33065 (lrintf): New inline function.
33067 (llrintf): Likewise.
33068 (llrint): Likewise.
33078 (floorf): Likewise.
33079 (nearbyint): Likewise.
33080 (nearbyintf): Likewise.
33082 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33084 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33085 non-default versions.
33087 2012-06-11 Roland McGrath <roland@hack.frob.com>
33090 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33092 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33094 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33095 (FE_UPWARD, FE_DOWNWARD): Don't define.
33096 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33097 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33099 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33101 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33102 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33104 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33106 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33107 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33108 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33109 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33111 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33114 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33115 * sysdeps/i386/fpu/Implies: New file.
33116 * sysdeps/x86_64/fpu/Implies: Likewise.
33117 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33118 * sysdeps/x86/fpu/bits/fenv.h: This.
33120 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33123 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33126 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33127 character 0xffff that matches the last element of the
33130 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33132 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33135 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33137 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33138 values higher than 25.6283.
33140 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33142 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33143 subnormal exponent extraction and add some __builtin_expect.
33144 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33145 Fix for subnormal mantissa calculation.
33147 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33149 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33150 cpu2 is -1 and errno is not ENOSYS.
33152 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33155 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33156 * sysdeps/x86/bits/string.h: This.
33157 * sysdeps/x86_64/bits/string.h: Removed.
33159 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33160 if not compiling for x86-64, but compiling for >= i486.
33162 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33163 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33165 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33166 New macro from Linux kernel 3.4.0.
33167 (FP_XSTATE_MAGIC2): Likewise.
33168 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33169 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33170 (struct _fpx_sw_bytes): New struct.
33171 (struct _xsave_hdr): Likewise.
33172 (struct _ymmh_state): Likewise.
33173 (struct _xstate): Likewise.
33175 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33176 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33177 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33178 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33179 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33180 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33182 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33183 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33184 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33185 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33186 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33187 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33189 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33192 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33193 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33194 (sysdep_headers): Include sys/platform/ppc.h.
33195 * sysdeps/powerpc/test-gettimebase.c: Test for
33196 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33197 * manual/Makefile (appendices): Include platform.texi.
33198 * manual/contrib.texi (Contributors): Update @node pointers.
33199 * manual/maint.texi (Maintenance): Likewise.
33200 (Platform): New node.
33201 * manual/platform.texi: New file. Document the new features.
33203 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33204 Jakub Jelinek <jakub@redhat.com>
33207 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33208 where __builtin_expect is unavailable.
33210 2012-06-03 David S. Miller <davem@davemloft.net>
33212 * stdlib/longlong.h: Updated from GCC.
33214 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33217 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33218 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33221 (GLIBC_2.16): Likewise.
33223 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33225 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33227 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33230 (default-abi): New variable.
33231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33232 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33234 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33236 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33238 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33241 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33242 definition. Document in comment.
33244 2012-06-01 David S. Miller <davem@davemloft.net>
33246 * stdlib/longlong.h: Updated from GCC.
33248 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33251 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33252 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33253 sys/debugreg.h sys/io.h here.
33254 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33255 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33257 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33258 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33259 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33260 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33261 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33262 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33264 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33265 Define only if __x86_64__ is defined.
33267 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33270 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33271 Use int64_t for variable i.
33272 * math/libm-test.inc (fmod_test): Add more tests.
33274 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33275 z computation is not scheduled after fetestexcept.
33276 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33277 Use math_force_eval instead of asm to ensure calculation scheduled
33278 before exception test.
33279 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33280 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33282 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33284 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33285 computation is not scheduled after fetestexcept.
33287 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33290 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33291 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33293 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33295 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33296 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33298 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33301 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33303 (__WCHAR_MIN): Support __WORDSIZE == 64.
33304 (__WCHAR_MAX): Likewise.
33306 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33307 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33310 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33311 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33314 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33315 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33317 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33318 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33320 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33321 Defined to 1 if __x86_64__ isn't defined.
33322 (_STAT_VER_LINUX_OLD): New.
33323 (st_atime): Remove duplicate.
33324 (st_mtime): Likewise.
33325 (st_ctime): Likewise.
33327 2012-05-31 David S. Miller <davem@davemloft.net>
33329 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33332 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33334 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33338 * elf/dl-reloc.c: Include <_itoa.h>.
33339 (_dl_reloc_bad_type): Remove use of INTUSE.
33340 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33341 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33342 * stdio-common/psiginfo.c (psiginfo): Likewise.
33343 * stdio-common/psignal.c (psignal): Likewise.
33344 * string/strsignal.c (strsignal): Likewise.
33345 * include/signal.h (_sys_siglist): Declare hidden proto.
33346 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33347 INTVARDEF with libc_hidden_data_def.
33348 * stdio-common/itoa-udigits.c: Likewise.
33349 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33350 (_itoa_lower_digits_internal): Remove declaration.
33351 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33352 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33353 (_sys_sigabbrev_internal): Remove aliases.
33354 (_sys_siglist): Define hidden alias.
33356 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33361 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33364 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33365 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33367 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33368 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33369 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33370 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33371 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33372 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33374 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33375 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33376 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33378 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33386 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33387 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33388 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33390 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33391 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33392 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33393 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33394 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33395 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33397 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33398 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33400 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33401 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33403 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33404 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33405 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33407 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33408 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33410 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33412 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33413 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33414 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33416 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33418 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33420 2012-05-31 Joseph Myers <joseph@codesourcery.com>
33422 * math/math.h (M_El): Use two more decimal places.
33423 (M_LOG2El): Likewise.
33424 (M_LOG10El): Likewise.
33425 (M_LN2l): Likewise.
33426 (M_LN10l): Likewise.
33428 (M_PI_2l): Likewise.
33429 (M_PI_4l): Likewise.
33430 (M_1_PIl): Likewise.
33431 (M_2_PIl): Likewise.
33432 (M_2_SQRTPIl): Likewise.
33433 (M_SQRT2l): Likewise.
33434 (M_SQRT1_2l): Likewise.
33436 2012-05-31 David S. Miller <davem@davemloft.net>
33438 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33439 values between float registers.
33440 * sysdeps/sparc/sparc64/memset.S: Likewise.
33441 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33443 2012-05-31 Mike Frysinger <vapier@gentoo.org>
33445 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33446 -D_FORTIFY_SOURCE=1.
33447 (CPPFLAGS-tst-longjmp_chk.c): Define.
33448 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33449 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33450 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33451 CFLAGS-tst-wchar-h.c.
33453 2012-05-31 Marek Polacek <polacek@redhat.com>
33456 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33457 __endmntent_internal): Remove declaration.
33458 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33459 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33460 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33462 2012-05-30 David S. Miller <davem@davemloft.net>
33464 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33465 (___Q_simulate_exceptions): Use real FP ops rather than writing
33467 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33470 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33473 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33474 * sysdeps/x86/bits/xtitypes.h: This.
33476 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33477 * sysdeps/x86/bits/wordsize.h: This.
33479 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33480 * sysdeps/x86/bits/huge_vall.h: This.
33482 * sysdeps/i386/bits/select.h: Removed.
33483 * sysdeps/x86_64/bits/select.h: Renamed to ...
33484 * sysdeps/x86/bits/select.h: This.
33486 * sysdeps/i386/bits/setjmp.h: Removed.
33487 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33488 * sysdeps/x86/bits/setjmp.h: This.
33490 * sysdeps/i386/bits/mathdef.h: Removed.
33491 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33492 * sysdeps/x86/bits/mathdef.h: This.
33494 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33497 * include/sys/socket.h (__connect_internal)
33498 (__libc_sa_len_internal): Remove declaration.
33499 (__connect, __libc_sa_len): Declare hidden_proto.
33500 (SA_LEN): Remove use of INTUSE.
33501 * socket/connect.c: Add libc_hidden_def.
33502 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33503 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33504 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33506 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33507 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33508 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33509 of adding _internal alias.
33511 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33514 * sysdeps/i386/bits/link.h: Removed.
33515 * sysdeps/i386/bits/linkmap.h: Likewise.
33516 * sysdeps/x86_64/bits/link.h: Renamed to ...
33517 * sysdeps/x86/bits/link.h: This.
33518 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33519 * sysdeps/x86/bits/linkmap.h: This.
33521 * sysdeps/i386/bits/endian.h: Removed.
33522 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33523 * sysdeps/x86/bits/endian.h: This.
33525 * sysdeps/i386/bits/byteswap.h: Removed.
33526 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33527 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33528 * sysdeps/x86/bits/byteswap.h: This.
33529 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33530 * sysdeps/x86/bits/byteswap-16.h: This.
33531 * sysdeps/i386/Implies: Add x86.
33532 * sysdeps/x86_64/Implies: Likewise.
33534 2012-05-30 David S. Miller <davem@davemloft.net>
33536 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33537 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33538 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33539 (FP_TRAPPING_EXCEPTIONS): Define.
33540 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33541 (FP_TRAPPING_EXCEPTIONS): Define.
33542 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33543 subnormals only when inexact has been signalled or underflow
33544 exceptions are enabled.
33545 (_FP_PACK_CANONICAL): Likewise.
33547 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33550 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33551 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33553 2012-05-30 Richard Henderson <rth@twiddle.net>
33555 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33556 with #ifndef NOT_IN_libc.
33558 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33559 marked to avoid plt entry.
33561 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33564 * Makeconfig (default-abi): New macro.
33565 (abi-includes): Likewise.
33566 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33567 $(abi-$(default-abi)-lib-soname) for soname if defined.
33568 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33570 * Makefile (installed-stubs): Likewise.
33571 * include/stubs-biarch.h: Removed.
33572 * scripts/lib-names.awk: Only handle one library at a time.
33573 * scripts/soversions.awk: Remove WORDSIZE support.
33574 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33576 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33578 (syscall-list-default-condition): Likewise.
33579 (syscall-list-default-condition): Likewise.
33580 (syscall-list-includes): Likewise.
33581 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33582 syscall-list-* with abi-*. Handle undefined abi-variants.
33583 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33584 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33585 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33586 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33587 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33588 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33590 (syscall-list-32-options): Likewise.
33591 (syscall-list-32-condition): Likewise.
33592 (syscall-list-64-options): Likewise.
33593 (syscall-list-64-condition): Likewise.
33594 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33596 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33599 (abi-64-ld-soname): New macro.
33600 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33601 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33604 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33605 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33607 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33609 * sysdeps/unix/sysv/linux/kernel-features.h
33610 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33611 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33612 include <kernel-features.h>.
33613 [!__NR_ftruncate64]: Remove conditional code.
33614 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33615 [__NR_ftruncate64]: Make code unconditional.
33616 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33617 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33618 include <kernel-features.h>.
33619 [!__NR_ftruncate64]: Remove conditional code.
33620 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33621 [__NR_ftruncate64]: Make code unconditional.
33622 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33624 include <kernel-features.h>.
33625 [!__NR_ftruncate64]: Remove conditional code.
33626 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33627 [__NR_ftruncate64]: Make code unconditional.
33628 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33630 include <kernel-features.h>.
33631 [!__NR_ftruncate64]: Remove conditional code.
33632 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33633 [__NR_ftruncate64]: Make code unconditional.
33634 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33636 * configure.in (libc_cv_fpie): Weaken to a compile test using
33637 LIBC_TRY_CC_OPTION.
33638 * configure: Regenerated.
33640 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33655 2012-05-27 David S. Miller <davem@davemloft.net>
33657 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33659 (__Q_simulate_exceptions): Return void. Change to simulate
33660 exceptions by writing into the %fsr.
33661 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33662 (__Qp_handle_exceptions): Likewise.
33664 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33665 __Qp_handle_exceptions.
33666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33667 __Qp_handle_exceptions.
33668 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33669 as unused and give dummy FP_RND_NEAREST initializer.
33670 (FP_INHIBIT_RESULTS): Define.
33671 (___Q_simulate_exceptions): Update declaration.
33672 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33674 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33675 as unused and give dummy FP_RND_NEAREST initializer.
33676 (__Qp_handle_exceptions): Update declaration.
33677 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33680 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33682 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33683 the temporary FPU control word.
33684 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33685 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33686 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33687 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33688 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33689 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33690 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33691 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33692 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33693 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33694 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33696 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33698 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33701 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33703 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33704 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33705 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33706 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33708 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33709 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33712 2012-05-27 Ulrich Drepper <drepper@gmail.com>
33714 * po/h.po: Update from translation team.
33716 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33718 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33720 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33721 handling of denormals.
33722 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33723 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33724 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33725 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33726 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33727 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33728 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33731 2012-05-26 Marek Polacek <polacek@redhat.com>
33734 * math/libm-test.inc (fma_test): Don't always expect underflow
33737 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33740 * elf/tst-execstack.c: Include stackinfo.h.
33741 (do_test): Adjust test case to ensure that pthread_getattr_np
33742 behaviour remains the same after marking stack executable.
33744 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33746 * sysdeps/unix/sysv/linux/kernel-features.h
33747 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33748 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33750 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33751 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33752 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33754 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33755 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33757 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33759 * configure.in: Define the default includes to being none.
33760 * configure: Regenerated.
33762 2012-05-25 Roland McGrath <roland@hack.frob.com>
33764 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33765 * sysdeps/x86_64/setjmp.S: Likewise.
33766 * sysdeps/i386/bsd-setjmp.S: Likewise.
33767 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33768 * sysdeps/i386/setjmp.S: Likewise.
33769 * sysdeps/i386/__longjmp.S: Likewise.
33770 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33771 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33773 * include/stap-probe.h: New file.
33774 * configure.in: Handle --enable-systemtap.
33775 * configure: Regenerated.
33776 * config.h.in (USE_STAP_PROBE): New #undef.
33777 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33778 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33779 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33781 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33784 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33785 to 2.4.0 where earlier.
33786 * sysdeps/unix/sysv/linux/configure: Regenerated.
33787 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33788 <kernel-features.h>.
33789 [__ASSUME_32BITUIDS]: Make code unconditional.
33790 [!__ASSUME_32BITUIDS]: Remove conditional code.
33791 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33792 <kernel-features.h>.
33793 [__ASSUME_32BITUIDS]: Make code unconditional.
33794 [!__ASSUME_32BITUIDS]: Remove conditional code.
33795 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33796 [__ASSUME_32BITUIDS]: Make code unconditional.
33797 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33798 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33799 <kernel-features.h>.
33800 [__ASSUME_32BITUIDS]: Make code unconditional.
33801 [!__ASSUME_32BITUIDS]: Remove conditional code.
33802 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33803 <kernel-features.h>.
33804 [__ASSUME_32BITUIDS]: Make code unconditional.
33805 [!__ASSUME_32BITUIDS]: Remove conditional code.
33806 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33807 <kernel-features.h>.
33808 [__ASSUME_32BITUIDS]: Make code unconditional.
33809 [!__ASSUME_32BITUIDS]: Remove conditional code.
33810 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33811 <kernel-features.h>.
33812 [__ASSUME_32BITUIDS]: Make code unconditional.
33813 [!__ASSUME_32BITUIDS]: Remove conditional code.
33814 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33815 <kernel-features.h>.
33816 [__ASSUME_32BITUIDS]: Make code unconditional.
33817 [!__ASSUME_32BITUIDS]: Remove conditional code.
33818 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33819 <kernel-features.h>.
33820 [__ASSUME_32BITUIDS]: Make code unconditional.
33821 [!__ASSUME_32BITUIDS]: Remove conditional code.
33822 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33823 <kernel-features.h>.
33824 [__ASSUME_32BITUIDS]: Make code unconditional.
33825 [!__ASSUME_32BITUIDS]: Remove conditional code.
33826 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33827 <kernel-features.h>.
33828 [__ASSUME_32BITUIDS]: Make code unconditional.
33829 [!__ASSUME_32BITUIDS]: Remove conditional code.
33830 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33831 <kernel-features.h>.
33832 [__ASSUME_32BITUIDS]: Make code unconditional.
33833 [!__ASSUME_32BITUIDS]: Remove conditional code.
33834 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33835 <kernel-features.h>.
33836 [__ASSUME_32BITUIDS]: Make code unconditional.
33837 [!__ASSUME_32BITUIDS]: Remove conditional code.
33838 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33839 <kernel-features.h>.
33840 [__NR_setresgid] (__setresgid): Do not declare.
33841 [__ASSUME_32BITUIDS]: Make code unconditional.
33842 [!__ASSUME_32BITUIDS]: Remove conditional code.
33843 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33844 <kernel-features.h>.
33845 [__NR_setresuid] (__setresuid): Do not declare.
33846 [__ASSUME_32BITUIDS]: Make code unconditional.
33847 [!__ASSUME_32BITUIDS]: Remove conditional code.
33848 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33849 <kernel-features.h>.
33850 [__ASSUME_32BITUIDS]: Make code unconditional.
33851 [!__ASSUME_32BITUIDS]: Remove conditional code.
33852 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33853 <kernel-features.h>.
33854 [__ASSUME_32BITUIDS]: Make code unconditional.
33855 [!__ASSUME_32BITUIDS]: Remove conditional code.
33856 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33857 <kernel-features.h>.
33858 [__ASSUME_32BITUIDS]: Make code unconditional.
33859 [!__ASSUME_32BITUIDS]: Remove conditional code.
33860 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33861 <kernel-features.h>.
33862 [__ASSUME_32BITUIDS]: Make code unconditional.
33863 [!__ASSUME_32BITUIDS]: Remove conditional code.
33864 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33865 <kernel-features.h>.
33866 [__ASSUME_32BITUIDS]: Make code unconditional.
33867 [!__ASSUME_32BITUIDS]: Remove conditional code.
33868 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33869 <kernel-features.h>.
33870 [__ASSUME_32BITUIDS]: Make code unconditional.
33871 [!__ASSUME_32BITUIDS]: Remove conditional code.
33872 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33873 <kernel-features.h>.
33874 [__ASSUME_32BITUIDS]: Make code unconditional.
33875 [!__ASSUME_32BITUIDS]: Remove conditional code.
33876 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33877 <kernel-features.h>.
33878 [__ASSUME_32BITUIDS]: Make code unconditional.
33879 [!__ASSUME_32BITUIDS]: Remove conditional code.
33880 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33881 <kernel-features.h>.
33882 [__ASSUME_32BITUIDS]: Make code unconditional.
33883 [!__ASSUME_32BITUIDS]: Remove conditional code.
33884 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33885 <kernel-features.h>.
33886 [__ASSUME_32BITUIDS]: Make code unconditional.
33887 [!__ASSUME_32BITUIDS]: Remove conditional code.
33888 * sysdeps/unix/sysv/linux/kernel-features.h
33889 (__ASSUME_SETRESUID_SYSCALL): Remove.
33890 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33891 (__ASSUME_32BITUIDS): Likewise.
33892 (__ASSUME_LDT_WORKS): Likewise.
33893 (__ASSUME_O_DIRECTORY): Likewise.
33894 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33895 architecture but not kernel version.
33896 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33897 (__ASSUME_MMAP2_SYSCALL): Likewise.
33898 (__ASSUME_STAT64_SYSCALL): Likewise.
33899 (__ASSUME_IPC64): Likewise.
33900 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33901 <kernel-features.h>.
33902 [__ASSUME_32BITUIDS]: Make code unconditional.
33903 [!__ASSUME_32BITUIDS]: Remove conditional code.
33904 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33905 <kernel-features.h>.
33906 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33907 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33908 132096]: Remove conditional code.
33909 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33910 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33911 <kernel-features.h>.
33912 [__ASSUME_32BITUIDS]: Make code unconditional.
33913 [!__ASSUME_32BITUIDS]: Remove conditional code.
33914 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33915 <kernel-features.h>.
33916 [__ASSUME_32BITUIDS]: Make code unconditional.
33917 [!__ASSUME_32BITUIDS]: Remove conditional code.
33918 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33919 <kernel-features.h>.
33920 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33922 (__setresgid): Do not declare.
33923 [__ASSUME_32BITUIDS]: Make code unconditional.
33924 [!__ASSUME_32BITUIDS]: Remove conditional code.
33925 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33926 <kernel-features.h>.
33927 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33929 (__setresuid): Do not declare.
33930 [__ASSUME_32BITUIDS]: Make code unconditional.
33931 [!__ASSUME_32BITUIDS]: Remove conditional code.
33932 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
33937 <kernel-features.h>.
33938 [__ASSUME_32BITUIDS]: Make code unconditional.
33939 [!__ASSUME_32BITUIDS]: Remove conditional code.
33941 2012-05-25 Richard Henderson <rth@twiddle.net>
33943 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33944 dl_hwcap to ifunc resolver.
33945 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33947 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33948 dl_hwcap to ifunc resolver.
33949 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33951 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33954 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33955 for |x| <= 2**-26, not 2**-57.
33956 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33959 2012-05-24 Jeff Law <law@redhat.com>
33961 * stdio-common/Makefile (tests): Add bug25.
33962 * stdio-common/bug25.c: New test.
33964 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33967 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33968 multiple of MALLOC_ALIGNMENT in size.
33969 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33971 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33973 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33975 (FILENAME_MAX): Use macro-int-constant.
33976 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33977 (_IOFBF): Use macro-int-constant.
33978 (_IOLBF): Likewise.
33979 (_IONBF): Likewise.
33980 (SEEK_CUR): Likewise.
33981 (SEEK_END): Likewise.
33982 (SEEK_SET): Likewise.
33983 (TMP_MAX): Likewise.
33984 (EOF): Use macro-int-constant. Require < 0.
33985 (NULL): Use macro-constant. Require == 0.
33986 (stdin): Require type to be FILE *.
33987 (stdout): Likewise.
33988 (stderr): Likewise.
33989 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33990 macro-int-constant.
33991 (EXIT_SUCCESS): Likewise.
33992 (NULL): Use macro-constant. Require == 0.
33993 (RAND_MAX): Use macro-int-constant.
33994 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33995 [C99-based standards] (strtof): Require function.
33996 [C99-based standards] (strtold): Likewise.
33997 [C99-based standards] (strtoll): Likewise.
33998 [C99-based standards] (strtoull): Likewise.
33999 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34000 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34001 [ISO || ISO99 || ISO11] (math.h): Likewise.
34002 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34003 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34004 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34006 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34009 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34010 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34011 * intl/dgettext.c (DCGETTEXT): Likewise.
34012 * intl/gettext.c (DCGETTEXT): Likewise.
34013 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34014 * posix/regex_internal.h (gettext): Likewise.
34015 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34016 Remove declaration.
34017 * include/argz.h (__argz_count_internal)
34018 (__argz_stringify_internal): Remove declaration.
34019 (__argz_count, __argz_stringify): Declare hidden proto.
34020 * intl/dcgettext.c: Remove use of INTDEF.
34021 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34022 * string/argz-stringify.c: Likewise.
34023 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34024 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34025 Declare hidden proto.
34026 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34027 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34028 Declare hidden proto.
34029 * include/stdio.h (__asprintf_internal): Don't declare.
34030 (__asprintf): Don't define as macro. Declare hidden proto.
34031 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34032 (__fsetlocking): Declare hidden proto.
34033 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34034 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34036 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34037 (_IO_setlinebuf): Remove use of INTUSE.
34038 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34039 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34040 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34041 Remove declaration.
34042 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34043 (_IO_do_flush): Remove use of INTUSE.
34044 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34045 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34046 (_IO_adjust_column, _IO_least_wmarker)
34047 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34048 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34049 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34050 (_IO_default_doallocate, _IO_wdefault_doallocate)
34051 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34052 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34053 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34054 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34055 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34056 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34057 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34058 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34059 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34060 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34061 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34062 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34063 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34065 (_IO_flush_all_internal, _IO_adjust_column_internal)
34066 (_IO_default_uflow_internal, _IO_default_finish_internal)
34067 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34068 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34069 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34070 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34071 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34072 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34073 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34074 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34075 (_IO_file_close_internal, _IO_file_close_it_internal)
34076 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34077 (_IO_file_init_internal, _IO_file_attach_internal)
34078 (_IO_file_fopen_internal, _IO_file_read_internal)
34079 (_IO_file_sync_internal, _IO_file_seek_internal)
34080 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34081 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34082 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34083 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34084 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34085 (_IO_list_all_internal, _IO_link_in_internal)
34086 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34087 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34088 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34089 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34090 (_IO_do_write_internal, _IO_padn_internal)
34091 (_IO_getline_info_internal, _IO_getline_internal)
34092 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34093 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34094 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34095 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34096 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34097 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34098 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34099 with libc_hidden_ver, remove use of INTUSE.
34100 * libio/genops.c: Likewise.
34101 * libio/freopen.c: Likewise.
34102 * libio/freopen64.c: Likewise.
34103 * libio/iofclose.c: Likewise.
34104 * libio/iofdopen.c: Likewise.
34105 * libio/iofflush.c: Likewise.
34106 * libio/iofflush_u.c: Likewise.
34107 * libio/iofgets.c: Likewise.
34108 * libio/iofgets_u.c: Likewise.
34109 * libio/iofopen.c: Likewise.
34110 * libio/iofopncook.c: Likewise.
34111 * libio/iofread.c: Likewise.
34112 * libio/iofread_u.c: Likewise.
34113 * libio/ioftell.c: Likewise.
34114 * libio/iofwrite.c: Likewise.
34115 * libio/iogetline.c: Likewise.
34116 * libio/iogets.c: Likewise.
34117 * libio/iogetwline.c: Likewise.
34118 * libio/iopadn.c: Likewise.
34119 * libio/iopopen.c: Likewise.
34120 * libio/ioseekoff.c: Likewise.
34121 * libio/ioseekpos.c: Likewise.
34122 * libio/iosetbuffer.c: Likewise.
34123 * libio/iosetvbuf.c: Likewise.
34124 * libio/ioungetc.c: Likewise.
34125 * libio/ioungetwc.c: Likewise.
34126 * libio/iovdprintf.c: Likewise.
34127 * libio/iovsprintf.c: Likewise.
34128 * libio/iovsscanf.c: Likewise.
34129 * libio/memstream.c: Likewise.
34130 * libio/obprintf.c: Likewise.
34131 * libio/oldfileops.c: Likewise.
34132 * libio/oldiofclose.c: Likewise.
34133 * libio/oldiofdopen.c: Likewise.
34134 * libio/oldiofopen.c: Likewise.
34135 * libio/oldiopopen.c: Likewise.
34136 * libio/oldstdfiles.c: Likewise.
34137 * libio/putc.c: Likewise.
34138 * libio/setbuf.c: Likewise.
34139 * libio/setlinebuf.c: Likewise.
34140 * libio/stdfiles.c: Likewise.
34141 * libio/strops.c: Likewise.
34142 * libio/vasprintf.c: Likewise.
34143 * libio/vscanf.c: Likewise.
34144 * libio/vsnprintf.c: Likewise.
34145 * libio/vswprintf.c: Likewise.
34146 * libio/wfiledoalloc.c: Likewise.
34147 * libio/wfileops.c: Likewise.
34148 * libio/wgenops.c: Likewise.
34149 * libio/wmemstream.c: Likewise.
34150 * libio/wstrops.c: Likewise.
34151 * libio/__fpurge.c: Likewise.
34152 * libio/__fsetlocking.c: Likewise.
34153 * assert/assert.c: Likewise.
34154 * debug/fgets_chk.c: Likewise.
34155 * debug/fgets_u_chk.c: Likewise.
34156 * debug/fread_chk.c: Likewise.
34157 * debug/fread_u_chk.c: Likewise.
34158 * debug/gets_chk.c: Likewise.
34159 * debug/obprintf_chk.c: Likewise.
34160 * debug/vasprintf_chk.c: Likewise.
34161 * debug/vdprintf_chk.c: Likewise.
34162 * debug/vsnprintf_chk.c: Likewise.
34163 * debug/vsprintf_chk.c: Likewise.
34164 * malloc/mtrace.c: Likewise.
34165 * misc/error.c: Likewise.
34166 * misc/syslog.c: Likewise.
34167 * stdio-common/asprintf.c: Likewise.
34168 * stdio-common/fxprintf.c: Likewise.
34169 * stdio-common/getw.c: Likewise.
34170 * stdio-common/isoc99_fscanf.c: Likewise.
34171 * stdio-common/isoc99_scanf.c: Likewise.
34172 * stdio-common/isoc99_vfscanf.c: Likewise.
34173 * stdio-common/isoc99_vscanf.c: Likewise.
34174 * stdio-common/isoc99_vsscanf.c: Likewise.
34175 * stdio-common/printf-prs.c: Likewise.
34176 * stdio-common/printf_fp.c: Likewise.
34177 * stdio-common/printf_fphex.c: Likewise.
34178 * stdio-common/printf_size.c: Likewise.
34179 * stdio-common/putw.c: Likewise.
34180 * stdio-common/scanf.c: Likewise.
34181 * stdio-common/sprintf.c: Likewise.
34182 * stdio-common/tmpfile.c: Likewise.
34183 * stdio-common/vfprintf.c: Likewise.
34184 * stdio-common/vfscanf.c: Likewise.
34185 * stdlib/strfmon_l.c: Likewise.
34186 * sunrpc/openchild.c: Likewise.
34187 * sunrpc/xdr_stdio.c: Likewise.
34188 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34189 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34191 2012-05-24 Roland McGrath <roland@hack.frob.com>
34193 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34195 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34196 in the third column, to generate for the shared library an IFUNC
34197 that uses _dl_vdso_vsym.
34198 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34199 * Makeconfig (object-suffixes-noshared): New variable.
34201 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34202 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34203 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34204 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34207 * include/sys/time.h (__gettimeofday): Remove macro.
34208 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34209 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34211 (__gettimeofday): Add libc_hidden_def.
34212 (gettimeofday): Add libc_hidden_weak.
34213 * sysdeps/mach/gettimeofday.c: Likewise.
34214 * sysdeps/posix/gettimeofday.c: Likewise.
34215 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34216 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34217 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34218 (__gettimeofday_internal): Remove strong_alias.
34219 (__gettimeofday): Add libc_hidden_def.
34220 (gettimeofday): Add libc_hidden_weak.
34221 * sysdeps/unix/syscalls.list (gettimeofday):
34222 Remove __gettimeofday_internal alias.
34224 2012-05-24 Daniel Jacobowitz <drow@false.org>
34225 H.J. Lu <hongjiu.lu@intel.com>
34228 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34229 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34230 (largebin_index_32_big): New.
34231 (largebin_index): Use it for 16-byte alignment.
34232 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34233 correction with front_misalign.
34235 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34263 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34264 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34266 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34270 * math/libm-test.inc (exp_test): Add test from bug 14036.
34271 (pow_test): Add test from bug 10846.
34273 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34275 (special_function): Do not include flags in test name.
34276 (parse_args): Likewise.
34277 * sysdeps/i386/fpu/libm-test-ulps: Update.
34278 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34279 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34280 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34283 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34285 * math/libm-test.inc ("Philosophy"): Update comment about
34287 (UNDERFLOW_EXCEPTION): New macro.
34288 (UNDERFLOW_EXCEPTION_OK): Likewise.
34289 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34290 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34291 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34292 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34293 (INVALID_EXCEPTION_OK): Update value.
34294 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34295 (OVERFLOW_EXCEPTION_OK): Likewise.
34296 (IGNORE_ZERO_INF_SIGN): Likewise.
34297 (test_exceptions): Handle underflow exceptions.
34298 (acos_test): Update for underflow exception expectations.
34299 (cexp_test): Likewise.
34300 (clog_test): Likewise.
34301 (clog10_test): Likewise.
34302 (csqrt_test): Likewise.
34303 (ctan_test): Likewise.
34304 (ctanh_test): Likewise.
34305 (exp_test): Likewise.
34306 (exp10_test): Likewise.
34307 (exp2_test): Likewise.
34308 (expm1_test): Likewise.
34309 (fma_test): Likewise.
34310 (j0_test): Likewise.
34311 (jn_test): Likewise.
34312 (nexttoward_test): Likewise.
34313 (pow_test): Likewise.
34314 (scalbn_test): Likewise.
34315 (scalbln_test): Likewise.
34316 (tan_test): Likewise.
34317 (y1_test): Likewise.
34318 * sysdeps/i386/fpu/libm-test-ulps: Update.
34319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34321 2012-05-23 David S. Miller <davem@davemloft.net>
34323 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34324 (__libc_sigaction): Remove unused local variables.
34326 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34328 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34330 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34332 mktime: avoid signed integer overflow
34333 * time/mktime.c (__mktime_internal): Do not mishandle the case
34334 where diff == INT_MIN.
34336 mktime: simplify computation of average
34337 * time/mktime.c (ranged_convert): Use new time_t_avg function
34338 instead of rolling our own (probably-slower) code.
34340 mktime: do not assume signed right shift propagates sign bit
34341 * time/mktime.c (isdst_differ): New static function.
34342 (__mktime_internal): No need to normalize tm_isdst now.
34343 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34346 mktime: merge another wrapv change from gnulib
34347 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34348 from some compilers.
34350 mktime: remove incorrect attempt at unusual arithmetics
34351 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34352 The code didn't really work on such machines anyway.
34353 (TYPE_MINIMUM): Assume two's complement.
34354 (twos_complement_arithmetic): Verify that long_int and time_t
34355 are two's complement (or unsigned, in the latter case).
34357 mktime: check signed shifts on long_int and time_t, too
34358 * time/mktime.c (SHR): Check that shifts work as desired
34359 on the types long_int and time_t too, as SHR is used on
34362 mktime: do not assume 'long' is wide enough
34363 * time/mktime.c (verify): Move decl up.
34364 (long_int): New type.
34365 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34366 to remove assumption in the code that 'long' is wide enough to
34367 store year values. This assumption is not true on x32 and on
34368 some non-glibc platforms.
34370 mktime: merge wrapv change from gnulib
34371 * time/mktime.c (WRAPV): New macro.
34372 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34373 (guess_time_tm, __mktime_internal): Do not assume that signed
34374 integer overflow wraps around; modern compilers generate code
34375 where this assumption is no longer valid.
34377 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34379 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34380 Replace "jmp L(pseudo_end)" with "ret".
34381 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34384 2012-05-23 Andreas Jaeger <aj@suse.de>
34386 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34387 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34389 2012-05-23 Andreas Jaeger <aj@suse.de>
34390 Maximilian Attems <max@stro.at>
34392 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34395 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34397 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34398 code so that pseudo_end is just ret and the stack pointer is
34399 correct also for static library in error case.
34401 2012-05-23 Joseph Myers <joseph@codesourcery.com>
34403 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34404 move to syscalls.list.
34405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34410 * manual/install.texi (Running make install): Do not mention Linux
34411 kernel version for which pt_chown is not needed.
34412 (Linux): Do not mention problems with nscd with 2.0 kernels.
34413 * INSTALL: Regenerated.
34415 2012-05-23 Andreas Jaeger <aj@suse.de>
34417 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34418 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34420 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34421 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34422 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34423 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34424 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34425 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34426 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34427 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34428 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34429 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34430 * sysdeps/unix/sysv/linux/bits/in.h
34431 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34433 2012-05-22 Roland McGrath <roland@hack.frob.com>
34435 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34436 (PREPARE_VERSION): Just use assert instead, it will be elided
34437 under [NDEBUG] anyway.
34439 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34441 * sysdeps/unix/sysv/linux/Makefile: Include
34442 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34443 (sysdep_routines): Remove sysctl.
34444 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34445 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34446 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34447 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34448 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34450 2012-05-22 Andreas Jaeger <aj@suse.de>
34452 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34453 that pseudo_end is just ret and the stack pointer is correct also
34454 for static library in error case.
34456 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34459 * nss/nsswitch.c (defconfig_entries): New variable.
34460 (__nss_database_lookup): Don't leak defconfig entries.
34461 (nss_parse_service_list): Don't leak on error paths.
34462 (free_database_entries): New function.
34463 (free_defconfig): New function.
34464 (free_mem): Move common code to free_database_entries.
34466 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34468 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34470 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34472 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34473 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34474 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34476 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34477 (INTERNAL_SYSCALL_TYPES): Likewise.
34478 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34479 (LOAD_REGS_TYPES_[1-6]): Likewise.
34480 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34481 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34483 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34485 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34486 copysignl for GLIBC_2_0.
34487 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34488 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34489 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34490 logbl for GLIBC_2_0.
34491 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34492 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34494 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34496 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34497 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34499 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34502 * time/mktime.c: Update copyright years.
34504 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34506 mktime: merge comment-quoting-style change from gnulib
34507 * time/mktime.c: Quote 'like this' in comments.
34508 The GNU coding standards suggest that we no longer quote `like this',
34509 as "`" and "'" are typically rendered asymmetrically nowadays.
34510 The typical gnulib style is to quote 'like this' when quoting
34511 code, and "like this" when quoting English.
34513 * time/mktime.c (compile-command): Add "-I.".
34515 mktime: merge mktime-internal.h change from gnulib
34516 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34518 mktime: merge time_r change from gnulib
34519 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34521 mktime: merge DEBUG change from gnulib
34522 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34523 case system <time.h> has a #define.
34525 mktime: merge <sys/types.h> change from gnulib
34526 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34527 since <time.t> is now guaranteed to define time_t.
34529 mktime: merge HAVE_CONFIG_H change from gnulib
34530 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34532 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34534 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34537 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34539 (struct rusage): Use anonymous union to pad each field to
34542 2012-05-21 David S. Miller <davem@davemloft.net>
34544 * Makefules (o-iterator): Remove .s cases.
34545 (compile-command.s): Delete.
34546 (COMPILE.s): Delete.
34547 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34549 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34551 * configure.in (libc_cv_predef_stack_protector): Only consider
34552 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34553 * configure: Regenerated.
34555 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34558 New macro. Use R*LP on int and pointer.
34559 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34560 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34561 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34562 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34564 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34565 [__WORDSIZE_TIME64_COMPAT32] instead of
34566 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34567 (struct utmp): Likewise.
34568 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34569 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34571 (__WORDSIZE_TIME64_COMPAT32): This.
34572 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34573 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34574 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34575 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34576 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34577 (__WORDSIZE_TIME64_COMPAT32): New macro.
34579 2012-05-21 Andreas Jaeger <aj@suse.de>
34581 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34582 only if [SHARED]. Add prototype for __wcschr_ia32.
34584 2012-05-21 Roland McGrath <roland@hack.frob.com>
34586 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34587 of %rbp unmolested in the jmp_buf while mangling the low bits.
34588 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34589 unmolested high bits of %rbp while demangling the low bits.
34590 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34592 2012-05-21 Andreas Jaeger <aj@suse.de>
34594 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34595 * sunrpc/svc_simple.c: Use it for registerrpc.
34596 * sunrpc/xcrypt.c: Use it for passwd2des.
34598 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34600 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34602 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34603 Don't define if [__SYSCALL_WORDSIZE != 32].
34604 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34607 2012-05-21 Bruno Haible <bruno@clisp.org>
34608 Andreas Jaeger <aj@suse.de>
34610 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34611 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34612 inptr and inend for must_buffer_ch.
34613 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34614 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34615 * stdio-common/Makefile (tests): Remove bug15.
34616 (bug15-ENV): Remove macro.
34617 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34620 2012-05-19 Andreas Jaeger <aj@suse.de>
34621 Roland McGrath <roland@hack.frob.com>
34623 * manual/contrib.texi: Completely rewritten. It contains now an
34624 alphabetical list of contributors and their contributions.
34626 2012-05-21 Richard Henderson <rth@twiddle.net>
34628 * misc/getauxval.c (__getauxval): Use unsigned long int.
34629 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34630 (getauxval): Use unsigned long int.
34632 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34634 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34636 2012-05-21 Roland McGrath <roland@hack.frob.com>
34638 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34639 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34640 __alignof__ (long double).
34642 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34646 2012-05-20 Richard Henderson <rth@twiddle.net>
34648 * misc/getauxval.c: New file.
34649 * misc/sys/auxv.h: New file.
34650 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34651 (routines): Add getauxval.
34652 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34653 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34654 * elf/dl-sysdep.c (_dl_auxv): Remove.
34655 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34656 * elf/dl-support.c (_dl_auxv): New variable.
34657 (_dl_aux_init): Initialize it.
34658 * manual/startup.texi (Auxiliary Vector): New node.
34659 * sysdeps/generic/bits/hwcap.h: New file.
34660 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34661 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34662 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34663 * sysdeps/sparc/sysdep.h: ... here. Include it.
34664 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34665 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34671 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34677 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34681 2012-05-19 David S. Miller <davem@davemloft.net>
34683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34685 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34688 * math/s_ccosh.c: Include <float.h>
34689 (__ccosh): Avoid internal overflow calculating sinh and cosh
34690 values before multiplying by sin and cos values.
34691 * math/s_ccoshf.c: Likewise.
34692 * math/s_ccoshl.c: Likewise.
34693 * math/s_csin.c: Likewise.
34694 * math/s_csinf.c: Likewise.
34695 * math/s_csinl.c: Likewise.
34696 * math/s_csinh.c: Likewise.
34697 * math/s_csinhf.c: Likewise.
34698 * math/s_csinhl.c: Likewise.
34699 * math/libm-test.inc (ccos_test): Add more tests.
34700 (ccosh_test): Likewise.
34701 (csin_test): Likewise.
34702 (csinh_test): Likewise.
34703 * sysdeps/i386/fpu/libm-test-ulps: Update.
34704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34706 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34708 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34709 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34711 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34713 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34715 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34716 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34717 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34718 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34719 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34720 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34721 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34722 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34723 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34724 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34725 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34726 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34727 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34728 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34729 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34730 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34731 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34732 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34733 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34734 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34735 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34736 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34737 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34738 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34739 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34740 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34741 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34742 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34743 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34744 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34745 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34747 2012-05-18 Andreas Jaeger <aj@suse.de>
34749 * csu/.gitignore: Delete.
34751 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34753 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34754 (timex): Use __syscall_slong_t.
34756 2012-05-18 Andreas Jaeger <aj@suse.de>
34757 Carlos O'Donell <carlos_odonell@mentor.com>
34759 * manual/install.texi (Configuring and compiling): Update
34760 description about files modified in the source directory.
34761 * INSTALL: Regenerated.
34763 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34765 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34766 value. Use "or" to set return value to -1.
34767 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34768 negate return value.
34770 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34772 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34773 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34774 failure if the compiler has Graphite support disabled.
34775 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34777 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34778 (CFLAGS-memmove.c): Likewise.
34779 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34782 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34784 * sysdeps/x86_64/x32/_itoa.h: New file.
34786 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34787 getdents system call only if kernel and user dirents have the
34788 same d_ino and d_off.
34790 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34791 LLONG_MAX != LONG_MAX.
34792 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34793 (_fitoa_word): Likewise.
34795 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34797 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34798 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34799 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34801 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34802 include <bits/wordsize.h>. Check __x86_64__ instead of
34804 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34805 if __x86_64__ is defined. Use anonymous union on fpstate.
34807 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34810 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34812 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34813 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34814 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34815 Refer to _rtld_local_ro instead of _rtld_global_ro.
34816 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34818 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34820 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34822 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34823 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34824 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34826 * sysdeps/powerpc/powerpc32/dl-machine.c
34827 (__elf_machine_runtime_setup) [PROF]: Don't reference
34830 2012-05-18 Andreas Jaeger <aj@suse.de>
34832 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34833 function only available for GCCs before 3.4 since GCC 3.4
34834 introduced a builtin.
34836 (llrintf): Likewise.
34837 (llrint): Likewise.
34844 (nearbyint): Likewise.
34845 (nearbyintf): Likewise.
34849 (floorf): Likewise.
34851 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34853 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34854 on both fields and cast pointer to __syscall_ulong_t.
34856 * bits/types.h (__fsword_t): New type.
34857 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34858 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34859 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34860 (__FSWORD_T_TYPE): Likewise.
34861 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34862 (__FSWORD_T_TYPE): Likewise.
34863 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34864 (__FSWORD_T_TYPE): Likewise.
34865 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34866 (__FSWORD_T_TYPE): Likewise.
34867 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34868 __SWORD_TYPE with __fsword_t.
34869 (statfs64): Likewise.
34871 2012-05-17 David S. Miller <davem@davemloft.net>
34873 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34875 2012-05-17 Andreas Jaeger <aj@suse.de>
34877 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34880 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34882 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34884 2012-05-17 Andreas Jaeger <aj@suse.de>
34886 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34889 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34891 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34893 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34895 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34896 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34898 2012-05-17 Andreas Jaeger <aj@suse.de>
34899 Carlos O'Donell <carlos_odonell@mentor.com>
34902 * sysdeps/x86_64/multiarch/init-arch.h
34903 (bit_YMM_Usable): Rename to...
34904 (bit_AVX_Usable): ... this.
34905 (bit_FMA4_Usable): New macro.
34906 (bit_XMM_state): New macro.
34907 (bit_YMM_state): New macro.
34908 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34909 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34910 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34911 (CPUID_OSXSAVE): New macro.
34912 (CPUID_AVX): New macro.
34913 (CPUID_FMA4): New macro.
34914 (index_YMM_Usable): Rename to...
34915 (index_AVX_Usable): ... this.
34916 (HAS_AVX): Use HAS_ARCH_FEATURE.
34917 (HAS_FMA4): Likewise.
34918 (HAS_YMM_USABLE): Remove.
34919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34920 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34922 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34923 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34924 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34925 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34926 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34928 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34930 * math/libm-test.c: Support platforms without multiple rounding modes.
34931 * math/bug-nextafter.c: Support platforms without FP exceptions.
34932 * math/bug-nexttoward.c: Likewise.
34933 * math/test-fenv.c: Likewise.
34934 * math/test-misc.c: Likewise.
34935 * stdlib/bug-getcontext.c: Likewise.
34937 2012-05-17 Andreas Jaeger <aj@suse.de>
34939 * manual/examples/search.c (critter_cmp): Change signature to
34941 * manual/string.texi (Collation Functions): Likewise.
34943 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34945 * bits/types.h: Fold copyright years.
34946 * bits/typesizes.h: Likewise.
34947 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34948 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34949 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34950 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34951 * time/time.h: Likewise.
34953 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34956 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34957 in instead of returning them. Return void.
34958 (__libc_mallinfo): Accumulate over all arenas.
34959 (__malloc_stats): Adjust for change in int_mallinfo interface.
34961 2012-05-16 Roland McGrath <roland@hack.frob.com>
34964 * configure.in (NM): Add AC_CHECK_TOOL for it.
34965 (libc_extra_cflags): New substituted variable.
34966 Check for -fstack-protector being used implicitly.
34967 * configure: Regenerated.
34968 * config.make.in (config-extra-cflags): New variable,
34969 gets @libc_extra_cflags@.
34970 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34973 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34974 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34975 * configure: Regenerated.
34976 * config.make.in (CPPUNDEFS): New substituted variable.
34977 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34978 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34979 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34981 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34983 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34984 (mq_attr): Use __syscall_slong_t.
34986 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34988 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34989 Check __x86_64__ instead of __WORDSIZE.
34990 (_STAT_VER_LINUX): Likewise.
34991 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34992 __syscall_ulong_t and __syscall_slong_t.
34993 (stat64): Likewise.
34995 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34997 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34999 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35001 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35003 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35005 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35008 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35009 include <bits/wordsize.h>. Check __x86_64__ instead of
35011 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35013 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35015 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35016 include <bits/wordsize.h>. Check __x86_64__ instead of
35018 (user_regs_struct): Use "__extension__ unsigned long long"
35019 instead of "unsigned long" if __x86_64__ is defined.
35020 (user): Likewise. Pad after pointer field if __ILP32__ is
35023 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35025 * configure.in (makeinfo): Require version 4.5 or later. Allow
35027 * configure: Regenerated.
35028 * manual/install.texi (texinfo): Increase version requirement to
35030 * INSTALL: Regenerated.
35032 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35034 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35036 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35038 * sysdeps/x86_64/x32/ffs.c: New file.
35040 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35042 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35043 defined. Use __syscall_ulong_t.
35044 (shminfo): Use __syscall_ulong_t.
35045 (shm_info): Likewise.
35047 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35050 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35052 (msgqnum_t): Use __syscall_ulong_t.
35053 (msglen_t): Likewise.
35054 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35057 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35058 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35060 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35062 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35063 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35065 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35068 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35069 include <bits/wordsize.h>. Check __x86_64__ instead of
35072 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35073 "unsigned long long int" if __x86_64__ is defined.
35074 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35076 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35077 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35078 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35080 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35082 (GET_PC): Cast to uintptr_t first.
35083 (GET_FRAME): Likewise.
35084 (GET_STACK): Likewise.
35086 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35087 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35088 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35089 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35090 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35091 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35092 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35093 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35094 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35095 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35096 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35097 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35098 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35099 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35100 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35101 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35102 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35103 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35104 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35105 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35106 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35107 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35108 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35109 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35110 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35111 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35112 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35113 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35114 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35116 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35118 * Makerules (+depfiles): Also collect depfiles from .oS in
35120 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35121 .oS, $(libnldbl-routines)).
35123 * Makerules (native-compile-mkdep-flags): Define.
35124 * sunrpc/Makefile (extra-objs): Add $(addprefix
35125 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35126 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35127 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35128 calling $(make-target-directory).
35130 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35132 * bits/types.h (__snseconds_t): Removed.
35133 * time/time.h (struct timespec): Replace __snseconds_t with
35135 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35136 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35138 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35139 (__SNSECONDS_T_TYPE): Likewise.
35140 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35141 (__SNSECONDS_T_TYPE): Likewise.
35142 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35143 (__SNSECONDS_T_TYPE): Likewise.
35145 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35147 * sysdeps/mach/hurd/bits/typesizes.h
35148 (__SYSCALL_SLONG_TYPE): New macro.
35149 (__SYSCALL_ULONG_TYPE): Likewise.
35151 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35153 * bits/types.h (__syscall_slong_t): New type.
35154 (__syscall_ulong_t): Likewise.
35156 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35157 (__SYSCALL_ULONG_TYPE): Likewise.
35158 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35159 (__SYSCALL_SLONG_TYPE): Likewise.
35160 (__SYSCALL_ULONG_TYPE): Likewise.
35161 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35162 (__SYSCALL_SLONG_TYPE): Likewise.
35163 (__SYSCALL_ULONG_TYPE): Likewise.
35164 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35165 (__SYSCALL_SLONG_TYPE): Likewise.
35166 (__SYSCALL_ULONG_TYPE): Likewise.
35168 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35170 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35171 Add sigaltstack-offsets.sym.
35172 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35173 <sigaltstack-offsets.h>.
35174 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35175 longjmp_msg pointer.
35176 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35177 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35179 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35181 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35183 * elf/stackguard-macros.h: Remove file.
35184 * sysdeps/generic/stackguard-macros.h: New file.
35185 * sysdeps/i386/stackguard-macros.h: Likewise.
35186 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35187 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35188 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35189 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35190 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35191 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35192 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35193 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35194 <elf/stackguard-macros.h>.
35197 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35198 __aligned__ in attribute.
35199 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35200 (gregset_t): Likewise.
35202 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35204 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35205 * sysdeps/x86_64/64/Implies-after: Here. New file.
35206 * sysdeps/x86_64/x32/Implies-after: New file.
35208 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35210 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35211 and access return value for _dl_profile_fixup. Use R10_LP to
35214 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35216 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35218 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35220 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35221 * sysdeps/x86_64/x32/sysdep.h: New file.
35223 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35225 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35226 * sysdeps/x86_64/setjmp.S: Likewise.
35228 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35230 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35231 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35232 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35233 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35234 remove unused global constant.
35236 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35238 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35239 include of <not-cancel.h>.
35241 2012-05-15 Roland McGrath <roland@hack.frob.com>
35243 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35245 2012-05-15 Jeff Law <law@redhat.com>
35246 Andreas Jaeger <aj@suse.de>
35249 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35251 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35252 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35253 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35254 code changing __hst_map_handle.map.
35256 2012-05-15 Roland McGrath <roland@hack.frob.com>
35258 * configure.in (sysnames): Look for Implies-before and Implies-after
35260 * configure: Regenerated.
35262 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35264 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35265 8-byte data alignment with LP_SIZE alignment.
35267 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35269 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35272 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35274 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35276 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35278 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35279 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35280 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35282 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35284 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35286 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35287 (stackinfo_sub_sp): Likewise.
35289 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35291 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35294 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35296 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35299 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35301 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35304 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35306 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35308 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35310 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35311 into R11_LP and load __x86_64_shared_cache_size_half into
35314 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35316 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35319 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35321 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35323 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35325 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35327 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35328 powerpc32/power7/fpu/s_logb.c via #include.
35329 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35330 powerpc32/power7/fpu/s_logbf.c via #include.
35331 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35332 powerpc32/power7/fpu/s_logbl.c via #include.
35334 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35336 * README.libm: Remove file.
35338 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35340 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35341 count for x32. Use R*_LP and omit operand-size suffix.
35343 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35345 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35346 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35347 * sysdeps/x86_64/x32/shlib-versions: New file.
35349 2012-05-14 Roland McGrath <roland@hack.frob.com>
35351 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35352 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35353 Use _dl_fatal_printf instead.
35355 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35357 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35358 set if not set by the user. Do not allow for being unset.
35359 * sysdeps/unix/sysv/linux/configure: Regenerated.
35361 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35363 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35364 the `q' suffix from lea and replace .quad with ASM_ADDR.
35366 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35368 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35369 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35371 (PTR_DEMANGLE): Likewise.
35373 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35375 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35377 (ASM_ADDR): Likewise.
35378 (RAX_LP): Likewise.
35379 (RBP_LP): Likewise.
35380 (RBX_LP): Likewise.
35381 (RCX_LP): Likewise.
35382 (RDI_LP): Likewise.
35383 (RSI_LP): Likewise.
35384 (RSP_LP): Likewise.
35387 (R10_LP): Likewise.
35388 (R10_LP): Likewise.
35389 (R11_LP): Likewise.
35390 (R12_LP): Likewise.
35391 (R13_LP): Likewise.
35392 (R14_LP): Likewise.
35393 (R15_LP): Likewise.
35395 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35397 * sysdeps/x86_64/x32/dl-machine.h: New file.
35399 2012-05-14 Andreas Jaeger <aj@suse.de>
35401 * manual/Makefile (subdir): Remove export of subdir.
35402 (all): Remove target.
35403 (.PHONY): Remove all from list.
35404 (mkinstalldirs): Remove.
35405 (.PHONY): Remove installdirs from list.
35406 ($(inst_infodir)/libc.info): Use make-target-directory.
35407 (installdirs): Remove.
35408 (subdir_%): Remove.
35409 (glibc-targets): Remove.
35412 ($(objpfx)stubs ../po/manual.pot): Remove.
35413 ($(objpfx)stamp%): Remove.
35414 (make-target-directory): Remove.
35415 (subdir_install): Remove.
35416 (routines): Remove.
35423 * manual/.gitignore: Remove, it's not needed anymore.
35424 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35426 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35428 (texis): Renamed to $(objpfx)texis.
35429 (texis-path): New, contains path to generated files.
35430 (chapters.%): Use texis-path for complete path, add extra argument
35432 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35433 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35434 (summary,texi, stamp-summary): Use complete path of
35435 files. Generate files in build dir.
35436 (dir-add.texi): Build in build dir.
35437 (libm-err.texi,stamp-libm-err): Likewise.
35438 (version.texi, stamp-version): Likewise.
35439 (.%c.texi): Likewise.
35440 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35441 (mostlyclean): Remove target.
35442 (realclean): Remove target.
35443 (generated): Add new variable with contents from mostlyclean and
35444 realclean, remove entries duplicated in common-mostlyclean, add
35445 stamp-libm-err and stamp-version.
35446 (generated-dirs): Add libc directory.
35447 ($(inst_infodir)/libc.info): Install files from build dir.
35449 * manual/install.texi (Configuring and compiling): Adjust since
35450 the info files are not part of the tar ball anymore.
35452 2012-05-14 Andreas Jaeger <aj@suse.de>
35454 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35457 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35460 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35461 to 2.2.0 where earlier.
35462 * sysdeps/unix/sysv/linux/configure: Regenerated.
35463 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35464 Remove conditional code.
35465 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35466 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35467 Remove conditional code.
35468 [!__NR_lchown]: Likewise.
35469 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35470 [__NR_lchown]: Likewise.
35471 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35472 comment referencing __ASSUME_LCHOWN_SYSCALL.
35473 * sysdeps/unix/sysv/linux/i386/sigaction.c
35474 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35475 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35476 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35477 Remove conditional code.
35478 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35479 (__protocol_available): Remove #if 0 code.
35480 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35482 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35483 * sysdeps/unix/sysv/linux/kernel-features.h
35484 (__ASSUME_GETCWD_SYSCALL): Don't define.
35485 (__ASSUME_REALTIME_SIGNALS): Likewise.
35486 (__ASSUME_PREAD_SYSCALL): Likewise.
35487 (__ASSUME_PWRITE_SYSCALL): Likewise.
35488 (__ASSUME_POLL_SYSCALL): Likewise.
35489 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35490 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35492 (__ASSUME_SIOCGIFNAME): Don't define.
35493 (__ASSUME_MSG_NOSIGNAL): Likewise.
35494 (__ASSUME_SENDFILE): Define unconditionally.
35495 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35496 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35498 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35499 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35500 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35501 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35502 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35503 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35504 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35506 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35507 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35509 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35510 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35512 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35513 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35515 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35516 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35518 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35519 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35521 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35522 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35524 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35525 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35527 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35528 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35529 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35530 Remove conditional code.
35531 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35532 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35533 Remove conditional code.
35534 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35535 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35536 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35537 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35538 Remove conditional code.
35539 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35540 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35541 Remove conditional code.
35542 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35543 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35544 Remove conditional code.
35545 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35546 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35547 Remove conditional code.
35548 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35549 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35550 Remove conditional code.
35551 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35552 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35553 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35554 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35555 * sysdeps/unix/sysv/linux/sigaction.c
35556 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35557 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35558 * sysdeps/unix/sysv/linux/sigpending.c
35559 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35560 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35561 * sysdeps/unix/sysv/linux/sigprocmask.c
35562 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35563 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35564 * sysdeps/unix/sysv/linux/sigsuspend.c
35565 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35566 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35567 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35568 (__libc_missing_rt_sigs): Remove.
35569 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35570 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35571 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35572 Remove conditional code.
35573 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35574 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35576 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35577 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35578 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35579 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35581 2012-05-14 Andreas Jaeger <aj@suse.de>
35583 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35584 it's not used in glibc.
35585 (__coshm1): Likewise.
35586 (__acosh1p): Likewise.
35589 * manual/string.texi (Copying and Concatenation): Add missing
35590 variable in concat example.
35591 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35593 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35596 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35597 __builtin_clzl with __builtin_clzll.
35599 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35602 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35605 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35607 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35608 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35609 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35610 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35612 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35614 * NEWS: Update ia64 info.
35616 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35618 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35621 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35623 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35624 * sysdeps/unix/syscalls.list (dup3): Likewise.
35625 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35626 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35628 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35630 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35631 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35633 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35635 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35637 (TLS_IE): Use mov/add instead of movq/addq to load thread
35639 (TLS_GD_PREFIX): New.
35642 2012-05-11 David S. Miller <davem@davemloft.net>
35644 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35645 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35646 (_FPU_SETCW): Likewise.
35648 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35650 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35651 is 32-byte aligned.
35653 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35656 * iconvdata/gb18030.c: Update tables.
35657 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35658 characters specially.
35659 (BODY for TO_LOOP): Add encoding of missing ranges.
35661 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35664 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35665 * sysdeps/mach/hurd/dup3.c: Likewise.
35666 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35667 * sysdeps/powerpc/memmove.c:: Likewise.
35669 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35671 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35672 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35674 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35676 * elf/elf.h (R_X86_64_RELATIVE64): New.
35677 (R_X86_64_NUM): Updated.
35678 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35679 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35680 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35681 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35682 tst-quad1pie tst-quad2pie
35683 (modules-names): Add tst-quadmod1 tst-quadmod2.
35684 ($(objpfx)tst-quad1): New dependency.
35685 ($(objpfx)tst-quad2): Likewise.
35686 ($(objpfx)tst-quad1pie): Likewise.
35687 ($(objpfx)tst-quad2pie): Likewise.
35688 * sysdeps/x86_64/tst-quad1.c: New file.
35689 * sysdeps/x86_64/tst-quad1pie.c: New file.
35690 * sysdeps/x86_64/tst-quad2.c: Likewise.
35691 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35692 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35693 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35694 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35695 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35697 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35699 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35700 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35701 * streams/stropts.h (t_scalar_t): Define type.
35703 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35704 (_PATH_PRESERVE): Set to "/var/lib".
35705 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35707 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35710 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35711 if __dir_mkfile succeeded.
35713 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35714 checking for _hurd_dtablesize. Unlock it right after having
35715 finished _hurd_dtable allocation.
35717 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35719 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35720 * sysdeps/mach/hurd/configure: Regenerated.
35721 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35722 special-casing to...
35723 * sysdeps/gnu/configure.in: ... this new file.
35724 * sysdeps/unix/sysv/linux/configure: Regenerated.
35725 * sysdeps/gnu/configure: New generated file.
35727 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35728 for Linux: use nsec instead of usec, as well as:
35729 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35730 members of type struct timespec.
35731 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35733 (struct stat64): Likewise.
35734 (_STATBUF_ST_NSEC): New macro.
35735 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35737 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35738 __strtoul_internal rather than strtoul.
35740 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35742 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35745 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35747 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35748 which preserves existing values.
35749 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35751 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35753 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35754 TIMEOUT values. Return EINVAL for NFDS values either negative or
35755 greater than FD_SETSIZE.
35757 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35759 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35760 allocated, call __vm_protect to finish enabling the existing space, and
35761 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35762 allocate the remainder.
35764 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35766 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35767 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35769 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35771 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35772 sysdeps/mach/hurd/readlink.c.
35774 * posix/tst-sysconf.c (posix_options): Only use
35775 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35776 _POSIX_SYNCHRONIZED_IO when they are defined
35777 * sysdeps/mach/hurd/bits/posix_opt.h:
35778 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35779 (_XOPEN_REALTIME): Undefine macro.
35780 (_XOPEN_REALTIME_THREADS): Undefine macro.
35781 (_XOPEN_SHM): Undefine macro.
35782 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35784 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35786 (_POSIX_ASYNC_IO): Undefine macro.
35787 (_POSIX_PRIORITIZED_IO): Undefine macro.
35788 (_POSIX_SPIN_LOCKS): Define macro to -1.
35790 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35791 SA_NODEFER, SA_RESETHAND.
35792 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35793 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35796 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35798 * elf/Makefile (pldd-modules): Define unconditionally.
35800 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35802 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35804 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35806 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35807 Return ENOENT when name is empty.
35808 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35810 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35812 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35814 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35816 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35818 Fix mlock in all cases except non-readable pages.
35819 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35820 instead of VM_PROT_ALL as parameter to __vm_wire function.
35822 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35823 (__mkdir): When path is `/', just fail with EEXIST.
35824 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35826 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35828 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35829 <sys/uio.h> (for writev).
35830 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35831 and <sys/param.h> (for MIN).
35833 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35835 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35836 REQUESTED_TIME. Properly set the remaining time and return EINTR
35839 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35841 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35842 Depend on against $(link-rpcuserlibs).
35844 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35846 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35847 (__libc_stack_end): Do not use attribute_relro.
35848 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35849 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35850 to libthread-provided value.
35851 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35854 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35857 * bits/libc-lock.h (__libc_once_get): New macro.
35858 * sysdeps/mach/bits/libc-lock.h: Likewise.
35859 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35860 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35861 instead of using implementation details.
35863 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35864 * libio/freopen.c: Likewise.
35865 * libio/freopen64.c: Likewise.
35866 * misc/syslog.c: Likewise.
35867 * nscd/connections.c: Likewise.
35868 * nscd/netgroupcache.c: Likewise.
35869 * sysdeps/posix/getcwd.c: Likewise.
35871 2012-05-10 Roland McGrath <roland@hack.frob.com>
35873 * math/w_ilogbf.c: Add #include <limits.h>.
35875 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35877 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35878 path instead of returning without unlocking.
35880 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35881 immediate-write ioctls.
35882 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35884 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35886 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35887 __builtin_frame_address instead of making assumptions about the
35888 location of the return address relative to DATA. Force early load of
35889 the return address.
35890 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35891 __builtin_frame_address.
35894 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35895 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35896 implement dup3 and do some further code clean-ups.
35897 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35898 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35900 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35902 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35904 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35905 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35906 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35907 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35908 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35911 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35912 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35913 when handler == SIG_ERR, not when handler != SIG_ERR.
35915 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35917 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35918 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35921 accept4 for GNU Hurd.
35922 * include/sys/socket.h (__libc_accept4): New prototype.
35923 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35924 to implement __libc_accept4.
35925 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35927 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35929 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35930 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35931 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35932 signal-defines.sym.
35934 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35936 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35938 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35940 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35941 assertion on O_CLOEXEC flag.
35942 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35943 * hurd/intern-fd.c: Likewise.
35944 * hurd/port2fd.c: Likewise.
35946 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35949 * bits/in.h (IPV6_PKTINFO): Define new macro.
35950 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35952 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35957 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35958 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35959 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35960 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35961 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35962 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35963 * math/libm-test.inc (logb_test) : Additional logb tests.
35965 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35966 Andreas Jaeger <aj@suse.de>
35968 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35969 * configure: Regenerated.
35970 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35971 * config.make.in (link-obsolete-rpc): New substituted variable.
35972 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35973 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35974 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35975 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35976 so that libc.a contains the symbols.
35977 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35978 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35979 * sunrpc/auth_none.c: Likewise.
35980 * sunrpc/auth_unix.c: Likewise.
35981 * sunrpc/authdes_prot.c: Likewise.
35982 * sunrpc/authuxprot.c: Likewise.
35983 * sunrpc/clnt_gen.c: Likewise.
35984 * sunrpc/clnt_perr.c: Likewise.
35985 * sunrpc/clnt_raw.c: Likewise.
35986 * sunrpc/clnt_simp.c: Likewise.
35987 * sunrpc/clnt_tcp.c: Likewise.
35988 * sunrpc/clnt_udp.c: Likewise.
35989 * sunrpc/clnt_unix.c: Likewise.
35990 * sunrpc/des_crypt.c: Likewise.
35991 * sunrpc/des_soft.c: Likewise.
35992 * sunrpc/get_myaddr.c: Likewise.
35993 * sunrpc/key_call.c: Likewise.
35994 * sunrpc/key_prot.c: Likewise.
35995 * sunrpc/netname.c: Likewise.
35996 * sunrpc/pm_getmaps.c: Likewise.
35997 * sunrpc/pm_getport.c: Likewise.
35998 * sunrpc/pmap_clnt.c: Likewise.
35999 * sunrpc/pmap_prot.c: Likewise.
36000 * sunrpc/pmap_prot2.c: Likewise.
36001 * sunrpc/pmap_rmt.c: Likewise.
36002 * sunrpc/publickey.c: Likewise.
36003 * sunrpc/rpc_cmsg.c: Likewise.
36004 * sunrpc/rpc_common.c: Likewise.
36005 * sunrpc/rpc_dtable.c: Likewise.
36006 * sunrpc/rpc_prot.c: Likewise.
36007 * sunrpc/rpc_thread.c: Likewise.
36008 * sunrpc/rtime.c: Likewise.
36009 * sunrpc/svc.c: Likewise.
36010 * sunrpc/svc_auth.c: Likewise.
36011 * sunrpc/svc_raw.c: Likewise.
36012 * sunrpc/svc_run.c: Likewise.
36013 * sunrpc/svc_tcp.c: Likewise.
36014 * sunrpc/svc_udp.c: Likewise.
36015 * sunrpc/svc_unix.c: Likewise.
36016 * sunrpc/svcauth_des.c: Likewise.
36017 * sunrpc/xcrypt.c: Likewise.
36018 * sunrpc/xdr.c: Likewise.
36019 * sunrpc/xdr_array.c: Likewise.
36020 * sunrpc/xdr_float.c: Likewise.
36021 * sunrpc/xdr_intXX_t.c: Likewise.
36022 * sunrpc/xdr_mem.c: Likewise.
36023 * sunrpc/xdr_rec.c: Likewise.
36024 * sunrpc/xdr_ref.c: Likewise.
36025 * sunrpc/xdr_sizeof.c: Likewise.
36026 * sunrpc/xdr_stdio.c: Likewise.
36028 2012-05-10 Roland McGrath <roland@hack.frob.com>
36030 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36031 change. Update copyright years.
36033 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36035 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36037 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36038 Joseph Myers <joseph@codesourcery.com>
36039 Paul Pluzhnikov <ppluzhnikov@google.com>
36042 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36044 [cross-compiling] (extra-libs): Likewise.
36045 [cross-compiling] (extra-libs-others): Likewise.
36046 [cross-compiling] (librpcsvc-routines): Likewise.
36047 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36048 [cross-compiling] (omit-deps): Likewise.
36049 (sunrpc-CPPFLAGS): New variable.
36050 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36051 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36052 (cross-rpcgen-objs): New variable.
36053 (extra-objs): Append $(cross-rpcgen-objs).
36054 ($(cross-rpcgen-objs)): New rule.
36055 ($(objpfx)cross-rpcgen): Likewise.
36056 (rpcgen-cmd): Define to use $(built-program-file). Expand
36058 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36059 ($(objpfx)x%.stmp): Likewise.
36060 * sunrpc/proto.h [IS_IN_build] (_): Define.
36061 [IS_IN_build] (_libc_intl_domainname): Likewise.
36063 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36065 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36066 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36067 and R_X86_64_TPOFF64.
36069 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36071 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36072 sysdeps/unix/sysv/syscalls.list.
36075 * sysdeps/unix/sysv/syscalls.list: Remove file.
36077 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36080 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36081 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36082 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36083 (__LC_IDENTIFICATION): Make these macros useful in #if
36084 expressions, as required by C99.
36086 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36088 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36089 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36092 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36094 * stdlib/longlong.h: Updated from GCC.
36096 2012-05-09 Andreas Jaeger <aj@suse.de>
36098 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36099 default is first entry.
36100 (run_mode): Set type.
36101 (main): Remove informal message about syslog.
36102 (options): Fix typo.
36105 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36108 (llrintf): Likewise.
36109 (llrint): Likewise.
36112 (nearbyint): Likewise.
36113 (nearbyintf): Likewise.
36115 2012-05-09 Andreas Jaeger <aj@suse.de>
36116 Pedro Alves <palves@redhat.com>
36118 * nscd/nscd.c (run_mode): Use enum.
36119 (main): Cleanup coding style issue.
36121 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
36122 Andreas Jaeger <aj@suse.de>
36124 * nscd/nscd.c (go_background): Replaced with...
36125 (run_mode): ... this.
36126 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36127 (options): Add -F --foreground.
36128 (main): Implement it.
36129 (parse_opt): Parse it.
36131 2012-05-09 Andreas Jaeger <aj@suse.de>
36134 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36135 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36136 -Wconversion warning.
36137 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36140 2012-05-09 Joseph Myers <joseph@codesourcery.com>
36142 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36144 (LC_ALL): Use macro-int-constant.
36145 (LC_COLLATE): Likewise.
36146 (LC_CTYPE): Likewise.
36147 (LC_MESSAGES): Likewise.
36148 (LC_MONETARY): Likewise.
36149 (LC_NUMERIC): Likewise.
36150 (LC_TIME): Likewise.
36151 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36152 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36153 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36154 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36156 [C99-based standards] (float_t): Expect type.
36157 [C99-based standards] (double_t): Expect type.
36158 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36160 [C99-based standards] (HUGE_VALL): Likewise.
36161 [C99-based standards] (INFINITY): Likewise.
36162 [C99-based standards] (NAN): Likewise.
36163 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36164 [C99-based standards] (FP_NAN): Likewise.
36165 [C99-based standards] (FP_NORMAL): Likewise.
36166 [C99-based standards] (FP_SUBNORMAL): Likewise.
36167 [C99-based standards] (FP_ZERO): Likewise.
36168 [C99-based standards] (FP_FAST_FMA): Use
36169 optional-macro-int-constant. Specify type. Require == 1.
36170 [C99-based standards] (FP_FAST_FMAF): Likewise.
36171 [C99-based standards] (FP_FAST_FMAL): Likewise.
36172 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36173 [C99-based standards] (FP_ILOGBNAN): Likewise.
36174 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36176 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36177 [C99-based standards] (math_errhandling): Specify type.
36178 [ISO99 || ISO11] (signgam): Do not allow.
36179 [non-C99-based standards] (copysignf): Do not allow.
36180 [non-C99-based standards] (exp2f): Likewise.
36181 [non-C99-based standards] (log2f): Likewise.
36182 [non-C99-based standards] (modff): Allow.
36183 [non-C99-based standards] (erff): Do not allow.
36184 [non-C99-based standards] (erfcf): Likewise.
36185 [non-C99-based standards] (gammaf): Likewise.
36186 [non-C99-based standards] (hypotf): Likewise.
36187 [non-C99-based standards] (j0f): Likewise.
36188 [non-C99-based standards] (j1f): Likewise.
36189 [non-C99-based standards] (jnf): Likewise.
36190 [non-C99-based standards] (lgammaf): Likewise.
36191 [non-C99-based standards] (tgammaf): Likewise.
36192 [non-C99-based standards] (y0f): Likewise.
36193 [non-C99-based standards] (y1f): Likewise.
36194 [non-C99-based standards] (ynf): Likewise.
36195 [non-C99-based standards] (isnanf): Likewise.
36196 [non-C99-based standards] (acoshf): Likewise.
36197 [non-C99-based standards] (asinhf): Likewise.
36198 [non-C99-based standards] (atanhf): Likewise.
36199 [non-C99-based standards] (cbrtf): Likewise.
36200 [non-C99-based standards] (expm1f): Likewise.
36201 [non-C99-based standards] (ilogbf): Likewise.
36202 [non-C99-based standards] (log1pf): Likewise.
36203 [non-C99-based standards] (logbf): Likewise.
36204 [non-C99-based standards] (nextafterf): Likewise.
36205 [non-C99-based standards] (remainderf): Likewise.
36206 [non-C99-based standards] (rintf): Likewise.
36207 [non-C99-based standards] (scalbf): Likewise.
36208 [non-C99-based standards] (copysignl): Likewise.
36209 [non-C99-based standards] (exp2l): Likewise.
36210 [non-C99-based standards] (log2l): Likewise.
36211 [non-C99-based standards] (modfl): Allow.
36212 [non-C99-based standards] (erfl): Do not allow.
36213 [non-C99-based standards] (erfcl): Likewise.
36214 [non-C99-based standards] (gammal): Likewise.
36215 [non-C99-based standards] (hypotl): Likewise.
36216 [non-C99-based standards] (j0l): Likewise.
36217 [non-C99-based standards] (j1l): Likewise.
36218 [non-C99-based standards] (jnl): Likewise.
36219 [non-C99-based standards] (lgammal): Likewise.
36220 [non-C99-based standards] (tgammal): Likewise.
36221 [non-C99-based standards] (y0l): Likewise.
36222 [non-C99-based standards] (y1l): Likewise.
36223 [non-C99-based standards] (ynl): Likewise.
36224 [non-C99-based standards] (isnanl): Likewise.
36225 [non-C99-based standards] (acoshl): Likewise.
36226 [non-C99-based standards] (asinhl): Likewise.
36227 [non-C99-based standards] (atanhl): Likewise.
36228 [non-C99-based standards] (cbrtl): Likewise.
36229 [non-C99-based standards] (expm1l): Likewise.
36230 [non-C99-based standards] (ilogbl): Likewise.
36231 [non-C99-based standards] (log1pl): Likewise.
36232 [non-C99-based standards] (logbl): Likewise.
36233 [non-C99-based standards] (nextafterl): Likewise.
36234 [non-C99-based standards] (remainderl): Likewise.
36235 [non-C99-based standards] (rintl): Likewise.
36236 [non-C99-based standards] (scalbl): Likewise.
36237 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36238 [non-C99-based standards] (FP_*): Do not allow.
36239 [C99-based standards] (FP_*): Change to
36240 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36241 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36243 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36244 (SIG_ERR): Likewise.
36245 [X/Open-based standards] (SIG_HOLD): Likewise.
36246 (SIG_IGN): Likewise.
36247 (SIGABRT): Use macro-int-constant. Specify type. Require
36249 (SIGFPE): Likewise.
36250 (SIGILL): Likewise.
36251 (SIGINT): Likewise.
36252 (SIGSEGV): Likewise.
36253 (SIGTER): Likewise.
36254 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36255 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36256 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36257 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36258 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36259 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36260 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36261 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36262 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36263 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36264 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36265 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36266 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36267 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36268 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36269 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36270 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36271 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36272 [X/Open-based standards] (SIGTRAP): Likewise.
36273 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36274 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36275 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36276 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36277 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36280 2012-05-08 Ian Wienand <ianw@vmware.com>
36283 * time/tzset.c (__tzset_parse_tz): Update default rules for
36284 daylight time changes in the Energy Policy Act of 2005.
36286 2012-05-09 Andreas Jaeger <aj@suse.de>
36289 * elf/ldconfig.c (parse_conf): Change string to make clear that
36290 ldconfig only issued a warning if ld.so.conf does not exist.
36292 2012-05-08 David S. Miller <davem@davemloft.net>
36294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36295 movxtod instead of popping the value on the stack.
36297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36299 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36301 * config.h.in: Add HAVE_ARM_PCS_VFP.
36303 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
36306 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36307 checking but the checks are disabled for any reason.
36309 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36311 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36312 and ELF64_R_TYPE with ELFW(R_TYPE).
36314 2012-05-08 Joseph Myers <joseph@codesourcery.com>
36316 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36317 (ulimit): Likewise.
36319 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36320 (settimeofday): Likewise.
36322 2012-05-08 Mike Frysinger <vapier@gentoo.org>
36324 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36325 a struct th_u2 inside the union, and move tu_block/tu_code into
36326 a new th_u3 union of tu_block/tu_code inside of that. Move
36327 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36328 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36329 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36330 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36331 (th_stuff): Change to th_u1.tu_stuff.
36333 (th_msg): Change to th_u1.th_u2.tu_data.
36335 2012-05-07 David S. Miller <davem@davemloft.net>
36337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36340 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36341 (SETUP_PIC_REG): Use it.
36342 (SETUP_PIC_REG_LEAF): Use it.
36344 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36348 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36350 (EXPL_FINITE): Likewise.
36351 (FLDLOG): Likewise.
36352 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36353 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36355 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36357 (EXPL_FINITE): Likewise.
36358 (FLDLOG): Likewise.
36359 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36360 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36362 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36363 test of -max_value argument for long double.
36364 * sysdeps/i386/fpu/libm-test-ulps: Update.
36365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36367 2012-05-06 David S. Miller <davem@davemloft.net>
36369 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36370 quad soft-float symbols whose references which are compiler
36372 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36374 2012-05-06 Joseph Myers <joseph@codesourcery.com>
36378 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36380 (EXPL_FINITE): Likewise.
36381 (FLDLOG): Likewise.
36384 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36385 Adjust comments for base varying.
36386 (__expl_finite): Change alias to EXPL_FINITE.
36387 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36389 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36390 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36391 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36392 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36393 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36395 (EXPL_FINITE): Likewise.
36396 (FLDLOG): Likewise.
36399 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36400 Adjust comments for base varying.
36401 (__expl_finite): Change alias to EXPL_FINITE.
36402 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36404 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36407 * math/libm-test.inc (check_float_internal): Correct ulp
36408 calculation for subnormal expected results.
36410 2012-05-06 Andreas Jaeger <aj@suse.de>
36412 * Makeconfig (+math-flags): New, set to -frounding-math.
36413 (+cflags): Add +math-flags so that all of glibc gets compiled with
36416 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36418 2012-05-05 Joseph Myers <joseph@codesourcery.com>
36420 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36426 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36427 (__ieee754_expl): Allow for and saturate large arguments.
36428 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36429 (u_threshold): Likewise.
36430 (__exp): Call __ieee754_exp before checking for overflow and
36432 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36433 (u_threshold): Likewise.
36434 (__expf): Call __ieee754_expf before checking for overflow and
36436 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36437 (u_threshold): Likewise.
36438 (__expl): Call __ieee754_expl before checking for overflow and
36440 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36441 (__ieee754_expl): Allow for and saturate large arguments.
36442 * math/libm-test.inc (exp_test): Add another test. Do not allow
36443 missing overflow exception on overflow.
36444 (expm1_test): Do not allow missing overflow exception on overflow.
36446 * sysdeps/i386/fpu/e_expl.c: Move to ...
36447 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36448 rather than using inline asm.
36449 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36450 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36451 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36453 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36456 (signal): Likewise.
36460 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36462 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36463 sysdeps/unix/common/syscalls.list.
36464 (fchmod): Likewise.
36465 (fchown): Likewise.
36466 (ftruncate): Likewise.
36467 (getrusage): Likewise.
36468 (gettimeofday): Likewise.
36469 (setpgid): Likewise.
36470 (setregid): Likewise.
36471 (setreuid): Likewise.
36472 (sigaction): Likewise.
36473 (truncate): Likewise.
36474 (vhangup): Likewise.
36475 * sysdeps/unix/common/syscalls.list: Remove file.
36476 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36477 * sysdeps/unix/sysv/linux/Implies: Likewise.
36479 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36481 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36483 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36487 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36490 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36492 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36493 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36495 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36496 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36499 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36502 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36505 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36509 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36513 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36516 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36520 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36524 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36526 * sysdeps/unix/common/bits/dirent.h: Remove file.
36527 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36529 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36530 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36531 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36532 * sysdeps/unix/bsd/isatty.c: Likewise.
36533 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36534 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36535 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36537 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36540 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36541 long double comparison inaccuracies.
36542 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36545 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36547 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36548 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36550 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36553 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36554 nonzero digits before rounding a hex value.
36555 * stdlib/tst-strtod.c (tests): Add another test.
36557 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36559 * sysdeps/s390/fpu/libm-test-ulps: Update.
36561 2012-05-03 Andreas Jaeger <aj@suse.de>
36563 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36564 does not get optimized out.
36565 (malloc_opt_barrier): New.
36567 2012-05-03 Andreas Jaeger <aj@suse.de>
36568 Roland McGrath <roland@hack.frob.com>
36570 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36571 intermediate file deletion.
36572 (generated): Add .symlist files.
36574 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36577 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36578 Redirect under this condition.
36579 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36580 [__USE_GNU] (__dprintf_chk): Not under this condition.
36581 [__USE_GNU] (__vdprintf_chk): Likewise.
36582 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36583 under this condition.
36584 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36585 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36586 [__USE_XOPEN2K8] (vdprintf): Likewise.
36587 [__USE_GNU] (__dprintf_chk): Not under this condition.
36588 [__USE_GNU] (__vdprintf_chk): Likewise.
36589 [__USE_GNU] (dprintf): Likewise.
36590 [__USE_GNU] (vdprintf): Likewise.
36592 2012-05-03 Roland McGrath <roland@hack.frob.com>
36594 * elf/Makefile (common-generated): Set this instead of generated for
36595 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36596 $(all-built-dso)-derived lists.
36598 2012-05-03 Andreas Jaeger <aj@suse.de>
36600 * sysdeps/i386/fpu/libm-test-ulps: Update.
36603 * FAQ.in: Likewise.
36604 * scripts/gen-FAQ.pl: Likewise.
36605 * manual/install.texi (Installation): Point to online location of
36607 * Makefile (files-for-dist): Remove FAQ.
36610 2012-05-02 Allan McRae <allan@archlinux.org>
36612 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36613 (LDFLAGS-reldepmod5.so): Likewise.
36614 (LDFLAGS-reldep6mod1.so): Likewise.
36615 (LDFLAGS-reldep6mod4.so): Likewise.
36616 (LDFLAGS-reldep8mod3.so): Likewise.
36617 (LDFLAGS-unload4mod1.so): Likewise.
36618 (LDFLAGS-unload4mod2.so): Likewise.
36619 (LDFLAGS-tst-initorder): Likewise.
36620 (LDFLAGS-tst-initordera2.so): Likewise.
36621 (LDFLAGS-tst-initordera3.so): Likewise.
36622 (LDFLAGS-tst-initordera4.so): Likewise.
36623 (LDFLAGS-tst-initorderb2.so): Likewise.
36624 (LDFLAGS-noload): Likewise.
36625 (LDFLAGS-next): Likewise.
36626 (LDFLAGS-order2mod1.so): Likewise.
36627 (LDFLAGS-order2mod2.so): Likewise.
36628 (LDFLAGS-tst-initorder2): Likewise.
36629 (LDFLAGS-tst-initorder2a.so): Likewise.
36630 (LDFLAGS-tst-initorder2b.so): Likewise.
36631 (LDFLAGS-tst-initorder2c.so): Likewise.
36632 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36634 2012-05-02 David S. Miller <davem@davemloft.net>
36636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36638 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36641 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36643 2012-05-02 Andreas Jaeger <aj@suse.de>
36645 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36646 since we manipulate rounding mode.
36647 (CPPFLAGS-test-idouble.c): Likewise.
36648 (CPPFLAGS-test-ifloat.c): Likewise.
36649 (CFLAGS-test-ldouble.c): Likewise.
36650 (CFLAGS-test-double.c): Likewise.
36651 (CFLAGS-test-float.c): Likewise.
36652 (CFLAGS-test-misc.c): Likewise.
36653 (CFLAGS-test-test-fenv.c): Likewise.
36655 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36659 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36660 comparisons to determine direction to adjust input.
36662 2012-05-01 Roland McGrath <roland@hack.frob.com>
36664 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36665 output to the target.
36667 * scripts/localplt.awk: New file.
36668 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36669 (check-localplt-CFLAGS): Variable removed.
36670 ($(all-built-dso:=.jmprel)): New static pattern rule.
36671 (generated): Add those targets.
36672 (localplt-built-dso): New variable.
36673 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36675 * elf/check-localplt.c: File removed.
36677 * scripts/check-execstack.awk: New file.
36678 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36679 (check-execstack-CFLAGS): Variable removed.
36680 ($(objpfx)check-execstack.h): Target removed.
36681 ($(objpfx)execstack-default): New target.
36682 (generated): Add that instead of check-execstack.h.
36683 ($(all-built-dso:=.phdr)): New static pattern rule.
36684 (generated): Add those targets.
36685 * elf/check-execstack.c: File removed.
36687 * scripts/check-textrel.awk: New file.
36688 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36689 (check-textrel-CFLAGS): Variable removed.
36690 (all-built-dso): Use := to define.o
36691 ($(all-built-dso:=.dyn)): New static pattern rule.
36692 (generated): Add those targets.
36693 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36694 * config.make.in (READELF): New substituted variable.
36695 * elf/check-textrel.c: File removed.
36697 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36699 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36701 * conform/data/ctype.h-data [C99-based standards] (isblank):
36703 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36704 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36705 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36706 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36707 Specify type. Require positive value.
36708 (EILSEQ): Likewise.
36709 (ERANGE): Likewise.
36710 [ISO || POSIX] (EILSEQ): Do not expect.
36711 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36712 Specify type. Require positive value.
36713 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36714 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36715 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36716 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36717 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36718 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36719 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36720 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36721 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36722 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36723 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36724 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36725 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36726 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36727 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36728 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36729 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36730 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36731 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36732 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36733 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36734 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36735 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36736 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36737 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36738 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36739 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36740 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36741 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36742 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36743 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36744 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36745 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36746 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36747 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36748 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36749 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36750 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36751 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36752 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36753 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36754 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36755 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36756 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36757 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36758 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36759 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36760 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36761 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36762 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36763 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36764 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36765 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36766 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36767 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36768 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36769 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36770 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36771 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36772 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36773 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36774 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36775 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36776 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36777 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36778 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36779 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36780 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36781 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36782 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36783 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36784 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36785 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36786 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36787 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36788 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36789 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36791 (FLT_ROUNDS): Expect as macro, not constant.
36792 (FLT_MANT_DIG): Use macro-int-constant.
36793 (DBL_MANT_DIG): Likewise.
36794 (LDBL_MANT_DIG): Likewise.
36795 (FLT_DIG): Likewise.
36796 (DBL_DIG): Likewise.
36797 (LDBL_DIG): Likewise.
36798 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36799 (DBL_MIN_EXP): Likewise.
36800 (LDBL_MIN_EXP): Likewise.
36801 (FLT_MAX_EXP): Use macro-int-constant.
36802 (DBL_MAX_EXP): Likewise.
36803 (LDBL_MAX_EXP): Likewise.
36804 (FLT_MAX_10_EXP): Likewise.
36805 (DBL_MAX_10_EXP): Likewise.
36806 (LDBL_MAX_10_EXP): Likewise.
36807 (FLT_MAX): Use macro-constant.
36808 (DBL_MAX): Likewise.
36809 (LDBL_MAX): Likewise.
36810 (FLT_EPSILON): Use macro-constant. Give upper bound.
36811 (DBL_EPSILON): Likewise.
36812 (LDBL_EPSILON): Likewise.
36813 (FLT_MIN): Likewise.
36814 (DBL_MIN): Likewise.
36815 (LDBL_MIN): Likewise.
36816 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36817 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36818 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36819 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36820 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36821 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36822 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36823 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36824 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36825 [ISO11] (FLT_TRUE_MIN): Likewise.
36826 [ISO11] (LDBL_TRUE_MIN): Likewise.
36827 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36828 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36829 (SCHAR_MIN): Use macro-int-constant. Specify type.
36830 (SCHAR_MAX): Likewise.
36831 (UCHAR_MAX): Likewise.
36832 (CHAR_MIN): Likewise.
36833 (CHAR_MAX): Likewise.
36834 (MB_LEN_MAX): Use macro-int-constant.
36835 (SHRT_MIN): Use macro-int-constant. Specify type.
36836 (SHRT_MAX): Likewise.
36837 (USHRT_MAX): Likewise.
36838 (INT_MAX): Likewise.
36839 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36841 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36843 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36845 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36846 bound negative. Suffix upper bound with "L".
36847 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36849 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36851 [C99-based standards] (LLONG_MAX): Likewise.
36852 [C99-based standards] (ULLONG_MAX): Likewise.
36853 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36855 [ISO11] (max_align_t): Require type.
36856 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36858 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36859 from $CFLAGS, without defining away __attribute__ calls.
36860 (checknamespace): Use $CFLAGS_namespace.
36862 * conform/conformtest.pl (@keywords): Only include C99 keywords
36863 for standards based on C99 or C11.
36865 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36867 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36870 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36871 usability of symbols in #if.
36873 * conform/conformtest.pl: If macro or constant types start
36874 "promoted:", expect the symbol to be of the following type
36875 promoted by the integer promotions.
36877 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36878 in one place. Also handle "macro-constant".
36880 * conform/conformtest.pl: Only accept expected macro values with
36881 "==". Parse all "macro" lines in one place.
36882 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36884 * conform/conformtest.pl: Handle braced types on "constant" lines
36885 instead of handling "typed-constant".
36886 * conform/data/signal.h-data: Use "constant" instead of
36889 * conform/conformtest.pl: Handle "optional-" at start of lines in
36890 one place rather than duplicating several cases. Handle each
36891 format of "macro" line with initial "optional-".
36893 * conform/conformtest.pl: Only accept expected constant or
36894 optional-constant values with "==". Parse all "constant" lines in
36895 one place. Parse all "optional-constant" lines in one place.
36896 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36897 * conform/data/fmtmsg.h-data: Likewise.
36898 * conform/data/netinet/in.h-data: Likewise.
36899 * conform/data/tar.h-data: Likewise.
36900 * conform/data/limits.h-data: Use "==" form on "constant" and
36901 "optional-constant" lines.
36903 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36904 Use -std=c99 for XOPEN2K.
36905 (@knownproblems): Remove.
36906 (newtoken): Don't check %isknown.
36908 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36909 Do not expect macro.
36910 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36911 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36912 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36913 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36914 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36915 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36916 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36917 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36918 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36919 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36920 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36921 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36922 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36923 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36924 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36925 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36926 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36927 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36928 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36929 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36930 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36931 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36932 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36933 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36934 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36935 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36936 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36937 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36938 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36939 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36940 [XPG3] (acosh): Likewise.
36941 [XPG3] (asinh): Likewise.
36942 [XPG3] (atanh): Likewise.
36943 [XPG3] (cbrt): Likewise.
36944 [XPG3] (expm1): Likewise.
36945 [XPG3] (ilogb): Likewise.
36946 [XPG3] (log1p): Likewise.
36947 [XPG3] (logb): Likewise.
36948 [XPG3] (nextafter): Likewise.
36949 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36950 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36951 [XPG3] (remainder): Likewise.
36952 [XPG3] (rint): Likewise.
36953 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36954 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36955 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36956 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36957 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36958 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36959 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36960 [UNIX98 || XOPEN2K] (scalb): Expect.
36961 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36962 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36963 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36964 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36965 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36966 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36967 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36968 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36969 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36970 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36971 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36972 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36973 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36974 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36975 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36976 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36977 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36978 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36979 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36980 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36981 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36982 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36983 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36984 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36985 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36986 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36987 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36988 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36989 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36990 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36991 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36992 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36993 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36994 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36995 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36996 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36997 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36998 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36999 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37000 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37001 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37002 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37003 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37004 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37005 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37006 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37007 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37008 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37009 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37010 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37011 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37012 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37013 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37014 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37015 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37016 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37017 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37018 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37019 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37020 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37021 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37022 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37023 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37024 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37025 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37026 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37027 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37028 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37029 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37030 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37031 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37032 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37033 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37034 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37035 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37036 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37037 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37038 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37039 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37040 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37041 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37042 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37043 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37044 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37045 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37046 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37047 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37048 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37049 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37050 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37051 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37052 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37053 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37054 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37055 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37056 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37057 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37058 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37059 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37060 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37061 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37062 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37063 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37064 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37065 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37066 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37067 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37068 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37069 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37070 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37071 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37072 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37073 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37074 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37075 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37076 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37077 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37078 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37079 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37080 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37081 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37082 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37083 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37084 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37085 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37086 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37087 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37088 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37089 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37090 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37091 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37092 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37093 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37094 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37095 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37096 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37097 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37099 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37100 _XOPEN_SOURCE_EXTENDED for XPG4.
37102 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37104 * Makeconfig (localtime): Remove variable.
37105 (inst_localtime-file): Likewise.
37107 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37128 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37132 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37133 comparisons to determine direction to adjust input.
37134 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37135 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37136 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37138 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37140 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37142 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37143 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37145 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37147 * math/libm-test.inc (nexttoward_test): Add more tests.
37149 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37152 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37153 in version GLIBC_2.1, not GLIBC_2.0.
37154 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37157 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37160 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37162 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37163 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37164 * math/libm-test.inc (acos_test): Add more tests.
37165 (asin_test): Likewise.
37166 * sysdeps/i386/fpu/libm-test-ulps: Update.
37167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37170 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37172 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37173 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37174 * math/libm-test.inc (acos_test_tonearest): New function.
37175 (acos_test_towardzero): Likewise.
37176 (acos_test_downward): Likewise.
37177 (acos_test_upward): Likewise.
37178 (asin_test_tonearest): Likewise.
37179 (asin_test_towardzero): Likewise.
37180 (asin_test_downward): Likewise.
37181 (asin_test_upward): Likewise.
37182 (main): Call the new functions.
37183 * sysdeps/i386/fpu/libm-test-ulps: Update.
37184 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37188 * math/e_exp10.c: Include <float.h>.
37189 (__ieee754_exp10): Handle underflow here rather than multiplying
37190 large negative argument by M_LN10.
37191 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37193 * math/e_exp10l.c: Include <float.h>.
37194 (__ieee754_exp10l): Handle underflow here rather than multiplying
37195 large negative argument by M_LN10l.
37196 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37197 spurious overflow exception on underflow.
37199 2012-04-29 Marek Polacek <polacek@redhat.com>
37201 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37202 (__fortify_function): New macro.
37203 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37204 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37205 __extern_always_inline.
37206 * libio/bits/stdio2.h: Likewise.
37207 * libio/bits/stdio.h: Likewise.
37208 * string/string.h: Likewise.
37209 * string/bits/string3.h: Likewise.
37210 * include/stdio.h: Likewise.
37211 * stdlib/bits/stdlib.h: Likewise.
37212 * stdlib/stdlib.h: Likewise.
37213 * rt/bits/mqueue2.h: Likewise.
37214 * rt/mqueue.h: Likewise.
37215 * posix/bits/unistd.h: Likewise.
37216 * posix/unistd.h: Likewise.
37217 * io/bits/poll2.h: Likewise.
37218 * io/bits/fcntl2.h: Likewise.
37219 * io/fcntl.h: Likewise.
37220 * io/sys/poll.h: Likewise.
37221 * misc/bits/syslog.h: Likewise.
37222 * misc/bits/syslog-ldbl.h: Likewise.
37223 * misc/sys/syslog.h: Likewise.
37224 * socket/bits/socket2.h: Likewise.
37225 * socket/sys/socket.h: Likewise.
37226 * debug/tst-chk1.c: Likewise.
37227 * wcsmbs/bits/wchar2.h: Likewise.
37228 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37229 * wcsmbs/wchar.h: Likewise.
37231 2012-04-29 Andreas Jaeger <aj@suse.de>
37233 * Makerules (tests): Remove enable-check-abi protection.
37234 (check-abi-warn): Remove.
37235 (check-abi-%): Remove check-abi-warn usage.
37237 * configure.in: Remove check-abi configure option.
37238 * configure: Regenerated.
37239 * config.make.in (enable-check-abi): Remove.
37241 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37244 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37245 double functions to double *_finite functions.
37248 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37249 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37251 * stdio-common/Makefile (tests): Add tst-sprintf3.
37252 * stdio-common/tst-sprintf3.c: New file.
37254 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37255 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37257 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37259 * conform/conformtest.pl: Remove duplicate typed-constant
37262 2012-04-28 David S. Miller <davem@davemloft.net>
37264 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37265 (check-abi-%): Remove AWK script prerequisite and explicit
37267 (check-abi): Rewrite to just diff the symlist with the abilist.
37268 (config-tls, config-abi-config): Delete, no longer used.
37269 (update-abi-%): Remove AWK script and explicit abilist directory.
37270 (update-abi): Rewrite to simply compare and conditionally copy the
37271 symlist and the sysdep abilist file. Remove update-abi-config
37273 * abilist/ld.abilist: Remove.
37274 * abilist/libBrokenLocale.abilist: Remove.
37275 * abilist/libanl.abilist: Remove.
37276 * abilist/libcrypt.abilist: Remove.
37277 * abilist/libdl.abilist: Remove.
37278 * abilist/librt.abilist: Remove.
37279 * abilist/libthread_db.abilist: Remove.
37280 * abilist/libutil.abilist: Remove.
37281 * scripts/extract-abilist.awk: Remove.
37282 * scripts/merge-abilist.awk: Remove.
37283 * sysdeps/generic/libcidn.abilist: New file.
37284 * sysdeps/generic/libnss_compat.abilist: New file.
37285 * sysdeps/generic/libnss_db.abilist: New file.
37286 * sysdeps/generic/libnss_dns.abilist: New file.
37287 * sysdeps/generic/libnss_files.abilist: New file.
37288 * sysdeps/generic/libnss_hesiod.abilist: New file.
37289 * sysdeps/generic/libnss_nis.abilist: New file.
37290 * sysdeps/generic/libnss_nisplus.abilist: New file.
37291 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37292 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37293 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37295 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37296 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37297 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37298 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37299 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37300 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37301 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37302 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37303 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37305 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37306 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37307 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37308 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37310 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37311 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37312 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37313 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37314 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37315 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37317 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37318 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37319 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37321 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37322 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37324 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37326 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37328 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37330 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37332 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37334 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37336 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37338 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37340 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37342 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37344 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37346 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37424 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37425 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37426 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37428 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37429 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37430 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37431 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37432 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37433 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37434 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37435 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37436 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37437 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37451 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37455 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37480 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37489 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37491 * conform/conformtest.pl: Fix typo in handling typed-constant from
37494 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37496 * README: Cut down references to pre-2.6 Linux kernels and
37497 Linuxthreads. Update lists of configurations in libc and ports
37498 and sort alphabetically. Say "or newer" with Linux kernel version
37501 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37503 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37506 * math/libm-test.inc (logb_test_downward): New test to expose
37507 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37510 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37513 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37515 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37516 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37518 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37520 * sysdeps/unix/i386/brk.S: Remove file.
37521 * sysdeps/unix/i386/dl-brk.S: Likewise.
37522 * sysdeps/unix/i386/pipe.S: Likewise.
37523 * sysdeps/unix/i386/sigreturn.S: Likewise.
37524 * sysdeps/unix/i386/syscall.S: Likewise.
37525 * sysdeps/unix/i386/vfork.S: Likewise.
37526 * sysdeps/unix/i386/wait.S: Likewise.
37528 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37529 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37531 * configure.in (arm*-none*): Do not allow without
37532 --enable-hacker-mode.
37533 (netbsd*): Remove case setting base_os.
37534 (386bsd*): Likewise.
37535 (freebsd*): Likewise.
37538 (sunos*): Likewise.
37539 (ultrix*): Likewise.
37540 (newsos*): Likewise.
37541 (dynix*): Likewise.
37547 (minix*): Likewise.
37548 (irix4*): Likewise.
37549 (irix6*): Likewise.
37550 (solaris[2-9]*): Likewise.
37552 * configure: Regenerated.
37554 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37557 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37558 overflow or cancellation in calculating denominator.
37559 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37560 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37561 down expression to avoid unexpected rounding in newer GCCs.
37562 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37564 2012-04-26 David S. Miller <davem@davemloft.net>
37566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37567 long-double compat symbols.
37568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37582 2012-04-25 David S. Miller <davem@davemloft.net>
37584 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37585 HWCAP_* values only after the memory barriers have been defined.
37586 (atomic_full_barrier): Define.
37587 (atomic_read_barrier): Define.
37588 (atomic_write_barrier): Define.
37590 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37592 * shlib-versions: Add libgcc_s version information.
37593 * sysdeps/generic/libgcc_s.h: Remove.
37594 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37596 * sysdeps/gnu/unwind-resume.c: Likewise.
37597 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37599 2012-04-25 David S. Miller <davem@davemloft.net>
37601 * sysdeps/unix/sparc/brk.S: Delete.
37602 * sysdeps/unix/sparc/dl-brk.S: Delete.
37603 * sysdeps/unix/sparc/pipe.S: Delete.
37604 * sysdeps/unix/sparc/sysdep.S: Delete.
37605 * sysdeps/unix/sparc/sysdep.h: Delete.
37606 * sysdeps/unix/sparc/vfork.S: Delete.
37607 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37608 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37609 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37610 (ret_ERRVAL, r0, r1, MOVE): Define.
37611 (JUMPTARGET): Remove.
37612 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37613 sysdeps/unix/sparc/sysdep.h
37614 (ENTRY, END): Remove.
37615 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37617 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37619 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37620 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37623 * timezone/README: Update upstream location and email address for
37625 * timezone/zdump.c: Update from tzcode 2012b.
37626 * timezone/zic.c: Likewise.
37628 * configure.in (libc_cv_as_needed): Remove test.
37629 * configure: Regenerated.
37630 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37631 conditional definition.
37632 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37633 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37634 * config.make.in (have-as-needed): Remove variable.
37636 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37637 Paul Pluzhnikov <ppluzhnikov@google.com>
37639 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37642 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37644 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37645 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37646 * sysdeps/sh/strlen.S: Likewise.
37648 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37650 * sysdeps/unix/fork.S: Remove file.
37651 * sysdeps/unix/i386/fork.S: Likewise.
37652 * sysdeps/unix/sparc/fork.S: Likewise.
37654 * sysdeps/unix/system.c: Remove file.
37655 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37657 * sysdeps/unix/getegid.S: Remove file.
37658 * sysdeps/unix/geteuid.S: Likewise.
37660 2012-04-24 Roland McGrath <roland@hack.frob.com>
37662 * scripts/check-localplt.awk: New file.
37663 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37665 * scripts/data/localplt-generic.data: Add a comment.
37667 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37668 NODE when __dir_mkfile failed.
37669 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37670 Reported by Ludovic Courtès <ludo@gnu.org>.
37672 2012-04-24 Andreas Jaeger <aj@suse.de>
37674 * Makerules (common-clean): Also remove gen-as-const-headers
37677 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37679 * Makerules (native-compile): Do not change working directory for
37680 build. Use $(OUTPUT_OPTION) in command.
37681 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37683 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37686 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37687 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37688 * math/libm-test.inc (floor_test): Add more tests.
37689 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37691 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37693 * sysdeps/unix/getdents.c: Remove file.
37694 * sysdeps/unix/sysv/getdents.c: Likewise.
37695 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37697 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37698 sysdeps/unix/mman/syscalls.list.
37700 (mprotect): Likewise.
37702 (munmap): Likewise.
37703 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37704 * sysdeps/unix/mman/syscalls.list: Remove.
37705 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37707 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37708 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37709 * configure: Regenerated.
37710 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37711 $(libgcc_s_suffix).
37712 * config.make.in (libgcc_s_suffix): Remove variable.
37714 2012-04-23 Joseph Myers <joseph@codesourcery.com>
37716 * sysdeps/unix/sysv/gethostname.c: Move to ...
37717 * sysdeps/posix/gethostname.c: ... here.
37719 * sysdeps/unix/execve.S: Remove file.
37721 * sysdeps/unix/_exit.S: Remove file.
37723 2012-04-23 Andreas Jaeger <aj@suse.de>
37726 * manual/Makefile: Remove make dist support, there's no
37727 need for a stand-alone documentation tar ball.
37728 (TEXI2DVI): Define always, it's not in Makeconfig.
37731 (edition): Removed.
37732 (glibc-doc-$(edition).tar): Removed
37736 (ETAGS): Remove, it's in Makeconfig.
37737 (move-if-change): Remove, it's in Makeconfig.
37739 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37742 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37743 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37744 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37745 (strtod_l, strtof_l, strtold_l): Remove __wur.
37746 It is not necessarily an error to ignore strtol's return value.
37747 One can reliably look at the stored endptr to decide whether
37748 the number had valid syntax.
37750 2012-04-21 Andreas Jaeger <aj@suse.de>
37753 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37755 2012-04-21 Joseph Myers <joseph@codesourcery.com>
37757 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37758 * sysdeps/unix/sysv/Versions: Remove file.
37760 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37763 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37765 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
37768 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37769 version from __vm86.
37771 2012-04-20 Joseph Myers <joseph@codesourcery.com>
37773 * sysdeps/unix/common/lxstat.c: Remove file.
37774 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37776 * sysdeps/unix/sysv/Makefile: Remove file.
37778 * sysdeps/unix/sysv/direct.h: Remove file.
37780 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37781 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37782 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37783 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37784 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37785 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37786 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37788 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37790 * sysdeps/unix/xmknod.c: Remove file.
37791 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37793 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37795 * sysdeps/unix/sysv/i386/time.S: Remove file.
37797 * sysdeps/unix/fxstat.c: Remove file.
37798 * sysdeps/unix/xstat.c: Likewise.
37799 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37801 * sysdeps/unix/sysv/sigaction.c: Remove file.
37803 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37804 (sysdep_headers): Remove variable.
37805 [termio.h not in sysdep_headers] (generated): Likewise.
37806 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37807 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37808 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37809 * sysdeps/unix/sysv/tcflow.c: Likewise.
37810 * sysdeps/unix/sysv/tcflush.c: Likewise.
37811 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37812 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37813 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37814 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37815 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37817 * sysdeps/unix/siglist.c: Remove file.
37819 * sysdeps/unix/getppid.S: Remove file.
37821 * sysdeps/unix/mkdir.c: Remove file.
37822 * sysdeps/unix/rmdir.c: Likewise.
37824 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37826 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37828 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37829 errlist-compat value.
37831 2012-04-18 David S. Miller <davem@davemloft.net>
37833 * sysdeps/generic/memcopy.h (reg_char): Delete.
37834 * debug/strcat_chk.c: Use char, not reg_char.
37835 * debug/strcpy_chk.c: Likewise.
37836 * debug/strncat_chk.c: Likewise.
37837 * debug/strncpy_chk.c: Likewise.
37838 * string/memchr.c: Likewise.
37839 * string/memrchr.c: Likewise.
37840 * string/rawmemchr.c: Likewise.
37841 * string/strcat.c: Likewise.
37842 * string/strchr.c: Likewise.
37843 * string/strchrnul.c: Likewise.
37844 * string/strcmp.c: Likewise.
37845 * string/strcpy.c: Likewise.
37846 * string/strncat.c: Likewise.
37847 * string/strncmp.c: Likewise.
37848 * string/strncpy.c: Likewise.
37850 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37852 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37853 __builtin_memcopy is called when src and dest ranges are known to not
37856 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37858 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37859 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37860 fwd_align_merge macro call.
37861 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37862 bwd_align_merge macro call.
37863 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37865 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37867 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37868 bwd_align_merge macros.
37869 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37870 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37871 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37873 2012-04-18 David S. Miller <davem@davemloft.net>
37875 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37877 2012-04-18 Andreas Jaeger <aj@suse.de>
37880 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37881 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37882 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37884 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37885 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37886 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37888 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37889 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37890 Adjust for changed ldbl-128 files.
37892 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37893 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37894 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37896 2012-04-17 David S. Miller <davem@davemloft.net>
37898 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37900 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37902 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37903 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37904 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37905 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37906 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37907 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37909 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37912 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37913 * math/libm-test.inc: Add ilogb errno and exception tests.
37914 * math/w_ilogb.c: New file: ilogb wrapper.
37915 * math/w_ilogbf.c: New file: ilogbf wrapper.
37916 * math/w_ilogbl.c: New file: ilogbl wrapper.
37917 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37918 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37919 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37920 exception being thrown with 0.0 as argument.
37921 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37922 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37923 exception being thrown with 0.0 as argument.
37924 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37925 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37926 exception being thrown with 0.0 as argument.
37927 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37928 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37929 exception being thrown with 0.0 as argument.
37930 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37931 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37932 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37933 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37934 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37935 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37936 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37937 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37938 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37940 2012-04-17 Petr Baudis <pasky@ucw.cz>
37942 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37945 2012-04-16 Marek Polacek <polacek@redhat.com>
37947 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37949 2012-04-16 Marek Polacek <polacek@redhat.com>
37951 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37952 operands of fdivp instruction.
37954 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37956 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37957 * elf/tst-auditmod3b.c: Likewise.
37958 * elf/tst-auditmod4b.c: Likewise.
37959 * elf/tst-auditmod5b.c: Likewise.
37960 * elf/tst-auditmod6b.c: Likewise.
37961 * elf/tst-auditmod6c.c: Likewise.
37962 * elf/tst-auditmod7b.c: Likewise.
37963 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37964 * sysdeps/x86_64/preconfigure.in: Likewise.
37965 * sysdeps/x86_64/preconfigure: Regenerated.
37967 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37969 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37972 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
37974 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37975 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37977 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37980 * locale/iso-639.def: Fix gl language name. Spotted by
37983 2012-04-12 Roland McGrath <roland@hack.frob.com>
37986 * libio/libio.h (__io_write_fn): Update comment.
37988 2012-04-12 Petr Baudis <pasky@ucw.cz>
37991 * stdio.texi (Hook Functions): The user provided writer function
37992 is not allowed to return -1.
37994 2012-04-11 David S. Miller <davem@davemloft.net>
37996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37998 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38000 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38001 Add a leading slash to rtkaio.
38003 2012-04-11 Jim Meyering <meyering@redhat.com>
38006 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38007 It is not necessarily an error to ignore fwrite's return
38008 value. One can reliably use ferror to test for errors after
38011 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38013 * bits/types.h (__snseconds_t): New type.
38014 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38016 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38017 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38018 (__SNSECONDS_T_TYPE): Likewise.
38019 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38020 (__SNSECONDS_T_TYPE): Likewise.
38021 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38022 (__SNSECONDS_T_TYPE): Likewise.
38024 2012-04-10 Andreas Jaeger <aj@suse.de>
38027 * manual/time.texi (Processor Time): Return type of times is
38028 elapsed real time since an arbitrary point in the past.
38029 (CPU Time): Move CLK_TCK from here...
38030 (Processor Time): ...to here. Correct description.
38031 * manual/conf.texi (Constants for Sysconf): Correct description of
38034 2012-04-10 David S. Miller <davem@davemloft.net>
38037 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38038 where the is a gap between DT_REL(A) and DT_JMPREL.
38040 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38042 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38043 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38044 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38046 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38048 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38049 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38050 (dl_main): Handle --inhibit-cache.
38051 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38053 * elf/dl-load.c (_dl_map_object): Use it.
38054 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38056 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38059 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38060 (__ieee754_powl): Saturate large exponents rather than testing for
38061 overflow of y*log2(x).
38062 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38063 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38067 * math/s_ctan.c: Include <float.h>.
38068 (__ctan): Avoid internal overflow or cancellation in calculating
38070 * math/s_ctanf.c: Likewise.
38071 * math/s_ctanl.c: Likewise.
38072 * math/s_ctanh.c: Likewise.
38073 * math/s_ctanhf.c: Likewise.
38074 * math/s_ctanhl.c: Likewise.
38075 * math/libm-test.inc (ctan_test): Add more tests.
38076 (ctanh_test): Likewise.
38077 * sysdeps/i386/fpu/libm-test-ulps: Update.
38078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38080 2012-04-09 Andreas Jaeger <aj@suse.de>
38083 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38084 is an optional BSD extension.
38087 * manual/stdio.texi (Opening Streams): Document additional fopen
38090 2012-04-09 Roland McGrath <roland@hack.frob.com>
38092 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38093 %eax without telling the compiler.
38095 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38098 * manual/install.texi: Use sourceware.org.
38100 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38103 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38104 (__ieee754_pow): Generate overflow and underflow using huge*huge
38105 and tiny*tiny rather than just returning constant infinity or zero
38106 for large exponents.
38107 * math/libm-test.inc (pow_test): Require overflow exceptions for
38108 applicable cases of large exponents.
38111 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38112 (__ieee754_pow): Use iterative multiplication algorithm only for
38113 integer exponents with absolute value below 1024. Check for odd
38114 integer exponents when using algorithm for real exponents.
38115 * math/libm-test.inc (pow_test): Add more tests.
38116 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38118 2012-04-08 Joseph Myers <joseph@codesourcery.com>
38121 * math/libm-test.inc (exp_test): Do not allow overflow exception
38124 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38127 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38128 instead of __kernel_standard_f.
38130 2012-04-08 Mike Frysinger <vapier@gentoo.org>
38132 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38133 * sysdeps/x86_64/memset_chk.S: Likewise.
38135 2012-04-08 Andreas Jaeger <aj@suse.de>
38138 * manual/startup.texi (Environment Access): Describe return value
38139 for putenv and setenv.
38142 * manual/filesys.texi (Directory Entries): Add description for
38146 * manual/filesys.texi (Directory Entries): Clarify that it's file
38147 system not operating system in the description of DT_UNKNOWN.
38150 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38152 2012-04-08 Stephen Compall <s11@member.fsf.org>
38155 * manual/llio.texi (Opening and Closing Files): Add cross
38156 reference to explain mode argument.
38158 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38160 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38161 * sysdeps/x86_64/memset_chk.S: Likewise.
38163 2012-04-07 David S. Miller <davem@davemloft.net>
38165 * elf/elf.h (R_SPARC_WDISP10): Define.
38166 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38168 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38169 R_SPARC_SIZE64 and R_SPARC_H34.
38171 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38173 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38174 conditions and remove no longer applicable assertion.
38176 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38178 * bits/byteswap.h: Include <features.h>.
38179 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38180 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38182 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38184 * bits/byteswap.h (__bswap_16): Removed.
38185 Include <bits/byteswap-16.h> to get __bswap_16.
38186 * sysdeps/i386/bits/byteswap.h: Likewise.
38187 * sysdeps/s390/bits/byteswap.h: Likewise.
38188 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38189 * bits/byteswap-16.h: New file.
38190 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38191 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38192 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38193 * string/Makefile (headers): Add bits/byteswap-16.h.
38195 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38198 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38200 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38201 * nss/tst-nss-static.c: New.
38203 2012-04-06 Robert Millan <rmh@gnu.org>
38206 * manual/llio.texi (File Position Primitive): lseek
38207 refers to WHENCE when it really means OFFSET.
38209 2012-04-06 Andreas Jaeger <aj@suse.de>
38211 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38212 strncmp declarations.
38214 * abilist/libc.abilist: Add __poll and __ppoll.
38216 2012-04-05 David S. Miller <davem@davemloft.net>
38218 * scripts/check-local-headers.sh: Accept a host triplet in the
38219 path matched by the exclude regexp.
38221 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38223 * sysdeps/powerpc/powerpc32/dl-machine.h
38224 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38225 * sysdeps/s390/s390-32/dl-machine.h
38226 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38227 * sysdeps/sparc/sparc32/dl-machine.h
38228 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38229 * sysdeps/sparc/sparc64/dl-machine.h
38230 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38232 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38234 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38235 undefined symbol errors.
38237 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38240 2012-04-05 Michael Matz <matz@suse.de>
38243 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38245 2012-04-05 Andreas Jaeger <aj@suse.de>
38248 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38251 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38253 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38254 which ROUND is no valid rounding mode.
38256 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38258 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38260 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38262 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38264 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38265 an exception using FPU order intentionally.
38267 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38269 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38270 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38271 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38272 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38274 2012-04-05 Simon Josefsson <simon@josefsson.org>
38277 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38278 EINVAL when BUFLEN is too smal.
38280 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38283 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38284 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38286 2012-04-03 Andreas Jaeger <aj@suse.de>
38289 * manual/setjmp.texi (System V contexts): Fix sentence.
38292 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38293 New macro for this case.
38294 [!__GNUC__] (__bswap_64): New inline function for this case.
38295 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38296 * bits/byteswap.h: Likewise.
38297 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38298 ull, guard with __GLIBC_HAVE_LONG_LONG.
38300 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38301 __GLIBC_HAVE_LONG_LONG.
38303 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38304 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38306 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38309 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38310 inptr and inend, rather than using last_ch.
38312 2012-04-02 David S. Miller <davem@davemloft.net>
38314 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38315 * stdio-common/printf-parse.h (read_int): Change return type to
38316 'int', return -1 on INT_MAX overflow.
38317 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38318 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38319 overflows INT_MAX. Check for overflow of in-format-string precision
38320 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38321 SIZE_MAX not INT_MAX for integer overflow test.
38322 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38323 skip the construct in the format string but do not record anything.
38324 * stdio-common/bug22.c: Adjust to test both width/prevision
38325 INT_MAX overflow as well as total length INT_MAX overflow. Check
38326 explicitly for proper errno values.
38328 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38330 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38332 * string/test-strcmp.c [! WIDE]: Likewise.
38333 * time/tst-mktime2.c: Likewise for INT_MAX.
38334 * string/test-string.h: #include <sys/param.h> for MIN.
38336 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38337 * sysdeps/i386/init-first.c (init): Likewise.
38338 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38339 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38340 * sysdeps/sh/init-first.c (init): Likewise.
38342 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38344 * po/ru.po: Update from translation team.
38345 * po/vi.po: Likewise.
38347 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38349 * resolv/nss_dns/dns-host.c: Merge copyright years.
38351 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38353 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38354 Optimize memcpy with prefetch if
38355 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38356 src, dst pointers have unequal 16 byte alignments.
38358 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38361 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38362 from a CNAME entry and return the minimum ttl for the query.
38363 (gaih_getanswer_slice): Likewise.
38365 2012-03-30 Jeff Law <law@redhat.com>
38367 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38369 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38370 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38372 * resolv/nss_dns/dns-host.c: Update copyright year.
38374 2012-03-30 Ulrich Drepper <drepper@gmail.com>
38376 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38377 requests to save a system call. Fix check that all bytes are sent.
38379 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38380 comments for sendmmsg.
38382 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38385 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38386 with only 1 character between 0x0041 and 0x01b0.
38387 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38388 * wcsmbs/tst-mbsnrtowcs.c: New file.
38390 2012-03-29 David S. Miller <davem@davemloft.net>
38392 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38393 small copies by hand.
38395 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38398 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38399 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38402 2012-03-28 David S. Miller <davem@davemloft.net>
38404 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38405 that branches into memcpy.
38406 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38407 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38408 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38409 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38410 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38412 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38413 implementation too.
38414 * sysdeps/sparc/mempcpy.S: New file.
38416 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38417 the IFUNC routine in the libc case.
38418 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38420 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38421 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38422 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38423 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38424 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38425 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38426 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38427 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38429 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38430 loop to 256 bytes instead of 64 bytes and fix test signedness.
38432 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38433 * sysdeps/sparc/sparc32/Makefile: rather than here...
38434 * sysdeps/sparc/sparc64/Makefile: and here.
38436 2012-03-28 Ulrich Drepper <drepper@gmail.com>
38438 * malloc/mallocbug.c: Avoid warnings about unused variables.
38440 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38443 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38444 in the right place. Discard and retry query if response is
38445 larger than input buffer size.
38447 2012-03-28 Joseph Myers <joseph@codesourcery.com>
38452 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38453 x for large integer exponent.
38454 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38455 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38456 sign of result as needed afterwards.
38457 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38458 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38459 result for underflowing pow the same as for overflow.
38460 (__kernel_standard_l): Handle powl overflow and underflow here
38461 rather than calling __kernel_standard.
38462 * math/libm-test.inc (pow_test): Add more tests.
38477 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38478 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38479 (__kernel_standard_l): New function.
38480 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38482 * math/w_acosl.c (__acosl): Likewise.
38483 * math/w_asinl.c (__asinl): Likewise.
38484 * math/w_atan2l.c (__atan2l): Likewise.
38485 * math/w_atanhl.c (__atanhl): Likewise.
38486 * math/w_coshl.c (__coshl): Likewise.
38487 * math/w_exp10l.c (__exp10l): Likewise.
38488 * math/w_exp2l.c (__exp2l): Likewise.
38489 * math/w_fmodl.c (__fmodl): Likewise.
38490 * math/w_hypotl.c (__hypotl): Likewise.
38491 * math/w_j0l.c (__j0l, __y0l): Likewise.
38492 * math/w_j1l.c (__j1l, __y1l): Likewise.
38493 * math/w_jnl.c (__jnl, __ynl): Likewise.
38494 * math/w_lgammal.c (__lgammal): Likewise.
38495 * math/w_log10l.c (__log10l): Likewise.
38496 * math/w_log2l.c (__log2l): Likewise.
38497 * math/w_logl.c (__logl): Likewise.
38498 * math/w_powl.c (__powl): Likewise.
38499 * math/w_remainderl.c (__remainderl): Likewise.
38500 * math/w_scalbl.c (sysv_scalbl): Likewise.
38501 * math/w_sinhl.c (__sinhl): Likewise.
38502 * math/w_sqrtl.c (__sqrtl): Likewise.
38503 * math/w_tgammal.c (__tgammal): Likewise.
38504 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38505 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38506 * math/libm-test.inc (acos_test): Add more tests.
38507 (acosh_test): Likewise.
38508 (asin_test): Likewise.
38509 (atanh_test): Likewise.
38510 (exp_test): Likewise.
38511 (exp10_test): Likewise.
38512 (exp2_test): Likewise.
38513 (expm1_test): Likewise.
38514 (lgamma_test): Likewise.
38515 (log_test): Likewise.
38516 (log10_test): Likewise.
38517 (log1p_test): Likewise.
38518 (log2_test): Likewise.
38519 (pow_test): Do not allow some spurious overflow exceptions.
38520 (sqrt_test): Add more tests.
38521 (tgamma_test): Likewise.
38522 (y0_test): Likewise.
38523 (y1_test): Likewise.
38524 (yn_test): Likewise.
38526 2012-03-27 Anton Blanchard <anton@samba.org>
38528 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38530 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38531 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38532 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38534 2012-03-27 David S. Miller <davem@davemloft.net>
38536 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38538 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38539 have-as-vis3 check.
38541 2012-03-27 Andreas Jaeger <aj@suse.de>
38543 * sysdeps/x86_64/elf/configure.in: Moved to ...
38544 * sysdeps/x86_64/configure.in: ... here.
38545 * sysdeps/x86_64/elf/start.S: Moved to ...
38546 * sysdeps/x86_64/start.S: ... here.
38547 * sysdeps/x86_64/elf/configure: Delete.
38549 * sysdeps/x86_64/configure.in: Merge contents from
38550 sysdeps/i386/configure.in (without i686 check).
38552 * sysdeps/i386/elf/Versions: Merge into ...
38553 * sysdeps/i386/Versions: ... this.
38554 * sysdeps/i386/elf/Versions: Delete file.
38555 * sysdeps/i386/elf/start.S: Moved to ...
38556 * sysdeps/i386/start.S: ...here.
38557 * sysdeps/i386/elf/configure.in: Merge into...
38558 * sysdeps/i386/configure.in: ...here.
38559 * sysdeps/i386/elf/configure.in: Delete file.
38560 * sysdeps/i386/elf/configure: Delete file.
38562 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38563 * debug/backtracesyms.c: ... here.
38564 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38565 * debug/backtracesymsfd.c: ... here.
38566 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38567 * sysdeps/generic/ifunc-sel.h: ... here.
38569 * sysdeps/unix/i386/start.c: Delete file.
38570 * sysdeps/unix/sparc/start.c: Delete file.
38571 * sysdeps/unix/start.c: Delete file.
38573 * sysdeps/sh/elf/configure.in: Moved to ...
38574 * sysdeps/sh/configure.in: ... here.
38575 * sysdeps/sh/elf/start.S: Moved to ...
38576 * sysdeps/sh/start.S: ... here.
38577 * sysdeps/sh/elf/configure: Delete file.
38579 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38580 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38581 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38582 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38583 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38584 * sysdeps/powerpc/powerpc64/start.S: here.
38585 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38586 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38587 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38588 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38589 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38591 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38592 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38593 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38594 * sysdeps/powerpc/powerpc32/start.S: ... here.
38595 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38596 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38597 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38599 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38600 * sysdeps/powerpc/ifunc-sel.h: ... here.
38601 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38602 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38604 * sysdeps/sparc/elf/configure.in: Moved to ...
38605 * sysdeps/sparc/configure.in: ... here.
38606 * sysdeps/sparc/elf/configure: Delete file.
38607 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38608 * sysdeps/sparc/sparc32/start.S: ... here.
38609 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38610 * sysdeps/sparc/sparc64/start.S: ... here.
38611 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38612 * sysdeps/sparc/sparc32/Makefile: ... this.
38613 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38614 * sysdeps/sparc/sparc64/Makefile: ... this.
38616 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38617 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38618 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38619 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38620 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38621 * sysdeps/s390/s390-32/setjmp.S: ... here.
38622 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38623 * sysdeps/s390/s390-32/configure.in: ... here.
38624 * sysdeps/s390/s390-32/elf/configure: Delete file.
38625 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38626 * sysdeps/s390/s390-32/start.S: ... here.
38628 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38629 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38630 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38631 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38632 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38633 * sysdeps/s390/s390-64/setjmp.S: ... here.
38634 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38635 * sysdeps/s390/s390-64/configure.in: ... here
38636 * sysdeps/s390/s390-64/elf/configure: Delete file.
38637 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38638 * sysdeps/s390/s390-64/start.S: ... here.
38639 * sysdeps/s390/s390-64/elf/configure: Delete.
38641 * configure.in: Remove support for elf directories in sysdeps.
38643 * configure: Regenerated.
38644 * sysdeps/i386/configure: Regenerated.
38645 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38646 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38647 * sysdeps/s390/s390-32/configure: Regenerated.
38648 * sysdeps/s390/s390-64/configure: Regenerated.
38649 * sysdeps/sh/configure: Regenerated.
38650 * sysdeps/sparc/configure: Regenerated.
38651 * sysdeps/x86_64/configure: Regenerated.
38653 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38657 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38658 denormal result into account.
38660 2012-03-25 Roland McGrath <roland@hack.frob.com>
38662 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38663 Reported by Allan McRae <allan@archlinux.org>.
38665 2012-03-23 Jeff Law <law@redhat.com>
38667 * nss/getnssent.c (__nss_getent): Fix typo.
38669 2012-03-23 David S. Miller <davem@davemloft.net>
38671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38673 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38675 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38676 to pad to uint64_t for each field.
38677 (dl_tls_index): Replace unsigned long with uint64_t.
38679 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38680 Paul Pluzhnikov <ppluzhnikov@google.com>
38683 * grp/Makefile (otherlibs): Don't set it.
38684 * inet/Makefile (otherlibs): Likewise.
38685 * login/Makefile (otherlibs): Likewise.
38686 * nscd/Makefile (otherlibs): Likewise.
38687 * posix/Makefile (otherlibs): Likewise.
38688 * pwd/Makefile (otherlibs): Likewise.
38689 * rt/Makefile (otherlibs): Likewise.
38690 * sunrpc/Makefile (otherlibs): Likewise.
38691 * nss/Makefile (otherlibs): Likewise.
38692 Add libnss_files to routines and static-only-routines.
38693 ($(objpfx)getent): Remove rule.
38694 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38695 static-only-routines.
38697 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38700 * math/s_cexp.c: Include <float.h>.
38701 (__cexp): Handle exp result overflowing not necessarily
38702 overflowing both real and imaginary parts of result.
38703 * math/s_cexpf.c: Likewise.
38704 * math/s_cexpl.c: Likewise.
38705 * math/libm-test.inc (cexp_test): Add more tests.
38706 * sysdeps/i386/fpu/libm-test-ulps: Update.
38707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38709 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38711 * include/link.h (ELFW): New macro.
38712 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38713 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38715 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38717 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38720 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38722 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38724 (struct La_x32_retval): Likewise.
38726 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38728 * sysdeps/x86_64/preconfigure.in: New file.
38729 * sysdeps/x86_64/preconfigure: New generated file.
38731 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38734 * math/e_exp2l.c: Include <float.h>.
38735 (__ieee754_exp2l): Handle overflow and underflow cases
38736 separately. Only pass fractional part of argument to
38738 * math/libm-test.inc (exp2_test): Add more tests.
38740 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38741 negating x to take absolute value.
38742 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38744 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38745 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38747 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38748 computing low part if x was negated.
38749 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38751 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38753 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38754 la_x32_gnu_pltexit.
38755 (pltexit): Cast int_retval to ptrdiff_t.
38756 * elf/tst-auditmod3b.c: Likewise.
38757 * elf/tst-auditmod4b.c: Likewise.
38758 * elf/tst-auditmod5b.c: Likewise.
38759 * elf/tst-auditmod6b.c: Likewise.
38760 * elf/tst-auditmod6c.c: Likewise.
38761 * elf/tst-auditmod7b.c: Likewise.
38763 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38764 and x32_gnu_pltexit.
38766 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38767 __ELF_NATIVE_CLASS.
38768 (La_x32_regs): New macro.
38769 (La_x32_retval): Likewise.
38770 (la_x32_gnu_pltenter): New function prototype.
38771 (la_x32_gnu_pltexit): Likewise.
38773 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38775 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38780 * configure.in (libc_cv_cc_nofma): Check for option to disable
38781 generation of FMA instructions.
38782 * configure: Regenerate.
38783 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38784 * sysdeps/ieee754/dbl-64/Makefile: New file.
38785 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38786 Remove brandred-fma4.
38787 (CFLAGS-brandred-fma4.c): Remove.
38788 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38789 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38791 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38794 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38796 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38797 LLONG_MAX != LONG_MAX.
38798 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38799 (_fitoa_word): Likewise.
38800 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38801 LLONG_MAX != LONG_MAX.
38802 * stdio-common/_itowa.h: Include <_itoa.h>.
38803 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38804 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38805 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38806 only if not defined.
38807 (_ITOA_WORD_TYPE): Likewise.
38808 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38809 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38811 2012-03-21 David S. Miller <davem@davemloft.net>
38813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38815 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38817 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38818 of x86_64 when setting libc_cv_slibdir, libdir and
38820 * sysdeps/unix/sysv/linux/configure: Regenerated.
38822 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38824 * manual/lang.texi (Old Varargs): Remove section.
38825 (How Variadic): Update menu.
38826 (va_start): Do not mention varargs.h.
38828 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38829 Joseph Myers <joseph@codesourcery.com>
38831 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38833 * configure: Regenerated.
38835 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38837 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38838 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38841 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38844 * Makefile (files-for-dist): Remove NOTES.
38845 (NOTES): Remove rule.
38846 * README: Don't refer to NOTES.
38847 * manual/creature.texi: Don't include macros.texi.
38848 * manual/intro.texi (creature.texi): Remove comment referring to
38851 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38852 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38853 * configure: Regenerated.
38854 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38855 LIBC_TRY_CC_OPTION.
38856 (libc_cv_as_i686): Likewise.
38857 (libc_cv_cc_avx): Likewise.
38858 (libc_cv_cc_sse2avx): Likewise.
38859 (libc_cv_cc_fma4): Likewise.
38860 (libc_cv_cc_novzeroupper): Likewise.
38861 * sysdeps/i386/configure: Regenerated.
38864 * sysdeps/i386/fpu/s_cexp.S: Remove.
38865 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38866 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38867 * math/libm-test.inc (cexp_test): Add more tests.
38868 * sysdeps/i386/fpu/libm-test-ulps: Update.
38869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38871 2012-03-21 Allan McRae <allan@archlinux.org>
38873 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38875 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38878 * math/w_exp2.c: Do not include <float.h>.
38879 (o_threshold, u_threshold): Remove.
38880 (__exp2): Calculate result before checking finiteness and calling
38882 * math/w_exp2f.c: Likewise.
38883 * math/w_exp2l.c: Likewise.
38884 * math/libm-test.inc (exp2_test): Require overflow exception for
38888 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38889 range of signed 64-bit integers before using fistpll. Remove
38890 checks for whether integers fit in mantissa bits.
38891 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38892 the range of signed 32-bit integers before using fistpl. Remove
38893 checks for whether integers fit in mantissa bits.
38894 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38895 (__ieee754_powl): Test for y outside the range of signed 64-bit
38896 integers before using fistpll. Reduce 64-bit values to 63-bit
38898 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38899 divide-by-zero is raised for zero to large negative powers.
38900 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38901 (__ieee754_powl): Test for y outside the range of signed 64-bit
38902 integers before using fistpll. Reduce 64-bit values to 63-bit
38904 * math/libm-test.inc (pow_test): Add more tests.
38906 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38908 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38909 <stdio-common/_itoa.h>.
38910 * debug/segfault.c: Likewise.
38911 * elf/dl-cache.c: Likewise.
38912 * elf/dl-minimal.c: Likewise.
38913 * elf/dl-misc.c: Likewise.
38914 * elf/dl-sysdep.c: Likewise.
38915 * elf/dl-version.c: Likewise.
38916 * elf/rtld.c: Likewise.
38917 * hurd/hurdsock.c: Likewise.
38918 * hurd/lookup-retry.c: Likewise.
38919 * malloc/malloc.c: Likewise.
38920 * malloc/mtrace.c: Likewise.
38921 * nscd/nscd_getgr_r.c: Likewise.
38922 * nscd/nscd_getpw_r.c: Likewise.
38923 * nscd/nscd_getserv_r.c: Likewise.
38924 * posix/getopt_init.c: Likewise.
38925 * posix/wordexp.c: Likewise.
38926 * stdio-common/_itoa.c: Likewise.
38927 * stdio-common/printf_fphex.c: Likewise.
38928 * stdio-common/vfprintf.c: Likewise.
38929 * string/_strerror.c: Likewise.
38930 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38931 * sysdeps/i386/i686/hp-timing.h: Likewise.
38932 * sysdeps/mach/_strerror.c: Likewise.
38933 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38934 * sysdeps/mach/hurd/sethostid.c: Likewise.
38935 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38936 * sysdeps/mach/xpg-strerror.c: Likewise.
38937 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38938 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38939 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38940 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38941 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38942 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38943 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38944 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38945 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38946 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38947 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38948 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38949 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38950 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38951 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38952 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38953 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38954 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38955 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38956 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38957 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38959 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38961 * stdio-common/_itoa.h: Moved to ...
38962 * sysdeps/generic/_itoa.h: Here.
38964 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38966 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38967 instead of "_itoa.h" and "_itowa.h".
38968 * stdio-common/vfprintf.: Likewise.
38970 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38972 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38974 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38975 (__signbit): Likwise.
38976 (llrintf): Likwise.
38979 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38981 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38984 2012-03-20 Joseph Myers <joseph@codesourcery.com>
38986 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38987 OVERFLOW_EXCEPTION_OK.
38988 * math/libm-test.inc ("Philosophy"): Update comment about
38990 (OVERFLOW_EXCEPTION): Define.
38991 (OVERFLOW_EXCEPTION_OK): Likewise.
38992 (INVALID_EXCEPTION_OK): Renumber.
38993 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38994 (IGNORE_ZERO_INF_SIGN): Likewise.
38995 (test_exceptions): Handle FE_OVERFLOW.
38996 (exp10_test): Expect overflow exceptions.
38997 (exp2_test): Likewise.
38998 (expm1_test): Likewise.
38999 (nextafter_test): Likewise.
39000 (pow_test): Likewise.
39001 (scalbn_test): Likewise.
39002 (scalbln_test): Likewise.
39004 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39006 * sysdeps/x86_64/bits/atomic.h
39007 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39009 (atomic_exchange_acq): Likewise.
39010 (__arch_exchange_and_add_body): Likewise.
39011 (__arch_add_body): Likewise.
39012 (atomic_add_negative): Likewise.
39013 (atomic_add_zero): Likewise.
39015 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39017 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39018 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39020 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39022 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39023 Check __x86_64__ instead of __WORDSIZE.
39025 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39027 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39029 2012-03-19 David S. Miller <davem@davemloft.net>
39031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39033 * sysdeps/sparc/fpu/fenv_private.h: New file.
39034 * sysdeps/sparc/fpu/math_private.h: Use it.
39035 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39037 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39038 (libc_feholdexcept_setroundl): Remove.
39039 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39041 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39042 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39044 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39046 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39047 int64_t instead of long int.
39048 (INSERT_WORDS64): Likwise.
39050 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39052 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39053 _Unwind_GetCFA return to _Unwind_Ptr first.
39055 2012-03-19 Joseph Myers <joseph@codesourcery.com>
39058 * math/s_clog.c: Include <float.h>.
39059 (__clog): Scale large or subnormal inputs.
39060 * math/s_clogf.c: Likewise.
39061 * math/s_clogl.c: Likewise.
39062 * math/s_clog10.c: Include <float.h>.
39063 (M_LOG10_2): Define.
39064 (__clog10): Scale large or subnormal inputs.
39065 * math/s_clog10f.c: Likewise.
39066 * math/s_clog10l.c: Likewise.
39067 * math/libm-test.inc (clog_test): Add more tests.
39068 (clog10_test): Likewise.
39069 * sysdeps/i386/fpu/libm-test-ulps: Update.
39070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39073 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39075 * math/libm-test.inc (atan2_test): Add another test.
39077 * Makerules (common-objdir-compile): Remove.
39078 * sysdeps/unix/Makefile (config-generated): Do not add
39079 $(unix-generated) to variable.
39080 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39081 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39083 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39085 [generic bits/local_lim.h] (before-compile): Do not append to
39087 [generic bits/local_lim.h] (common-generated): Likewise.
39088 [generic sys/param.h] (before-compile): Do not append to variable.
39089 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39090 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39091 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39092 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39094 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39095 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39096 [generic sys/param.h] ($(addprefix
39097 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39098 [generic sys/param.h] (common-generated): Do not append to
39100 [generic sys/param.h] (sysdep_headers): Likewise.
39101 [generic bits/errno.h] (before-compile): Do not append to
39103 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39105 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39106 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39107 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39108 [generic bits/errno.h] (common-generated): Do not append to
39110 [generic bits/ioctls.h] (before-compile): Do not append to
39112 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39114 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39115 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39116 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39118 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39119 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39120 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39121 [generic bits/ioctls.h] (common-generated): Do not append to
39123 [generic sys/syscall.h] (syscall.h): Remove variable.
39124 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39126 [generic sys/syscall.h] (before-compile): Do not append to
39128 [generic sys/syscall.h] (common-generated): Likewise.
39129 * sysdeps/unix/errnos-tmpl.c: Remove file.
39130 * sysdeps/unix/errnos.awk: Likewise.
39131 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39132 * sysdeps/unix/ioctls.awk: Likewise.
39133 * sysdeps/unix/mk-local_lim.c: Likewise.
39134 * sysdeps/unix/snarf-ioctls: Likewise.
39136 2012-03-19 Richard Henderson <rth@twiddle.net>
39138 * sysdeps/i386/fpu/fenv_private.h: New file.
39139 * sysdeps/i386/fpu/math_private.h: Use it.
39140 (math_opt_barrier, math_force_eval): Remove.
39141 (libc_feholdexcept_setround_53bit): Remove.
39142 (libc_feupdateenv_53bit): Remove.
39143 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39144 (math_opt_barrier, math_force_eval): Remove.
39145 (libc_feholdexcept): Remove.
39146 (libc_feholdexcept_setround): Remove.
39147 (libc_fetestexcept, libc_fesetenv): Remove.
39148 (libc_feupdateenv_test): Remove.
39149 (libc_feupdateenv, libc_feholdsetround): Remove.
39150 (libc_feresetround): Remove.
39152 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39153 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39155 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39156 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39157 (libc_feupdateenv_testl): New.
39158 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39159 (libc_feupdateenv_testf): New.
39160 (libc_feupdateenv): Use libc_feupdateenv_test.
39161 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39162 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39164 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39165 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39166 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39167 (libc_feresetround_noex): New.
39168 (libc_feresetround_noexf): New.
39169 (libc_feresetround_noexl): New.
39170 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39171 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39172 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39173 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39175 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39176 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39178 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39179 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39180 SET_RESTORE_ROUND_NOEX.
39181 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39182 SET_RESTORE_ROUND_NOEXF.
39183 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39184 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39185 (libc_feholdsetroundf): New.
39186 (libc_feresetround, libc_feresetroundf): New.
39188 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39189 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39190 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39192 * sysdeps/generic/math_private.h: Include <fenv.h>.
39193 (default_libc_feholdexcept): New.
39194 (default_libc_feholdexcept_setround): New.
39195 (default_libc_fesetenv, default_libc_feupdateenv): New.
39196 (libc_feholdexcept): Only define if undefined.
39197 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39198 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39199 (libc_feholdexcept_setroundl): Likewise.
39200 (libc_feholdexcept_setround_53bit): Likewise.
39201 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39202 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39203 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39204 (libc_feupdateenv_53bit): Likewise.
39205 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39206 (libc_feholdexcept): Convert from macro to inline function.
39207 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39208 (libc_fesetenv, libc_feupdateenv): Likewise.
39210 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39211 not previously defined.
39212 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39213 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39214 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39215 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39216 * sysdeps/ieee754/flt-32/math_private.h: New file.
39217 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39218 math_private.h below SET_FLOAT_WORD.
39219 (__isnan, __isinf_ns, __finite): Remove.
39220 (__isnanf, __isinf_nsf, __finitef): Remove.
39222 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39226 2012-03-17 David S. Miller <davem@davemloft.net>
39229 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39232 2012-03-16 David S. Miller <davem@davemloft.net>
39234 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39238 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39240 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39241 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39242 sysdep_routines when subdir is sysvipc.
39243 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39244 __getshmlba helper.
39246 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39248 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39250 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39253 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39255 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39256 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39257 (__lround): Renamed to ...
39258 (__llround): This. Replace long int with long long int.
39259 Define lround functions as aliases of llround functions.
39260 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39262 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39264 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39265 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39266 adresses to uintptr_t. Replace "long int" and "unsigned long
39267 int" with "greg_t" on va_arg.
39269 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39271 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39272 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39274 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39275 Move e_machine check before EI_CLASS check. Handle x32
39276 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39277 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39278 SKIP_EM_IA_64 and include
39279 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39281 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39282 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39283 (add_system_dir): New macro.
39285 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39286 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39288 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39299 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39301 * math/w_j0f.c (j0f): Likewise.
39303 * math/w_j0l.c (__j0l): Likewise.
39305 * math/w_j1.c (j1): Likewise.
39307 * math/w_j1f.c (j1f): Likewise.
39309 * math/w_j1l.c (__j1l): Likewise.
39311 * math/w_jn.c (jn): Likewise.
39313 * math/w_jnf.c (jnf): Likewise.
39315 * math/w_jnl.c (__jnl): Likewise.
39317 * math/libm-test.inc (j0_test): Add more tests.
39318 (j1_test): Likewise.
39319 (jn_test): Likewise. Add trailing semicolon to existing test.
39320 (y0_test): Likewise.
39321 (y1_test): Likewise.
39322 * sysdeps/i386/fpu/libm-test-ulps: Update.
39323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39327 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39328 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39329 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39330 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39331 (__tanl): Set errno for infinite argument.
39332 * sysdeps/i386/fpu/mptan.c: Remove.
39333 * sysdeps/i386/fpu/s_tan.S: Likewise.
39334 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39335 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39336 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39337 * math/libm-test.inc (tan_test): Add more tests and enable more
39338 tests for double and long double.
39339 * sysdeps/i386/fpu/libm-test-ulps: Update.
39340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39342 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39344 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39345 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39347 2012-03-16 Roland McGrath <roland@hack.frob.com>
39349 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39350 * configure.in: Use it for both main tree and add-ons.
39351 * configure: Regenerated.
39353 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39355 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39357 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39359 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39363 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39364 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39365 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39366 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39367 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39369 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39370 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39371 != 0 for prec == 2.
39372 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39373 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39374 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39375 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39376 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39377 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39378 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39379 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39380 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39381 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39382 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39383 * math/libm-test.inc (cos_test): Add more tests and enable more
39384 tests for long double.
39385 (sin_test): Likewise.
39386 (sincos_test): Likewise.
39387 * sysdeps/i386/fpu/libm-test-ulps: Update.
39388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39390 2012-03-16 David S. Miller <davem@davemloft.net>
39392 * sysdeps/sparc/fpu/math_private.h: New file.
39394 2012-03-15 David S. Miller <davem@davemloft.net>
39396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39404 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39405 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39406 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39410 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39411 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39413 * sysdeps/sparc/sparc-ifunc.h: New file.
39414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39438 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39439 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39440 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39441 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39442 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39443 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39446 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39448 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39449 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39450 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39451 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39452 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39453 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39454 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39455 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39456 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39457 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39459 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39461 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39465 2012-03-15 Andreas Jaeger <aj@suse.de>
39468 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39469 ieee754/flt-32 implementation for sin, cos and sincos.
39470 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39471 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39472 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39473 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39474 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39475 ieee754/flt-32 implementation for tan.
39477 * math/libm-test.inc (cos_test): Enable some large input tests for
39479 (sin_test): Likewise.
39480 (sincos_test): Likewise.
39481 (tan_test): Add tests for large input.
39483 * sysdeps/i386/fpu/libm-test-ulps: Update.
39485 2012-03-15 Andreas Jaeger <aj@suse.de>
39488 * math/libm-test.inc (cos_test): Add more test cases.
39489 (sin_test): Likewise.
39490 (sincos_test): Likewise.
39492 2012-03-15 Andreas Jaeger <aj@suse.de>
39495 * math/libm-test.inc (cos_test): Add a test case for large input
39497 (sin_test): Likewise.
39498 (sincos_test): Likewise.
39500 2012-03-15 Andreas Jaeger <aj@suse.de>
39501 Joseph Myers <joseph@codesourcery.com>
39504 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39505 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39506 * sysdeps/i386/fpu/branred.c: Likewise.
39507 * sysdeps/i386/fpu/dosincos.c: Likewise.
39508 * sysdeps/i386/fpu/mpa.c: Likewise.
39509 * sysdeps/i386/fpu/s_cos.S: Likewise.
39510 * sysdeps/i386/fpu/s_sin.S: Likewise.
39511 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39512 * sysdeps/i386/fpu/sincos32.c: Likewise.
39514 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39516 (libc_feupdateenv_53bit): Define.
39517 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39519 (libc_feupdateenv_53bit): Define.
39521 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39522 53 bit (without extend i386 double precision).
39524 * math/libm-test.inc (sincos_test): Add tests for large input.
39528 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39530 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39534 2012-03-15 David S. Miller <davem@davemloft.net>
39536 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39537 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39538 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39539 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39550 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39563 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39564 fmin/fmax sysdep routines.
39565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39567 2012-03-14 David S. Miller <davem@davemloft.net>
39569 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39570 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39571 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39572 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39573 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39574 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39575 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39576 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39577 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39578 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39579 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39580 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39582 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39583 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39587 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39588 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39589 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39590 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39591 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39592 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39593 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39594 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39595 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39596 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39597 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39641 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39646 * sysdeps/sparc/configure.in: New file.
39647 * sysdeps/sparc/configure: Generate.
39648 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39649 * configure: Regenerate.
39650 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39651 * config.make.in (have-as-vis3): New.
39652 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39653 available use -Av9d instead of -Av9a.
39654 * sysdeps/sparc/sparc64/Makefile: Likewise.
39655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39664 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39665 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39666 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39667 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39668 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39670 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39671 fzeros/fnegs to load 0x80000000 into a float register instead of
39673 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39675 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39677 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39679 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39680 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39681 ($(inst_includedir)/bits/syscall.h): Remove rule.
39682 ($(objpfx)bits/syscall.d): Include instead of
39683 $(objpfx)syscall-list.d.
39684 (generated): Change syscall-list.h and syscall-list.d to
39685 bits/syscall.h and bits/syscall.d.
39687 2012-03-14 Roland McGrath <roland@hack.frob.com>
39690 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39692 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39695 * math/s_csqrt.c: Include <float.h>.
39696 (__csqrt): Scale large or subnormal inputs.
39697 * math/s_csqrtf.c: Likewise.
39698 * math/s_csqrtl.c: Likewise.
39699 * math/libm-test.inc (csqrt_test): Add more tests.
39700 * sysdeps/i386/fpu/libm-test-ulps: Update.
39701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39704 * math/libm-test.inc (hypot_test): Add more tests.
39706 2012-03-13 David S. Miller <davem@davemloft.net>
39709 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39710 double-precision for the calculation instead of scaling.
39712 2012-03-13 Joseph Myers <joseph@codesourcery.com>
39714 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39715 manipulate bits before adding and subtracting TWO52[sx].
39716 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39717 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39719 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39721 2012-03-13 David S. Miller <davem@davemloft.net>
39723 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39724 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39725 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39726 rtld-global-offsets.h
39727 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39729 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39732 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39734 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39735 'err' in the ifdef scope in which it is actually used.
39737 * nss/nss_db/db-init.c: Include string.h
39739 2012-03-12 David S. Miller <davem@davemloft.net>
39741 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39742 masking out of the most significant byte of random value used.
39743 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39744 Fix coding style in previous change.
39746 * sysdeps/unix/sysv/linux/kernel-features.h
39747 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39748 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39750 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39753 2012-03-11 David S. Miller <davem@davemloft.net>
39755 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39756 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39757 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39758 for 'resultvar' otherwise things get truncated on 64-bit.
39760 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39761 Fix masking out of the most significant byte of random value used.
39763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39765 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39769 2012-03-09 David S. Miller <davem@davemloft.net>
39771 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39772 variables with appropriate CPP guards.
39773 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39774 from the frame pointer, not the stack pointer. Correct layout
39775 comments. Fix test on resulting framesize and the management of
39776 the outregs buffer for pltexit. Preserve floating point return
39777 values across _dl_call_pltexit call.
39778 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39779 framesize and the management of the outregs buffer for pltexit.
39780 Preserve floating point return values across _dl_call_pltexit
39782 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39783 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39784 (la_sparc64_gnu_pltexit): New functions.
39785 (print_exit): Fix format string for return register value.
39787 2012-03-10 Joseph Myers <joseph@codesourcery.com>
39789 * sunrpc/Makefile (others): Add rpcgen.
39790 ($(objpfx)rpcgen): Remove special build rule and dependency on
39792 * sunrpc/rpcgen.c: New file.
39794 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39797 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39798 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39799 * sysdeps/i386/crti.S: Likewise.
39800 * sysdeps/i386/crtn.S: Likewise.
39801 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39802 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39803 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39804 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39805 * sysdeps/sh/crti.S: Likewise.
39806 * sysdeps/sh/crtn.S: Likewise.
39807 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39810 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39812 * locale/programs/locfile-kw.gperf: Likewise.
39813 * locale/programs/charmap-kw.h: Regenerated.
39814 * locale/programs/locfile-kw.h: Likewise.
39817 * intl/plural.y: Replace FSF snail mail address with URL.
39818 * intl/plural.c: Regenerated.
39820 2012-03-09 Richard Henderson <rth@twiddle.net>
39822 * include/math_private.h: Remove file.
39823 * math/math_private.h: Move file ...
39824 * sysdeps/generic/math_private.h: ... here.
39826 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39827 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39828 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39830 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39831 and <math_private.h>.
39832 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39833 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39834 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39835 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39836 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39837 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39838 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39839 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39840 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39841 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39842 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39843 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39844 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39845 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39846 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39847 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39848 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39849 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39850 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39851 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39852 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39853 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39854 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39855 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39856 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39857 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39858 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39859 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39860 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39861 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39862 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39863 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39864 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39865 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39866 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39867 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39868 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39869 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39870 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39871 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39872 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39873 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39874 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39875 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39876 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39877 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39878 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39879 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39880 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39881 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39882 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39883 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39884 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39885 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39886 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39887 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39888 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39889 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39890 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39891 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39892 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39893 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39894 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39895 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39896 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39897 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39898 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39899 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39900 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39901 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39902 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39903 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39904 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39905 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39906 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39907 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39908 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39909 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39910 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39911 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39912 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39913 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39914 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39915 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39916 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39917 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39918 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39919 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39920 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39921 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39922 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39923 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39924 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39925 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39926 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39927 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39928 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39929 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39930 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39931 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39932 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39933 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39934 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39935 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39936 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39937 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39938 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39939 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39940 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39941 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39942 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39943 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39944 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39945 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39946 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39947 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39948 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39949 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39950 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39951 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39952 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39953 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39954 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39955 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39956 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39957 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39958 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39959 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39960 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39961 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39962 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39963 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39964 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39965 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39966 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39967 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39968 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39969 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39970 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39971 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39972 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39973 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39974 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39975 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39976 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39977 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39978 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39979 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39980 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39981 * sysdeps/ieee754/k_standard.c: Likewise.
39982 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39983 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39984 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39985 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39986 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39987 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39988 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39989 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39990 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39991 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39992 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39993 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39994 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39995 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39996 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39997 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39998 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39999 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40000 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40001 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40002 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40003 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40004 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40005 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40006 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40007 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40008 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40009 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40010 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40011 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40012 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40013 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40014 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40015 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40016 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40017 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40018 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40019 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40020 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40021 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40022 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40023 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40024 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40025 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40026 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40027 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40028 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40029 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40030 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40031 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40032 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40033 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40034 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40035 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40036 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40037 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40038 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40039 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40040 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40041 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40042 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40043 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40044 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40045 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40046 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40047 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40048 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40049 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40050 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40051 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40052 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40053 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40054 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40055 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40056 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40057 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40058 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40059 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40060 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40061 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40062 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40063 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40064 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40065 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40066 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40067 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40068 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40069 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40070 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40071 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40072 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40073 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40074 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40075 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40076 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40077 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40078 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40079 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40080 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40081 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40082 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40083 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40084 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40085 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40086 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40087 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40088 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40089 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40090 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40091 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40092 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40093 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40094 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40095 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40096 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40097 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40098 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40099 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40100 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40101 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40102 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40103 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40104 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40105 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40106 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40107 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40108 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40109 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40110 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40111 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40112 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40113 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40114 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40115 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40116 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40117 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40118 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40119 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40120 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40121 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40122 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40123 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40124 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40125 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40126 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40127 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40128 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40129 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40130 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40131 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40132 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40133 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40134 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40135 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40136 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40137 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40138 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40139 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40140 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40141 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40142 * sysdeps/ieee754/s_lib_version.c: Likewise.
40143 * sysdeps/ieee754/s_matherr.c: Likewise.
40144 * sysdeps/ieee754/s_signgam.c: Likewise.
40145 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40146 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40147 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40148 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40149 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40150 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40151 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40152 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40153 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40154 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40155 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40156 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40157 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40158 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40159 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40160 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40161 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40162 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40163 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40164 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40165 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40167 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40169 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40170 * sunrpc/rpc_main.c: Likewise.
40171 * sunrpc/rpc_svcout.c: Likewise.
40173 2012-03-09 David S. Miller <davem@davemloft.net>
40175 * include/math_private.h: New file.
40177 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40179 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40180 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40181 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40182 from <bits/socket_type.h>.
40183 (enum __socket_type): Don't define here.
40184 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40185 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40186 bits/socket_type.h.
40189 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40190 checking __USE_GNU.
40192 * Makerules ($(inst_includedir)/%.h): New rule.
40193 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40194 (install-others): Remove variable setting.
40195 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40197 2012-03-08 Richard Henderson <rth@twiddle.net>
40199 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40200 from macro to inline function; merge with the
40201 !__LIBC_INTERNAL_MATH_INLINES version.
40202 (__ieee754_sqrtf): Likewise.
40204 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40205 to inline function.
40206 (__rintf, __floor, __floorf): Likewise.
40208 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40209 macro to inline function.
40210 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40212 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40213 not <math/math_private.h>.
40215 2012-03-08 David S. Miller <davem@davemloft.net>
40217 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40219 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40221 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40223 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40225 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40226 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40228 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40230 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40231 be defined individually, they must be defined as a block. Define
40232 S for printing a string instead of hidint the different by using a
40233 macro for adding the 'l'.
40234 * stdio-common/tst-fphex-wide.c: Adjust.
40236 2012-03-07 Marek Polacek <polacek@redhat.com>
40238 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40240 2012-03-08 Marek Polacek <polacek@redhat.com>
40243 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40244 * stdio-common/tst-fphex.c: Define a few macros to make the
40245 test reusable. Use them.
40246 * stdio-common/tst-fphex-wide.c: New file.
40248 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40251 * manual/macros.texi (gnusystems): New macro.
40252 (nongnusystems): Likewise.
40253 (gnulinuxhurdsystems): Likewise.
40254 (gnuhurdsystems): Likewise..
40255 (gnulinuxsystems): Likewise.
40256 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40257 variants of the GNU system, not "GNU system".
40258 * manual/conf.texi: Likewise.
40259 * manual/errno.texi: Likewise. Update example of errno macro
40261 * manual/filesys.texi: Likewise.
40262 (getumask): Document as specific to GNU/Hurd.
40263 * manual/install.texi: Likewise. Reword some references to
40265 * manual/intro.texi: Likewise.
40266 * manual/io.texi: Likewise.
40267 (File Name Portability): Detail which constraints are inapplicable
40268 to all GNU systems and which are only inapplicable to GNU/Hurd.
40269 * manual/job.texi: Likewise.
40270 * manual/llio.texi: Likewise.
40271 (O_NOCTTY): Document as present on GNU/Linux.
40272 * manual/maint.texi: Likewise.
40273 * manual/memory.texi: Likewise.
40274 * manual/pattern.texi: Likewise.
40275 * manual/pipe.texi: Likewise.
40276 * manual/process.texi: Likewise.
40277 * manual/resource.texi: Likewise.
40278 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40280 * manual/setjmp.texi: Likewise.
40281 * manual/signal.texi: Likewise.
40282 * manual/startup.texi: Likewise.
40283 * manual/stdio.texi: Likewise.
40284 * manual/terminal.texi: Likewise.
40285 (ONLCR): Document as POSIX.
40286 (OXTABS): Document availability on GNU/Linux as XTABS.
40287 (ONOEOT): Document availability separately from other bits.
40288 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40289 * manual/time.texi: Likewise.
40290 * manual/users.texi: Likewise.
40291 * INSTALL: Regenerated.
40292 * sysdeps/gnu/errlist.c: Regenerated.
40294 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40295 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40296 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40298 * configure: Regenerated.
40300 2012-03-07 Joseph Myers <joseph@codesourcery.com>
40302 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40303 default includes instead of AC_HEADER_CHECK.
40304 * sysdeps/i386/configure: Regenerated.
40307 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40308 * math/s_cacoshf.c (__cacoshf): Likewise.
40309 * math/s_cacoshl.c (__cacoshl): Likewise.
40310 * math/s_casinh.c (__casinh): Set signs of result from argument.
40311 * math/s_casinhf.c (__casinhf): Likewise.
40312 * math/s_casinhl.c (__casinhl): Likewise.
40313 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40314 (casinh_test): Add more tests.
40315 * sysdeps/i386/fpu/libm-test-ulps: Update.
40316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40318 2012-03-07 Ulrich Drepper <drepper@gmail.com>
40320 * po/zh_TW.po: Update from translation team.
40322 * login/Makefile (distribute): Remove variable.
40323 * catgets/Makefile: Likewise.
40324 * mach/Makefile: Likewise.
40325 * malloc/Makefile: Likewise.
40326 * misc/Makefile: Likewise.
40327 * iconv/Makefile: Likewise.
40328 * nscd/Makefile: Likewise.
40329 * hurd/Makefile: Likewise.
40330 * manual/Makefile: Likewise.
40331 * locale/Makefile: Likewise.
40332 * intl/Makefile: Likewise.
40333 * conform/Makefile: Likewise.
40334 * nss/Makefile: Likewise.
40335 * time/Makefile: Likewise.
40336 * soft-fp/Makefile: Likewise.
40337 * dirent/Makefile: Likewise.
40338 * gmon/Makefile: Likewise.
40339 * po/Makefile: Likewise.
40340 * rt/Makefile: Likewise.
40341 * socket/Makefile: Likewise.
40342 * math/Makefile: Likewise.
40343 * signal/Makefile: Likewise.
40344 * debug/Makefile: Likewise.
40345 * elf/Makefile: Likewise.
40346 * timezone/Makefile: Likewise.
40347 * stdlib/Makefile: Likewise.
40348 * iconvdata/Makefile: Likewise.
40349 * sunrpc/Makefile: Likewise.
40350 * io/Makefile: Likewise.
40351 * argp/Makefile: Likewise.
40352 * inet/Makefile: Likewise.
40353 * hesiod/Makefile: Likewise.
40354 * grp/Makefile: Likewise.
40355 * csu/Makefile: Likewise.
40356 * wctype/Makefile: Likewise.
40357 * crypt/Makefile: Likewise.
40358 * libio/Makefile: Likewise.
40359 * string/Makefile: Likewise.
40360 * nis/Makefile: Likewise.
40361 * resolv/Makefile: Likewise.
40362 * stdio-common/Makefile: Likewise.
40363 * wcsmbs/Makefile: Likewise.
40364 * dlfcn/Makefile: Likewise.
40365 * posix/Makefile: Likewise.
40368 * timezone/Makefile: Don't install timezone files, just the programs
40371 2012-03-06 Ulrich Drepper <drepper@gmail.com>
40373 * nss/databases.def: Add missing gshadow entry.
40375 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40377 2012-03-06 Marek Polacek <polacek@redhat.com>
40380 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40381 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40382 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40383 * stdio-common/tst-long-dbl-fphex.c: New file.
40385 2012-03-06 David S. Miller <davem@davemloft.net>
40387 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40388 (set_obp_int): New function.
40389 (get_obp_int): New function.
40390 (__get_clockfreq_via_dev_openprom): Likewise.
40391 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40392 Avoid unused variable warnings on 'val' and use builtin_expect.
40393 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40395 (INLINE_CLONE_SYSCALL): Likewise.
40397 2012-03-05 David S. Miller <davem@davemloft.net>
40399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40401 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40405 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40406 only for |x| >= 40.
40407 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40409 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
40411 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40412 Replace gettimeofday with __vdso_gettimeofday.
40414 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40415 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40416 __vdso_clock_gettime and __vdso_getcpu.
40418 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40419 time with __vdso_time.
40421 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40423 * manual/lang.texi (size_t): Note types to which size_t may be
40424 equivalent with the GNU C Library, but do not describe when
40425 differences between them are significant.
40427 2012-03-05 Andreas Jaeger <aj@suse.de>
40429 * sysdeps/i386/fpu/libm-test-ulps: Update.
40431 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40434 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40435 (__ieee754_pow): Save and restore rounding mode and use
40436 round-to-nearest for main computations.
40437 * math/libm-test.inc (pow_test_tonearest): New function.
40438 (pow_test_towardzero): Likewise.
40439 (pow_test_downward): Likewise.
40440 (pow_test_upward): Likewise.
40441 (main): Call the new functions.
40442 * sysdeps/i386/fpu/libm-test-ulps: Update.
40443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40446 * math/libm-test.inc (cosh_test_tonearest): New function.
40447 (cosh_test_towardzero): Likewise.
40448 (cosh_test_downward): Likewise.
40449 (cosh_test_upward): Likewise.
40450 (sinh_test_tonearest): Likewise.
40451 (sinh_test_towardzero): Likewise.
40452 (sinh_test_downward): Likewise.
40453 (sinh_test_upward): Likewise.
40454 (main): Call the new functions.
40455 * sysdeps/i386/fpu/libm-test-ulps: Update.
40456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40458 2012-03-05 Tom de Vries <tom@codesourcery.com>
40460 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40461 default stack guard is set in last bytes.
40462 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40464 2012-03-05 Kees Cook <keescook@chromium.org>
40466 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40469 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40470 possibly allocate from heap instead of stack.
40471 * stdio-common/bug-vfprintf-nargs.c: New file.
40472 * stdio-common/Makefile (tests): Add nargs overflow test.
40474 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40478 2012-03-03 Marek Polacek <polacek@redhat.com>
40480 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40481 * math/math_private.h: Likewise.
40482 * stdlib/tst-strtod.c: Likewise.
40483 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40484 * sysdeps/x86_64/bits/atomic.h: Likewise.
40486 2012-03-02 David S. Miller <davem@davemloft.net>
40488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40492 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40493 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40494 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40495 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40497 2012-03-02 Roland McGrath <roland@hack.frob.com>
40500 * manual/examples/README: New file, says the example source files
40501 can be used under GPL>=2.
40502 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40503 line containing just "*/".
40504 * manual/examples/add.c: Add copyright header (GPL>=2).
40505 * manual/examples/argp-ex1.c: Likewise.
40506 * manual/examples/argp-ex2.c: Likewise.
40507 * manual/examples/argp-ex3.c: Likewise.
40508 * manual/examples/argp-ex4.c: Likewise.
40509 * manual/examples/atexit.c: Likewise.
40510 * manual/examples/db.c: Likewise.
40511 * manual/examples/dir.c: Likewise.
40512 * manual/examples/dir2.c: Likewise.
40513 * manual/examples/execinfo.c: Likewise.
40514 * manual/examples/filecli.c: Likewise.
40515 * manual/examples/filesrv.c: Likewise.
40516 * manual/examples/fmtmsgexpl.c: Likewise.
40517 * manual/examples/genpass.c: Likewise.
40518 * manual/examples/inetcli.c: Likewise.
40519 * manual/examples/inetsrv.c: Likewise.
40520 * manual/examples/isockad.c: Likewise.
40521 * manual/examples/longopt.c: Likewise.
40522 * manual/examples/memopen.c: Likewise.
40523 * manual/examples/memstrm.c: Likewise.
40524 * manual/examples/mkfsock.c: Likewise.
40525 * manual/examples/mkisock.c: Likewise.
40526 * manual/examples/mygetpass.c: Likewise.
40527 * manual/examples/pipe.c: Likewise.
40528 * manual/examples/popen.c: Likewise.
40529 * manual/examples/rprintf.c: Likewise.
40530 * manual/examples/search.c: Likewise.
40531 * manual/examples/select.c: Likewise.
40532 * manual/examples/setjmp.c: Likewise.
40533 * manual/examples/sigh1.c: Likewise.
40534 * manual/examples/sigusr.c: Likewise.
40535 * manual/examples/stpcpy.c: Likewise.
40536 * manual/examples/strdupa.c: Likewise.
40537 * manual/examples/strftim.c: Likewise.
40538 * manual/examples/strncat.c: Likewise.
40539 * manual/examples/subopt.c: Likewise.
40540 * manual/examples/swapcontext.c: Likewise.
40541 * manual/examples/termios.c: Likewise.
40542 * manual/examples/testopt.c: Likewise.
40543 * manual/examples/testpass.c: Likewise.
40544 * manual/examples/timeval_subtract.c: Likewise.
40547 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40549 * manual/timeval_subtract.c.texi: ... here, new file.
40551 2012-03-02 David S. Miller <davem@davemloft.net>
40553 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40555 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40558 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40559 (__sin): Save and restore rounding mode and use round-to-nearest
40560 for all computations.
40561 (__cos): Save and restore rounding mode and use round-to-nearest
40562 for all computations.
40563 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40565 (tan): Save and restore rounding mode and use round-to-nearest for
40567 * math/libm-test.inc (cos_test_tonearest): New function.
40568 (cos_test_towardzero): Likewise.
40569 (cos_test_downward): Likewise.
40570 (cos_test_upward): Likewise.
40571 (sin_test_tonearest): Likewise.
40572 (sin_test_towardzero): Likewise.
40573 (sin_test_downward): Likewise.
40574 (sin_test_upward): Likewise.
40575 (tan_test_tonearest): Likewise.
40576 (tan_test_towardzero): Likewise.
40577 (tan_test_downward): Likewise.
40578 (tan_test_upward): Likewise.
40579 (main): Call the new functions.
40580 * sysdeps/i386/fpu/libm-test-ulps: Update.
40581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40584 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40585 small n, then large n, before computing and testing k+n.
40586 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40587 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40589 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40591 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40592 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40593 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40594 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40595 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40596 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40597 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40598 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40599 * math/libm-test.inc (scalbn_test): Add more tests.
40600 (scalbln_test): Likewise.
40602 * manual/filesys.texi (mode_t): Describe constraints on size and
40603 signedness, not exact equivalence to a particular type.
40605 (ino64_t): Likewise.
40607 (nlink_t): Likewise.
40608 (blkcnt_t): Likewise.
40609 (blkcnt64_t): Likewise.
40610 * manual/llio.texi (off_t): Likewise.
40613 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40614 (__ieee754_exp): Save and restore rounding mode and use
40615 round-to-nearest for all computations.
40616 * math/libm-test.inc (exp_test_tonearest): New function.
40617 (exp_test_towardzero): Likewise.
40618 (exp_test_downward): Likewise.
40619 (exp_test_upward): Likewise.
40620 (main): Call the new functions.
40621 * sysdeps/i386/fpu/libm-test-ulps: Update.
40622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40624 2012-03-01 Chris Demetriou <cgd@google.com>
40626 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40627 have predictable order.
40629 2012-03-01 David S. Miller <davem@davemloft.net>
40631 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40633 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40634 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40635 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40636 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40638 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40639 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40640 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40642 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40643 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40644 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40645 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40646 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40650 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40651 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40652 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40654 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40655 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40656 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40657 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40658 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40659 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40660 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40661 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40662 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40663 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40664 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40665 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40666 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40667 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40668 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40669 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40670 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40671 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40672 * sysdeps/sparc/elf/configure: Regenerated.
40674 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40676 * configure.in (AS, LD): Require binutils 2.20 or later.
40677 * configure: Regenerated.
40678 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40679 as required minimum version.
40680 * INSTALL: Regenerated.
40684 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40685 before squaring exponent.
40686 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40687 bottom long double and 27 bits of top long double before squaring
40689 * math/libm-test.inc (erfc_test): Add more tests.
40690 * sysdeps/i386/fpu/libm-test-ulps: Update.
40691 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40694 2012-03-01 Kai Tietz <ktietz@redhat.com>
40696 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40697 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40698 containing bit-fields.
40699 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40700 * soft-fp/single.h (_FP_UNION_S): Likewise.
40701 * soft-fp/double.h (_FP_UNION_D): Likewise.
40703 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40706 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40707 not include ../strcmp.S.
40708 [USE_AS_STRNCASECMP_L]: Likewise.
40709 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40710 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40711 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40712 (__strncasecmp_l_ia32): Define as alias to
40713 __strncasecmp_l_nonascii.
40716 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40717 * sysdeps/i386/fpu/libm-test-ulps: Update.
40718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40720 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40723 2012-02-29 Jeff Law <law@redhat.com>
40725 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40726 out of bounds read.
40728 2012-02-29 Marek Polacek <polacek@redhat.com>
40731 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40732 * elf/Makefile: Add rules to run tst-unused-dep.out.
40734 2012-02-28 David S. Miller <davem@davemloft.net>
40736 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40737 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40738 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40739 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40740 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40741 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40743 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40745 * math/libm-test.inc (llround_test): Move one test from
40746 lround_test. Use TEST_f_L in moved test.
40747 (lround_test): Move misplaced test to llround_test. Add testcase
40750 2012-02-28 Ulrich Drepper <drepper@gmail.com>
40752 * sysdeps/x86_64/fpu/e_expf.S: New file.
40753 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40755 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40758 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40759 of remain_len that may cause incomplete multi-byte character and
40761 * posix/bug-regex33.c: New file.
40762 * posix/Makefile (tests): Add bug-regex33.
40764 2012-02-28 Joseph Myers <joseph@codesourcery.com>
40766 * manual/macros.texi: New file.
40767 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40768 * manual/libc.texinfo: Include macros.texi.
40769 * manual/creatute.texi: Likewise.
40770 * manual/install.texi: Likewise.
40771 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40772 @glibcadj{} in references to the GNU C Library.
40773 * manual/charset.texi: Likewise.
40774 * manual/conf.texi: Likewise.
40775 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40776 when not using those macros.
40777 * manual/creature.texi: Likewise.
40778 * manual/crypt.texi: Likewise.
40779 * manual/errno.texi: Likewise.
40780 * manual/filesys.texi: Likewise.
40781 * manual/header.texi: Likewise.
40782 * manual/install.texi: Likewise.
40783 * manual/intro.texi: Likewise.
40784 * manual/io.texi: Likewise.
40785 * manual/job.texi: Likewise.
40786 * manual/lang.texi: Likewise.
40787 * manual/libc.texiinfo: Likewise.
40788 * manual/llio.texi: Likewise.
40789 * manual/locale.texi: Likewise.
40790 * manual/maint.texi: Likewise.
40791 * manual/math.texi: Likewise.
40792 * manual/memory.texi: Likewise.
40793 * manual/message.texi: Likewise.
40794 * manual/nss.texi: Likewise.
40795 * manual/pattern.texi: Likewise.
40796 * manual/process.texi: Likewise.
40797 * manual/resource.texi: Likewise.
40798 * manual/search.texi: Likewise.
40799 * manual/setjmp.texi: Likewise.
40800 * manual/signal.texi: Likewise.
40801 * manual/socket.texi: Likewise.
40802 * manual/startup.texi: Likewise.
40803 * manual/stdio.texi: Likewise.
40804 * manual/string.texi: Likewise.
40805 * manual/sysinfo.texi: Likewise.
40806 * manual/syslog.texi: Likewise.
40807 * manual/terminal.texi: Likewise.
40808 * manual/time.texi: Likewise.
40809 * manual/users.texi: Likewise.
40810 * INSTALL: Regenerated.
40811 * NOTES: Regenerated.
40812 * sysdeps/gnu/errlist.c: Regenerated.
40814 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40816 * include/dirent.h: Include <dirstream.h> before
40819 2012-02-28 David S. Miller <davem@davemloft.net>
40821 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40822 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40823 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40824 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40826 2012-02-27 David S. Miller <davem@davemloft.net>
40828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40830 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40831 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40834 frame pointer instead of stack pointer relative arg slot.
40835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40836 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40837 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40839 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40842 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40844 2012-02-27 David S. Miller <davem@davemloft.net>
40846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40850 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40851 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40852 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40853 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40855 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40857 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40858 later. Allow versions 5-9.
40859 * configure: Regenerated.
40860 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40861 required minimum version and 4.6 as recommended version. Do not
40862 mention bugs in GCC 2.7 and 2.8.
40863 * INSTALL: Regenerated.
40865 2012-02-27 David S. Miller <davem@davemloft.net>
40867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40871 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40872 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40873 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40874 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40876 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40877 manipulate bits before adding and subtracting TWO112[sx].
40878 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40880 2012-02-27 Roland McGrath <roland@hack.frob.com>
40883 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40884 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40885 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40886 being in POSIX, because they are in 1003.1-2008.
40888 * rt/tst-aio.c: Include <fcntl.h>.
40889 * rt/tst-aio7.c: Likewise.
40890 * rt/tst-aio64.c: Likewise.
40892 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40894 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40896 * manual/install.texi (--with-headers): Describe headers as
40897 interface headers, not private headers.
40898 (Specific advice for GNU/Linux systems): Describe use of headers
40899 from "make headers_install", not private headers from older
40901 * INSTALL: Regenerated.
40902 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40904 * sysdeps/unix/sysv/linux/configure: Regenerated.
40906 * manual/llio.texi (fclean): Remove documentation.
40908 * manual/Makefile (libc-texi-generated): New variable. Include
40910 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40911 $(libc-texi-generated), not duplicated list of files.
40912 (version.texi, stamp-version): New rules.
40913 (realclean): Remove $(libc-texi-generated), not individual files
40914 from that list. Do not remove dir-add.texinfo.
40915 * manual/libc.texinfo: Comment out uses of edition numbers and
40916 references to printed manual. Remove last-updated dates.
40917 (EDITION): Comment out.
40919 (VERSION, UPDATED): Remove.
40920 (version.texi): Include.
40922 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40924 * sysdeps/posix/spawni.c: Include <signal.h>.
40925 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40926 * sysdeps/pthread/aio_fsync.c: Likewise.
40928 2012-02-26 Ulrich Drepper <drepper@gmail.com>
40930 * conform/Makefile (tests): Run only when not cross-compiling and
40931 when fast-check is not defined.
40933 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40934 * conform/data/limits.h-data: Fixes for POSIX2008.
40935 * conform/run-conformtest.sh: Run all tests.
40936 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40938 * include/bits/dlfcn.h: Likewise.
40939 * include/langinfo.h: Likewise.
40940 * include/monetary.h: Likewise.
40941 * include/sys/poll.h: Likewise.
40943 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40945 * posix/spawn.h: Define __need_sigset_t.
40946 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40947 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40948 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40949 to get sigevent_t only.
40950 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40951 only for __USE_GNU.
40952 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40953 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40954 process_vm_writev only for __USE_GNU.
40955 * termios/termios.h: Declare tcgetsid also for POSIX2008.
40957 * conform/Makefile: For now ignore errors from run-conformtest.
40958 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40959 POSIX to avoid namespace pollution. Don't prepend headers.
40960 * conform/data/aio.h-data: Fixes for POSIX testing.
40961 * conform/data/fcntl.h-data: Likewise.
40962 * conform/data/glob.h-data: Likewise.
40963 * conform/data/grp.h-data: Likewise.
40964 * conform/data/pthread.h-data: Likewise.
40965 * conform/data/pwd.h-data: Likewise.
40966 * conform/data/signal.h-data: Likewise.
40967 * conform/data/spawn.h-data: Likewise.
40968 * conform/data/stdio.h-data: Likewise.
40969 * conform/data/stdlib.h-data: Likewise.
40970 * conform/data/stropts.h-data: Likewise.
40971 * conform/data/sys/mman.h-data: Likewise.
40972 * conform/data/sys/stat.h-data: Likewise.
40973 * conform/data/sys/types.h-data: Likewise.
40974 * conform/data/sys/wait.h-data: Likewise.
40975 * conform/data/time.h-data: Likewise.
40976 * conform/data/unistd.h-data: Likewise.
40977 * conform/data/utime.h-data: Likewise.
40979 * io/sys/stat.h: fchmod was always in POSIX.
40980 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40981 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40982 * rt/aio.h: Define __need_timespec before including <time.h>.
40983 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40984 struct. Add forward declaration of pthread_attr_t and use it in
40986 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40987 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40988 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40989 always remove CLK_TCK definition.
40991 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40993 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40995 2012-02-25 Ulrich Drepper <drepper@gmail.com>
40997 * conform/run-conformtest.sh: New file.
40998 * conform/Makefile: Run run-conformtest for tests.
40999 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41002 * conform/data/uchar.h-data: New file.
41003 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41004 * conform/data/arpa/inet.h-data: Likewise.
41005 * conform/data/assert.h-data: Likewise.
41006 * conform/data/complex.h-data: Likewise.
41007 * conform/data/cpio.h-data: Likewise.
41008 * conform/data/ctype.h-data: Likewise.
41009 * conform/data/dirent.h-data: Likewise.
41010 * conform/data/dlfcn.h-data: Likewise.
41011 * conform/data/errno.h-data: Likewise.
41012 * conform/data/fcntl.h-data: Likewise.
41013 * conform/data/float.h-data: Likewise.
41014 * conform/data/fmtmsg.h-data: Likewise.
41015 * conform/data/fnmatch.h-data: Likewise.
41016 * conform/data/ftw.h-data: Likewise.
41017 * conform/data/glob.h-data: Likewise.
41018 * conform/data/grp.h-data: Likewise.
41019 * conform/data/iconv.h-data: Likewise.
41020 * conform/data/inttypes.h-data: Likewise.
41021 * conform/data/langinfo.h-data: Likewise.
41022 * conform/data/libgen.h-data: Likewise.
41023 * conform/data/limits.h-data: Likewise.
41024 * conform/data/locale.h-data: Likewise.
41025 * conform/data/math.h-data: Likewise.
41026 * conform/data/monetary.h-data: Likewise.
41027 * conform/data/mqueue.h-data: Likewise.
41028 * conform/data/ndbm.h-data: Likewise.
41029 * conform/data/net/if.h-data: Likewise.
41030 * conform/data/netdb.h-data: Likewise.
41031 * conform/data/netinet/in.h-data: Likewise.
41032 * conform/data/nl_types.h-data: Likewise.
41033 * conform/data/poll.h-data: Likewise.
41034 * conform/data/pthread.h-data: Likewise.
41035 * conform/data/pwd.h-data: Likewise.
41036 * conform/data/regex.h-data: Likewise.
41037 * conform/data/sched.h-data: Likewise.
41038 * conform/data/search.h-data: Likewise.
41039 * conform/data/semaphore.h-data: Likewise.
41040 * conform/data/setjmp.h-data: Likewise.
41041 * conform/data/signal.h-data: Likewise.
41042 * conform/data/spawn.h-data: Likewise.
41043 * conform/data/stdarg.h-data: Likewise.
41044 * conform/data/stdio.h-data: Likewise.
41045 * conform/data/stdlib.h-data: Likewise.
41046 * conform/data/string.h-data: Likewise.
41047 * conform/data/strings.h-data: Likewise.
41048 * conform/data/stropts.h-data: Likewise.
41049 * conform/data/sys/ipc.h-data: Likewise.
41050 * conform/data/sys/mman.h-data: Likewise.
41051 * conform/data/sys/msg.h-data: Likewise.
41052 * conform/data/sys/resource.h-data: Likewise.
41053 * conform/data/sys/select.h-data: Likewise.
41054 * conform/data/sys/sem.h-data: Likewise.
41055 * conform/data/sys/shm.h-data: Likewise.
41056 * conform/data/sys/socket.h-data: Likewise.
41057 * conform/data/sys/stat.h-data: Likewise.
41058 * conform/data/sys/statvfs.h-data: Likewise.
41059 * conform/data/sys/time.h-data: Likewise.
41060 * conform/data/sys/timeb.h-data: Likewise.
41061 * conform/data/sys/times.h-data: Likewise.
41062 * conform/data/sys/types.h-data: Likewise.
41063 * conform/data/sys/uio.h-data: Likewise.
41064 * conform/data/sys/un.h-data: Likewise.
41065 * conform/data/sys/utsname.h-data: Likewise.
41066 * conform/data/sys/wait.h-data: Likewise.
41067 * conform/data/syslog.h-data: Likewise.
41068 * conform/data/tar.h-data: Likewise.
41069 * conform/data/termios.h-data: Likewise.
41070 * conform/data/utime.h-data: Likewise.
41071 * conform/data/utmpx.h-data: Likewise.
41072 * conform/data/varargs.h-data: Likewise.
41073 * conform/data/wchar.h-data: Likewise.
41074 * conform/data/wctype.h-data: Likewise.
41075 * conform/data/wordexp.h-data: Likewise.
41077 * include/stropts.h: New file.
41078 * include/uchar.h: New file.
41079 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41080 * include/assert.h: Likewise.
41081 * include/ctype.h: Likewise.
41082 * include/dirent.h: Likewise.
41083 * include/dlfcn.h: Likewise.
41084 * include/fcntl.h: Likewise.
41085 * include/fnmatch.h: Likewise.
41086 * include/glob.h: Likewise.
41087 * include/grp.h: Likewise.
41088 * include/libio.h: Likewise.
41089 * include/locale.h: Likewise.
41090 * include/math.h: Likewise.
41091 * include/net/if.h: Likewise.
41092 * include/netdb.h: Likewise.
41093 * include/netinet/in.h: Likewise.
41094 * include/pthread.h: Likewise.
41095 * include/pwd.h: Likewise.
41096 * include/regex.h: Likewise.
41097 * include/sched.h: Likewise.
41098 * include/search.h: Likewise.
41099 * include/setjmp.h: Likewise.
41100 * include/signal.h: Likewise.
41101 * include/stdio.h: Likewise.
41102 * include/stdlib.h: Likewise.
41103 * include/string.h: Likewise.
41104 * include/sys/cdefs.h: Likewise.
41105 * include/sys/mman.h: Likewise.
41106 * include/sys/msg.h: Likewise.
41107 * include/sys/resource.h: Likewise.
41108 * include/sys/select.h: Likewise.
41109 * include/sys/socket.h: Likewise.
41110 * include/sys/stat.h: Likewise.
41111 * include/sys/statvfs.h: Likewise.
41112 * include/sys/time.h: Likewise.
41113 * include/sys/times.h: Likewise.
41114 * include/sys/uio.h: Likewise.
41115 * include/sys/utsname.h: Likewise.
41116 * include/sys/wait.h: Likewise.
41117 * include/termios.h: Likewise.
41118 * include/time.h: Likewise.
41119 * include/ulimit.h: Likewise.
41120 * include/unistd.h: Likewise.
41121 * include/utime.h: Likewise.
41122 * include/wchar.h: Likewise.
41123 * include/wctype.h: Likewise.
41124 * include/wordexp.h: Likewise.
41126 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41128 * time/time.h: TIME_UTC must be a macro.
41129 Make timespec_get available for ISO C11 only as well.
41131 2012-02-24 Ulrich Drepper <drepper@gmail.com>
41133 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41134 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41136 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41138 * configure.in: Use -o not -a in test for unsupported multi-arch.
41140 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41142 * manual/texinfo.tex: Update to version 2012-01-19.16.
41144 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41146 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41148 2012-02-24 Roland McGrath <roland@hack.frob.com>
41151 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41152 * manual/fdl-1.3.texi: New file.
41153 * manual/fdl-1.1.texi: File removed.
41156 * manual/libc.texinfo (FDL_VERSION): New @set.
41157 Use it for mention of FDL in cover text.
41158 (Documentation License): Use it in @include file name.
41160 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41161 Roland McGrath <roland@hack.frob.com>
41164 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41165 (not LONG_LONG_MAX and LONG_LONG_MIN.
41166 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41167 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41169 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41171 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41175 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41176 manipulate bits before adding and subtracting TWO23[sx].
41177 * math/libm-test.inc (nearbyint_test): Add more tests.
41179 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41182 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41183 bits before adding and subtracting TWO23[sx].
41184 * math/libm-test.inc (rint_test): Add more tests.
41185 (rint_test_tonearest): Likewise.
41186 (rint_test_towardzero): Likewise.
41187 (rint_test_downward): Likewise.
41188 (rint_test_upward: Likewise.
41190 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41193 * include/stdc-predef.h: New file. Extracted from features.h.
41194 * include/features.h: Include stdc-predef.h.
41195 * Makefile (headers): Add stdc-predef.h.
41196 * CONFORMANCE (Compiler limitations): Update.
41198 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41200 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41202 2012-02-21 David S. Miller <davem@davemloft.net>
41204 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41205 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41207 2012-02-20 David S. Miller <davem@davemloft.net>
41209 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41210 using a normal save/restore sequence, rather than allocating a
41211 dummy stack frame just to store a frame pointer and restore.
41212 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41214 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41216 * manual/install.texi: Fix stray word in line-wrapped comment.
41218 2012-02-20 David S. Miller <davem@davemloft.net>
41220 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41221 both binutils and gcc support GOTDATA.
41223 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41224 "rd %pc" in the PIC register setup sequences.
41226 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41227 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41228 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41229 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41230 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41231 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41232 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41233 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41234 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41235 (SYSCALL_ERROR_HANDLER): Likewise.
41236 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41237 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41238 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41239 (SYSCALL_ERROR_HANDLER): Likewise.
41241 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41242 (HAVE_GCC_GOTDATA): New.
41243 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41244 relocation support in both binutils and gcc.
41245 * sysdeps/sparc/elf/configure: Regenerate.
41247 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41248 * sysdeps/sparc/sparc32/elf/configure: Delete.
41249 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41250 * sysdeps/sparc/sparc64/elf/configure: Delete.
41251 * sysdeps/sparc/elf/configure.in: New file.
41252 * sysdeps/sparc/elf/configure: Generate.
41254 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41255 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41256 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41257 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41258 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41260 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41262 * manual/install.texi: Do not mention specific glibc version
41264 * manual/libc.texinfo (VERSION, UPDATED): Update.
41265 (@copying): Use @copyright{} and range of years.
41267 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41270 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41271 [crti.S not in sysdirs] (generated): Do not append.
41272 [crti.S not in sysdirs] (omit-deps): Likewise.
41273 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41274 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41275 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41276 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41277 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41279 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41280 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41281 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41282 * csu/defs.awk: Remove file.
41283 * sysdeps/generic/initfini.c: Likewise.
41284 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41286 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41289 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41291 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41292 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41293 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41294 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41295 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41296 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41298 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41299 (__EPOLL_PACKED): Define to empty if not defined by
41301 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41302 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41305 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41307 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41308 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41309 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41310 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41312 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41313 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41316 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41318 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41320 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41321 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41322 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41325 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41327 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41328 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41330 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41332 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41333 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41335 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41337 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41340 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41342 * math/w_acos.c: Use non-signaling floating-point comparisons.
41343 * math/w_acosf.c: Likewise.
41344 * math/w_acosh.c: Likewise.
41345 * math/w_acoshf.c: Likewise.
41346 * math/w_acoshl.c: Likewise.
41347 * math/w_acosl.c: Likewise.
41348 * math/w_asin.c: Likewise.
41349 * math/w_asinf.c: Likewise.
41350 * math/w_asinl.c: Likewise.
41351 * math/w_atanh.c: Likewise.
41352 * math/w_atanhf.c: Likewise.
41353 * math/w_atanhl.c: Likewise.
41354 * math/w_exp2.c: Likewise.
41355 * math/w_exp2f.c: Likewise.
41356 * math/w_exp2l.c: Likewise.
41357 * math/w_j0.c: Likewise.
41358 * math/w_j0f.c: Likewise.
41359 * math/w_j0l.c: Likewise.
41360 * math/w_j1.c: Likewise.
41361 * math/w_j1f.c: Likewise.
41362 * math/w_j1l.c: Likewise.
41363 * math/w_jn.c: Likewise.
41364 * math/w_jnf.c: Likewise.
41365 * math/w_log.c: Likewise.
41366 * math/w_log10.c: Likewise.
41367 * math/w_log10f.c: Likewise.
41368 * math/w_log10l.c: Likewise.
41369 * math/w_log2.c: Likewise.
41370 * math/w_log2f.c: Likewise.
41371 * math/w_log2l.c: Likewise.
41372 * math/w_logf.c: Likewise.
41373 * math/w_logl.c: Likewise.
41374 * math/w_sqrt.c: Likewise.
41375 * math/w_sqrtf.c: Likewise.
41376 * math/w_sqrtl.c: Likewise.
41377 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41378 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41379 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41380 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41381 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41383 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41386 * manual/string.texi (strnlen): Use correct parameter name in
41387 equivalent expression.
41389 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41392 * manual/users.texi (seteuid): Consistently use neweuid for
41395 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41398 * manual/nss.texi (Services in the NSS configuration): Correct
41399 list of services in example configuration file.
41401 2012-02-19 Nick Bowler <nbowler@draconx.ca>
41404 * manual/arith.texi: Remove statements about negative zero
41405 behaving identically to zero.
41407 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41410 * manual/install.texi: Do not document upgrading from libc5.
41412 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41415 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41417 2012-02-18 David S. Miller <davem@davemloft.net>
41419 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41420 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41421 %o7 across the call.
41422 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41424 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41425 SETUP_PIC_REG_LEAF.
41426 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41427 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41428 * sysdeps/sparc/crtn.S: Likewise.
41430 2012-02-17 Ulrich Drepper <drepper@gmail.com>
41432 * aout/Makefile: Remove.
41434 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41437 * manual/examples/argp-ex1.c (main): Format definition in GNU
41439 * manual/examples/argp-ex2.c (main): Likewise.
41440 * manual/examples/argp-ex3.c (main): Likewise.
41441 * manual/examples/argp-ex4.c (main): Likewise.
41442 * manual/examples/longopt.c (main): Use new-style prototype
41444 * manual/examples/strncat.c (main): Specify return type and use
41445 (void) for arguments.
41446 * manual/examples/subopt.c (main): Use char **argv argument.
41448 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41451 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41454 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41457 * manual/string.texi (strchr): Change when strchrnul is
41460 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41463 * manual/locale.texi (setlocale): Document LOCPATH.
41465 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41468 * manual/process.texi (execle): Move @dots{} before last argument.
41470 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41473 * manual/charset.texi (Generic Charset Conversion): Fix typo
41474 (LC_TYPE -> LC_CTYPE).
41476 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41479 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41480 (scalbnf): Likewise.
41481 (scalbnl): Likewise.
41482 (scalbln): Likewise.
41483 (scalblnf): Likewise.
41484 (scalblnl): Likewise.
41485 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41486 (vwarnx): Likewise.
41489 * manual/filesys.texi (telldir): Use braces around return type.
41490 * manual/llio.texi (mmap): Add space after comma.
41491 (mmap64): Likewise.
41492 * manual/math.texi (jn): Use @var{} on parameter names.
41498 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41500 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41502 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41503 (sched_get_priority_max): Likewise.
41504 * manual/signal.texi (sigvec): Add space after comma.
41505 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41507 (if_indextoname): Likewise.
41508 (if_freenameindex): Likewise.
41509 (sendto): Use ',' instead of '.' in prototype.
41510 * manual/startup.texi (syscall): Use @dots{} instead of literal
41512 * manual/stdio.texi (__fpending): Separate initial words of
41513 paragraph from @deftypefun line.
41514 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41516 (vsyslog): Use @var{} on parameter names.
41517 * manual/terminal.texi (stty): Use @var{} on parameter names.
41518 * manual/users.texi (getutmp): Use @var{} on parameter names.
41519 (getutmpx): Likewise.
41521 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41524 * manual/stdio.texi (fopen): Fix typos in description of
41527 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41530 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41531 get clock_id definition.
41533 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41536 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41537 (madvise): Cast every argument to void on its own.
41539 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41542 * manual/startup.texi (Exit Status): Fix typo.
41544 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41547 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41548 * manual/examples/argp-ex2.c: Likewise.
41549 * manual/examples/argp-ex3.c: Likewise.
41551 2012-02-16 Richard Henderson <rth@redhat.com>
41553 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41554 * sysdeps/s390/s390-32/initfini.c: Remove.
41555 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41556 * sysdeps/s390/s390-64/initfini.c: Remove.
41558 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41560 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41561 compiler output for sysdeps/generic/initfini.c.
41562 * sysdeps/sh/elf/initfini.c: Remove file.
41564 2012-02-16 David S. Miller <davem@davemloft.net>
41567 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41569 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41570 * sysdeps/sparc/crti.S: New file.
41571 * sysdeps/sparc/crtn.S: New file.
41572 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41573 * sysdeps/sparc/sparc64/Makefile: Likewise.
41575 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41578 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41580 2012-02-15 Roland McGrath <roland@hack.frob.com>
41583 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41585 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41586 (write, read, close): Likewise.
41587 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41589 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41591 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41592 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41593 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41594 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41596 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41597 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41600 2012-02-14 Marek Polacek <polacek@redhat.com>
41602 * sysdeps/x86_64/crti.S: New file.
41603 * sysdeps/x86_64/crtn.S: New file.
41604 * sysdeps/x86_64/elf/initfini.c: Remove file.
41606 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41608 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41609 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41610 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41611 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41613 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41614 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41617 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41619 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41620 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41621 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41622 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41624 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41625 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41628 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41630 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41631 __feraiseexcept instead of feraiseexcept.
41633 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41634 nanosleep invocations.
41635 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41636 strings, and add error checking for a nanosleep invocations.
41638 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41640 Replace FSF snail mail address with URLs, as per GNU coding standards.
41641 Most of the snail mail addresses were wrong anyway, and omitting
41642 them makes the source code easier to maintain. Almost all of the
41643 changes are to license notices and to locale LC_IDENTIFICATION
41644 addresses, except for this one:
41645 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41646 not its snail mail address.
41648 2012-02-09 Richard Henderson <rth@twiddle.net>
41650 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41651 of kernel-features.h.
41653 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41655 2012-02-08 Marek Polacek <polacek@redhat.com>
41657 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41658 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41659 * sysdeps/gnu/_G_config.h: Likewise.
41660 * sysdeps/generic/_G_config.h: Likewise.
41662 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41664 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41668 * sysdeps/powerpc/powerpc32/crti.S: New file.
41669 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41670 * sysdeps/powerpc/powerpc64/crti.S: New file.
41671 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41673 * Makeconfig (have-initfini): Don't set.
41674 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41675 * configure.in (nopic_initfini): Don't substitute.
41676 * config.h.in (HAVE_INITFINI): Don't #undef.
41677 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41678 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41680 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41682 Support crti.S and crtn.S provided directly by architectures.
41683 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41684 [crti.S in sysdirs] (omit-deps): Likewise.
41685 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41686 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41687 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41688 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41689 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41690 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41691 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41692 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41693 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41694 compiler output for sysdeps/generic/initfini.c.
41695 * sysdeps/i386/elf/Makefile: Remove file.
41696 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41698 2012-02-07 Marek Polacek <polacek@redhat.com>
41700 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41701 * sysdeps/gnu/_G_config.h: Likewise.
41702 * sysdeps/mach/hurd/_G_config.h: Likewise.
41704 2012-02-07 Marek Polacek <polacek@redhat.com>
41706 * math/Makefile (tests): Add tst-CMPLX2.
41707 * math/tst-CMPLX2.c: New file.
41709 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41711 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41713 * math/libm-test.inc (jn_test): Add missing L suffix.
41715 2012-02-06 Marek Polacek <polacek@redhat.com>
41717 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41718 * sysdeps/i386/fpu/e_powf.S: Likewise.
41719 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41720 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41721 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41722 * sysdeps/i386/fpu/e_pow.S: Likewise.
41723 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41724 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41725 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41726 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41727 * sysdeps/i386/fpu/e_log2.S: Likewise.
41728 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41729 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41730 * sysdeps/i386/fpu/e_powl.S: Likewise.
41731 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41732 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41733 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41734 * sysdeps/i386/fpu/e_logl.S: Likewise.
41735 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41736 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41737 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41738 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41739 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41740 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41741 * sysdeps/i386/fpu/e_log.S: Likewise.
41742 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41743 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41744 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41745 * sysdeps/i386/fpu/e_logf.S: Likewise.
41746 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41747 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41748 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41749 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41750 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41751 * sysdeps/i386/fpu/e_log10.S: Likewise.
41752 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41753 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41754 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41755 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41756 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41757 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41758 * sysdeps/i386/asm-syntax.h: Likewise.
41759 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41760 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41761 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41762 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41763 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41764 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41765 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41766 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41767 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41768 * sysdeps/powerpc/sysdep.h: Likewise.
41769 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41770 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41772 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41775 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41777 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41779 * sysdeps/i386/sysdep.h: Include <features.h>.
41780 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41783 2012-02-05 Joseph Myers <joseph@codesourcery.com>
41785 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41787 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41790 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41792 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41793 (SETUP_PIC_REG): Use GET_PC_THUNK.
41794 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41797 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41799 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41800 for non-PIC compilation.
41801 (SETUP_PIC_REG): Add .p2align directive.
41802 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41803 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41804 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41805 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41806 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41807 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41808 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41809 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41810 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41811 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41812 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41813 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41814 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41815 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41816 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41817 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41818 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41819 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41820 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41821 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41822 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41823 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41824 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41825 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41826 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41827 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41828 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41829 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41830 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41831 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41832 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41833 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41834 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41835 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41836 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41837 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41838 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41839 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41840 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41841 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41842 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41844 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41846 * math/tst-CMPLX.c: Include <stdio.h>.
41848 2012-01-31 Joseph Myers <joseph@codesourcery.com>
41850 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41852 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41853 * sysdeps/sparc/bits/mathdef.h: Likewise.
41855 2012-01-31 Marek Polacek <polacek@redhat.com>
41857 * libio/libio.h: Don't define _PARAMS.
41858 * locale/programs/config.h: Don't define PARAMS.
41859 * stdlib/strtol_l.c: Likewise.
41860 (__strtol_l): Remove PARAMS from the prototype.
41862 2012-01-31 Ulrich Drepper <drepper@gmail.com>
41864 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41865 names. Just use the correct names. Remove unnecessary wrapper
41867 * malloc/arena.c: Likewise.
41868 * malloc/hooks.c: Likewise.
41870 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41871 ARENA_TEST says not to. Simplify test for creation of a new arena.
41872 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41874 2012-01-30 Ulrich Drepper <drepper@gmail.com>
41876 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41878 (update_get_addr): New function.
41879 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41880 GET_ADDR_MODULE parameter.
41882 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41884 * crypt/cert.c: Remove __STDC__ conditionals.
41885 * crypt/crypt-entry.c: Likewise.
41886 * crypt/crypt_util.c: Likewise.
41887 * libio/filedoalloc.c: Likewise.
41888 * libio/fileops.c: Likewise.
41889 * libio/genops.c: Likewise.
41890 * libio/iofclose.c: Likewise.
41891 * libio/iofdopen.c: Likewise.
41892 * libio/iofopen.c: Likewise.
41893 * libio/iofopen64.c: Likewise.
41894 * libio/iogetdelim.c: Likewise.
41895 * libio/iopopen.c: Likewise.
41896 * libio/obprintf.c: Likewise.
41897 * libio/oldfileops.c: Likewise.
41898 * libio/oldiofclose.c: Likewise.
41899 * libio/oldiofdopen.c: Likewise.
41900 * libio/oldiofopen.c: Likewise.
41901 * libio/oldiopopen.c: Likewise.
41902 * libio/wfiledoalloc.c: Likewise.
41903 * libio/wgenops.c: Likewise.
41904 * locale/programs/xmalloc.c: Likewise.
41905 * misc/syslog.c: Likewise.
41906 * stdio-common/xbug.c: Likewise.
41907 * string/memchr.c: Likewise.
41908 * string/memcmp.c: Likewise.
41909 * string/memrchr.c: Likewise.
41910 * string/rawmemchr.c: Likewise.
41911 * sysdeps/posix/getcwd.c: Likewise.
41912 * time/strftime_l.c: Likewise.
41914 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41916 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41917 * config.make.in (config-cflags-sse2avx): Define.
41918 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41921 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41923 * scripts/config.guess: Update from upstream config git repository.
41924 * scripts/config.sub: Likewise.
41926 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41928 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41930 (R_TILEPRO_*, R_TILEGX_*): New macros.
41932 * scripts/firstversions.awk: Fix bug in version range handling.
41934 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41936 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41938 * include/sys/epoll.h: New file.
41939 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41942 2012-01-28 Ulrich Drepper <drepper@gmail.com>
41944 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41945 Avoid unnecessary __WORDSIZE == 64 test.
41946 (fmaxf): Use VEX format if possible.
41951 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41952 * math/math_private.h: Remove libc_fegetround* and
41954 * sysdeps/i386/configure.in: Check for -msse2avx.
41955 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41956 also if SSE2AVX is defined.
41957 Remove libc_fegetround* and libc_fesetround*.
41958 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41959 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41960 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41962 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41963 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41964 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41965 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41966 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41968 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41970 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41972 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41974 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41976 2012-01-27 Ulrich Drepper <drepper@gmail.com>
41979 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41981 * Makeconfig (libm): Define.
41982 * elf/Makefile: Add rules to build and run tst-relsort1.
41983 * elf/tst-relsort1.c: New file.
41984 * elf/tst-relsort1mod1.c: New file.
41985 * elf/tst-relsort1mod2.c: New file.
41987 2012-01-27 Joseph Myers <joseph@codesourcery.com>
41989 * math/s_ldexp.c: Remove __STDC__ conditionals.
41990 * math/s_ldexpf.c: Likewise.
41991 * math/s_ldexpl.c: Likewise.
41992 * math/s_nextafter.c: Likewise.
41993 * math/s_nexttowardf.c: Likewise.
41994 * math/s_significand.c: Likewise.
41995 * math/s_significandf.c: Likewise.
41996 * math/s_significandl.c: Likewise.
41997 * math/w_jnl.c: Likewise.
41998 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41999 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42000 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42001 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42002 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42003 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42004 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42005 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42006 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42007 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42008 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42009 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42010 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42011 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42012 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42013 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42014 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42015 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42016 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42017 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42018 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42019 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42020 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42021 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42022 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42023 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42024 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42025 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42026 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42027 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42028 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42029 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42030 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42031 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42032 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42033 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42034 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42035 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42036 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42037 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42038 * sysdeps/ieee754/k_standard.c: Likewise.
42039 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42040 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42041 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42042 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42043 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42044 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42045 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42046 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42047 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42048 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42049 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42050 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42051 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42052 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42053 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42054 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42055 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42056 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42057 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42058 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42059 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42060 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42061 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42062 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42063 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42064 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42065 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42066 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42067 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42068 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42069 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42070 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42071 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42072 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42073 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42074 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42075 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42076 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42077 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42078 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42079 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42080 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42081 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42082 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42083 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42084 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42085 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42086 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42087 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42088 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42089 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42090 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42091 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42092 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42093 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42094 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42095 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42096 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42097 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42098 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42099 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42100 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42101 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42102 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42103 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42104 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42105 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42106 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42107 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42108 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42109 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42110 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42111 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42112 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42113 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42114 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42115 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42116 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42117 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42118 * sysdeps/ieee754/s_matherr.c: Likewise.
42119 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42120 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42121 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42122 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42124 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42126 * crypt/md5.h: Remove __STDC__ conditionals.
42127 * libio/libioP.h: Likewise.
42128 * locale/programs/config.h: Likewise.
42129 * sysdeps/generic/sysdep.h: Likewise.
42130 * sysdeps/i386/asm-syntax.h: Likewise.
42131 * sysdeps/s390/asm-syntax.h: Likewise.
42132 * sysdeps/unix/sysdep.h: Likewise.
42133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42136 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42138 * libio/libio.h: Remove __STDC__ conditionals.
42139 * malloc/obstack.h: Likewise.
42140 * math/complex.h: Likewise.
42141 * math/math.h: Likewise.
42142 * sysdeps/generic/_G_config.h: Likewise.
42143 * sysdeps/gnu/_G_config.h: Likewise.
42144 * sysdeps/mach/hurd/_G_config.h: Likewise.
42145 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42146 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42147 * sysdeps/sparc/bits/mathdef.h: Likewise.
42149 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42152 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42153 Clean up HAS_* macros.
42154 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42155 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42157 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42159 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42160 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42161 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42162 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42163 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42165 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42167 * elf/tst-unique3.cc (gets): Remove declaration.
42168 * elf/tst-unique3lib.cc (gets): Likewise.
42169 * elf/tst-unique3lib2.cc (gets): Likewise.
42170 * elf/tst-unique4.cc (gets): Likewise.
42172 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42174 * include/stdio.h: Add C++ protection. Add gets declarations and
42176 * debug/tst-chk1.c: Don't declare gets here.
42177 * stdio-common/tst-gets.c: Likewise.
42179 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42181 * posix/glob: Remove directory.
42183 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42185 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42187 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42189 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42190 of the non-standard EPFNOSUPPORT.
42192 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42194 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42195 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42196 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42198 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42200 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42202 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42204 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42206 * nscd/grpcache.c (cache_addgr): Likewise.
42207 * nscd/hstcache.c (cache_addhst): Likewise.
42208 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42209 * nscd/pwdcache.c (cache_addpw): Likewise.
42210 * nscd/servicescache.c (cache_addserv): Likewise.
42212 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42214 * malloc/malloc.c: Various cleanups.
42215 * malloc/hooks.c: Likewise.
42217 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42218 * stdlib/bug-fmtmsg1.c: New file.
42220 * stdlib/fmtmsg.c (init): Add missing unlock.
42221 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42223 2012-01-12 Marek Polacek <polacek@redhat.com>
42225 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42228 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42230 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42231 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42232 macro to ensure uniqueness of label name.
42233 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42234 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42236 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42238 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42240 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42241 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42242 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42243 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42245 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42247 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42249 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42250 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42251 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42253 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42255 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42256 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42257 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42258 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42260 * math/bits/math-finite.h: Add ldexp support.
42262 2012-01-10 Marek Polacek <polacek@redhat.com>
42264 * locale/programs/localedef.h (show_archive_content): Add noreturn
42267 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42269 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42271 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42273 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42275 * io/Makefile (headers): Add bits/poll2.h.
42277 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42280 typo #include statement.
42282 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42284 * include/sys/cdefs.h: Define __attribute_alloc_size.
42285 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42286 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42287 * elf/pldd.c: Likewise.
42288 * iconv/iconv_charmap.c: Likewise.
42289 * iconv/iconvconfig.c: Likewise.
42290 * iconv/strtab.c: Likewise.
42291 * locale/programs/locale.c: Likewise.
42292 * locale/programs/localedef.h: Likewise.
42293 * locale/programs/simple-hash.c: Likewise.
42294 * nscd/nscd.h: Likewise.
42295 * nss/makedb.c: Likewise.
42296 * sysdeps/generic/ldconfig.h: Likewise.
42297 * locale/programs/localedef.c: Remove xmalloc prototype.
42298 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42300 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42302 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42305 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42307 * math/Makefile (tests): Add tst-CMPLX.
42308 * math/tst-CMPLX.c: New file.
42310 * math/complex.h (CMPLXL): Fix typo.
42312 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42313 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42315 * debug/tst-chk1.c: Add poll and ppoll tests.
42316 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42317 * include/sys/poll.h: Add hidden proto for ppoll.
42318 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42319 * sysdeps/mach/hurd/ppoll.c: Likewise.
42320 * io/ppoll.c: Likewise.
42321 * debug/poll_chk.c: New file.
42322 * debug/ppoll_chk.c: New file.
42323 * include/bits/poll2.h: New file.
42324 * io/bits/poll2.h: New file.
42327 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42329 * configure.in: static is always set to yes. Remove.
42330 * config.make.in: Don't set build-static.
42331 * Makeconfig: Remove use of build-static.
42332 * dlfcn/Makefile: Likewise.
42333 * elf/Makefile: Likewise.
42334 * math/Makefile: Likewise.
42335 * misc/Makefile: Likewise.
42336 * nptl/Makefile: Likewise.
42337 * sysdeps/mach/hurd/Makefile: Likewise.
42339 * configure.in: PWD_P is not used anymore.
42340 * config.make.in: Remove PWD_P entry.
42342 * configure.in: Remove last remnants of RANLIB.
42343 No need to check for signed size_t anymore.
42344 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42346 Remove __builtin_expect test because we require at least gcc 3.4.
42347 * aclocal.m4: Likewise.
42349 * wcsmbs/mbrtoc16.c: Implement using towc function.
42350 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42351 * wcsmbs/wcsmbsload.c: Likewise.
42352 * iconv/gconv_simple.c: Likewise.
42353 * iconv/gconv_int.h: Likewise.
42354 * iconv/gconv_builtin.h: Likewise.
42355 * iconv/iconv_prog.c: Remove CHAR16 handling.
42357 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42359 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42361 * configure.in: Remove --with-elf and --enable-bounded options.
42362 Dont set base_machine for ia64. More non-ELF conditions removed.
42363 Remove testing and setting of leading underscore information.
42364 * config.make.in (build-bounded): Set to no.
42365 * config.h.in: Remove NO_UNDERSCORES entry.
42366 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42368 * csu/start.c: Remove !NO_UNDERSCORE code.
42369 * locale/localeinfo.h: Likewise.
42370 * sysdeps/generic/machine-gmon.h: Likewise.
42371 * sysdeps/generic/sysdep.h: Likewise.
42372 * sysdeps/i386/sysdep.h: Likewise.
42373 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42374 * sysdeps/mach/sysdep.h: Likewise.
42375 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42376 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42377 * sysdeps/sh/sysdep.h: Likewise.
42378 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42379 * sysdeps/unix/i386/sysdep.S: Likewise.
42380 * sysdeps/unix/sparc/start.c: Likewise.
42381 * sysdeps/unix/sparc/sysdep.S: Likewise.
42382 * sysdeps/unix/sparc/sysdep.h: Likewise.
42383 * sysdeps/unix/start.c: Likewise.
42384 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42385 * sysdeps/x86_64/sysdep.h: Likewise.
42387 2012-01-07 Ulrich Drepper <drepper@gmail.com>
42390 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42392 * argp/argp-fmtstream.h: Use const instead __const.
42393 * argp/argp.h: Likewise.
42394 * assert/assert.h: Likewise.
42395 * bits/fenv.h: Likewise.
42396 * bits/sched.h: Likewise.
42397 * bits/sigset.h: Likewise.
42398 * bits/sigthread.h: Likewise.
42399 * catgets/nl_types.h: Likewise.
42400 * conform/data/pthread.h-data: Likewise.
42401 * crypt/crypt-private.h: Likewise.
42402 * crypt/crypt.h: Likewise.
42403 * crypt/crypt_util.c: Likewise.
42404 * ctype/ctype.h: Likewise.
42405 * debug/execinfo.h: Likewise.
42406 * debug/mbsnrtowcs_chk.c: Likewise.
42407 * debug/mbsrtowcs_chk.c: Likewise.
42408 * debug/wcsnrtombs_chk.c: Likewise.
42409 * debug/wcsrtombs_chk.c: Likewise.
42410 * debug/wcstombs_chk.c: Likewise.
42411 * dirent/dirent.h: Likewise.
42412 * dlfcn/dlfcn.h: Likewise.
42413 * elf/neededtest4.c: Likewise.
42414 * grp/grp.h: Likewise.
42415 * gshadow/gshadow.h: Likewise.
42416 * iconv/gconv.h: Likewise.
42417 * iconv/gconv_int.h: Likewise.
42418 * iconv/gconv_simple.c: Likewise.
42419 * iconv/iconv.h: Likewise.
42420 * iconv/loop.c: Likewise.
42421 * iconv/skeleton.c: Likewise.
42422 * include/aio.h: Likewise.
42423 * include/aliases.h: Likewise.
42424 * include/argz.h: Likewise.
42425 * include/arpa/inet.h: Likewise.
42426 * include/assert.h: Likewise.
42427 * include/dirent.h: Likewise.
42428 * include/dlfcn.h: Likewise.
42429 * include/execinfo.h: Likewise.
42430 * include/fcntl.h: Likewise.
42431 * include/fenv.h: Likewise.
42432 * include/glob.h: Likewise.
42433 * include/grp.h: Likewise.
42434 * include/libintl.h: Likewise.
42435 * include/mntent.h: Likewise.
42436 * include/netdb.h: Likewise.
42437 * include/pwd.h: Likewise.
42438 * include/rpc/netdb.h: Likewise.
42439 * include/sched.h: Likewise.
42440 * include/search.h: Likewise.
42441 * include/shadow.h: Likewise.
42442 * include/signal.h: Likewise.
42443 * include/stdio.h: Likewise.
42444 * include/stdlib.h: Likewise.
42445 * include/string.h: Likewise.
42446 * include/sys/socket.h: Likewise.
42447 * include/sys/stat.h: Likewise.
42448 * include/sys/statfs.h: Likewise.
42449 * include/sys/statvfs.h: Likewise.
42450 * include/sys/syslog.h: Likewise.
42451 * include/sys/time.h: Likewise.
42452 * include/sys/uio.h: Likewise.
42453 * include/time.h: Likewise.
42454 * include/unistd.h: Likewise.
42455 * include/utmp.h: Likewise.
42456 * include/wchar.h: Likewise.
42457 * include/wctype.h: Likewise.
42458 * inet/aliases.h: Likewise.
42459 * inet/arpa/inet.h: Likewise.
42460 * inet/netinet/ether.h: Likewise.
42461 * inet/netinet/in.h: Likewise.
42462 * intl/libintl.h: Likewise.
42463 * io/bits/fcntl2.h: Likewise.
42464 * io/fcntl.h: Likewise.
42465 * io/ftw.h: Likewise.
42466 * io/sys/poll.h: Likewise.
42467 * io/sys/stat.h: Likewise.
42468 * io/sys/statfs.h: Likewise.
42469 * io/sys/statvfs.h: Likewise.
42470 * io/utime.h: Likewise.
42471 * libio/bits/stdio.h: Likewise.
42472 * libio/bits/stdio2.h: Likewise.
42473 * libio/libio.h: Likewise.
42474 * libio/libioP.h: Likewise.
42475 * libio/stdio.h: Likewise.
42476 * locale/lc-ctype.c: Likewise.
42477 * locale/locale.h: Likewise.
42478 * login/utmp.h: Likewise.
42479 * malloc/arena.c: Likewise.
42480 * malloc/malloc.c: Likewise.
42481 * malloc/malloc.h: Likewise.
42482 * malloc/mcheck.c: Likewise.
42483 * malloc/mtrace.c: Likewise.
42484 * math/bits/mathcalls.h: Likewise.
42485 * math/fenv.h: Likewise.
42486 * math/math_private.h: Likewise.
42487 * misc/bits/error.h: Likewise.
42488 * misc/bits/syslog.h: Likewise.
42489 * misc/err.h: Likewise.
42490 * misc/error.h: Likewise.
42491 * misc/fstab.h: Likewise.
42492 * misc/mntent.h: Likewise.
42493 * misc/regexp.h: Likewise.
42494 * misc/search.h: Likewise.
42495 * misc/sgtty.h: Likewise.
42496 * misc/sys/mman.h: Likewise.
42497 * misc/sys/syslog.h: Likewise.
42498 * misc/sys/uio.h: Likewise.
42499 * misc/sys/xattr.h: Likewise.
42500 * misc/ttyent.h: Likewise.
42501 * nis/rpcsvc/ypclnt.h: Likewise.
42502 * nss/nss.h: Likewise.
42503 * posix/bits/unistd.h: Likewise.
42504 * posix/fnmatch.h: Likewise.
42505 * posix/glob.h: Likewise.
42506 * posix/sched.h: Likewise.
42507 * posix/spawn.h: Likewise.
42508 * posix/sys/wait.h: Likewise.
42509 * posix/unistd.h: Likewise.
42510 * posix/wordexp.h: Likewise.
42511 * pwd/pwd.h: Likewise.
42512 * resolv/netdb.h: Likewise.
42513 * resource/sys/resource.h: Likewise.
42514 * rt/aio.h: Likewise.
42515 * rt/bits/mqueue2.h: Likewise.
42516 * rt/mqueue.h: Likewise.
42517 * shadow/shadow.h: Likewise.
42518 * signal/signal.h: Likewise.
42519 * socket/send.c: Likewise.
42520 * socket/sendto.c: Likewise.
42521 * socket/sys/socket.h: Likewise.
42522 * stdio-common/printf.h: Likewise.
42523 * stdlib/bits/stdlib.h: Likewise.
42524 * stdlib/fmtmsg.h: Likewise.
42525 * stdlib/monetary.h: Likewise.
42526 * stdlib/stdlib.h: Likewise.
42527 * stdlib/ucontext.h: Likewise.
42528 * streams/stropts.h: Likewise.
42529 * string/argz.h: Likewise.
42530 * string/bits/string2.h: Likewise.
42531 * string/string.h: Likewise.
42532 * string/strings.h: Likewise.
42533 * sunrpc/rpc/auth.h: Likewise.
42534 * sunrpc/rpc/auth_des.h: Likewise.
42535 * sunrpc/rpc/clnt.h: Likewise.
42536 * sunrpc/rpc/netdb.h: Likewise.
42537 * sunrpc/rpc/pmap_clnt.h: Likewise.
42538 * sunrpc/rpc/xdr.h: Likewise.
42539 * sysdeps/generic/inttypes.h: Likewise.
42540 * sysdeps/generic/net/if.h: Likewise.
42541 * sysdeps/generic/sys/swap.h: Likewise.
42542 * sysdeps/gnu/net/if.h: Likewise.
42543 * sysdeps/gnu/utmpx.h: Likewise.
42544 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42545 * sysdeps/i386/i486/bits/string.h: Likewise.
42546 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42547 * sysdeps/s390/bits/string.h: Likewise.
42548 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42549 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42550 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42551 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42552 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42553 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42554 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42555 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42556 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42557 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42558 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42559 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42560 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42561 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42562 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42563 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42564 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42565 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42566 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42567 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42568 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42569 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42570 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42571 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42572 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42573 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42574 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42575 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42576 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42577 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42578 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42579 * sysvipc/sys/ipc.h: Likewise.
42580 * sysvipc/sys/msg.h: Likewise.
42581 * sysvipc/sys/sem.h: Likewise.
42582 * sysvipc/sys/shm.h: Likewise.
42583 * termios/termios.h: Likewise.
42584 * time/sys/time.h: Likewise.
42585 * time/time.h: Likewise.
42586 * wcsmbs/bits/wchar2.h: Likewise.
42587 * wcsmbs/uchar.h: Likewise.
42588 * wcsmbs/wchar.h: Likewise.
42589 * wctype/wctype.h: Likewise.
42592 * Makeconfig: Remove all but ELF support including AIX support.
42593 * Makerules: Likewise.
42594 * config.h.in: Likewise.
42595 * config.make.in: Likewise.
42596 * configure: Likewise.
42597 * configure.in: Likewise.
42598 * csu/Makefile: Likewise.
42599 * csu/version.c: Likewise.
42600 * debug/Makefile: Likewise.
42601 * dlfcn/Makefile: Likewise.
42602 * elf/Makefile: Likewise.
42603 * extra-lib.mk: Likewise.
42604 * iconv/Makefile: Likewise.
42605 * include/libc-symbols.h: Likewise.
42606 * include/shlib-compat.h: Likewise.
42607 * resolv/Makefile: Likewise.
42608 * resolv/res_libc.c: Likewise.
42609 * rt/Makefile: Likewise.
42610 * sysdeps/i386/asm-syntax.h: Likewise.
42611 * sysdeps/i386/sysdep.h: Likewise.
42612 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42613 * sysdeps/mach/sysdep.h: Likewise.
42614 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42615 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42616 * sysdeps/s390/asm-syntax.h: Likewise.
42617 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42618 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42619 * sysdeps/sh/sysdep.h: Likewise.
42620 * sysdeps/unix/sparc/sysdep.h: Likewise.
42621 * sysdeps/wordsize-32/divdi3.c: Likewise.
42622 * sysdeps/x86_64/sysdep.h: Likewise.
42624 * argp/Versions: Remove _argp_unlock_xxx.
42627 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42628 * abilist/libBrokenLocale.abilist: Likewise.
42629 * abilist/libanl.abilist: Likewise.
42630 * abilist/libc.abilist: Likewise.
42631 * abilist/libcrypt.abilist: Likewise.
42632 * abilist/libdl.abilist: Likewise.
42633 * abilist/libm.abilist: Likewise.
42634 * abilist/libnsl.abilist: Likewise.
42635 * abilist/libpthread.abilist: Likewise.
42636 * abilist/libresolv.abilist: Likewise.
42637 * abilist/librt.abilist: Likewise.
42638 * abilist/libthread_db.abilist: Likewise.
42639 * abilist/libutil.abilist: Likewise.
42640 * abilist/libnss_db.abilist: New file.
42642 * scripts/abilist.awk: Add support for indirect functions.
42644 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42646 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42648 * shlib-versions: Remove entries for ports architectures.
42650 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42652 * elf/stackguard-macros.h: Remove support for IA-64.
42653 * elf/tst-auditmod1.c: Likewise.
42654 * sysdeps/generic/ldsodefs.h: Likewise.
42656 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42657 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42661 * configure.in: Remove --enable-omitfp support.
42663 * config.make.in: Likewise.
42664 * Makeconfig: Likewise.
42665 * manual/install.texi: Likewise.
42667 In case anyone cares, the IA-64 architecture could move to ports.
42668 * sysdeps/ia64/*: Removed.
42669 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42670 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42673 * configure.in: Remove entries for unsupported architectures.
42676 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42677 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42679 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42680 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42681 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42682 fall back to using wcrtomb.
42683 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42684 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42686 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42687 * wcsmbs/tst-c16c32-1.c: New file.
42689 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42692 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42694 * elf/tst-unique3.cc: Add explicit declaration of gets.
42695 * elf/tst-unique3lib.cc: Likewise.
42696 * elf/tst-unique3lib2.cc: Likewise.
42697 * elf/tst-unique4.cc: Likewise.
42699 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42701 2012-01-06 Joseph Myers <joseph@codesourcery.com>
42704 * assert/assert.h (static_assert): Don't define for C++.
42705 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42706 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42708 2012-01-03 Ulrich Drepper <drepper@gmail.com>
42710 * iconv/loop.c (single loop): Fix assertion in storing of
42713 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42715 2012-01-01 Ulrich Drepper <drepper@gmail.com>
42717 * posix/getconf.c: Update copyright year.
42718 * nss/getent.c: Likewise.
42719 * nss/makedb.c: Likewise.
42720 * iconv/iconvconfig.c: Likewise.
42721 * iconv/iconv_prog.c: Likewise.
42722 * elf/ldconfig.c: Likewise.
42723 * elf/pldd.c: Likewise.
42724 * elf/sotruss.ksh: Likewise.
42725 * catgets/gencat.c: Likewise.
42726 * csu/version.c: Likewise.
42727 * elf/ldd.bash.in: Likewise.
42728 * elf/sprof.c (print_version): Likewise.
42729 * locale/programs/locale.c: Likewise.
42730 * locale/programs/localedef.c: Likewise.
42731 * login/programs/pt_chown.c: Likewise.
42732 * nscd/nscd.c (print_version): Likewise.
42733 * debug/xtrace.sh: Likewise.
42734 * malloc/memusage.sh: Likewise.
42735 * malloc/mtrace.pl: Likewise.
42736 * debug/catchsegv.sh: Likewise.
42738 2011-12-30 Jakub Jelinek <jakub@redhat.com>
42740 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42743 2011-12-24 Ulrich Drepper <drepper@gmail.com>
42746 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42747 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42749 * iconv/gconv_int.h: Likewise.
42750 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42751 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42752 from libc for GLIBC_2.16.
42753 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42754 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42755 * wcsmbs/uchar.h: Really define mbstate_t.
42756 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42757 * wcsmbs/c16rtomb.c: New file.
42758 * wcsmbs/mbrtoc16.c: New file.
42759 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42760 for C/POSIX locale.
42761 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42762 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42764 * wcsmbs/wchar.h: Add missing __restrict.
42766 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42769 * time/Makefile (routines): Add timespec_get.
42770 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42771 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42772 timespec for ISO C11.
42773 * time/timespec_get.c: New file.
42774 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42775 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42778 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42779 * stdlib/stdlib.h: Declare aligned_alloc.
42780 * Versions.def: Add GLIBC_2.16 for libc.
42781 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42784 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42787 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42791 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42794 * assert/assert.h (static_assert): Define.
42796 * version.h: Update for 2.16 development version.
42799 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42802 * version.h (RELEASE): Bump for 2.15 release.
42803 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42805 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42806 Patch by Marek Polacek <mpolacek@redhat.com>.
42808 * bits/byteswap.h: Protect long long constants with __extension__.
42809 * sysdeps/i386/bits/byteswap.h: Likewise.
42810 * sysdeps/ia64/bits/byteswap.h: Likewise.
42811 * sysdeps/s390/bits/byteswap.h: Likewise.
42812 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42814 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42817 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42818 destination buffer.
42819 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42821 2011-12-23 Marek Polacek <polacek@redhat.com>
42823 * elf/dl-addr.c (determine_info): Add inline keyword.
42824 * elf/tst-auditmod4b.c (check_avx): Likewise.
42825 * elf/tst-auditmod6b.c (check_avx): Likewise.
42826 * elf/tst-auditmod6c.c (check_avx): Likewise.
42827 * elf/tst-auditmod7b.c (check_avx): Likewise.
42829 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42831 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42834 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42837 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42838 processing for last bytes.
42840 2011-08-06 Bruno Haible <bruno@clisp.org>
42843 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42844 U+0385, not to U+1FEE.
42847 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42848 entry for U+00A5 U+0301.
42850 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42853 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42854 buffer for the output is too small.
42856 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42860 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42861 SSE flags if possible.
42863 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42866 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42867 processing for last bytes.
42869 2011-12-22 Joseph Myers <joseph@codesourcery.com>
42871 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42872 (syscall-list-default-options, syscall-list-default-condition)
42873 (syscall-list-includes): Define.
42874 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42875 list of ABIs and options and #if conditions for each ABI. Do not
42876 handle common syscalls between ABIs specially.
42877 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42879 (syscall-list-variants, syscall-list-32bit-options)
42880 (syscall-list-32bit-condition, syscall-list-64bit-options)
42881 (syscall-list-64bit-condition): Define.
42882 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42883 (syscall-list-variants, syscall-list-32bit-options)
42884 (syscall-list-32bit-condition, syscall-list-64bit-options)
42885 (syscall-list-64bit-condition): Define.
42886 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42888 (syscall-list-variants, syscall-list-32bit-options)
42889 (syscall-list-32bit-condition, syscall-list-64bit-options)
42890 (syscall-list-64bit-condition): Define.
42891 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42893 (syscall-list-variants, syscall-list-32bit-options)
42894 (syscall-list-32bit-condition, syscall-list-64bit-options)
42895 (syscall-list-64bit-condition): Define.
42897 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42899 * locale/iso-639.def: Add brx entry.
42902 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42903 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42905 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42906 __feraiseexcept_renamed.
42908 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42911 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42912 EPOLLET with unsigned values.
42913 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42914 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42916 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42917 to large cancellation.
42918 * math/s_cacoshf.c: Likewise.
42919 * math/s_cacoshl.c: Likewise.
42921 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42925 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42926 * math/s_cacoshf.c: Likewise.
42927 * math/s_cacoshl.c: Likewise.
42929 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42932 * iconv/gconv.h: Define __GCONV_SWAP.
42933 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42934 * iconvdata/utf-16.c: Likewise.
42935 * iconvdata/utf-32.c: Likewise.
42937 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42940 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42941 numerator after shifting it by one limb.
42943 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42945 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42946 under [__USE_EXTERN_INLINES].
42948 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42951 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42953 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42955 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42956 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42958 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42959 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42960 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42961 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42962 for strncasecmp/strncasecmp_l compilation.
42963 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42964 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42966 2011-12-08 Marek Polacek <mpolacek@redhat.com>
42969 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42972 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42975 * time/tzfile.c (__tzfile_read): Check values from file header.
42977 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42979 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42980 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42981 * powerpc/powerpc32/dl-start.S: Likewise.
42982 * powerpc/powerpc32/elf/start.S: Likewise.
42983 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42984 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42985 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42986 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42987 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42988 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42989 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42990 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42991 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42992 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42993 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42994 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42995 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42996 * powerpc/powerpc32/memset.S: Likewise.
42997 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42998 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42999 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43000 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43001 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43002 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43003 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43004 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43005 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43006 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43007 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43008 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43009 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43011 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43013 * math/libm-test.inc: Added more nearbyint tests.
43014 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43015 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43016 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43017 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43019 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43021 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43024 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43026 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43027 Add wcscpy-ssse3 wcscpy-c.
43028 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43029 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43030 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43031 * sysdeps/x86_64/wcschr.S: New file.
43032 * sysdeps/x86_64/wcsrchr.S: New file.
43033 * string/test-strcmp.c: Remove checking of wcscmp function for
43035 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43036 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43037 wcsrchr-sse2 wcsrchr-c.
43038 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43039 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43040 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43041 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43042 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43043 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43044 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43045 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43046 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43047 * wcsmbc/wcschr.c (WCSCHR): New macro.
43049 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43051 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43052 * wcsmbs/test-wcsrchr.c: New file.
43053 * string/test-strrchr.c: Add wcsrchr support.
43055 * wcsmbs/test-wcscpy.c: New file.
43056 * string/test-strcpy.c: Add wcscpy support.
43059 2011-12-10 Ulrich Drepper <drepper@gmail.com>
43061 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43064 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43067 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43069 2011-12-04 Ulrich Drepper <drepper@gmail.com>
43071 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43072 Minor optimizations.
43074 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43075 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43076 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43078 2011-12-03 Ulrich Drepper <drepper@gmail.com>
43080 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43081 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43082 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43083 for gcc to avoid warnings.
43084 * inet/Makefile (tests): Add tst-checks.
43085 * inet/tst-checks.c: New file.
43087 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43090 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43093 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43094 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43096 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43098 2011-12-02 Ulrich Drepper <drepper@gmail.com>
43100 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43103 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43105 2011-11-29 Joseph Myers <joseph@codesourcery.com>
43107 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43108 conditional on GCC version.
43109 (__arch_compare_and_exchange_val_8_acq)
43110 (__arch_compare_and_exchange_val_16_acq)
43111 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43112 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43113 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43115 2011-12-02 Joseph Myers <joseph@codesourcery.com>
43117 * sysdeps/sh/backtrace.c: New file.
43119 2011-12-02 Andreas Schwab <schwab@redhat.com>
43121 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43124 2011-12-01 Andreas Schwab <schwab@redhat.com>
43126 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43127 falling back to utime.
43129 2011-11-30 Andreas Schwab <schwab@redhat.com>
43131 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43132 expectations for float.
43134 2011-11-29 Andreas Schwab <schwab@redhat.com>
43136 * locale/weight.h (findidx): Add parameter len.
43137 * locale/weightwc.h (findidx): Likewise.
43138 * posix/fnmatch_loop.c (FCT): Adjust caller.
43139 * posix/regcomp.c (build_equiv_class): Likewise.
43140 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43141 * posix/regexec.c (check_node_accept_bytes): Likewise.
43142 * string/strcoll_l.c (STRCOLL): Likewise.
43143 * string/strxfrm_l.c (STRXFRM): Likewise.
43145 2011-11-17 Ulrich Drepper <drepper@gmail.com>
43147 * Makefile.in: Remove CVSOPT handling.
43148 * configure.in: Remove use of AC_REVISION.
43149 * iconvdata/Makefile (distribute): No need to filter out CVS.
43150 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43153 2011-11-16 Andreas Schwab <schwab@redhat.com>
43155 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43156 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43157 [USE_AS_STRNCASECMP_L]: Likewise.
43158 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43159 NO_TLS_DIRECT_SEG_REFS.
43160 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43161 Fix argument offsets for non-PIC.
43162 [USE_AS_STRNCASECMP_L]: Likewise.
43163 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43164 NO_TLS_DIRECT_SEG_REFS.
43166 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43168 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43170 * locale/loadlocale.c (_nl_load_locale): Likewise.
43172 2011-11-15 Andreas Schwab <schwab@redhat.com>
43174 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43175 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43176 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43177 (SYSCALL_GETTIME): Set errno on error.
43179 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43180 count references to noai6ai_cached.
43182 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43184 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43186 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43187 FD_CLOEXEC for /proc/self/maps.
43189 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43190 FD_CLOEXEC for /proc/meminfo.
43192 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43195 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43196 FD_CLOEXEC for given file.
43198 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43200 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43201 FD_CLOEXEC for /etc/hosts.
43202 (_gethtent): Likewise.
43204 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43206 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43207 cancellation and set FD_CLOEXEC for /etc/netgroup.
43209 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43210 reading /etc/publickey.
43212 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43213 allow cancellation when reading /etc/group.
43215 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43217 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43219 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43220 when using data file.
43222 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43224 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43225 (write_nis_obj): Use "c" and "e" in fopen.
43227 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43229 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43231 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43233 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43235 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43238 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43240 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43242 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43244 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43245 file parsing and set FD_CLOEXEC.
43247 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43249 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43251 2011-11-14 Andreas Schwab <schwab@redhat.com>
43253 * malloc/arena.c (arena_get2): Don't call reused_arena when
43254 _int_new_arena failed.
43256 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43258 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43259 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43260 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43261 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43262 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43263 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43264 to compile strcasecmp and strncasecmp.
43265 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43266 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43268 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43270 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43272 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43273 locale-defines.sym to gen-as-const-headers.
43274 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43275 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43276 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43277 to compile strcasecmp and strncasecmp.
43278 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43279 strcasecmp_l and strncasecmp_l.
43280 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43281 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43282 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43283 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43284 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43285 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43286 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43287 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43288 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43289 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43290 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43292 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43294 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43295 result of SYSDEP_GETTIME_CPU to retval.
43296 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43297 parameter list to macro. Remove trailing semicolon. Adjust users.
43299 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43302 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43304 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43306 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43307 from unused variable.
43309 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43311 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43314 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43317 * sunrpc/rpc_prot.c (rejected): Fix case value.
43319 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43320 unsigned long long int to avoid warnings in shift.
43322 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43324 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43327 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43328 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43329 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43331 * nis/nis_table.c (nis_list): Use variable of correct type for
43332 result of __follow_path call.
43334 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43336 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43337 of math functions ceil, trunc, floor, round, and sqrt, when
43338 avaliable on the platform.
43339 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43341 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43342 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43343 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43345 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43347 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43348 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43350 2011-11-11 Roland McGrath <roland@hack.frob.com>
43352 * include/unistd.h: Fix __readlink return type.
43353 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43355 2011-11-11 Ulrich Drepper <drepper@gmail.com>
43357 * stdlib/ucontext.h: Undo last change for makecontext.
43359 2011-11-11 Andreas Schwab <schwab@redhat.com>
43361 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43363 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43364 * setjmp/setjmp.h: Mark functions as non-leaf.
43365 * setjmp/bits/setjmp2.h: Likewise.
43366 * stdlib/ucontext.h: Likewise.
43368 2011-11-10 Andreas Schwab <schwab@redhat.com>
43370 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43371 (reused_arena): Don't check arena limit.
43372 (arena_get2): Atomically check arena limit.
43374 2011-11-08 Ulrich Drepper <drepper@gmail.com>
43376 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43377 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43379 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43382 2011-11-07 Andreas Schwab <schwab@redhat.com>
43384 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43385 handler when locking.
43387 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43388 Fix size of allocated buffer.
43390 2011-11-04 Andreas Schwab <schwab@redhat.com>
43393 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43394 declarations for long double functions.
43395 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43397 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43399 2011-11-03 Andreas Schwab <schwab@redhat.com>
43401 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43404 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43407 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43409 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43411 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43413 * include/alloca.h (stackinfo_alloca_round): Define.
43414 (extend_alloca): Use it.
43415 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43416 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43419 * scripts/check-local-headers.sh: Ignore libaudit.h.
43421 * nscd/Makefile (extra-objs): Make recursively expanded.
43423 2011-11-01 Ulrich Drepper <drepper@gmail.com>
43425 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43426 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43428 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43429 * posix/tst-rfc3484-2.c: Likewise.
43430 * posix/tst-rfc3484-3.c: Likewise.
43432 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43434 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43436 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43437 process_vm_writev from libc using GLIBC_2.15 version.
43439 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43441 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43443 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43446 2011-10-31 Ulrich Drepper <drepper@gmail.com>
43449 * nss/getent.c (initgroups_keys): Show error message in case no group
43452 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43453 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43454 __bump_nl_timestamp.
43455 * nscd/connections (nscd_init): When host database is served open
43456 netlink socket and request notification about configuration changes.
43457 (main_loop_poll): Track netlink file descriptor and bump timestamp
43458 in case data becomes available.
43459 (main_loop_epoll): Likewise.
43460 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43461 (database_pers_head): Add extra_data fileds.
43462 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43463 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43464 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43466 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43467 in6ai data, call __free_in6ai.
43468 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43469 Add -DHAVE_NETLINK.
43470 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43471 interface information. Reuse previous data if netlink timestamp
43473 (__bump_nl_timestamp): New function.
43474 (__free_in6ai): New function.
43476 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43478 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43479 close_not_cancel_no_status here.
43480 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43482 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43485 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43488 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43489 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43490 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43492 2011-07-03 Andreas Jaeger <aj@suse.de>
43495 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43496 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43497 * math/libm-test.inc (sin_test): Add test case.
43499 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43502 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43503 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43505 * elf/chroot_canon.c (chroot_canon): Cleanups.
43507 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43510 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43511 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43513 * string/test-strchr.c: Make usable for strchrnul testing.
43514 * string/test-strchrnul.c: New file.
43515 * string/Makefile (strop-tests): Add strchrnul.
43517 * po/it.po: Update from translation team.
43518 * po/es.po: Likewise.
43520 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43522 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43523 the three constants needed as parameters. Drop the others.
43524 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43525 __m128i_strloadu_tolower.
43526 Create and initialize variable zero and use it in all the places
43527 where _mm_setzero_si128 was used.
43529 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43530 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43531 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43532 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43534 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43535 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43536 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43537 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43538 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43539 __mpranred, __mptan.
43540 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43541 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43542 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43543 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43544 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43545 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43546 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43547 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43548 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43550 2011-10-28 Andreas Schwab <schwab@redhat.com>
43552 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43553 redefine if SHARED.
43554 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43556 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43557 wide char related routines to wcsmbs subdir.
43559 2011-10-27 Andreas Schwab <schwab@redhat.com>
43562 * misc/sys/cdefs.h (__THROWNL): Define.
43563 * posix/unistd.h: Use __THREADNL instead of __THREAD
43564 for memory synchronization functions.
43566 2011-10-26 Roland McGrath <roland@hack.frob.com>
43569 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43571 * manual/stdio.texi (Obstack Streams): Node removed.
43573 2011-10-26 Andreas Schwab <schwab@redhat.com>
43575 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43576 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43577 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43579 * math/math_private.h (math_force_eval): Allow non-addressable
43581 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43583 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43585 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43586 file is not needed.
43588 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43589 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43590 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43591 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43592 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43593 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43594 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43595 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43597 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43598 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43599 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43600 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43601 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43602 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43603 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43604 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43605 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43606 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43607 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43608 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43609 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43610 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43611 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43612 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43613 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43614 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43615 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43617 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43618 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43620 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43621 place. Use VEX encoding when compiling for AVX.
43623 2011-10-25 Andreas Schwab <schwab@redhat.com>
43625 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43626 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43628 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43630 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43632 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43633 useless if() expression.
43634 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43635 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43636 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43637 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43638 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43639 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43640 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43641 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43642 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43643 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43644 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43645 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43646 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43647 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43648 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43649 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43650 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43651 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43652 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43654 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43656 2011-10-25 Andreas Schwab <schwab@redhat.com>
43658 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43660 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43662 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43664 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43665 .text section. Avoid duplicate constants.
43666 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43667 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43668 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43669 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43670 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43671 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43672 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43673 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43674 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43675 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43676 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43677 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43678 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43679 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43680 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43681 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43682 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43683 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43684 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43685 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43686 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43687 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43688 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43689 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43690 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43691 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43692 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43693 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43694 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43695 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43696 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43697 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43698 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43699 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43700 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43701 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43702 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43703 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43704 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43705 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43706 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43707 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43708 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43709 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43710 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43712 2011-10-24 Ulrich Drepper <drepper@gmail.com>
43714 * sysdeps/x86_64/dla.h: Move to ...
43715 * sysdeps/x86_64/fpu/dla.h: ...here.
43716 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43717 situations. Use __builtin_fma only for gcc 4.6 and up.
43719 * config.make.in: Add have-mfma4 entry.
43720 * configure.in: Substitute libc_cv_cc_fma4.
43721 * math/Makefile (dbl-only-routines): Add sincostab.
43722 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43723 Use __sincostab not sincos.
43724 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43726 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43727 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43728 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43729 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43731 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43732 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43733 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43734 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43736 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43737 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43739 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43740 define aliases when function name is a macro.
43741 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43742 sysdeps/ieee754/dbl-64/sincos.tbl.
43743 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43744 fma4-enabled routines.
43745 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43746 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43747 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43748 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43749 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43750 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43751 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43752 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43753 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43754 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43755 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43756 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43757 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43758 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43759 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43760 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43761 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43762 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43763 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43764 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43765 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43766 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43767 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43768 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43769 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43770 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43771 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43772 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43773 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43774 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43776 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43778 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43779 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43780 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43781 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43782 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43783 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43784 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43785 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43787 2011-10-24 Andreas Schwab <schwab@redhat.com>
43789 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43791 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43793 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43795 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43797 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43799 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43800 Remove unused variable magic_bits.
43801 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43803 * string/strnlen.c: Define and use STRNLEN macro.
43804 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43805 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43806 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43807 * wcsmbs/wcslen.c: Define and use WCSLEN.
43808 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43809 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43810 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43811 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43812 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43813 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43814 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43816 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43818 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43819 strnlen-sse2-no-bsf.
43820 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43821 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43822 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43823 Add strnlen support.
43824 (USE_AS_STRNLEN): New macro.
43825 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43826 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43827 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43828 * sysdeps/x86_64/wcslen.S: New file.
43830 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43832 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43833 XMM-moves are used for copying on small sizes.
43835 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43837 * wcsmbs/Makefile (strop-tests): Add wcschr.
43838 * wcsmbs/test-wcschr.c: New file.
43839 * string/test-strchr.c: Update.
43840 Add wcschr support.
43843 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43845 * wcsmbs/Makefile (strop-tests): Add wcslen.
43846 * wcsmbs/test-wcslen.c: New file.
43847 * string/test-strlen.c: Update.
43848 Add wcslen support.
43851 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43853 * po/it.po: Update from translation team.
43855 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43857 * sysdeps/x86_64/wcscmp.S: Update.
43858 Fix wrong comparison semantics.
43859 wcscmp shall use signed comparison not unsigned.
43860 Don't use substraction to avoid overflow bug.
43861 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43862 * wcsmbc/wcscmp.c: Likewise.
43863 * string/test-strcmp.c: Likewise.
43864 Add new tests to check cases with negative values.
43866 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43868 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43869 * sysdeps/x86_64/dla.h: ...here. New file.
43870 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43871 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43872 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43873 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43874 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43875 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43876 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43877 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43878 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43880 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43882 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43883 __ynl_finite aliases.
43885 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43889 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43891 [DLA_FMA] (EMULV): Use DLA_FMA.
43892 [DLA_FMA] (MUL12): Use EMULV.
43893 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43894 that are not needed.
43895 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43896 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43897 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43898 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43899 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43900 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43901 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43903 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43905 * math/s_nan.c: Undef __nan.
43906 * math/s_nanf.c: Undef __nanf.
43907 * math/s_nanl.c: Undef __nanl.
43908 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43911 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43913 * math/s_catan.c: Add branch predictions.
43914 * math/s_catanf.c: Likewise.
43915 * math/s_catanh.c: Likewise.
43916 * math/s_catanhf.c: Likewise.
43917 * math/s_catanhl.c: Likewise.
43918 * math/s_catanl.c: Likewise.
43919 * math/s_cexp.c: Likewise.
43920 * math/s_cexpf.c: Likewise.
43921 * math/s_cexpl.c: Likewise.
43922 * math/s_clog.c: Likewise.
43923 * math/s_clog10.c: Likewise.
43924 * math/s_clog10f.c: Likewise.
43925 * math/s_clog10l.c: Likewise.
43926 * math/s_clogf.c: Likewise.
43927 * math/s_clogl.c: Likewise.
43928 * math/s_csqrt.c: Likewise.
43929 * math/s_csqrtf.c: Likewise.
43930 * math/s_csqrtl.c: Likewise.
43931 * math/s_ctanf.c: Likewise.
43932 * math/s_ctanh.c: Likewise.
43933 * math/s_ctanhf.c: Likewise.
43934 * math/s_ctanhl.c: Likewise.
43935 * math/s_ctanl.c: Likewise.
43937 * math/math_private.h: Define __nan, __nanf, __nanl.
43938 * math/s_cacosh.c: Include <math_private.h>.
43939 * math/s_cacoshl.c: Likewise.
43940 * math/s_casinh.c: Likewise.
43941 * math/s_casinhf.c: Likewise.
43942 * math/s_casinhl.c: Likewise.
43943 * math/s_ccos.c: Rely entire on ccosh.
43944 * math/s_ccosf.c: Rely entire on ccoshf.
43945 * math/s_ccosl.c: Rely entirely on ccoshl.
43946 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43947 Remove tests for FE_INVALID.
43948 * math/s_ccoshf.c: Likewise.
43949 * math/s_ccoshl.c: Likewise.
43950 * math/s_csin.c: Likewise.
43951 * math/s_csinf.c: Likewise.
43952 * math/s_csinh.c Likewise.
43953 * math/s_csinhf.c: Likewise.
43954 * math/s_csinhl.c: Likewise.
43955 * math/s_csinl.c: Likewise.
43956 * math/s_ctan.c: Likewise.
43957 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43958 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43959 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43961 2011-10-21 Ulrich Drepper <drepper@gmail.com>
43963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43964 compilation problems.
43966 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43969 2011-10-20 Ulrich Drepper <drepper@gmail.com>
43971 * sysdeps/i386/configure.in: Test for -mfma4 option.
43972 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43973 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43974 COMMON_CPUID_INDEX_80000001.
43975 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43976 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43977 use it if FMA3 is not supported.
43978 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43980 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43981 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43983 2011-10-20 Andreas Schwab <schwab@redhat.com>
43986 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43987 it would create a cycle with a link time dependency.
43989 2011-10-19 Ulrich Drepper <drepper@gmail.com>
43991 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43993 * string/Makefile (strop-tests): Add rawmemchr.
43994 * string/test-rawmemchr.c: New file.
43996 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43997 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43998 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43999 when compiling str{,n}casecmp and when AVX is available. Hook up
44000 new optimized code in initializers.
44002 2011-10-19 Andreas Schwab <schwab@redhat.com>
44004 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44005 __feraiseexcept instead of feraiseexcept.
44007 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44009 * math/math_private.h: Define defaults for libc_fetestexcept and
44011 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44012 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44013 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44014 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44015 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44016 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44017 libc_fetestexcept and libc_feupdateenv.
44019 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44020 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44021 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44022 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44023 libc_feholdexcept_setround.
44025 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44026 Add s_nearbyint-c and s_nearbyintf-c.
44027 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44028 nearbyintf inlines.
44029 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44030 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44031 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44032 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44034 * math/math_private.h: Define defaults for libc_fegetround,
44035 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44036 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44037 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44038 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44039 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44040 standard functions.
44041 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44042 Remove comments and hacks for old compiler versions.
44043 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44044 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44045 libc_feholdexceptl.
44047 2011-10-18 Andreas Schwab <schwab@redhat.com>
44049 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44050 (__feraiseexcept_renamed): Add __NTH.
44051 (feraiseexcept): Add __NTH. Rename local variables to fix
44052 namespace violations.
44054 2011-10-17 Ulrich Drepper <drepper@gmail.com>
44056 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44058 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44060 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44061 recently added interfaces.
44062 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44064 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44065 about macro parameter expansion.
44067 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44068 __NO_MATH_INLINES is defined. Cleanups.
44070 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44071 and __floorf is target has SSE4.1.
44072 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44073 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44074 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44075 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44077 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44079 (floorf): Likewise.
44081 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44083 2011-10-17 Andreas Schwab <schwab@redhat.com>
44085 * misc/sys/cdefs.h: Fix last change.
44087 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44090 2011-10-16 Ulrich Drepper <drepper@gmail.com>
44092 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44094 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44095 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44096 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44097 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44098 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44099 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44100 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44101 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44102 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44103 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44104 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44105 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44106 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44107 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44108 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44109 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44110 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44111 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44112 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44113 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44114 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44115 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44117 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44118 ceil, ceilf, floor, floorf.
44120 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44121 Perform IRELATIVE relocations last.
44123 * elf/do-rel.h: Add another parameter nrelative, replacing the
44124 local variable with the same name. Change name of the function
44125 to end in Rel or Rela (uppercase).
44126 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44127 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44128 elf_dynamic_do_##reloc function.
44130 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44132 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44133 is sufficient, at least on modern CPUs.
44135 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44137 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44138 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44140 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44142 * math/bits/math-finite.h: Add entries for exp.
44143 * math/e_expl.c: Add __*_finite alias.
44144 * sysdeps/i386/fpu/e_exp.S: Likewise.
44145 * sysdeps/i386/fpu/e_expf.S: Likewise.
44146 * sysdeps/i386/fpu/e_expl.c: Likewise.
44147 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44148 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44149 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44150 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44151 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44152 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44153 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44155 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44156 is sufficient, at least on modern CPUs.
44158 * ctype/ctype-info.c (__ctype_init): Define.
44159 * include/ctype.h (__ctype_init): Declare.
44160 (__ctype_b_loc): The variable is always initialized.
44161 (__ctype_toupper_loc): Likewise.
44162 (__ctype_tolower_loc): Likewise.
44163 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44164 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44166 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44168 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44170 * configure.in: Also look in $cxxmachine/include for C++ system
44173 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44175 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44176 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44177 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44178 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44179 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44180 (USE_AS_WMEMCMP): New macro.
44182 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44183 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44184 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44185 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44186 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44187 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44188 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44189 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44190 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44191 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44192 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44193 (USE_AS_WMEMCMP): New macro.
44194 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44195 * sysdeps/string/test-memcmp.c: Update.
44196 Fix simple_wmemcmp.
44198 * wcsmbs/wmemcmp.c: Update.
44199 (WMEMCMP): New macro.
44202 2011-10-12 Andreas Jaeger <aj@suse.de>
44205 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44207 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44209 * libio/iofwide.c (do_length): Avoid warning.
44211 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44213 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44215 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44217 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44218 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44219 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44220 * sysdeps/i386/i686/fpu/e_log.S: New file.
44221 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44222 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44224 * ctype/ctype.h: Add support for inlined isXXX functions when
44225 compiling C++ code.
44227 2011-10-14 Andreas Schwab <schwab@redhat.com>
44229 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44231 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44233 2011-10-13 Roland McGrath <roland@hack.frob.com>
44236 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44238 2011-10-13 Andreas Schwab <schwab@redhat.com>
44240 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44241 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44244 * sysdeps/x86_64/memrchr.S: Check for zero size.
44246 * string/stratcliff.c: Add memrchr tests.
44248 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44250 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44251 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44252 rawmemchr-sse2 rawmemchr-sse2-bsf.
44253 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44254 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44255 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44256 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44257 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44258 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44259 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44260 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44261 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44262 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44263 * string/memrchr.c (MEMRCHR): New macro.
44265 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44267 Add integration with gcc's -ffinite-math-only and optimize wrapper
44269 * Versions.def: Define GLIBC_2.15 version for libm.
44270 * math/Makefile (headers): Add bits/math-finite.h.
44271 * math/bits/math-finite.h: New file.
44272 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44273 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44274 * math/e_acoshl.c: Add __*_finite alias.
44275 * math/e_acosl.c: Likewise.
44276 * math/e_asinl.c: Likewise.
44277 * math/e_atan2l.c: Likewise.
44278 * math/e_atanhl.c: Likewise.
44279 * math/e_coshl.c: Likewise.
44280 * math/e_exp10.c: Likewise.
44281 * math/e_exp10f.c: Likewise.
44282 * math/e_exp10l.c: Likewise.
44283 * math/e_exp2l.c: Likewise.
44284 * math/e_fmodl.c: Likewise.
44285 * math/e_gammal_r.c: Likewise.
44286 * math/e_hypotl.c: Likewise.
44287 * math/e_j0l.c: Likewise.
44288 * math/e_j1l.c: Likewise.
44289 * math/e_jnl.c: Likewise.
44290 * math/e_lgammal_r.c: Likewise.
44291 * math/e_log10l.c: Likewise.
44292 * math/e_log2l.c: Likewise.
44293 * math/e_logl.c: Likewise.
44294 * math/e_powl.c: Likewise.
44295 * math/e_sinhl.c: Likewise.
44296 * math/e_sqrtl.c: Likewise.
44297 * math/e_scalb.c: Completely rewritten and optimized.
44298 * math/e_scalbf.c: Likewise.
44299 * math/e_scalbl.c: Likewise.
44300 * math/w_acos.c: Likewise.
44301 * math/w_acosf.c: Likewise.
44302 * math/w_acosl.c: Likewise.
44303 * math/w_acosh.c: Likewise.
44304 * math/w_acoshf.c: Likewise.
44305 * math/w_acoshl.c: Likewise.
44306 * math/w_asin.c: Likewise.
44307 * math/w_asinf.c: Likewise.
44308 * math/w_asinl.c: Likewise.
44309 * math/w_atan2.c: Likewise.
44310 * math/w_atan2f.c: Likewise.
44311 * math/w_atan2l.c: Likewise.
44312 * math/w_atanh.c: Likewise.
44313 * math/w_atanhf.c: Likewise.
44314 * math/w_atanhl.c: Likewise.
44315 * math/w_exp10.c: Likewise.
44316 * math/w_exp10f.c: Likewise.
44317 * math/w_exp10l.c: Likewise.
44318 * math/w_fmod.c: Likewise.
44319 * math/w_fmodf.c: Likewise.
44320 * math/w_fmodl.c: Likewise.
44321 * math/w_j0.c: Likewise.
44322 * math/w_j0f.c: Likewise.
44323 * math/w_j0l.c: Likewise.
44324 * math/w_j1.c: Likewise.
44325 * math/w_j1f.c: Likewise.
44326 * math/w_j1l.c: Likewise.
44327 * math/w_jn.c: Likewise.
44328 * math/w_jnf.c: Likewise.
44329 * math/w_log.c: Likewise.
44330 * math/w_logf.c: Likewise.
44331 * math/w_logl.c: Likewise.
44332 * math/w_log10.c: Likewise.
44333 * math/w_log10f.c: Likewise.
44334 * math/w_log10l.c: Likewise.
44335 * math/w_log2.c: Likewise.
44336 * math/w_log2f.c: Likewise.
44337 * math/w_log2l.c: Likewise.
44338 * math/w_pow.c: Likewise.
44339 * math/w_powf.c: Likewise.
44340 * math/w_powl.c: Likewise.
44341 * math/w_remainder.c: Likewise.
44342 * math/w_remainderf.c: Likewise.
44343 * math/w_remainderl.c: Likewise.
44344 * math/w_scalb.c: Likewise.
44345 * math/w_scalbf.c: Likewise.
44346 * math/w_scalbl.c: Likewise.
44347 * math/w_sqrt.c: Likewise.
44348 * math/w_sqrtf.c: Likewise.
44349 * math/w_sqrtl.c: Likewise.
44350 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44351 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44353 * math/math_private.h: Declare __kernel_standard_f.
44354 * math/w_cosh.c: Remove cruft and optimize a bit.
44355 * math/w_coshf.c: Likewise.
44356 * math/w_coshl.c: Likewise.
44357 * math/w_exp2.c: Likewise.
44358 * math/w_exp2f.c: Likewise.
44359 * math/w_exp2l.c: Likewise.
44360 * math/w_hypot.c: Likewise.
44361 * math/w_hypotf.c: Likewise.
44362 * math/w_hypotl.c: Likewise.
44363 * math/w_lgamma.c: Likewise.
44364 * math/w_lgamma_r.c: Likewise.
44365 * math/w_lgammaf.c: Likewise.
44366 * math/w_lgammaf_r.c: Likewise.
44367 * math/w_lgammal.c: Likewise.
44368 * math/w_lgammal_r.c: Likewise.
44369 * math/w_sinh.c: Likewise.
44370 * math/w_sinhf.c: Likewise.
44371 * math/w_sinhl.c: Likewise.
44372 * math/w_tgamma.c: Likewise.
44373 * math/w_tgammaf.c: Likewise.
44374 * math/w_tgammal.c: Likewise.
44375 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44376 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44377 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44378 Minor optimizations. Pretty printing. Remove cruft.
44379 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44380 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44381 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44382 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44383 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44384 * sysdeps/i386/fpu/e_asin.S: Likewise.
44385 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44386 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44387 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44388 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44389 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44390 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44391 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44392 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44393 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44394 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44395 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44396 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44397 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44398 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44399 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44400 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44401 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44402 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44403 * sysdeps/i386/fpu/e_log.S: Likewise.
44404 * sysdeps/i386/fpu/e_log10.S: Likewise.
44405 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44406 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44407 * sysdeps/i386/fpu/e_log2.S: Likewise.
44408 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44409 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44410 * sysdeps/i386/fpu/e_logf.S: Likewise.
44411 * sysdeps/i386/fpu/e_logl.S: Likewise.
44412 * sysdeps/i386/fpu/e_pow.S: Likewise.
44413 * sysdeps/i386/fpu/e_powf.S: Likewise.
44414 * sysdeps/i386/fpu/e_powl.S: Likewise.
44415 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44416 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44417 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44418 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44419 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44420 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44421 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44422 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44423 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44424 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44425 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44426 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44427 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44428 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44429 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44430 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44431 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44432 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44433 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44434 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44435 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44436 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44437 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44438 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44439 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44440 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44441 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44442 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44443 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44444 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44445 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44446 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44447 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44448 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44449 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44450 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44451 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44452 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44453 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44454 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44455 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44456 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44457 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44458 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44459 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44460 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44461 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44462 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44463 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44464 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44465 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44466 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44467 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44468 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44469 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44470 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44471 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44472 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44473 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44474 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44475 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44476 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44477 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44478 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44479 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44480 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44481 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44482 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44483 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44484 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44485 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44486 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44487 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44488 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44489 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44490 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44491 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44492 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44493 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44494 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44495 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44496 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44497 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44498 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44499 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44500 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44501 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44502 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44503 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44504 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44505 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44506 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44507 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44508 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44509 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44510 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44511 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44512 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44513 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44514 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44515 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44516 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44517 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44518 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44519 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44520 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44521 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44522 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44523 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44524 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44525 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44526 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44527 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44528 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44529 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44530 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44531 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44532 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44533 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44534 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44535 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44536 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44537 (__isnanf): Likewise.
44538 (__isinf_ns): Likewise.
44539 (__isinf_nsf): Likewise.
44540 (__finite): Likewise.
44541 (__finitef): Likewise.
44542 (__ieee754_sqrt): Define as macro.
44543 (__ieee754_sqrtf): Define as macro.
44544 (__ieee754_sqrtl): Define as macro.
44545 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44547 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44548 __FINITE_MATH_ONLY__ consistent.
44549 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44551 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44553 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44556 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44558 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44560 * po/ja.po: Update from translation team.
44562 2011-10-08 Roland McGrath <roland@hack.frob.com>
44564 * locale/programs/locarchive.c (prepare_address_space): New function.
44565 (create_archive, enlarge_archive, open_archive): Use it.
44567 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44568 inside [SHARED], where it is used.
44570 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44572 * nss/getent.c (netgroup_keys): Remove unused variable.
44573 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44575 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44577 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44578 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44579 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44580 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44581 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44582 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44583 * math/Makefile (libm-calls): Add s_isinf_ns.
44584 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44585 * math/multc3.c: Likewise.
44586 * math/s_casin.c: Likewise.
44587 * math/s_casinf.c: Likewise.
44588 * math/s_casinl.c: Likewise.
44589 * math/s_ccos.c: Likewise.
44590 * math/s_ccosf.c: Likewise.
44591 * math/s_ccosl.c: Likewise.
44592 * math/s_ctan.c: Likewise.
44593 * math/s_ctanf.c: Likewise.
44594 * math/s_ctanh.c: Likewise.
44595 * math/s_ctanhf.c: Likewise.
44596 * math/s_ctanhl.c: Likewise.
44597 * math/s_ctanl.c: Likewise.
44598 * math/w_fmod.c: Likewise.
44599 * math/w_fmodf.c: Likewise.
44600 * math/w_fmodl.c: Likewise.
44601 * math/w_remainder.c: Likewise.
44602 * math/w_remainderf.c: Likewise.
44603 * math/w_remainderl.c: Likewise.
44604 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44605 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44606 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44607 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44608 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44609 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44610 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44611 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44613 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44615 * stdio-common/printf_fphex.c: Likewise.
44616 * stdio-common/printf_size.c: Likewise.
44618 * math/e_exp10.c: Include math_private.h using <...> not "...".
44619 * math/e_exp10f.c: Likewise.
44620 * math/e_exp10l.c: Likewise.
44621 * math/e_exp2l.c: Likewise.
44622 * math/e_j0l.c: Likewise.
44623 * math/e_j1l.c: Likewise.
44624 * math/e_jnl.c: Likewise.
44625 * math/e_lgammal_r.c: Likewise.
44626 * math/e_rem_pio2l.c: Likewise.
44627 * math/e_scalb.c: Likewise.
44628 * math/e_scalbf.c: Likewise.
44629 * math/e_scalbl.c: Likewise.
44630 * math/k_cosl.c: Likewise.
44631 * math/k_sinl.c: Likewise.
44632 * math/k_tanl.c: Likewise.
44633 * math/s_cacoshf.c: Likewise.
44634 * math/s_catan.c: Likewise.
44635 * math/s_catanf.c: Likewise.
44636 * math/s_catanh.c: Likewise.
44637 * math/s_catanhf.c: Likewise.
44638 * math/s_catanhl.c: Likewise.
44639 * math/s_catanl.c: Likewise.
44640 * math/s_ccosh.c: Likewise.
44641 * math/s_ccoshf.c: Likewise.
44642 * math/s_ccoshl.c: Likewise.
44643 * math/s_cexp.c: Likewise.
44644 * math/s_cexpf.c: Likewise.
44645 * math/s_cexpl.c: Likewise.
44646 * math/s_clog.c: Likewise.
44647 * math/s_clog10.c: Likewise.
44648 * math/s_clog10f.c: Likewise.
44649 * math/s_clog10l.c: Likewise.
44650 * math/s_clogf.c: Likewise.
44651 * math/s_clogl.c: Likewise.
44652 * math/s_csin.c: Likewise.
44653 * math/s_csinf.c: Likewise.
44654 * math/s_csinh.c: Likewise.
44655 * math/s_csinhf.c: Likewise.
44656 * math/s_csinhl.c: Likewise.
44657 * math/s_csinl.c: Likewise.
44658 * math/s_csqrt.c: Likewise.
44659 * math/s_csqrtf.c: Likewise.
44660 * math/s_csqrtl.c: Likewise.
44661 * math/s_ctan.c: Likewise.
44662 * math/s_ctanf.c: Likewise.
44663 * math/s_ctanh.c: Likewise.
44664 * math/s_ctanhf.c: Likewise.
44665 * math/s_ctanhl.c: Likewise.
44666 * math/s_ctanl.c: Likewise.
44667 * math/s_ldexp.c: Likewise.
44668 * math/s_ldexpf.c: Likewise.
44669 * math/s_ldexpl.c: Likewise.
44670 * math/s_significand.c: Likewise.
44671 * math/s_significandf.c: Likewise.
44672 * math/s_significandl.c: Likewise.
44673 * math/w_acos.c: Likewise.
44674 * math/w_acosf.c: Likewise.
44675 * math/w_acosh.c: Likewise.
44676 * math/w_acoshf.c: Likewise.
44677 * math/w_acoshl.c: Likewise.
44678 * math/w_acosl.c: Likewise.
44679 * math/w_asin.c: Likewise.
44680 * math/w_asinf.c: Likewise.
44681 * math/w_asinl.c: Likewise.
44682 * math/w_atan2.c: Likewise.
44683 * math/w_atan2f.c: Likewise.
44684 * math/w_atan2l.c: Likewise.
44685 * math/w_atanh.c: Likewise.
44686 * math/w_atanhf.c: Likewise.
44687 * math/w_atanhl.c: Likewise.
44688 * math/w_cosh.c: Likewise.
44689 * math/w_coshf.c: Likewise.
44690 * math/w_coshl.c: Likewise.
44691 * math/w_dremf.c: Likewise.
44692 * math/w_exp10.c: Likewise.
44693 * math/w_exp10f.c: Likewise.
44694 * math/w_exp10l.c: Likewise.
44695 * math/w_exp2.c: Likewise.
44696 * math/w_exp2f.c: Likewise.
44697 * math/w_fmod.c: Likewise.
44698 * math/w_fmodf.c: Likewise.
44699 * math/w_fmodl.c: Likewise.
44700 * math/w_hypot.c: Likewise.
44701 * math/w_hypotf.c: Likewise.
44702 * math/w_hypotl.c: Likewise.
44703 * math/w_j0.c: Likewise.
44704 * math/w_j0f.c: Likewise.
44705 * math/w_j0l.c: Likewise.
44706 * math/w_j1.c: Likewise.
44707 * math/w_j1f.c: Likewise.
44708 * math/w_j1l.c: Likewise.
44709 * math/w_jn.c: Likewise.
44710 * math/w_jnf.c: Likewise.
44711 * math/w_jnl.c: Likewise.
44712 * math/w_lgamma.c: Likewise.
44713 * math/w_lgamma_r.c: Likewise.
44714 * math/w_lgammaf.c: Likewise.
44715 * math/w_lgammaf_r.c: Likewise.
44716 * math/w_lgammal.c: Likewise.
44717 * math/w_lgammal_r.c: Likewise.
44718 * math/w_log.c: Likewise.
44719 * math/w_log10.c: Likewise.
44720 * math/w_log10f.c: Likewise.
44721 * math/w_log10l.c: Likewise.
44722 * math/w_log2.c: Likewise.
44723 * math/w_log2f.c: Likewise.
44724 * math/w_log2l.c: Likewise.
44725 * math/w_logf.c: Likewise.
44726 * math/w_logl.c: Likewise.
44727 * math/w_pow.c: Likewise.
44728 * math/w_powf.c: Likewise.
44729 * math/w_powl.c: Likewise.
44730 * math/w_remainder.c: Likewise.
44731 * math/w_remainderf.c: Likewise.
44732 * math/w_remainderl.c: Likewise.
44733 * math/w_scalb.c: Likewise.
44734 * math/w_scalbf.c: Likewise.
44735 * math/w_scalbl.c: Likewise.
44736 * math/w_sinh.c: Likewise.
44737 * math/w_sinhf.c: Likewise.
44738 * math/w_sinhl.c: Likewise.
44739 * math/w_sqrt.c: Likewise.
44740 * math/w_sqrtf.c: Likewise.
44741 * math/w_sqrtl.c: Likewise.
44742 * math/w_tgamma.c: Likewise.
44743 * math/w_tgammaf.c: Likewise.
44744 * math/w_tgammal.c: Likewise.
44746 * po/ja.po: Update from translation team.
44748 2011-09-29 Andreas Jaeger <aj@suse.de>
44751 * sunrpc/netname.c (netname2host): Fix logic.
44755 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44757 * math/w_remainder.c (__remainder): Likewise.
44758 * math/w_remainderf.c (__remainderf): Likewise.
44759 * math/libm-test.inc (remainder_test): Add test cases.
44761 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44763 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44766 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44768 * string/test-memcmp.c: Avoid unncessary #defines.
44769 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44771 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44773 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44774 Use new sse2 version for core i3 - i7 as it's faster
44775 than sse42 version.
44776 (bit_Prefer_PMINUB_for_stringop): New.
44777 * sysdeps/x86_64/rawmemchr.S: Update.
44778 Replace with faster SSE2 version.
44779 * sysdeps/x86_64/memrchr.S: New file.
44780 * sysdeps/x86_64/memchr.S: Update.
44781 Replace with faster SSE2 version.
44783 2011-09-12 Marek Polacek <mpolacek@redhat.com>
44785 * elf/dl-load.c (lose): Add cast to avoid warning.
44787 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44789 * po/ca.po: Update from translation team.
44791 * inet/getnetgrent_r.c: Hook up nscd.
44792 * nscd/Makefile (routines): Add nscd_netgroup.
44793 (nscd-modules): Add netgroupcache.
44794 (CFLAGS-netgroupcache.c): Define.
44795 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44796 (cache_search): Add const to second parameter.
44797 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44799 (dbs): Add netgrdb entry.
44800 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44801 (verify_persistent_db): Handle netgrdb.
44802 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44803 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44805 (netgroup_response_header): Define.
44806 (innetgroup_response_header): Define.
44807 (datahead): Add netgroup_response_header and innetgroup_response_header
44809 * nscd/nscd.conf: Add entries for netgroup cache.
44810 * nscd/nscd.h (dbtype): Add netgrdb.
44811 (_PATH_NSCD_NETGROUP_DB): Define.
44812 (netgroup_iov_disabled): Declare.
44813 (xmalloc, xcalloc, xrealloc): Move declarations here.
44814 (cache_search): Adjust prototype.
44815 Add netgroup-related prototypes.
44816 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44817 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44818 (__nscd_innetgr): Declare.
44819 * nscd/selinux.c (perms): Use access_vector_t as element type and
44820 add netgroup-related initializers.
44821 * nscd/netgroupcache.c: New file.
44822 * nscd/nscd_netgroup.c: New file.
44823 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44824 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44825 For four parameters use innetgr.
44826 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44827 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44828 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44829 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44831 * nscd/connections.c (register_traced_file): Don't register file
44832 for disabled databases.
44834 2011-10-06 Ulrich Drepper <drepper@gmail.com>
44836 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44838 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44839 from tree and freeing node.
44841 2011-09-25 Jiri Olsa <jolsa@redhat.com>
44843 * nss/nsswitch.c (__nss_database_lookup): Handle
44844 nss_parse_service_list out of memory case.
44846 2011-09-15 Jiri Olsa <jolsa@redhat.com>
44848 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44849 out of memory case.
44851 2011-10-04 Andreas Schwab <schwab@redhat.com>
44853 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44854 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44856 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44857 elf_machine_rela, elf_machine_lazy_rel.
44858 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44859 (ELF_DYNAMIC_DO_REL): Likewise.
44860 (ELF_DYNAMIC_DO_RELA): Likewise.
44861 (ELF_DYNAMIC_RELOCATE): Likewise.
44862 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44863 to ELF_DYNAMIC_DO_REL.
44864 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44865 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44866 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44868 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44869 skip_ifunc, don't call ifunc function if non-zero.
44870 (elf_machine_rela): Likewise.
44871 (elf_machine_lazy_rel): Likewise.
44872 (elf_machine_lazy_rela): Likewise.
44873 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44874 (elf_machine_lazy_rel): Likewise.
44875 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44877 (elf_machine_lazy_rel): Likewise.
44878 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44880 (elf_machine_lazy_rel): Likewise.
44881 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44882 (elf_machine_lazy_rel): Likewise.
44883 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44884 (elf_machine_lazy_rel): Likewise.
44885 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44886 (elf_machine_lazy_rel): Likewise.
44887 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44888 (elf_machine_lazy_rel): Likewise.
44889 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44890 (elf_machine_lazy_rel): Likewise.
44891 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44892 (elf_machine_lazy_rel): Likewise.
44894 2011-09-28 Ulrich Drepper <drepper@gmail.com>
44896 * nss/nss_files/files-init.c (_nss_files_init): Use static
44897 initialization for all the *_traced_file variables.
44899 2011-09-28 Andreas Schwab <schwab@redhat.com>
44901 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44903 2011-09-27 Roland McGrath <roland@hack.frob.com>
44906 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44908 2011-09-27 Andreas Schwab <schwab@redhat.com>
44910 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44911 Reread the line before reparsing it.
44913 2011-09-26 Andreas Schwab <schwab@redhat.com>
44915 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44917 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44918 Maxim Kuvyrkov <maxim@codesourcery.com>
44919 Joseph Myers <joseph@codesourcery.com>
44921 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44922 if needed for __stack_chk_guard.
44924 2011-09-19 Roland McGrath <roland@hack.frob.com>
44926 * sysdeps/posix/spawni.c (script_execute): Always define it.
44927 It will be optimized away if unused.
44928 (maybe_script_execute): New function.
44929 (__spawni): Call it.
44931 * Makerules: Don't include tls.make.
44932 (config-tls): Always set to thread.
44933 * tls.make.c: File removed.
44935 2011-09-19 Mike Frysinger <vapier@gentoo.org>
44937 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44938 * config.make.in (CPPFLAGS-config): New substituted variable.
44940 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44942 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44945 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44946 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44948 2011-09-15 Roland McGrath <roland@hack.frob.com>
44950 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44951 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44952 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44953 (CALL_FAIL): Likewise.
44954 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44955 (CALL_FAIL): Macro removed.
44956 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44958 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44960 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44961 for __FINITE_MATH_ONLY__ == 1.
44963 2011-09-15 Andreas Schwab <schwab@redhat.com>
44965 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44966 __ieee754_sqrt instead of sqrt.
44967 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44968 __ieee754_sqrtf instead of sqrtf.
44969 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44970 __floorf instead of floorf.
44971 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44972 __floorf, __truncf instead of floorf, truncf.
44974 2011-09-14 Ulrich Drepper <drepper@gmail.com>
44976 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44978 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44979 __extern_always_inline.
44980 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44983 2011-09-14 Andreas Schwab <schwab@redhat.com>
44985 * elf/rtld.c (dl_main): Also relocate in dependency order when
44986 doing symbol dependency testing.
44988 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44990 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44991 Always define `refsym'.
44993 2011-09-13 Andreas Schwab <schwab@redhat.com>
44995 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44996 (__FD_ELT): Renamed from __FDELT.
44997 * misc/bits/select2.h (__FD_ELT): Likewise.
44998 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44999 __FD_MASK instead of __FDELT, __FDMASK.
45000 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45002 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45005 * elf/Makefile (gen-ldd): Fix pattern.
45007 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45008 (init_tls): Likewise.
45010 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45012 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45014 2011-09-12 Andreas Schwab <schwab@redhat.com>
45016 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45017 `struct cmsghdr *' instead of `void *'.
45018 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45021 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45023 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45025 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45026 ldd_rewrite_script.
45028 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45030 * configure.in: Remove --with-tls option.
45031 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45032 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45033 out in case it is missing.
45034 * sysdeps/ia64/elf/configure.in: Likewise.
45035 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45036 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45037 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45038 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45039 * sysdeps/sh/elf/configure.in: Likewise.
45040 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45041 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45042 * sysdeps/x86_64/elf/configure.in: Likewise.
45043 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45044 * sysdeps/mach/hurd/tls.h: Likewise.
45047 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45050 * configure.in: Fix use of AC_INIT.
45052 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45054 2011-09-10 Ulrich Drepper <drepper@gmail.com>
45056 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45058 * malloc/hooks.c: Likewise.
45061 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45062 variables statically.
45063 (narenas): Initialize.
45064 (list_lock): Initialize.
45065 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45066 initializtion of main_arena and list_lock. Small cleanups.
45067 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45068 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45069 Add initializers to main_arena and mp_.
45070 (malloc_state): Remove pagesize member. Change all users to use
45073 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45074 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45075 is always initialized.
45077 * malloc/malloc.c: Removed unused configurations and dead code.
45078 * malloc/arena.c: Likewise.
45079 * malloc/hooks.c: Likewise.
45080 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45082 * include/tls.h: Removed. USE___THREAD must always be defined.
45083 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45084 * elf/dl-libc.c: Likewise.
45085 * elf/dl-tsd.c: Likewise.
45086 * include/errno.h: Likewise.
45087 * include/netdb.h: Likewise.
45088 * include/resolv.h: Likewise.
45089 * inet/herrno-loc.c: Likewise.
45090 * inet/herrno.c: Likewise.
45091 * malloc/arena.c: Likewise.
45092 * malloc/hooks.c: Likewise.
45093 * malloc/malloc.c: Likewise.
45094 * resolv/res-state.c: Likewise.
45095 * resolv/res_libc.c: Likewise.
45096 * sysdeps/i386/dl-machine.h: Likewise.
45097 * sysdeps/ia64/dl-machine.h: Likewise.
45098 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45099 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45100 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45101 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45102 * sysdeps/sh/dl-machine.h: Likewise.
45103 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45104 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45105 * sysdeps/unix/i386/sysdep.S: Likewise.
45106 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45107 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45108 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45109 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45110 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45111 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45112 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45113 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45114 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45115 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45116 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45117 * sysdeps/x86_64/dl-machine.h: Likewise.
45118 * tls.make.c: Likewise.
45120 * configure.in: Remove --with-__thread option. Make tests for
45121 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45122 tls_model attribute fail if no support is available. Remove
45124 * Makeconfig: Adjust for dropped configure option. All features are
45126 * Makerules: Likewise.
45127 * Versions.def: Likewise.
45128 * argp/argp-fmtstream.c: Likewise.
45129 * argp/argp-fmtstream.h: Likewise.
45130 * argp/argp-help.c: Likewise.
45131 * assert/assert.c: Likewise.
45132 * config.h.in: Likewise.
45133 * config.make.in: Likewise.
45134 * configure: Likewise.
45135 * configure.in: Likewise.
45136 * csu/Versions: Likewise.
45137 * csu/init.c: Likewise.
45138 * elf/tst-audit2.c: Likewise.
45139 * elf/tst-tls10.c: Likewise.
45140 * elf/tst-tls10.h: Likewise.
45141 * elf/tst-tls11.c: Likewise.
45142 * elf/tst-tls12.c: Likewise.
45143 * elf/tst-tls14.c: Likewise.
45144 * elf/tst-tlsmod11.c: Likewise.
45145 * elf/tst-tlsmod12.c: Likewise.
45146 * elf/tst-tlsmod13.c: Likewise.
45147 * elf/tst-tlsmod13a.c: Likewise.
45148 * elf/tst-tlsmod14a.c: Likewise.
45149 * elf/tst-tlsmod15b.c: Likewise.
45150 * elf/tst-tlsmod16a.c: Likewise.
45151 * elf/tst-tlsmod16b.c: Likewise.
45152 * elf/tst-tlsmod7.c: Likewise.
45153 * elf/tst-tlsmod8.c: Likewise.
45154 * elf/tst-tlsmod9.c: Likewise.
45155 * gmon/gmon.c: Likewise.
45156 * grp/fgetgrent_r.c: Likewise.
45157 * grp/putgrent.c: Likewise.
45158 * hurd/fopenport.c: Likewise.
45159 * include/libc-symbols.h: Likewise.
45160 * include/tls.h: Likewise.
45161 * intl/gettextP.h: Likewise.
45162 * intl/loadinfo.h: Likewise.
45163 * locale/global-locale.c: Likewise.
45164 * locale/localeinfo.h: Likewise.
45165 * mach/devstream.c: Likewise.
45166 * malloc/arena.c: Likewise.
45167 * malloc/set-freeres.c: Likewise.
45168 * misc/err.c: Likewise.
45169 * misc/getttyent.c: Likewise.
45170 * misc/mntent_r.c: Likewise.
45171 * posix/getopt.c: Likewise.
45172 * posix/wordexp.c: Likewise.
45173 * pwd/fgetpwent_r.c: Likewise.
45174 * resolv/Versions: Likewise.
45175 * resolv/res_hconf.c: Likewise.
45176 * shadow/fgetspent_r.c: Likewise.
45177 * shadow/putspent.c: Likewise.
45178 * stdio-common/printf_fphex.c: Likewise.
45179 * stdio-common/tmpfile.c: Likewise.
45180 * stdlib/abort.c: Likewise.
45181 * stdlib/fmtmsg.c: Likewise.
45182 * sunrpc/auth_unix.c: Likewise.
45183 * sunrpc/clnt_perr.c: Likewise.
45184 * sunrpc/clnt_tcp.c: Likewise.
45185 * sunrpc/clnt_udp.c: Likewise.
45186 * sunrpc/clnt_unix.c: Likewise.
45187 * sunrpc/openchild.c: Likewise.
45188 * sunrpc/svc_simple.c: Likewise.
45189 * sunrpc/svc_tcp.c: Likewise.
45190 * sunrpc/svc_udp.c: Likewise.
45191 * sunrpc/svc_unix.c: Likewise.
45192 * sunrpc/xdr.c: Likewise.
45193 * sunrpc/xdr_array.c: Likewise.
45194 * sunrpc/xdr_rec.c: Likewise.
45195 * sunrpc/xdr_ref.c: Likewise.
45196 * sunrpc/xdr_stdio.c: Likewise.
45198 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45200 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45202 2011-07-03 Andreas Jaeger <aj@suse.de>
45204 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45205 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45206 regenerate with gen-libm-tests.pl.
45208 2010-05-12 Petr Baudis <pasky@suse.cz>
45211 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45212 around j0() zero points by switching to j1().
45213 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45214 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45215 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45216 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45218 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45220 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45222 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45224 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45225 Patch in part by Pavel Roskin <proski@gnu.org>.
45228 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45230 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45231 Free memory block if necessary.
45234 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45235 be NULL. Don't lock in this case.
45237 2011-09-09 Roland McGrath <roland@hack.frob.com>
45239 * elf/elf.h (ELFOSABI_GNU): New macro.
45240 (ELFOSABI_LINUX): Define to that.
45242 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45244 * string/strncat.c (strncat): Undef the symbol in case it has been
45245 defined in bits/string.h.
45247 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45249 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45251 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45254 2011-08-17 Andreas Jaeger <aj@suse.de>
45256 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45258 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45259 Ian Lance Taylor <iant@google.com>
45261 * math/libm-test.inc (lround_test): New testcase.
45262 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45264 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45266 * Makefile: Remove support for automatic cvs check-ins.
45267 * Makerules: Likewise.
45268 * config.make.in: Likewise.
45269 * configure.in: Likewise.
45270 * intl/Makefile: Likewise.
45271 * locale/Makefile: Likewise.
45272 * po/Makefile: Likewise.
45273 * posix/Makefile: Likewise.
45274 * sysdeps/gnu/Makefile: Likewise.
45275 * sysdeps/mach/hurd/Makefile: Likewise.
45276 * sysdeps/sparc/sparc32/Makefile: Likewise.
45279 * posix/Makefile (bug-regex32-ENV): Define.
45280 Patch by John Stanley <jpsinthemix@verizon.net>.
45282 * misc/Makefile (headers): Add bits/select2.h.
45283 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45284 * misc/bits/select2.h: New file.
45285 * include/bits/select2.h: New file.
45286 * debug/Makefile (routines): Add fdelt_chk.
45287 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45288 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45290 * debug/fdelt_chk.c: New file.
45292 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45293 * wcsmbs/test-wmemcmp.c: Likewise.
45294 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45295 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45297 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45299 * string/Makefile (strop-tests): Add memcmp.
45300 * string/test-wmemcmp.c: New file.
45301 * string/test-memcmp.c: Add wmemcmp support.
45303 2011-09-08 Roland McGrath <roland@hack.frob.com>
45306 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45309 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45310 garbage value in a __mach_port_mod_refs call in the cases of the
45311 task-self and thread-self ports.
45313 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45315 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45317 2011-09-08 Andreas Schwab <schwab@redhat.com>
45319 * elf/dl-load.c (lose): Check for non-null L.
45321 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45323 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45325 * elf/dl-libc.c (dlerror_run): Pass back error code from
45329 * elf/dl-load.c (lose): Free l_origin if it is valid.
45331 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45333 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45334 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45335 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45336 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45337 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45338 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45340 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45342 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45343 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45344 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45345 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45346 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45347 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45348 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45349 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45350 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45351 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45353 2011-08-15 Alan Modra <amodra@gmail.com>
45356 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45357 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45358 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45359 ppc_mcount to static-only-routines.
45360 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45362 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45363 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45365 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45367 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45368 for finite and infinity parameters.
45370 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45372 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45373 and add nop instructions for throughput optimization.
45374 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45376 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45378 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45379 aligned copy for power7 with vector-scalar instructions.
45380 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45382 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45384 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45387 2011-09-07 Andreas Schwab <schwab@redhat.com>
45390 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45393 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45395 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45396 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45397 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45398 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45401 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45403 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45404 Forgot to demangle the pointer.
45406 * sysdeps/i386/sysdep.h: Define atom_text_section.
45407 * sysdeps/x86_64/sysdep.h: Likewise.
45408 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45409 section with atom_text_section.
45410 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45411 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45412 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45413 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45414 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45416 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45417 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45418 already be defined. Change to take two parameters and don't assign
45419 result to variable. Adjust all users.
45420 Define INTERNAL_GETTIME if not already defined.
45421 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45423 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45424 HAVE_CLOCK_GETTIME_VSYSCALL.
45425 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45427 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45428 gettimeofday vsyscall, just use time.
45430 2011-09-06 Andreas Schwab <schwab@redhat.com>
45432 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45435 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45437 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45439 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45441 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45442 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45443 syscall if possible.
45445 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45447 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45448 e_ident. Don't pass to find_mapsXX.
45449 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45451 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45453 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45454 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45455 * sysdeps/x86_64/multiarch/strchr.S: Update.
45456 Check bit_slow_BSF bit.
45457 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45458 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45459 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45461 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45464 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45466 (tryshell): Define.
45467 (__spawni): Change last parameter to be flag. Test
45468 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45469 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45470 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45471 * posix/spawni.c: Likewise.
45472 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45473 * posix/spawnp.c: Likewise. Change normal version to use
45474 SPAWN_XFLAGS_USE_PATH.
45475 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45476 SPAWN_XFLAGS_TRY_SHELL.
45479 * posix/glob.h: Remove gcc 1.x support.
45482 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45484 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45486 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45487 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45489 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45490 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45491 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45492 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45493 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45494 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45496 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45498 * sysdeps/x86_64/wcscmp.S: New file.
45500 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45501 wcscmp-c wcscmp-sse2
45502 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45503 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45504 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45505 * wcsmbs/wcscmp.c: Allow renaming.
45507 2011-09-05 David S. Miller <davem@davemloft.net>
45509 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45510 stack slot, rather than the struct return pointer slot.
45511 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45512 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45514 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45516 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45518 * po/ja.po: Update from translation team.
45521 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45522 kernel in 64-bit binaries.
45524 2011-09-01 David S. Miller <davem@davemloft.net>
45526 * elf/elf.h (HWCAP_SPARC_*): Move to..
45527 * sysdeps/sparc/sysdep.h: this new file and add new values.
45528 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45529 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45530 _DL_HWCAP_COUNT to 24.
45531 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45533 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45534 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45535 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45536 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45537 instead of magic constants.
45538 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45540 2011-08-31 David S. Miller <davem@davemloft.net>
45542 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45543 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45544 Reimplement to do errno handling inline.
45545 (SYSCALL_ERROR_HANDLER): New macro.
45546 (__SYSCALL_STRING): Do not do errno handling in asm.
45547 (__CLONE_SYSCALL_STRING): Delete.
45548 (__INTERNAL_SYSCALL_STRING): Delete.
45549 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45550 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45551 (PSEUDO): Reimplement to do errno handling inline.
45552 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45553 (SYSCALL_ERROR_HANDLER): New macro.
45554 (__SYSCALL_STRING): Do not do errno handling in asm.
45555 (__CLONE_SYSCALL_STRING): Delete.
45556 (__INTERNAL_SYSCALL_STRING): Delete.
45557 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45558 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45560 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45561 (inline_syscall*): Add 'err' argument.
45562 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45563 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45564 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45565 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45567 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45568 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45570 2011-08-30 Andreas Schwab <schwab@redhat.com>
45572 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45574 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45576 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45579 2011-08-24 David S. Miller <davem@davemloft.net>
45581 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45583 2011-08-24 Andreas Schwab <schwab@redhat.com>
45585 * elf/Makefile: Add rules to build and run unload8 test.
45586 * elf/unload8.c: New file.
45587 * elf/unload8mod1.c: New file.
45588 * elf/unload8mod1x.c: New file.
45589 * elf/unload8mod2.c: New file.
45590 * elf/unload8mod3.c: New file.
45592 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45595 2011-08-23 David S. Miller <davem@davemloft.net>
45597 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45598 subtract stack bias.
45599 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45600 %sp not %fp in calculations.
45601 (_JMPBUF_UNWINDS_ADJ): Likewise.
45603 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45604 (aio_suspend): Call it to force an exception region around the
45605 AIO_MISC_WAIT() invocation.
45607 2011-08-23 Andreas Schwab <schwab@redhat.com>
45609 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45612 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45614 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45616 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45617 and <dl-machine.h>.
45618 (Elf64_FuncDesc): Remove.
45620 2011-08-22 David S. Miller <davem@davemloft.net>
45622 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45623 sigaltstack check, add missing cfi directives.
45624 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45625 missing cfi directives, and sigaltstack handling.
45627 2011-08-16 Andreas Schwab <schwab@redhat.com>
45630 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45631 object is seen twice.
45632 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45634 * elf/Makefile (distribute): Add tst-initorder2.c.
45635 (tests): Add tst-initorder2.
45636 (modules-names): Add tst-initorder2a tst-initorder2b
45637 tst-initorder2c tst-initorder2d. Add rules to build them.
45638 ($(objpfx)tst-initorder2.out): New rule.
45639 * elf/tst-initorder2.c: New file.
45640 * elf/tst-initorder2.exp: New file.
45642 2011-08-22 Andreas Schwab <schwab@redhat.com>
45644 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45646 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45647 dependencies back to end of function.
45649 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45650 $(elfobjdir)/ld.so.
45652 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45654 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45655 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45656 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45657 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45658 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45659 of __vdso_gettimeofday.
45660 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45661 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45663 (_libc_vdso_platform_setup): Remove initialization of
45664 __vdso_gettimeofday and __vdso_time.
45666 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45668 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45669 and fgetc_unlocked.
45670 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45673 * elf/dl-open.c (add_to_global): Report additions to the global scope
45674 for LD_DEBUG=scopes.
45675 (dl_open_worker): Also print scope of newly loaded dependencies.
45676 (_dl_show_scope): Indicate if there is no scope.
45679 * stdio-common/Makefile (tests): Add bug24.
45680 * stdio-common/bug24.c: New file.
45682 2011-08-19 Andreas Jaeger <aj@suse.de>
45685 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45686 non-existant file when using close-on-exec mode.
45688 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45690 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45691 the very first instruction.
45693 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45694 the CFI state in the end.
45695 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45696 inclusion of dl-trampoline.h.
45697 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45699 2011-08-19 Andreas Schwab <schwab@redhat.com>
45701 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45702 expectations for long double.
45704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45705 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45707 2011-08-14 David S. Miller <davem@davemloft.net>
45709 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45710 artificual limit depends upon the system page size.
45712 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45714 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45715 * resolv/Makefile: Define CFLAGS-libresolv.
45717 2011-08-17 Andreas Schwab <schwab@redhat.com>
45719 * nss/makedb.c (compute_tables): Make variables used in nested
45722 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45724 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45725 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45726 if buffer was too small.
45728 * elf/pldd.c (main): Attach to all threads in the process.
45729 Rewrite /proc handling to use *at functions.
45731 2011-08-16 Ulrich Drepper <drepper@gmail.com>
45733 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45734 specifies first scope to show.
45735 (dl_open_worker): Update callers. Move printing scope of new
45736 object to before the relocation.
45737 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45738 * sysdeps/generic/ldsodefs.h: Update declaration.
45740 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45741 string for the scope number.
45743 2011-08-14 Ulrich Drepper <drepper@gmail.com>
45745 * nscd/servicescache.c (cache_addserv): Make sure written is always
45748 2011-08-14 Roland McGrath <roland@hack.frob.com>
45750 * sysdeps/i386/i486/bits/atomic.h
45751 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45752 statement expression, so as to suppress "set but not used" warning.
45753 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45755 * string/strncat.c (STRNCAT): Use prototype definition.
45757 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45758 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45760 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45761 (localedef-modules): Add localedef.
45762 (locale-modules): Add locale.
45764 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45765 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45766 to avoid a warning.
45768 2011-08-14 David S. Miller <davem@davemloft.net>
45770 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45771 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45773 2011-08-13 Ulrich Drepper <drepper@gmail.com>
45775 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45776 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45777 * elf/rtld.c (dl_main): Set l_name of vDSO.
45778 Call _dl_show_scope when DL_DEBUG_SCOPES.
45779 (process_dl_debug): Recognize scopes flag and also set it for all.
45780 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45781 Declare _dl_show_scope.
45783 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45784 (do_dlopen): Pass caller_dlopen to dl_open.
45785 (__libc_dlopen_mode): Initialize caller_dlopen.
45787 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45788 of libc. Make tolower call locale-independent. Optimize a bit by
45789 using isdigit instead of isalnum.
45790 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45792 2011-08-12 Ulrich Drepper <drepper@gmail.com>
45794 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45795 was a dependency or dynamically loaded.
45797 2011-08-11 Ulrich Drepper <drepper@gmail.com>
45799 * intl/l10nflist.c: Allow architecture-specific pop function.
45800 * sysdeps/x86_64/l10nflist.c: New file.
45802 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45805 2011-08-10 Andreas Schwab <schwab@redhat.com>
45807 * include/dirent.h: Add libc_hidden_proto for scandirat and
45808 scandirat64. Don't declare __scandirat64.
45809 * dirent/scandirat.c: Add libc_hidden_def.
45810 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45811 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45813 2011-08-10 David S. Miller <davem@davemloft.net>
45815 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45817 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45818 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45819 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45821 2011-08-09 Ulrich Drepper <drepper@gmail.com>
45823 * Versions.def [libc]: Add GLIBC_2.15.
45824 * dirent/Makefile (routines): Add scandirat and scandirat64.
45825 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45827 * dirent/dirent.h: Declare scandirat and scandirat64.
45828 * dirent/scandirat.c: New file.
45829 * dirent/scandirat64.c: New file.
45830 * sysdeps/wordsize-64/scandirat.c: New file.
45831 * sysdeps/wordsize-64/scandirat64.c: New file.
45832 * dirent/opendir.c: Define opendirat.
45833 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45835 * dirent/scandir64.c: Adjust for scandir.c change.
45836 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45837 __scandirat64, and __scandir_cancel_handler.
45838 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45839 additional parameter and use openat instead of open (outside of ld.so).
45840 Add new __opendir as wrapper around __opendirat.
45841 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45842 here without requiring old scandirat implementation.
45844 2011-08-08 Ulrich Drepper <drepper@gmail.com>
45846 * dirent/scandir.c (cancel_handler): Renamed to
45847 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45848 defined. Adjust users.
45849 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45850 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45852 2011-08-04 Ulrich Drepper <drepper@gmail.com>
45854 * string/test-string.h (IMPL): Use __STRING to expand name and then
45857 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45860 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45862 * string/Makefile: Update.
45863 (strop-tests): Append strncat.
45864 * string/test-wcscmp.c: New file.
45865 New comprehensive test for wcscmp.
45866 * string/test-strcmp.c: Update.
45867 (WIDE): New define.
45869 2011-07-22 Andreas Schwab <schwab@redhat.com>
45871 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45874 2011-07-26 Andreas Schwab <schwab@redhat.com>
45876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45877 encoding to ACE if AI_IDN.
45879 2011-08-01 Jakub Jelinek <jakub@redhat.com>
45881 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45882 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45884 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45886 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45887 Fix overflow bug in strncat.
45888 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45890 * string/test-strncat.c: Update.
45891 Add new tests for checking overflow bugs.
45893 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45895 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45896 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45897 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45898 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45899 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45900 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45901 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45902 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45903 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45905 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45906 (USE_AS_STRCAT): Define.
45907 Add strcat and strncat support.
45908 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45910 2011-07-25 Andreas Schwab <schwab@redhat.com>
45912 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45913 __n bigger than INT_MAX+1.
45914 (__strncmp_g): Likewise.
45916 2011-07-23 Ulrich Drepper <drepper@gmail.com>
45918 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45919 * libio/stido.h: Likewise.
45921 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45923 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45926 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45927 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45928 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45929 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45930 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45933 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45936 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45938 (_dl_x86_64_save_sse): Likewise.
45940 2011-07-22 Ulrich Drepper <drepper@gmail.com>
45942 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45944 (_dl_x86_64_save_sse): Likewise.
45946 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45948 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45950 2011-07-21 Andreas Schwab <schwab@redhat.com>
45952 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45954 (_dl_x86_64_save_sse): Use correct AVX check.
45956 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45958 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45959 bug in strncpy/strncat.
45960 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45962 2011-07-21 Ulrich Drepper <drepper@gmail.com>
45964 * string/tester.c (test_strcat): Add tests for different alignments
45965 of source and destination.
45966 (test_strncat): Likewise.
45968 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45971 * posix/glob.c (glob): Check passed in values before using them in
45972 expressions to avoid some overflows.
45973 (glob_in_dir): Likewise.
45976 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45977 check for AVX enablement so that we don't crash with old kernels and
45979 * elf/tst-audit4.c: Add same checks here.
45980 * elf/tst-audit6.c: Likewise.
45982 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45984 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45986 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45988 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45990 * po/cs.po: Update from translation team.
45991 * po/bg.po: Likewise.
45993 2011-07-12 Marek Polacek <mpolacek@redhat.com>
45995 * misc/sys/cdefs.h: Add support for const attribute.
45996 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45997 to gnu_dev_{major,minor,makedev} functions.
45999 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46001 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46003 2011-07-20 Andreas Schwab <schwab@redhat.com>
46005 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46008 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46010 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46011 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46012 register in order to avoid conflicts with the soft frame pointer
46013 being held in r11 when necessary.
46014 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46015 (INTERNAL_VSYSCALL_NCS): Likewise.
46017 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46019 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46020 * elf/dl-fini.c (_dl_fini): Adjust caller.
46021 * elf/dl-close.c (_dl_close_worker): Likewise.
46022 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46024 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46026 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46027 "aux_cache->nlibs < 0".
46029 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46030 in the reload-count case.
46032 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46034 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46035 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46036 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46037 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46038 * sysdeps/x86_64/multiarch/strcat.S: New file.
46039 * sysdeps/x86_64/multiarch/strncat.S: New file.
46040 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46041 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46042 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46043 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46044 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46045 (USE_AS_STRCAT): Define.
46046 Add strcat and strncat support.
46047 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46048 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46049 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46050 * string/strncat.c: Update.
46051 (USE_AS_STRNCAT): Define.
46052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46053 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46055 * sysdeps/x86_64/multiarch/init-arch.h
46056 (bit_Prefer_PMINUB_for_stringop): New.
46057 (index_Prefer_PMINUB_for_stringop): Likewise.
46058 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46059 bit_Prefer_PMINUB_for_stringop.
46061 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46063 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46065 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46066 of casting of buffer.
46067 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46068 buffer32 and buffer64.
46069 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46070 writes instead of casting of buffer.
46071 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46073 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46076 2011-07-19 Andreas Schwab <schwab@redhat.com>
46078 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46080 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46082 * nscd/nscd.c (termination_handler): Don't do anything for a database
46083 if it has not yet been initialized.
46085 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46087 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46089 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46091 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46093 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46095 * po/nl.po: Update from translation team.
46096 * po/sv.po: Likewise.
46098 2011-07-16 Roland McGrath <roland@hack.frob.com>
46100 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46101 now disallowed by GCC.
46103 * configure.in (use-default-link): Default to yes if a test -shared
46104 link meets our qualifications.
46105 * configure: Regenerated.
46107 * config.make.in (output-format): New variable.
46108 * configure.in: Check for ld --print-output-format support.
46109 * configure: Regenerated.
46110 * Makerules ($(common-objpfx)format.lds)
46111 [$(output-format) != unknown]: Just use $(output-format),
46112 instead of the linker-script munging.
46114 2011-07-14 Roland McGrath <roland@hack.frob.com>
46116 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46117 of $(common-objpfx)shlib.lds.
46118 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46120 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46121 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46123 * configure.in (-z relro check): Adjust test code to add a large
46124 writable data section after it.
46125 * configure: Regenerated.
46127 2011-07-11 Roland McGrath <roland@hack.frob.com>
46129 * configure.in (-z relro check): Fix test code to make the variable
46131 * configure: Regenerated.
46133 2011-07-11 Ulrich Drepper <drepper@gmail.com>
46135 * nscd/nscd.h (struct traced_file): Define.
46136 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46137 elements. Add traced_files.
46138 (inotify_fd): Declare.
46139 (register_traced_file): Declare.
46140 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46141 (inotify_fd): Export.
46142 (resolv_conf_descr): Remove.
46143 (nscd_init): Move inotify descriptor creation to main.
46144 Don't register files for notification here.
46145 (register_traced_file): New function.
46146 (invalidate_cache): Don't use reset_res to determine whether to call
46147 res_init, go through the list of registered files.
46148 (main_loop_poll): The inotify descriptors are now stored in the
46149 structures for the traced files.
46150 (main_loop_epoll): Likewise
46151 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46152 to __nss_disable_nscd.
46153 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46154 for a database anymore. Check the records for all the registered
46156 * nss/Makefile (libnss_files-routines): Add files-init.
46157 (libnss_db-routines): Add db-init.
46158 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46159 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46160 * nss/nss_db/db-init.c: New file.
46161 * nss/nss_files/files-init.c: New file.
46162 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46163 __nss_lookup_function.
46164 (__nss_lookup_function): Call nss_load_library.
46165 (nss_load_all_libraries): New function.
46166 (__nss_disable_nscd): Take parameter with callback function for files
46167 to register. Set is_nscd. Load all the DSOs for the NSS modules
46168 used for the cached services.
46169 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46170 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46171 options for features to all the files in nscd.
46173 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46175 2011-07-10 Roland McGrath <roland@hack.frob.com>
46177 * csu/elf-init.c (__libc_csu_init): Comment typo.
46179 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46181 * po/pl.po: Update from translation team.
46182 * po/ja.po: Likewise.
46183 * po/ru.po: Likewise.
46184 * po/ko.po: Likewise.
46185 * po/fr.po: Likewise.
46187 2011-07-09 Roland McGrath <roland@hack.frob.com>
46189 * configure.in (.ctors/.dtors header and trailer check):
46190 Use an empirical test on a built program.
46191 * configure: Regenerated.
46193 * configure.in (-z relro check): Use an empirical test on a built DSO.
46194 Detect, but do not require, on ia64.
46195 * configure: Regenerated.
46197 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46198 Update tests that use readelf to use $READELF instead.
46199 * configure: Regenerated.
46201 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46203 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46204 if the result is not used.
46206 2011-07-05 Andreas Jaeger <aj@suse.de>
46209 * stdlib/tst-strtod.c: Add testcase.
46211 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46213 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46214 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46215 The latter has a higher limit. Take additional parameter to pass to
46217 (__pathconf): Pass file to __statfs_link_max.
46218 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46220 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46224 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46225 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46227 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46228 (__statfs_filesize_max): Likewise.
46229 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46231 2011-07-05 Andreas Jaeger <aj@suse.de>
46233 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46235 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46237 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46239 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46242 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46244 * Makefile (strop-tests): Add strncat.
46245 * string/test-strncat.c: New file.
46247 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46249 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46251 2011-06-21 Andreas Jaeger <aj@suse.de>
46253 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46254 Copy rule from iconvdata/Makefile.
46256 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46259 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46260 but no long options are defined, just return 'W'.
46262 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46265 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46267 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46269 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46271 (innetgr): Likewise.
46273 2011-07-05 Roland McGrath <roland@hack.frob.com>
46275 * config.make.in (install_root): Default to $(DESTDIR).
46277 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46279 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46281 2011-07-02 Roland McGrath <roland@hack.frob.com>
46283 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46285 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46286 containing directory rather than embedding absolute directory names.
46288 * scripts/check-local-headers.sh: Rewritten using awk.
46289 Match by word, not by line. Print error messages for matches.
46290 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46292 * Makerules [shlib-lds-flags empty]:
46293 ($(common-objpfx)libc_pic.opts): New target.
46294 ($(common-objpfx)libc_pic.os.clean): New target.
46295 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46297 * config.make.in (OBJCOPY): New variable.
46298 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46299 * configure: Regenerated.
46301 * config.make.in (use-default-link): New variable.
46302 * configure.in (use_default_link): Grok --with-default-link to set it.
46303 * configure: Regenerated.
46304 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46305 (shlib-lds, shlib-lds-flags): Define to empty.
46307 * Makerules (shlib-lds): New variable.
46308 (shlib-lds-flags): New variable.
46309 (build-shlib, build-moduile, build-module-asneeded): Use it.
46310 ($(common-objpfx)libc.so): Use $(shlib-lds).
46311 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46312 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46314 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46315 DT_FLAGS/DT_FLAGS_1 with zero flags.
46317 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46318 linker script munging.
46320 2011-07-02 Ulrich Drepper <drepper@gmail.com>
46322 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46324 * crypt/sha512.c (sha512_process_block): Perform total addition using
46325 128-bit if possible.
46326 (__sha512_finish_ctx): Likewise.
46327 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46329 * crypt/sha256.c (SWAP64): Define.
46330 (sha256_process_block): Perform total addition using 64-bit if
46332 (__sha256_finish_ctx): Likewise.
46334 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46336 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46337 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46338 * nscd/hstcache.c (cache_addhst): Likewise.
46339 * nscd/grpcache.c (cache_addgr): Likewise.
46340 * nscd/aicache.c (addhstaiX): Likewise
46341 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46343 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46345 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46346 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46347 * nscd/hstcache.c (cache_addhst): Likewise.
46348 * nscd/grpcache.c (cache_addgr): Likewise.
46349 * nscd/aicache.c (addhstaiX): Likewise
46351 2011-07-01 Andreas Schwab <schwab@redhat.com>
46353 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46354 domain only when needed.
46356 2011-06-30 Andreas Schwab <schwab@redhat.com>
46358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46359 is always restored.
46361 2011-06-29 Ulrich Drepper <drepper@gmail.com>
46363 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46364 are re-adding the entry.
46365 * nscd/servicescache.c (cache_addserv): Likewise.
46367 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46369 * sysdeps/generic/dl-irel.h: fix protection against multiple
46371 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46373 2011-06-28 Ulrich Drepper <drepper@gmail.com>
46376 * malloc/memusage.sh: Fix quoting in message.
46377 * debug/xtrace.sh: Likewise.
46379 * configure.in: Remove support for --experimental-malloc option, make
46381 * config.make.in: Likewise.
46382 * malloc/Makefile: Likewise.
46384 2011-06-27 Andreas Schwab <schwab@redhat.com>
46386 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46387 two-byte characters.
46389 2011-06-27 Roland McGrath <roland@hack.frob.com>
46391 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46392 AC_CACHE_CHECK invocation.
46393 * configure: Regenerated.
46395 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46397 2011-06-27 Ulrich Drepper <drepper@gmail.com>
46400 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46401 bit from old_res_options.
46403 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46405 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46406 value type for setfct.
46408 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46410 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46411 __gettimeofday instead of gettimeofday.
46413 2011-06-26 Ulrich Drepper <drepper@gmail.com>
46415 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46417 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46419 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46421 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46424 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46426 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46427 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46428 strcpy-sse2-unaligned strncpy-sse2-unaligned
46429 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46430 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46431 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46432 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46433 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46434 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46435 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46436 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46437 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46438 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46439 (STRCPY): Support SSE2 and SSSE3 versions.
46441 2011-06-24 Ulrich Drepper <drepper@gmail.com>
46444 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46445 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46446 kernels which artificially limit size of requests.
46448 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46450 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46451 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46452 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46453 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46454 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46455 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46456 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46457 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46458 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46459 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46460 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46461 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46462 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46463 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46464 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46465 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46466 Enable unaligned load optimization for Intel Core i3, i5 and i7
46468 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46470 (index_Fast_Unaligned_Load): Define.
46471 (HAS_FAST_UNALIGNED_LOAD): Define.
46473 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46475 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46477 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46480 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46481 until it is clear that the information is realy needed.
46482 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46484 2011-06-22 Andreas Schwab <schwab@redhat.com>
46486 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46488 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46490 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46491 /sys/devices/system/cpu/online if it is usable.
46493 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46494 reading the information from the /proc filesystem to once a second.
46496 2011-06-21 Andreas Jaeger <aj@suse.de>
46498 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46499 NULL after inclusion of kernel headers.
46501 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46503 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46504 calls to internal_setent.
46507 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46508 addresses using gethostbyname4_r ignore IPv4 addresses.
46510 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46511 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46513 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46515 2011-06-20 David S. Miller <davem@davemloft.net>
46517 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46519 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46521 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46522 (elf_irel): Use it.
46523 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46524 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46525 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46526 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46527 * sysdeps/x86_64/dl-irel.h: Likewise.
46529 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46530 * elf/dl-sym.c: Likewise.
46532 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46534 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46535 need to dereference resplen2.
46537 2011-06-14 Andreas Schwab <schwab@redhat.com>
46539 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46541 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46543 * Makeconfig: Define vardbdir and inst_vardbdir.
46544 * nss/Makefile: Add rules to install db-Makefile.
46546 * nss/nss_db/db-XXX.c: Cleanup.
46548 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46549 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46551 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46552 * nss/makedb.c: Implement -g option to specify that value strings
46553 are generated and should not be added to table iterated over for
46555 * nss/nss_db/db-initgroups.c: New file.
46557 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46560 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46561 (internal_getgrouplist): Adjust to name change.
46562 Update use_initgroups_entry if this is not the first call.
46563 * nss/databases.def: Add initgroups entry.
46565 * nss/makedb.c (compute_tables): Check result of multiple hash table
46566 sizes to minimize maximum chain length.
46568 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46570 * Versions.def: Add entry for libnss_db.
46571 * shlib-versions: Likewise.
46572 * nss/Makefile: Add rules to build libnss_db.
46573 * nss/Versions: Add libnss_db information. Organize libnss_files
46575 * nss/db-Makefile: Add gshadow support. Change rules for the new
46576 makedb progra. Some minor improvements to generate smaller files.
46577 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46579 * nss/makedb.c: ...here.
46580 Improve database format to be smaller and require less memory at
46582 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46584 * nss/nss_db/db-netgrp.c: Likewise.
46585 * nss/nss_db/db-open.c: Likewise.
46586 * nss/nss_files/flies-XXX.x: Adjust comments.
46587 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46588 * nss/nss_files/files-grp.c: Likewise.
46589 * nss/nss_files/files-hosts.c: Likewise.
46590 * nss/nss_files/files-network.c: Likewise.
46591 * nss/nss_files/files-proto.c: Likewise.
46592 * nss/nss_files/files-pwd.c: Likewise.
46593 * nss/nss_files/files-rpc.c: Likewise.
46594 * nss/nss_files/files-service.c: Likewise.
46595 * nss/nss_files/files-sgrp.c: Likewise.
46596 * nss/nss_files/files-spwd.c: Likewise.
46597 * nss/nss_db/db-alias.c: Removed.
46598 * nss/nss_db/dummy-db.h: Removed.
46600 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46602 * nss/makedb.c: Rewritten to not use database library.
46603 * nss/Makefile: Update to build new makedb program.
46605 2011-06-14 Andreas Jaeger <aj@suse.de>
46607 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46608 memset declaration.
46610 2011-06-10 Andreas Schwab <schwab@redhat.com>
46612 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46615 2011-06-10 Roland McGrath <roland@hack.frob.com>
46617 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46618 * elf/Makefile ($(objpfx)ld.so): Likewise.
46620 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46621 Don't list ld.so twice in dependencies.
46623 * posix/bug-regex31.c: Include <stdlib.h>.
46625 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46627 * nis/nss_compat/compat-spwd.c
46628 (getspent_next_nss_netgr): Remove unused variable.
46629 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46631 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46632 nonmembers" output to use the right array.
46634 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46636 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46638 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46639 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46640 * catgets/gencat.c (read_input_file): Likewise.
46641 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46643 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46644 variable definition inside #if's controlling its use.
46646 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46648 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46650 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46652 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46655 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46657 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46658 * configure: Regenerated.
46660 * Makerules: Revert last change.
46661 * elf/Makefile: Likewise.
46663 2011-06-09 Roland McGrath <roland@hack.frob.com>
46665 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46666 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46667 (reloc-link): Likewise.
46669 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46671 * elf/Makefile: Add rules to build pldd.
46672 * elf/pldd.c: New file.
46673 * elf/pldd-xx.c: New file.
46675 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46677 * version.h: Update for 2.15 development version.
46679 2011-06-07 David S. Miller <davem@davemloft.net>
46681 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46683 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46684 elf_machine_lazy_rel): Likewise.
46685 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46686 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46687 elf_machine_lazy_rel): Likewise.
46688 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46689 dl_hwcap via passed in argument.
46690 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46693 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46695 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46697 2011-06-06 Roland McGrath <roland@hack.frob.com>
46700 * manual/fdl-1.1.texi: New file, verbatim from:
46701 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46702 * manual/lgpl-2.1.texi: New file, verbatim from:
46703 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46704 * manual/Makefile (licenses): New variable, list those new file names.
46706 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46708 * manual/fdl.texi: File removed.
46709 * manual/lesser.texi: File removed.
46710 * manual/libc.texinfo (Copying, Documentation License):
46711 Use new @include file names, put @appendix directive before @include.
46713 2011-06-04 Jakub Jelinek <jakub@redhat.com>
46716 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46717 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46718 (mq_open): Add __NTH.
46720 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46722 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46723 Assume Intel Core i3/i5/i7 processor if AVX is available.
46725 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46727 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46730 2011-05-31 Andreas Schwab <schwab@redhat.com>
46732 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46733 memory. Use alloca_account. Fix memory leak when retrying.
46735 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46737 * version.h (RELEASE): Bump for 2.14 release.
46738 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46740 * config.make.in (RANLIB): Remove entry.
46742 2011-05-30 Ulrich Drepper <drepper@gmail.com>
46744 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46745 (libc.pot): Work around missing support for .ksh extension in xgettext.
46748 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46749 if both request failed.
46750 (send_dg): In case of server errors clear resplen or *resplen2.
46753 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46754 when there are multiple maps.
46755 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46756 (_dl_fini): Remove test here.
46758 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46760 2011-05-29 Ulrich Drepper <drepper@gmail.com>
46763 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46764 bit from old_res_options.
46765 (gaih_inet): Likewise.
46768 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46771 * resolv/res_init.c (res_setoptions): Make the code more compact.
46774 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46778 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46780 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46783 * malloc/malloc.h: Declare malloc hook variables as volatile.
46785 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46789 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46790 raise in the comment.
46791 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46792 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46793 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46795 2011-05-28 Ulrich Drepper <drepper@gmail.com>
46798 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46799 grow the buffers more if it already has to be sufficient.
46800 (build_wcs_upper_buffer): Likewise.
46801 * posix/regexec.c (check_matching): Likewise.
46802 (clean_state_log_if_needed): Likewise.
46803 (extend_buffers): Don't enlarge buffers beyond size of the input
46805 Patches mostly by Emil Wojak <emil@wojak.eu>.
46806 * posix/bug-regex32.c: New file.
46807 * posix/Makefile (tests): Add bug-regex32.
46809 * locale/findlocale.c (_nl_find_locale): Return right away if
46810 _nl_explode_name failed.
46811 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46813 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46815 * debug/xtrace.sh: Unify messages.
46816 * malloc/memusage.sh: Likewise.
46819 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46820 time symbol from vDSO. Substitute with vsyscall if not available.
46821 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46824 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46825 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46826 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46827 Add sendmmsg and internal_sendmmsg.
46828 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46829 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46830 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46832 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46833 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46834 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46836 2011-05-27 Ulrich Drepper <drepper@gmail.com>
46839 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46840 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46842 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46846 * iconvdata/Makefile (tests): Add bug-iconv9.
46847 * iconvdata/bug-iconv9.c: New file.
46849 2011-05-27 Andreas Schwab <schwab@redhat.com>
46852 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46854 2011-05-25 Jakub Jelinek <jakub@redhat.com>
46856 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46857 (struct user_regs_struct): Change intcs field back to cs.
46859 2011-05-25 Ulrich Drepper <drepper@gmail.com>
46861 * po/ja.po: Update from translation team.
46863 2011-05-23 Ulrich Drepper <drepper@gmail.com>
46866 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46867 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46869 2011-05-20 Andreas Schwab <schwab@redhat.com>
46871 * stdlib/longlong.h: Update from GCC.
46873 2011-05-23 Andreas Schwab <schwab@redhat.com>
46875 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46877 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46878 Add parameter name.
46879 (__sysconf): Pass it down.
46881 2011-05-22 Ulrich Drepper <drepper@gmail.com>
46884 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46886 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46887 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46888 add in in __libc_use_alloca calls. Adjust callers.
46889 (glob): Use malloc in some situations.
46891 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46892 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46895 2011-05-21 Ulrich Drepper <drepper@gmail.com>
46897 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46898 and CLOCK_BOOTTIME_ALARM.
46901 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46904 * string/_strerror.c (__strerror_r): Print negative errors as signed
46908 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46909 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46910 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46912 * configure.in: Fix typo in redirection and correct removal of test
46913 files in two cases.
46916 * locale/setlocale.c (new_composite_name): Fix test to check for
46917 identical name of all categories.
46920 * libio/filedoalloc.c (local_isatty): New function.
46921 (_IO_file_doallocate): Use local_isatty.
46922 * stdio-common/perror.c (perror): In case a new stream is used
46923 forward the stream error.
46924 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46927 2011-05-20 Ulrich Drepper <drepper@gmail.com>
46930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46932 * include/alloca.h (extend_alloca_account): Define.
46935 * posix/regex.h: Fix comments with documentation of user-accessible
46936 fields after compilation and describe correct free'ing of pattern
46937 after re_compile_pattern.
46938 Patch by Reuben Thomas <rrt@sc3d.org>.
46940 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46942 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46943 and -mno-altivec to prevent the compiler from using Altivec and/or
46944 VSX instructions when the corresponding registers are not available.
46946 2011-05-19 Andreas Schwab <schwab@redhat.com>
46948 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46950 2011-05-19 Ulrich Drepper <drepper@gmail.com>
46952 * libio/freopen.c (freopen): Use __dup2, not dup2.
46953 * libio/freopen64.c (freopen64): Likewise.
46955 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46958 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46959 * math/Makefile (tests): Add test-powl.
46960 (CFLAGS-test-powl.c): Define.
46961 * math/test-powl.c: New file.
46963 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46965 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46967 2011-05-17 Ulrich Drepper <drepper@gmail.com>
46970 * iconvdata/gb18030.c: Update to GB18020-2005.
46972 2011-05-16 Ulrich Drepper <drepper@gmail.com>
46974 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46975 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46976 Patch by Aharon Robbins <arnold@skeeve.com>.
46979 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46983 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46984 through underflows.
46987 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46988 point to strings before performing equality test for error_one_per_line
46992 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46995 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46996 (struct user_fpregs_struct): Avoid __uint*_t types.
46999 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47000 symbol info. Use it instead of calling _dl_addr locally.
47001 (lock_and_info): New function.
47002 (tr_freehook): Call lock_and_info and pass symbol info as additional
47003 parameter to tr_where.
47004 (tr_mallochook): Likewise.
47005 (tr_reallochook): Likewise.
47006 (tr_memalignhook): Likewise.
47008 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47009 used and couldn't be at all thread-safe.
47011 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47013 * libio/freopen.c (freopen): Don't close old file descriptor
47014 before the new one is opened. Instead dup the new file descriptor
47015 to the old one after the new stream is created.
47016 * libio/freopen64.c (freopen64): Likewise.
47017 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47018 * libio/fileops.c (_IO_new_file_close_it): Handle new
47019 _IO_FLAGS2_NOCLOSE flag.
47020 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47021 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47022 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47023 _IO_FLAGS2_NOCLOSE flag.
47024 * include/unistd.h: Add hidden_proto for dup3.
47025 Define __have_dup3.
47026 * io/dup3.c: Define hidden symbol.
47027 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47030 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47031 when an incomplete long option is used.
47032 * posix/tst-getopt_long1.c: New file.
47033 * posix/Makefile (tests): Add tst-getopt_long1.
47036 * scripts/config.guess: Update from autoconf-2.68.
47037 * scripts/config.sub: Likewise.
47040 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47042 (has_cpuclock): ...this. New function.
47043 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47044 macro here based on has_cpuclock code.
47047 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47048 First byte (not low byte) is now always NUL.
47049 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47051 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47052 Use non-cancelable interfaces.
47055 * locale/iso-639.def: Add entry for Sorani.
47058 * include/stdlib.h: Move include protection to the right place.
47059 Define abort_msg_s. Declare __abort_msg with it.
47060 * stdlib/abort.c (__abort_msg): Adjust type.
47061 * assert/assert.c (__assert_fail_base): New function. Majority
47062 of code from __assert_fail. Allocate memory for __abort_msg with
47064 (__assert_fail): Now call __assert_fail_base.
47065 * assert/assert-perr.c: Remove bulk of implementation. Use
47066 __assert_fail_base.
47067 * include/assert.hL Declare __assert_fail_base.
47068 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47070 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47072 2011-05-14 Ulrich Drepper <drepper@gmail.com>
47076 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47077 until all modules are registered in the DTV.
47078 * elf/Makefile: Add rules to build and run tst-tls19.
47079 * elf/tst-tls19.c: New file.
47080 * elf/tst-tls19mod1.c: New file.
47081 * elf/tst-tls19mod2.c: New file.
47082 * elf/tst-tls19mod3.c: New file.
47083 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47086 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47090 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47091 two-byte sequence errors.
47092 * iconvdata/Makefile (tests): Add bug-iconv8.
47093 * iconvdata/bug-iconv8.c: New file.
47096 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47099 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47102 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47103 (dummy_getcfa): New function.
47104 (init): Get _Unwind_GetCFA address, use dummy if not found.
47105 (backtrace_helper): In recursion check, also check whether CFA changes.
47106 (__backtrace): Completely initialize arg.
47108 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47109 storing incomplete byte sequence in state object. Avoid testing for
47110 guaranteed too small input if we know there is enough data available.
47112 2011-05-11 Andreas Schwab <schwab@redhat.com>
47114 * Makeconfig (+link-pie): Indent.
47115 * Rules (binaries-pie): Define if $(have-fpie) and
47117 (binaries-shared): Also filter out $(binaries-pie).
47118 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47119 * nscd/Makefile (others-pie): Add nscd.
47120 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47121 ($(objpfx)nscd): Remove command override.
47122 * login/Makefile (others-pie): Add pt_chown.
47123 ($(objpfx)pt_chown): Remove command override.
47124 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47125 remove command overrides.
47127 2011-05-13 Ulrich Drepper <drepper@gmail.com>
47129 * libio/tst_putwc.c: Fix error messages.
47132 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47133 currently writing and seek to current position when not.
47134 * libio/Makefile (tests): Add bug-fclose1.
47135 * libio/bug-fclose1.c: New file.
47137 2011-05-12 Ulrich Drepper <drepper@gmail.com>
47140 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47141 don't set DF_1_NODELETE here.
47142 (do_lookup_x): When entering new entry test for copy relocation
47143 and if necessary set DF_1_NODELETE flag.
47144 * elf/tst-unique4.cc: New file.
47145 * elf/tst-unique4.h: New file.
47146 * elf/tst-unique4lib.cc: New file.
47147 * elf/Makefile: Add rules to build and run tst-unique4.
47148 Patch by Piotr Bury <pbury@goahead.com>.
47150 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47153 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47156 * misc/mntent_r.c (addmntent): Flush the stream after the output
47159 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47160 (is_trusted_path_normalize): Skip initial colon. Append slash
47161 to empty buffer. Duplicate is_trusted_path code but allow
47162 constructed patch to be prefix.
47163 (is_dst): Allow $ORIGIN followed by /.
47164 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47165 Correct testing of result of is_trusted_path_normalize
47166 (decompose_rpath): Fix warning.
47168 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47171 * grp/initgroups.c (internal_getgrouplist): When we found the service
47172 list through the initgroups entry in nsswitch.conf do not always
47173 continue on a successful lookup. Don't always use the
47174 __nss_group_database value if it is set.
47175 * nss/nsswitch.conf (initgroups): Change action for successful db
47176 lookup to continue for compatibility.
47178 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47181 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47183 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47185 * iconvdata/tst-tables.sh: Likewise.
47186 * iconvdata/cp770.c: New file.
47187 * iconvdata/cp771.c: New file.
47188 * iconvdata/cp772.c: New file.
47189 * iconvdata/cp773.c: New file.
47190 * iconvdata/cp774.c: New file.
47191 * iconvdata/testdata/CP770: New file.
47192 * iconvdata/testdata/CP770..UTF8: New file.
47193 * iconvdata/testdata/CP771: New file.
47194 * iconvdata/testdata/CP771..UTF8: New file.
47195 * iconvdata/testdata/CP772: New file.
47196 * iconvdata/testdata/CP772..UTF8: New file.
47197 * iconvdata/testdata/CP773: New file.
47198 * iconvdata/testdata/CP773..UTF8: New file.
47199 * iconvdata/testdata/CP774: New file.
47200 * iconvdata/testdata/CP774..UTF8: New file.
47202 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47204 * iconvdata/gen-8bit-gap.sh: Likewise.
47205 * iconvdata/gen-8bit.sh: Likewise.
47207 * locale/iso-639.def: Add ary entry.
47210 * locale/C-translit.h.in: Add U20A1 transliteration.
47213 * locale/iso-639.def: Add wae entry.
47214 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47217 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47221 * locale/C-translit.h.in: Add entry for U20B9.
47222 Patch by pravin.d.s@gmail.com.
47224 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47227 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47228 ENAMETOOLONG use generic getcwd.
47229 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47230 in rtld. Use *stat64.
47231 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47232 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47233 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47234 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47235 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47236 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47237 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47238 __fstatat64 macros.
47239 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47240 * dirent/rewinddir.c: Add libc_hidden_def.
47241 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47242 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47244 * include/dirent.h (__alloc_dir): Add flags parameter.
47245 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47246 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47248 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47249 from fdopendir if O_CLOEXEC is already set.
47251 2011-03-15 Alan Modra <amodra@gmail.com>
47253 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47254 l_tls_firstbyte_offset non-zero. Save padding offset in
47255 l_tls_firstbyte_offset for later use.
47256 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47257 freeing static tls block.
47259 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47261 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47262 where #ifdef was intended. The intent is to prevent ARG_MAX from
47263 being defined by the kernel headers.
47265 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47268 * resolv/resolv.h: Define RES_NOTLDQUERY.
47269 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47270 no-tld-query and set RES_NOTLDQUERY.
47271 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47272 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47273 modern BIND to search name as TLD unless forbidden.
47275 2011-05-07 Petr Baudis <pasky@suse.cz>
47276 Ulrich Drepper <drepper@gmail.com>
47279 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47280 (is_trusted_path): ...to here.
47281 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47282 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47283 using is_trusted_path_normalize() in setuid scripts.
47285 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47287 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47288 __BEGIN/__END_DECLS.
47290 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47292 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47293 NSS_STATUS_NOTFOUND if no record was found.
47295 2011-05-05 Andreas Schwab <schwab@redhat.com>
47297 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47298 (headers-not-in-tirpc): Remove rpc/netdb.h
47299 * resolv/netdb.h: Revert last change.
47301 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47303 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47304 circular dependency between libgcc.a and libc.a.
47306 2011-05-05 Andreas Schwab <schwab@redhat.com>
47308 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47309 * nis/Makefile: Don't install rpcsvc/*.
47310 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47311 instead of <rpc/types.h>.
47312 (MAXHOSTNAMELEN): Define.
47314 2011-05-03 Andreas Schwab <schwab@redhat.com>
47316 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47318 2011-04-28 Maciej Babinski <mbabinski@google.com>
47321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47322 gethostbyname4_r when IPv6 results are possible.
47324 2011-05-02 Ulrich Drepper <drepper@gmail.com>
47327 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47328 _PC_PIPE_BUF handling.
47330 2011-04-30 Bruno Haible <bruno@clisp.org>
47333 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47334 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47336 * inet/getnameinfo.c (getnameinfo): Likewise.
47338 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47340 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47341 to groups setting in database lookup.
47342 * nss/nsswitch.conf: Add initgroups entry.
47344 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47347 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47349 Patch by Eric Blake <eblake@redhat.com>.
47351 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47353 * sunrpc/Makefile (need-export-routines): Add svc_run.
47354 (routines): Remove svc_run.
47355 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47356 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47357 * sunrpc/svc_run.c (svc_run): Likewise.
47358 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47360 2011-04-21 Ulrich Drepper <drepper@gmail.com>
47362 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47363 problem in reallocation in last patch.
47365 2011-04-20 Ulrich Drepper <drepper@gmail.com>
47367 * sunrpc/Makefile: Move inclusion of Rules.
47369 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47371 * nss/nss_files/files-initgroups.c: New file.
47372 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47373 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47374 _nss_files_initgroups_dyn.
47376 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47378 * elf/elf.h (R_ARM_IRELATIVE): Define.
47380 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47382 * po/ru.po: Update from translation team.
47384 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47386 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47389 2011-02-06 Mike Frysinger <vapier@gentoo.org>
47392 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47393 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47394 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47395 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47396 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47398 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47400 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47402 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47403 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47404 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47406 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47409 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47411 * stdlib/bug-getcontext.c: New file.
47412 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47414 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47416 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47417 instructions into .machine "z9-109".
47418 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47419 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47421 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47423 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47424 between environment variables and auxiliary vector.
47426 2011-04-16 Ulrich Drepper <drepper@gmail.com>
47428 * Makefile: Add rules to build linkobj/libc.so.
47429 * include/libc-symbols.h: Define libc_hidden_nolink.
47430 * include/rpc/auth.h: Mark functions which are to be hidden.
47431 * include/rpc/auth_des.h: Likewise.
47432 * include/rpc/auth_unix.h: Likewise.
47433 * include/rpc/clnt.h: Likewise.
47434 * include/rpc/des_crypt.h: Likewise.
47435 * include/rpc/key_prot.h: Likewise.
47436 * include/rpc/pmap_clnt.h: Likewise.
47437 * include/rpc/pmap_prot.h: Likewise.
47438 * include/rpc/pmap_rmt.h: Likewise.
47439 * include/rpc/rpc_msg.h: Likewise.
47440 * include/rpc/svc.h: Likewise.
47441 * include/rpc/svc_auth.h: Likewise.
47442 * include/rpc/xdr.h: Likewise.
47443 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47444 * nss/Makefile: Likewise.
47445 * sunrpc/Makefile: Don't install headers. Build library with normal
47446 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47447 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47448 for the compat linking library. Remove use of INTDEF/INTUSE.
47449 * sunrpc/auth_none.c: Likewise.
47450 * sunrpc/auth_unix.c: Likewise.
47451 * sunrpc/authdes_prot.c: Likewise.
47452 * sunrpc/authuxprot.c: Likewise.
47453 * sunrpc/clnt_gen.c: Likewise.
47454 * sunrpc/clnt_perr.c: Likewise.
47455 * sunrpc/clnt_raw.c: Likewise.
47456 * sunrpc/clnt_simp.c: Likewise.
47457 * sunrpc/clnt_tcp.c: Likewise.
47458 * sunrpc/clnt_udp.c: Likewise.
47459 * sunrpc/clnt_unix.c: Likewise.
47460 * sunrpc/des_crypt.c: Likewise.
47461 * sunrpc/des_soft.c: Likewise.
47462 * sunrpc/get_myaddr.c: Likewise.
47463 * sunrpc/key_call.c: Likewise.
47464 * sunrpc/key_prot.c: Likewise.
47465 * sunrpc/netname.c: Likewise.
47466 * sunrpc/pm_getmaps.c: Likewise.
47467 * sunrpc/pm_getport.c: Likewise.
47468 * sunrpc/pmap_clnt.c: Likewise.
47469 * sunrpc/pmap_prot.c: Likewise.
47470 * sunrpc/pmap_prot2.c: Likewise.
47471 * sunrpc/pmap_rmt.c: Likewise.
47472 * sunrpc/publickey.c: Likewise.
47473 * sunrpc/rpc_cmsg.c: Likewise.
47474 * sunrpc/rpc_common.c: Likewise.
47475 * sunrpc/rpc_dtable.c: Likewise.
47476 * sunrpc/rpc_prot.c: Likewise.
47477 * sunrpc/rpc_thread.c: Likewise.
47478 * sunrpc/rtime.c: Likewise.
47479 * sunrpc/svc.c: Likewise.
47480 * sunrpc/svc_auth.c: Likewise.
47481 * sunrpc/svc_authux.c: Likewise.
47482 * sunrpc/svc_raw.c: Likewise.
47483 * sunrpc/svc_run.c: Likewise.
47484 * sunrpc/svc_simple.c: Likewise.
47485 * sunrpc/svc_tcp.c: Likewise.
47486 * sunrpc/svc_udp.c: Likewise.
47487 * sunrpc/svc_unix.c: Likewise.
47488 * sunrpc/svcauth_des.c: Likewise.
47489 * sunrpc/xcrypt.c: Likewise.
47490 * sunrpc/xdr.c: Likewise.
47491 * sunrpc/xdr_array.c: Likewise.
47492 * sunrpc/xdr_float.c: Likewise.
47493 * sunrpc/xdr_intXX_t.c: Likewise.
47494 * sunrpc/xdr_mem.c: Likewise.
47495 * sunrpc/xdr_rec.c: Likewise.
47496 * sunrpc/xdr_ref.c: Likewise.
47497 * sunrpc/xdr_sizeof.c: Likewise.
47498 * sunrpc/xdr_stdio.c: Likewise.
47500 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47503 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47504 * sysdeps/ia64/dl-tls.h: Likewise.
47505 * sysdeps/powerpc/dl-tls.h: Likewise.
47506 * sysdeps/s390/dl-tls.h: Likewise.
47507 * sysdeps/sh/dl-tls.h: Likewise.
47508 * sysdeps/sparc/dl-tls.h: Likewise.
47509 * sysdeps/x86_64/dl-tls.h: Likewise.
47510 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47512 2011-03-14 Andreas Schwab <schwab@redhat.com>
47514 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47515 rpath element also skip the following colon.
47516 (expand_dynamic_string_token): Add is_path parameter and pass
47517 down to DL_DST_REQUIRED and _dl_dst_substitute.
47518 (decompose_rpath): Call expand_dynamic_string_token with
47519 non-zero is_path. Ignore empty rpaths.
47520 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47523 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47528 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47531 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47532 Patch by Filipe David Manana <fdmanana@apache.org>.
47534 2011-04-07 Andreas Schwab <schwab@redhat.com>
47536 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47537 Maintain aligned stack.
47538 (CHECK_RSP): Remove unused macro.
47540 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47542 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47543 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47545 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47547 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47549 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47551 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47554 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47555 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47556 * sysdeps/x86_64/memmove.c: New file.
47557 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47558 (memcpy): Renamed to ...
47559 (__new_memcpy): This.
47560 (memcpy): Provide GLIBC_2_14 memcpy.
47561 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47562 (memcpy): Provide GLIBC_2_2_5 memcpy.
47564 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47567 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47569 2011-03-30 Andreas Schwab <schwab@redhat.com>
47571 * misc/syncfs.c: New file.
47572 * misc/Makefile (routines): Add syncfs.
47573 * posix/unistd.h: Declare syncfs.
47574 * sysdeps/unix/syscalls.list: Add syncfs.
47576 2011-04-01 Andreas Schwab <schwab@redhat.com>
47578 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47580 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47581 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47582 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47583 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47584 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47585 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47586 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47588 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47590 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47591 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47592 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47593 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47594 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47595 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47596 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47598 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47599 sync_file_range.c with -fexceptions.
47600 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47601 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47602 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47603 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47604 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47605 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47606 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47607 sync_file_range as cancellation point
47608 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47609 now a wrapper around __call_sync_file_range with cancellation handling.
47610 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47611 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47612 function name to __call_sync_file_range.
47613 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47614 Add call_sync_file_range.
47616 2011-04-01 Andreas Schwab <schwab@redhat.com>
47618 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47621 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47623 * iconv/iconv.h: Fix typo in comment.
47624 * io/fcntl.h: Likewise.
47625 * libio/stdio.h: Likewise.
47626 * posix/spawn.h: Likewise.
47627 * posix/unistd.h: Likewise.
47628 * stdlib/stdlib.h: Likewise.
47629 * time/time.h: Likewise.
47630 * wcsmbs/wchar.h: Likewise.
47632 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47633 open_by_handle): Add.
47634 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47635 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47636 Augment a few comments.
47637 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47638 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47639 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47640 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47641 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47642 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47645 * io/fcntl.h (AT_EMPTY_PATH): Define.
47647 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47649 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47650 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47651 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47653 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47654 * Versions.def: Add GLIBC_2.14.
47655 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47658 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47660 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47662 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47664 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47667 * string/test-strncmp.c (do_page_test): New function.
47668 (check2): Likewise.
47669 (test_main): Call check2.
47670 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47672 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47675 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47676 Handle cache information in CPU leaf 4.
47677 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47679 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47682 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47683 character representation.
47684 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47686 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47688 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47689 END(__isnan) to END(__isnanf) to match function entry point/label
47690 EALIGN(__isnanf,...).
47692 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47694 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47696 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47699 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47700 copy from the symbol referenced in the relocation to initialize the
47702 Patch by Piotr Bury <pbury@goahead.com>.
47703 * elf/Makefile: Add rules to build and tst-unique3.
47704 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47705 * elf/tst-unique3.cc: New file.
47706 * elf/tst-unique3.h: New file.
47707 * elf/tst-unique3lib.cc: New file.
47708 * elf/tst-unique3lib2.cc: New file.
47710 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47712 2011-03-10 Mike Frysinger <vapier@gentoo.org>
47714 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47715 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47718 2011-03-06 Ulrich Drepper <drepper@gmail.com>
47720 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47721 to-be-loaded object along a path to loader is ld.so.
47723 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47724 Ulrich Drepper <drepper@gmail.com>
47726 * sysdeps/x86_64/memset.S: After aligning destination, code
47727 branches to different locations depending on the value of
47728 misalignment, when multiarch is enabled. Fix this.
47730 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47732 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47733 Set _x86_64_preferred_memory_instruction for AMD processsors.
47734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47735 Set bit_Prefer_SSE_for_memop for AMD processors.
47737 2011-03-04 Ulrich Drepper <drepper@gmail.com>
47739 * libio/fmemopen.c (fmemopen): Optimize a bit.
47741 2011-03-03 Andreas Schwab <schwab@redhat.com>
47743 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47745 2011-03-03 Roland McGrath <roland@redhat.com>
47747 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47749 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47751 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47752 __bzero_ultra1 instead of __memset_ultra1.
47754 2011-02-23 Andreas Schwab <schwab@redhat.com>
47755 Ulrich Drepper <drepper@gmail.com>
47758 * include/link.h (struct link_map): Add l_orig_initfini.
47759 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47760 returning unsuccessfully.
47761 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47762 close of a file loaded at startup, restore the original l_initfini
47764 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47765 list, store the pointer.
47766 * elf/Makefile ($(objpfx)noload-mem): New rule.
47767 (noload-ENV): Define.
47768 (tests): Add $(objpfx)noload-mem.
47769 * elf/noload.c: Include <memcheck.h>.
47770 (main): Call mtrace. Close all opened handles.
47772 2011-02-17 Andreas Schwab <schwab@redhat.com>
47775 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47776 dependencies are missing.
47778 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47780 Fix __if_freereq crash: Unlike the generic version which uses free,
47782 * sysdeps/mach/hurd/ifreq.h: New file.
47784 2011-01-27 Petr Baudis <pasky@suse.cz>
47785 Ulrich Drepper <drepper@gmail.com>
47788 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47789 to extend_alloca().
47790 * stdio-common/bug23.c: New file.
47791 * stdio-common/Makefile (tests): Add bug23.
47793 2010-09-28 Andreas Schwab <schwab@redhat.com>
47794 Ulrich Drepper <drepper@gmail.com>
47797 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47798 before performing relro protection. At old place add assertion
47799 to make sure nothing changed.
47801 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47802 Glauber de Oliveira Costa <glommer@gmail.com>
47804 * elf/elf.h: Add new ARM TLS relocs.
47806 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47809 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47811 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47813 * sysdeps/wordsize-64/tst-writev.c: New file.
47815 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47817 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47818 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47819 insns in _dl_start to prevent a TOC reference before relocs are
47822 2011-02-15 Ulrich Drepper <drepper@gmail.com>
47825 * Makeconfig: Remove RANLIB definition.
47826 * Makerules: Don't use RANLIB.
47827 * aclocal.m4: Remove ranlib test.
47828 * configure.in: No need to check for ranlib.
47829 * elf/rtld-Rules: Don't use RANLIB.
47831 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47833 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47835 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47836 inclusion protection macro.
47838 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47839 SIGRTMIN and SIGRTMAX and print information in that case only when
47840 SIGRTMIN is defined.
47842 2011-02-11 Jakub Jelinek <jakub@redhat.com>
47844 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47845 arginfo fn returning -1.
47847 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47848 and thousands string is zero terminated.
47850 2011-02-03 Andreas Schwab <schwab@redhat.com>
47852 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47853 sysdeps/unix/sysv/linux/bits/socket.h.
47855 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47857 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47858 (__CPU_COUNT): Remove old macros.
47859 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47860 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47861 (__CPU_ALLOC, __CPU_FREE): Add macros.
47862 (__sched_cpualloc, __sched_cpufree): Add declarations.
47864 2011-02-05 Ulrich Drepper <drepper@gmail.com>
47866 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47867 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47868 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47869 (readdhstai): Return value of addhstaiX call.
47870 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47871 (addgrbyX): Return value returned by cache_addgr.
47872 (readdgrbyname): Return value returned by addgrbyX.
47873 (readdgrbygid): Likewise.
47874 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47875 (addpwbyX): Return value returned by cache_addpw.
47876 (readdpwbyname): Return value returned by addhstbyX.
47877 (readdpwbyuid): Likewise.
47878 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47879 (addservbyX): Return value returned by cache_addserv.
47880 (readdservbyname): Return value returned by addservbyX:
47881 (readdservbyport): Likewise.
47882 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47883 (addhstbyX): Return value returned by cache_addhst.
47884 (readdhstbyname): Return value returned by addhstbyX.
47885 (readdhstbyaddr): Likewise.
47886 (readdhstbynamev6): Likewise.
47887 (readdhstbyaddrv6): Likewise.
47888 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47889 (readdinitgroups): Return value returned by addinitgroupsX.
47890 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47891 (prune_cache): Keep track of timeout value of re-added entries.
47892 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47893 * nscd/nscd.h: Adjust prototypes of readd* functions.
47895 2011-02-04 Roland McGrath <roland@redhat.com>
47897 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47898 (nis_stats): Likewise.
47899 * nis/nis_modify.c (nis_modify): Likewise.
47900 * nis/nis_remove.c (nis_remove): Likewise.
47901 * nis/nis_add.c (nis_add): Likewise.
47903 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47905 * posix/fnmatch_loop.c: Add some consts.
47907 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47909 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47912 * config.make.in (config-cflags-novzeroupper): Define.
47913 * configure.in: Substitute libc_cv_cc_novzeroupper.
47914 * elf/Makefile (AVX-CFLAGS): Define.
47915 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47916 (CFLAGS-tst-auditmod4a.c): Likewise.
47917 (CFLAGS-tst-auditmod4b.c): Likewise.
47918 (CFLAGS-tst-auditmod6b.c): Likewise.
47919 (CFLAGS-tst-auditmod6c.c): Likewise.
47920 (CFLAGS-tst-auditmod7b.c): Likewise.
47921 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47923 2011-02-02 Ulrich Drepper <drepper@gmail.com>
47925 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47926 function to the callback.
47927 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47929 2011-02-02 Andreas Schwab <schwab@redhat.com>
47931 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47934 2011-01-19 Ulrich Drepper <drepper@gmail.com>
47937 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47939 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47941 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47944 * elf/Makefile: Add rules to build and run new test.
47945 * elf/tst-initorder.c: New file.
47946 * elf/tst-initorder.exp: New file.
47947 * elf/tst-initordera1.c: New file.
47948 * elf/tst-initordera2.c: New file.
47949 * elf/tst-initordera3.c: New file.
47950 * elf/tst-initordera4.c: New file.
47951 * elf/tst-initorderb1.c: New file.
47952 * elf/tst-initorderb2.c: New file.
47953 * elf/tst-order-a1.c: New file.
47954 * elf/tst-order-a2.c: New file.
47955 * elf/tst-order-a3.c: New file.
47956 * elf/tst-order-a4.c: New file.
47957 * elf/tst-order-b1.c: New file.
47958 * elf/tst-order-b2.c: New file.
47959 * elf/tst-order-main.c: New file.
47960 New test case by George Gensure <werkt0@gmail.com>.
47962 2010-10-01 Andreas Schwab <schwab@redhat.com>
47964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47965 decoding ACE if AI_CANONIDN.
47967 2011-01-18 Ulrich Drepper <drepper@gmail.com>
47969 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47971 2011-01-17 Ulrich Drepper <drepper@gmail.com>
47973 * version.h (RELEASE): Bump for 2.13 release.
47974 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47976 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47978 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47980 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47981 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47982 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47983 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47984 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47985 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47987 * posix/getconf.c: Update copyright year.
47988 * catgets/gencat.c: Likewise.
47989 * csu/version.c: Likewise.
47990 * debug/catchsegv.sh: Likewise.
47991 * debug/xtrace.sh: Likewise.
47992 * elf/ldconfig.c: Likewise.
47993 * elf/ldd.bash.in: Likewise.
47994 * elf/sprof.c (print_version): Likewise.
47995 * iconv/iconv_prog.c: Likewise.
47996 * iconv/iconvconfig.c: Likewise.
47997 * locale/programs/locale.c: Likewise.
47998 * locale/programs/localedef.c: Likewise.
47999 * malloc/memusage.sh: Likewise.
48000 * malloc/mtrace.pl: Likewise.
48001 * nscd/nscd.c (print_version): Likewise.
48002 * nss/getent.c: Likewise.
48004 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48005 PF_CAIF, and PF_ALG.
48006 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48008 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48010 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48011 (modules-names): Use them.
48012 (ifunc-test-modules, ifunc-pie-tests): Define.
48013 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48014 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48015 (test-extras): Likewise.
48016 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48017 $(compile-command.c).
48018 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48019 (all-built-dso): Define.
48020 (check-textrel.out, check-execstack.out): Depend on it.
48022 * configure.in: Don't override --enable-multi-arch.
48024 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48027 * nscd/hstcache.c (tryagain): Define.
48028 (cache_addhst): Return tryagain not notfound for temporary errors.
48029 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48032 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48035 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48036 to make the syscall.
48037 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48040 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48041 and fall back to matching as normal character if the string ends before
48042 the matching ']' is found. This is what POSIX requires.
48043 * posix/testfnm.c: Adjust test result.
48044 * posix/globtest.sh: Adjust test result. Add new test.
48045 * posix/tst-fnmatch.input: Likewise.
48046 * posix/tst-fnmatch2.c: Add new test.
48048 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48050 * elf/Makefile (check-execstack): Revert last change. Depend on
48052 (check-execstack.h): New target.
48053 (generated): Add check-execstack.h.
48054 * elf/check-execstack.c: Include "check-execstack.h".
48055 (main): Revert last change.
48056 (handle_file): Return zero if GNU_STACK is absent and
48057 DEFAULT_STACK_PERMS doesn't include PF_X.
48059 2011-01-13 Ulrich Drepper <drepper@gmail.com>
48061 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48062 in child fails because the descriptor is already closed.
48063 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48064 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48065 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48068 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48072 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48073 temporary buffer used to handle multi lookups locally.
48074 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48076 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48078 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48081 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48083 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48084 alignment for SSE2.
48086 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48089 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48090 characters. When rounding increased number of integer digits recompute
48092 * stdio-common/tst-grouping.c: New file.
48093 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48095 2011-01-09 Ulrich Drepper <drepper@gmail.com>
48097 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48098 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48100 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48102 * bits/select.h: Likewise.
48104 2011-01-08 Ulrich Drepper <drepper@gmail.com>
48106 * po/ja.po: Update from translation team.
48108 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
48111 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48112 implementation just like for lxstat, fxstatat, et al.
48114 2010-12-27 Jim Meyering <meyering@redhat.com>
48117 * posix/regexec.c (build_trtable): Return failure indication upon
48118 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48120 2010-12-25 Ulrich Drepper <drepper@gmail.com>
48123 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48124 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48125 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48126 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48129 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48132 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48133 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48135 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48137 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48138 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48139 script has SORT_BY_INIT_PRIORITY.
48140 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48141 NO_CTORS_DTORS_SECTIONS is defined.
48142 * elf/soinit.c: Likewise.
48143 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48144 NO_CTORS_DTORS_SECTIONS is defined.
48145 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48146 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48147 * sysdeps/sh/init-first.c: Likewise.
48148 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48150 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48152 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48153 always use the slow path.
48155 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48157 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48158 similar rule which adds the sysdep directories to the header search in
48159 order to pick up the correct platform stackinfo.h.
48160 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48161 perform test if it is, otherwise return successfully without testing.
48162 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48163 DEFAULT_STACK_PERMS define in stackinfo.h.
48164 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48165 defined in stackinfo.h.
48166 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48167 DEFAULT_STACK_PERMS defined in stackinfo.h.
48168 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48169 * sysdeps/ia64/stackinfo.h: Likewise.
48170 * sysdeps/s390/stackinfo.h: Likewise.
48171 * sysdeps/sh/stackinfo.h: Likewise.
48172 * sysdeps/sparc/stackinfo.h: Likewise.
48173 * sysdeps/x86_64/stackinfo.h: Likewise.
48174 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48175 PF_X for powerpc64. Retain PF_X for powerpc32.
48177 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48179 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48181 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48182 GETDENTS_64BIT_ALIGNED.
48184 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48186 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48188 2010-12-10 Andreas Schwab <schwab@redhat.com>
48190 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48193 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48194 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48196 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48197 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48199 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48202 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48205 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48207 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48209 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48211 * po/it.po: Update from translation team.
48213 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48215 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48218 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48220 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48222 2010-11-24 Andreas Schwab <schwab@redhat.com>
48224 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48226 (gaih_getanswer_slice): Likewise.
48228 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48230 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48232 2010-05-31 Petr Baudis <pasky@suse.cz>
48235 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48236 silently even in the chroot mode.
48238 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48240 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48241 last patch a bit. Pretty printing
48243 2010-05-31 Petr Baudis <pasky@suse.cz>
48246 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48247 initialization of skip_initgroups_dyn.
48249 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48251 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48252 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48254 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48256 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48258 2010-11-11 Andreas Schwab <schwab@redhat.com>
48260 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48261 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48262 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48263 ($(objpfx)tst-fnmatch-mem): New rule.
48264 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48265 * posix/tst-fnmatch.c (main): Call mtrace.
48267 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48269 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48270 Support Intel processor model 6 and model 0x2c.
48272 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48274 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48277 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48280 * string/test-strncasecmp.c (check_result): New function.
48281 (do_one_test): Use it.
48282 (check1): New function.
48283 (test_main): Use it.
48284 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48285 Support strcasecmp and strncasecmp.
48287 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48290 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48291 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48293 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48295 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48297 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48299 * sysdeps/x86_64/multiarch/bzero.S: New file.
48300 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48301 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48302 * sysdeps/x86_64/multiarch/memset.S: New file.
48303 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48304 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48305 Set bit_Prefer_SSE_for_memop for Intel processors.
48306 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48308 (index_Prefer_SSE_for_memop): Define.
48309 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48311 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
48313 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48314 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48316 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48319 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48320 (__x86_64_raw_data_cache_size_half): Likewise.
48321 (__x86_64_raw_shared_cache_size): Likewise.
48322 (__x86_64_raw_shared_cache_size_half): Likewise.
48324 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48325 (__x86_64_raw_data_cache_size_half): Likewise.
48326 (__x86_64_raw_shared_cache_size): Likewise.
48327 (__x86_64_raw_shared_cache_size_half): Likewise.
48328 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48329 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48330 and __x86_64_raw_shared_cache_size_half. Round
48331 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48332 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48333 to multiple of 256 bytes.
48335 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48338 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48339 of inacessible symlinks. Verify result of symlink before returning it.
48340 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48341 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48343 2010-10-28 Erich Ritz <erichritz@gmail.com>
48345 * math/math.h (isinf): Fix typo in comment.
48347 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48349 * po/da.po: Update from translation team.
48351 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48353 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48354 is added to the list.
48356 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48357 Ulrich Drepper <drepper@gmail.com>
48359 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48360 the global list here. Move code to...
48361 (_dl_add_to_namespace_list): ...here. New function.
48362 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48363 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48364 * elf/dl-load.c (lose): Don't remove the element from the list.
48365 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48366 (_dl_map_object): Likewise.
48368 2010-10-25 Ulrich Drepper <drepper@gmail.com>
48371 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48372 into all bytes of SSE register.
48373 Patch by Richard Li <richardpku@gmail.com>.
48375 2010-10-24 Ulrich Drepper <drepper@gmail.com>
48378 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48381 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48383 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48384 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48385 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48386 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48391 2010-10-22 Andreas Schwab <schwab@redhat.com>
48393 * include/dlfcn.h (__RTLD_SECURE): Define.
48394 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48395 mode & __RTLD_SECURE instead.
48396 (open_path): Rename preloaded parameter to secure.
48397 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48398 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48399 * elf/dl-deps.c (openaux): Likewise.
48400 * elf/rtld.c (struct map_args): Remove is_preloaded.
48401 (map_doit): Don't use it.
48402 (dl_main): Likewise.
48403 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48404 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48406 2010-09-09 Andreas Schwab <schwab@redhat.com>
48408 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48409 (sysd-rules-targets): Remove duplicates.
48410 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48411 rtld-%.$o dependency.
48413 2010-10-18 Andreas Schwab <schwab@redhat.com>
48415 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48416 _dl_map_object do it.
48418 2010-10-19 Ulrich Drepper <drepper@gmail.com>
48420 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48421 fast fma builtins, define the macros in the C99 standard.
48422 (FP_FAST_FMAF): Likewise.
48423 (FP_FAST_FMAL): Likewise.
48424 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48426 * bits/mathdef.h: Update copyright year.
48427 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48429 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48431 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48432 builtins, define the macros in the C99 standard.
48433 (FP_FAST_FMAF): Likewise.
48434 (FP_FAST_FMAL): Likewise.
48435 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48437 (FP_FAST_FMAF): Likewise.
48439 2010-10-15 Jakub Jelinek <jakub@redhat.com>
48442 * math/libm-test.inc (fma_test): Some new testcases.
48443 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48444 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48445 y and infinite z. Do multiplication by C already in long double.
48446 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48447 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48448 y and infinite z. Do bitwise or of inexact bit into u.d.
48449 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48450 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48451 * sysdeps/i386/fpu/s_fma.S: Removed.
48452 * sysdeps/i386/fpu/s_fmal.S: Removed.
48454 2010-10-16 Jakub Jelinek <jakub@redhat.com>
48457 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48458 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48459 computation is not scheduled after fetestexcept. Fix value
48460 of minimum denormal long double.
48462 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48465 * math/libm-test.inc (fma_test): Add some more tests.
48466 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48469 2010-10-15 Andreas Schwab <schwab@redhat.com>
48471 * scripts/data/localplt-s390-linux-gnu.data: New file.
48472 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48474 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48477 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48478 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48480 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48482 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48483 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48484 if one of x and y is very large and the other is subnormal.
48485 * sysdeps/s390/fpu/s_fmaf.c: New file.
48486 * sysdeps/s390/fpu/s_fma.c: New file.
48487 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48488 * sysdeps/powerpc/fpu/s_fma.S: New file.
48489 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48490 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48491 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48493 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48496 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48498 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48499 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48500 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48501 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48502 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48503 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48504 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48506 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48509 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48510 * posix/bug-regex31.input: Add test case.
48512 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48514 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48515 * posix/bug-regex31.input: New file.
48518 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48519 (parse_sub_exp): Fix last change, use postorder.
48521 * posix/bug-regex31.c: New file.
48522 * posix/Makefile: Add rules to build and run bug-regex31.
48524 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48527 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48530 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48531 to have entries in sys_siglist.
48534 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48537 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48540 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48541 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48542 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48543 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48544 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48545 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48546 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48547 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48548 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48549 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48550 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48551 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48552 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48553 * math/ftestexcept.c (fetestexcept): Likewise.
48554 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48555 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48556 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48557 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48558 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48559 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48560 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48562 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48565 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48568 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48570 * string/bug-strstr1.c: New file.
48571 * string/Makefile: Add rules to build and run bug-strstr1.
48573 2010-10-05 Eric Blake <eblake@redhat.com>
48576 * string/str-two-way.h (two_way_long_needle): Always clear memory
48577 when skipping input due to the shift table.
48579 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48582 * malloc/mcheck.c: Handle large requests.
48585 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48586 for strncmp and strncasecmp.
48587 * string/stratcliff.c: Add tests for strcmp and strncmp.
48588 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48590 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48592 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48595 2010-09-30 Andreas Jaeger <aj@suse.de>
48597 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48598 (CGROUP_SUPER_MAGIC): Define.
48599 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48600 Handle btrfs and cgroup file systems.
48601 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48604 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48606 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48607 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48609 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48612 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48613 trying to locate the ELF header.
48615 2010-09-27 Andreas Schwab <schwab@redhat.com>
48618 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48619 Mask out sign-bit copies when constructing f_fsid.
48621 2010-09-24 Petr Baudis <pasky@suse.cz>
48623 * debug/stack_chk_fail_local.c: Add missing licence exception.
48624 * debug/warning-nop.c: Likewise.
48626 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48628 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48629 implementing getdents64 using getdents syscall, set d_type if
48630 __ASSUME_GETDENTS32_D_TYPE.
48632 2010-09-16 Andreas Schwab <schwab@redhat.com>
48634 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48635 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48637 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48640 * posix/unistd.h: Undo change of feature selection for ftruncate from
48643 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48645 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48648 2010-09-20 Andreas Schwab <schwab@redhat.com>
48650 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48652 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48654 2010-09-14 Andreas Schwab <schwab@redhat.com>
48656 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48657 variables after CHECK_SP call.
48658 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48660 2010-09-13 Andreas Schwab <schwab@redhat.com>
48661 Ulrich Drepper <drepper@redhat.com>
48663 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48664 re-relocationg ld.so.
48665 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48666 _dl_init_paths call.
48667 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48670 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48672 * resolv/res_init.c (__res_vinit): Count the default server we added.
48674 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48675 Ulrich Drepper <drepper@redhat.com>
48678 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48679 (____longjmp_chk): Use %ebx for saving value across system call.
48682 2010-09-06 Andreas Schwab <schwab@redhat.com>
48684 * manual/Makefile: Don't mix pattern rules with normal rules.
48686 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48688 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48690 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48691 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48692 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48693 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48694 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48697 2010-09-04 Ulrich Drepper <drepper@redhat.com>
48700 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48701 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48703 2010-09-02 Ulrich Drepper <drepper@redhat.com>
48705 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48706 * sysdeps/x86_64/addmul_1.S: Likewise.
48707 * sysdeps/x86_64/lshift.S: Likewise.
48708 * sysdeps/x86_64/mul_1.S: Likewise.
48709 * sysdeps/x86_64/rshift.S: Likewise.
48710 * sysdeps/x86_64/sub_n.S: Likewise.
48711 * sysdeps/x86_64/submul_1.S: Likewise.
48713 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48715 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48716 Define __sched_param instead of SCHED_* and sched_param when
48717 <bits/sched.h> is included with __need_schedparam defined.
48718 * bits/sched.h [__need_schedparam]
48719 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48720 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48721 (__defined_schedparam): Define to 1.
48722 (__sched_param): New structure, identical to sched_param.
48723 (__need_schedparam): Undefine.
48725 2010-08-31 Mike Frysinger <vapier@gentoo.org>
48727 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48728 (epoll_create1): Declare.
48730 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48732 2010-08-31 Andreas Schwab <schwab@redhat.com>
48735 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48736 shifting retval into place.
48738 2010-09-01 Ulrich Drepper <drepper@redhat.com>
48740 * nis/rpcsvc/nis.h: Update copyright notice.
48741 * nis/rpcsvc/nis.x: Likewise.
48742 * nis/rpcsvc/nis_callback.h: Likewise.
48743 * nis/rpcsvc/nis_callback.x: Likewise.
48744 * nis/rpcsvc/nis_object.x: Likewise.
48745 * nis/rpcsvc/nis_tags.h: Likewise.
48746 * nis/rpcsvc/yp.h: Likewise.
48747 * nis/rpcsvc/yp.x: Likewise.
48748 * nis/rpcsvc/ypupd.h: Likewise.
48749 * nis/yp_xdr.c: Likewise.
48750 * nis/ypupdate_xdr.c: Likewise.
48752 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48753 mainly the body of pmap_getport. Add parameters to specify timeouts.
48754 (pmap_getport): Use __libc_rpc_getport.
48755 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48756 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48757 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48759 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48764 2010-08-27 Roland McGrath <roland@redhat.com>
48766 * sysdeps/i386/i686/multiarch/Makefile
48767 (CFLAGS-varshift.c): New variable.
48769 2010-08-27 Ulrich Drepper <drepper@redhat.com>
48771 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48772 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48774 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48776 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48778 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48780 * sysdeps/x86_64/strlen.S: Unroll the loop.
48781 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48782 strlen-sse2 strlen-sse2-bsf.
48783 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48784 __strlen_no_bsf if bit_Slow_BSF is set.
48785 (__strlen_sse42): Removed.
48786 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48787 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48789 2010-08-25 Roland McGrath <roland@redhat.com>
48791 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48792 * sysdeps/x86_64/multiarch/varshift.c: New file.
48793 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48794 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48795 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48796 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48798 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48800 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48801 strlen-sse2 strlen-sse2-bsf.
48802 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48803 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48804 (__strlen_sse2): Removed.
48805 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48806 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48808 bit_Slow_BSF for Atom.
48809 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48810 (index_Slow_BSF): Define.
48811 (HAS_SLOW_BSF): Define.
48813 2010-08-25 Ulrich Drepper <drepper@redhat.com>
48816 * resolv/res_init.c (__res_vinit): When no server address at all
48817 is given default to loopback.
48819 2010-08-24 Roland McGrath <roland@redhat.com>
48821 * configure.in: Remove config-name.h generation.
48822 * configure: Regenerated.
48823 * config-name.in: File removed.
48824 * scripts/config-uname.sh: New file.
48825 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48826 ($(objdir)config-name.h): New target.
48828 * sunrpc/rpc_parse.h: Avoid nested comment.
48830 2010-08-24 Richard Henderson <rth@redhat.com>
48831 Ulrich Drepper <drepper@redhat.com>
48832 H.J. Lu <hongjiu.lu@intel.com>
48834 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48835 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48836 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48837 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48838 _mm_alignr_epi8 with _mm_loadu_si128.
48839 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48840 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48841 (__m128i_shift_right): Removed.
48842 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48843 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48844 * sysdeps/x86_64/multiarch/varshift.h: New file.
48845 * sysdeps/x86_64/multiarch/varshift.S: New file.
48847 2010-08-21 Mike Frysinger <vapier@gentoo.org>
48849 * configure.in: Move assembler checks to before sysdep dir checking.
48851 2010-08-20 Petr Baudis <pasky@suse.cz>
48853 * LICENSES: Sync the sunrpc license.
48855 2010-08-19 Ulrich Drepper <drepper@redhat.com>
48857 * sunrpc/auth_des.c: Update copyright notice once again.
48858 * sunrpc/auth_none.c: Likewise.
48859 * sunrpc/auth_unix.c: Likewise.
48860 * sunrpc/authdes_prot.c: Likewise.
48861 * sunrpc/authuxprot.c: Likewise.
48862 * sunrpc/bindrsvprt.c: Likewise.
48863 * sunrpc/clnt_gen.c: Likewise.
48864 * sunrpc/clnt_perr.c: Likewise.
48865 * sunrpc/clnt_raw.c: Likewise.
48866 * sunrpc/clnt_simp.c: Likewise.
48867 * sunrpc/clnt_tcp.c: Likewise.
48868 * sunrpc/clnt_udp.c: Likewise.
48869 * sunrpc/clnt_unix.c: Likewise.
48870 * sunrpc/des_crypt.c: Likewise.
48871 * sunrpc/des_soft.c: Likewise.
48872 * sunrpc/get_myaddr.c: Likewise.
48873 * sunrpc/getrpcport.c: Likewise.
48874 * sunrpc/key_call.c: Likewise.
48875 * sunrpc/key_prot.c: Likewise.
48876 * sunrpc/openchild.c: Likewise.
48877 * sunrpc/pm_getmaps.c: Likewise.
48878 * sunrpc/pm_getport.c: Likewise.
48879 * sunrpc/pmap_clnt.c: Likewise.
48880 * sunrpc/pmap_prot.c: Likewise.
48881 * sunrpc/pmap_prot2.c: Likewise.
48882 * sunrpc/pmap_rmt.c: Likewise.
48883 * sunrpc/rpc/auth.h: Likewise.
48884 * sunrpc/rpc/auth_unix.h: Likewise.
48885 * sunrpc/rpc/clnt.h: Likewise.
48886 * sunrpc/rpc/des_crypt.h: Likewise.
48887 * sunrpc/rpc/key_prot.h: Likewise.
48888 * sunrpc/rpc/netdb.h: Likewise.
48889 * sunrpc/rpc/pmap_clnt.h: Likewise.
48890 * sunrpc/rpc/pmap_prot.h: Likewise.
48891 * sunrpc/rpc/pmap_rmt.h: Likewise.
48892 * sunrpc/rpc/rpc.h: Likewise.
48893 * sunrpc/rpc/rpc_des.h: Likewise.
48894 * sunrpc/rpc/rpc_msg.h: Likewise.
48895 * sunrpc/rpc/svc.h: Likewise.
48896 * sunrpc/rpc/svc_auth.h: Likewise.
48897 * sunrpc/rpc/types.h: Likewise.
48898 * sunrpc/rpc/xdr.h: Likewise.
48899 * sunrpc/rpc_clntout.c: Likewise.
48900 * sunrpc/rpc_cmsg.c: Likewise.
48901 * sunrpc/rpc_common.c: Likewise.
48902 * sunrpc/rpc_cout.c: Likewise.
48903 * sunrpc/rpc_dtable.c: Likewise.
48904 * sunrpc/rpc_hout.c: Likewise.
48905 * sunrpc/rpc_main.c: Likewise.
48906 * sunrpc/rpc_parse.c: Likewise.
48907 * sunrpc/rpc_parse.h: Likewise.
48908 * sunrpc/rpc_prot.c: Likewise.
48909 * sunrpc/rpc_sample.c: Likewise.
48910 * sunrpc/rpc_scan.c: Likewise.
48911 * sunrpc/rpc_scan.h: Likewise.
48912 * sunrpc/rpc_svcout.c: Likewise.
48913 * sunrpc/rpc_tblout.c: Likewise.
48914 * sunrpc/rpc_util.c: Likewise.
48915 * sunrpc/rpc_util.h: Likewise.
48916 * sunrpc/rpcinfo.c: Likewise.
48917 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48918 * sunrpc/rpcsvc/key_prot.x: Likewise.
48919 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48920 * sunrpc/rpcsvc/mount.x: Likewise.
48921 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48922 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48923 * sunrpc/rpcsvc/rex.x: Likewise.
48924 * sunrpc/rpcsvc/rstat.x: Likewise.
48925 * sunrpc/rpcsvc/rusers.x: Likewise.
48926 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48927 * sunrpc/rpcsvc/spray.x: Likewise.
48928 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48929 * sunrpc/rtime.c: Likewise.
48930 * sunrpc/svc.c: Likewise.
48931 * sunrpc/svc_auth.c: Likewise.
48932 * sunrpc/svc_authux.c: Likewise.
48933 * sunrpc/svc_raw.c: Likewise.
48934 * sunrpc/svc_run.c: Likewise.
48935 * sunrpc/svc_simple.c: Likewise.
48936 * sunrpc/svc_tcp.c: Likewise.
48937 * sunrpc/svc_udp.c: Likewise.
48938 * sunrpc/svc_unix.c: Likewise.
48939 * sunrpc/svcauth_des.c: Likewise.
48940 * sunrpc/xcrypt.c: Likewise.
48941 * sunrpc/xdr.c: Likewise.
48942 * sunrpc/xdr_array.c: Likewise.
48943 * sunrpc/xdr_float.c: Likewise.
48944 * sunrpc/xdr_mem.c: Likewise.
48945 * sunrpc/xdr_rec.c: Likewise.
48946 * sunrpc/xdr_ref.c: Likewise.
48947 * sunrpc/xdr_sizeof.c: Likewise.
48948 * sunrpc/xdr_stdio.c: Likewise.
48950 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48953 2010-08-19 Andreas Schwab <schwab@redhat.com>
48955 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48957 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
48959 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48960 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48961 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48962 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48963 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48964 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48965 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48966 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48967 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48968 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48969 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48970 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48971 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48972 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48974 2010-07-26 Anton Blanchard <anton@samba.org>
48976 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48977 * malloc/arena.c (heap_trim): Likewise.
48979 2010-08-16 Ulrich Drepper <drepper@redhat.com>
48981 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48983 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48984 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48986 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48988 * sysdeps/i386/elf/Makefile: New file.
48990 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48992 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48993 from fanotify_init.
48994 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48995 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48997 2010-08-15 Ulrich Drepper <drepper@redhat.com>
48999 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49001 * sysdeps/multiarch/strcmp.S: Likewise.
49003 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49005 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49006 strncase_l-nonascii.
49007 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49008 Add strncase_l-ssse3.
49009 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49010 * sysdeps/x86_64/strcmp.S: Likewise.
49011 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49012 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49013 * sysdeps/x86_64/strncase.S: New file.
49014 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49015 * sysdeps/x86_64/strncase_l.S: New file.
49016 * string/Makefile (strop-tests): Add strncasecmp.
49017 * string/test-strncasecmp.c: New file.
49019 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49022 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49023 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49025 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49027 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49029 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49031 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49032 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49033 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49035 2010-05-01 Alan Modra <amodra@gmail.com>
49037 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49038 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49039 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49040 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49041 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49042 tidying. Don't tail-call __sigjmp_save for static lib.
49043 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49045 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49046 (CALL_MCOUNT): Add eh info, and nop after bl.
49047 (TAIL_CALL_SYSCALL_ERROR): New macro.
49048 (PSEUDO_RET): Use it.
49049 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49050 Correct save location of integer regs and cr.
49051 (_dl_profile_resolve): Correct cr save location. Delete nops
49052 after bl when SHARED. Reduce cfi size a little by better
49053 placement of cfi directives.
49054 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49055 make a stack frame. Instead use parm save area as a temp.
49056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49057 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49059 Don't make a stack frame for parent, use parm save area.
49060 Increase child stack frame to 112 bytes. Don't save unused reg,
49061 and adjust reg usage. Set up cfi on error recovery and
49062 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49064 (__makecontext): Add dummy nop after jump to exit.
49065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49066 Use correct parm save area and cr save, reduce stack frame.
49067 Correct cfi for possible PSEUDO_RET frame setup.
49068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49069 Branch to local label emitted by PSEUDO_RET rather than
49072 2010-08-12 Andreas Schwab <schwab@redhat.com>
49075 * locale/programs/locale.c (print_assignment): New function.
49076 (show_locale_vars): Use it.
49078 2010-08-11 Ulrich Drepper <drepper@redhat.com>
49080 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49082 (struct statfs64): Likewise.
49083 (_STATFS_F_FLAGS): Define.
49084 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49085 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49086 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49087 (ST_VALID): Define locally.
49088 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49089 __statvfs_getflags, use the provided value.
49090 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49091 __ASSUME_STATFS_F_FLAGS.
49093 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49095 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49096 Add sys/fanotify.h.
49097 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49098 fanotify_mask for GLIBC_2.13.
49099 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49100 fanotify_init and fanotify_mark.
49101 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49102 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49104 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49106 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49107 prlimit64 for GLIBC_2.13.
49108 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49110 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49113 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49114 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49115 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49116 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49118 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49121 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49122 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49124 * nss/Makefile: Add rules to build and run tst-nss-test1.
49125 * shlib-versions: Add entry for libnss_test1.
49126 * nss/nss_test1.c: New file.
49127 * nss/tst-nss-test1.c: New file.
49129 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49130 (__nss_configure_lookup): Set appropriate entry in
49131 __nss_configure_lookup to true.
49132 * nss/nsswitch.h: Define enum with indeces of databases in
49133 databases and __nss_database_custom arrays. Declare
49134 __nss_database_custom.
49135 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49136 to avoid using nscd when custom rules are installed.
49137 * nss/getXXbyYY_r.c: Likewise.
49138 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49140 * nss/nss_files/files-parse.c: Whitespace fixes.
49142 2010-08-09 Ulrich Drepper <drepper@redhat.com>
49145 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49146 * posix/fnmatch_loop.c: Likewise.
49148 2010-07-17 Andi Kleen <ak@linux.intel.com>
49150 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49151 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49152 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49153 * Versions.def [GLIBC_2.13]: Add.
49155 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49157 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49158 Also fail if tpwd after pwuid call is NULL.
49160 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49162 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49163 when converting to ms.
49165 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49167 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49168 EOPNOTSUPP errors with ENOTTY.
49169 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49170 EOPNOTSUPP errors with ENOTTY.
49172 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49174 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49175 Add strcasecmp_l-ssse3.
49176 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49178 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49179 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49180 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49182 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49184 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49186 * string/Makefile (strop-tests): Add strcasecmp.
49187 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49188 strcasecmp_l-nonascii.
49189 (gen-as-const-headers): Add locale-defines.sym.
49190 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49191 * sysdeps/x86_64/strcasecmp.S: New file.
49192 * sysdeps/x86_64/strcasecmp_l.S: New file.
49193 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49194 * sysdeps/x86_64/locale-defines.sym: New file.
49195 * string/test-strcasecmp.c: New file.
49197 * string/test-strcasestr.c: Test both ends of the range of characters.
49198 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49200 2010-07-29 Roland McGrath <roland@redhat.com>
49203 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49205 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49207 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49210 2010-07-27 Andreas Schwab <schwab@redhat.com>
49212 * manual/memory.texi (Malloc Tunable Parameters): Document
49215 2010-07-26 Roland McGrath <roland@redhat.com>
49218 * configure.in (-fgnu89-inline check): Set and substitute
49219 gnu89_inline, not libc_cv_gnu89_inline.
49220 * configure: Regenerated.
49221 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49223 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49225 * string/test-strnlen.c: New file.
49226 * string/Makefile (strop-tests): Add strnlen.
49227 * string/tester.c (test_strnlen): Add a few more test cases.
49228 * string/tst-strlen.c: Better error reporting.
49230 * sysdeps/x86_64/strnlen.S: New file.
49232 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49234 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49235 lower-latency instructions.
49237 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49239 * string/test-strcasestr.c: New file.
49240 * string/test-strstr.c: New file.
49241 * string/Makefile (strop-tests): Add strstr and strcasestr.
49242 * string/str-two-way.h: Don't undefine MAX.
49243 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49245 2010-07-21 Andreas Schwab <schwab@redhat.com>
49247 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49248 strcasestr-nonascii.
49249 (CFLAGS-strcasestr-nonascii.c): Define.
49250 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49251 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49252 Remove unused attribute.
49254 2010-07-20 Roland McGrath <roland@redhat.com>
49256 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49257 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49258 ld.so.cache was broken. With it, there is no way to disable dsocaps
49259 like LD_HWCAP_MASK can disable hwcaps.
49261 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49263 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49265 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49267 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49268 call in strcasestr.
49269 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49270 __strcasestr_sse42_nonascii.
49271 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49272 strcasestr-nonascii.c.
49273 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49275 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49277 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49278 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49279 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49280 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49282 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49284 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49287 2010-07-06 Andreas Schwab <schwab@redhat.com>
49290 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49293 2010-07-06 Ulrich Drepper <drepper@redhat.com>
49295 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49296 _PC_PIPE_BUF using F_GETPIPE_SZ.
49298 2010-07-05 Roland McGrath <roland@redhat.com>
49300 * manual/arith.texi (Rounding Functions): Fix rint description
49301 implicit in round description.
49303 2010-07-02 Ulrich Drepper <drepper@redhat.com>
49305 * elf/Makefile: Fix linking for a few tests to make recent linker
49308 2010-06-30 Andreas Schwab <schwab@redhat.com>
49310 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49311 $(common-objpfx)libc_nonshared.a.
49313 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
49315 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49316 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49317 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49318 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49319 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49320 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49321 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49322 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49337 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49338 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49339 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49340 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49341 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49342 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49343 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49344 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49345 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49346 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49347 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49348 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49364 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49366 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49367 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49368 * string/memmove.c (memmove): Renamed to ...
49369 (MEMMOVE): ...this. Default to memmove.
49370 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49371 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49373 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49374 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49375 mempcpy-ssse3-back memmove-ssse3-back.
49376 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49377 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49378 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49379 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49380 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49381 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49382 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49383 * sysdeps/x86_64/multiarch/memmove.c: New file.
49384 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49385 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49386 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49387 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49388 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49389 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49391 (index_Fast_Copy_Backward): Define.
49392 (HAS_ARCH_FEATURE): Define.
49393 (HAS_FAST_REP_STRING): Define.
49394 (HAS_FAST_COPY_BACKWARD): Define.
49396 2010-06-21 Andreas Schwab <schwab@redhat.com>
49398 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49399 Restore proper fallback handling.
49401 2010-06-19 Ulrich Drepper <drepper@redhat.com>
49404 * posix/group_member.c (__group_member): Correct checking loop.
49406 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49407 OOM in getpwuid_r correctly. Return error number when the caller
49408 should return, otherwise -1.
49409 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49410 call returning > 0 value.
49411 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49413 2010-06-07 Andreas Schwab <schwab@redhat.com>
49415 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49416 libc_nonshared.a from targets in modules-names.
49418 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49420 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49423 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
49425 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49426 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49427 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49428 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49430 2010-06-02 Andreas Schwab <schwab@redhat.com>
49432 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49434 2010-06-14 Ulrich Drepper <drepper@redhat.com>
49436 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49438 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49439 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49440 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49441 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49442 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49443 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49445 2010-06-14 Roland McGrath <roland@redhat.com>
49447 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49449 2010-06-07 Jakub Jelinek <jakub@redhat.com>
49451 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49452 __REDIRECT followed by __THROW.
49453 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49454 * posix/getopt.h (getopt): Likewise.
49456 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49458 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49459 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49460 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49462 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49463 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49465 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49467 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49469 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49473 Properly check family and model.
49475 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49477 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49479 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49481 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49483 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49485 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49488 2010-05-19 Andreas Schwab <schwab@redhat.com>
49490 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49493 2010-05-21 Andreas Schwab <schwab@redhat.com>
49495 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49496 and internal_recvmmsg.
49497 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49498 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49499 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49500 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49502 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49503 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49504 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49506 2010-05-20 Andreas Schwab <schwab@redhat.com>
49508 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49510 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49512 POWER7 optimizations.
49513 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49514 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49516 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49518 * version.h: Update for 2.13 development version.
49520 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49522 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49523 exceptions. Return 0.
49525 2010-05-07 Roland McGrath <roland@redhat.com>
49527 * elf/ldconfig.c (main): Add a const.
49529 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49531 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49532 (args_options): Add no-idn option.
49533 (ahosts_keys_int): Add idn_flags to ai_flags.
49534 (parse_option): Handle 'i' option to clear idn_flags.
49536 * malloc/malloc.c (_int_free): Possible race in the most recently
49537 added check. Only act on the data if no current modification
49540 See ChangeLog.17 for earlier changes.