1 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * posix/regex_internal.c: Check if DEBUG is defined and is
6 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7 (HAVE_MBSRTOWCS): Likewise.
8 * posix/fnmatch.c: Include string.h unconditionally.
10 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
15 2014-07-31 Roland McGrath <roland@hack.frob.com>
17 * sysdeps/generic/safe-fatal.h: New file.
18 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
19 * nptl/forward.c: Include it.
20 (__pthread_unwind): Use __safe_fatal as default action, rather
21 than a bogus use of INTERNAL_SYSCALL that could never work.
23 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
24 * configure.ac (libc_cv_builtin_trap): New test.
25 * configure: Regenerated.
26 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
27 (ABORT_INSTRUCTION): Define using __builtin_trap.
29 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
30 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
31 * sysdeps/nptl/nptl-signals.h: New file.
32 * nptl/pthreadP.h: Include <nptl-signals.h>.
34 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
36 * sysdeps/s390/s390-64/utf16-utf32-z9.c
37 (ONE_DIRECTION): Define.
38 * sysdeps/s390/s390-64/utf8-utf16-z9.c
39 (ONE_DIRECTION): Define.
40 * sysdeps/s390/s390-64/utf8-utf32-z9.c
41 (ONE_DIRECTION): Define.
43 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
45 * sysdeps/s390/Makefile: Delete file.
46 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
47 * sysdeps/s390/__longjmp.c: Delete file.
48 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
49 Remove fields __flags and __reserved.
50 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
52 * sysdeps/s390/rtld-__longjmp.c: Delete file.
53 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
54 * sysdeps/s390/rtld-setjmp.S: Likewise.
55 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
56 * sysdeps/s390/s390-32/__longjmp.c: ... here.
57 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
58 * sysdeps/s390/s390-32/setjmp.S: ... here.
60 (__sigsetjmp): Remove setting __flags field.
61 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
62 * sysdeps/s390/s390-64/__longjmp.c: ... here.
63 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
64 * sysdeps/s390/s390-64/setjmp.S: ... here.
66 (__sigsetjmp): Remove setting __flags field.
67 * sysdeps/s390/setjmp.S: Delete file.
68 * sysdeps/s390/sigjmp.c: Likewise.
69 * sysdeps/s390/v1-longjmp.c: Likewise.
70 * sysdeps/s390/v1-setjmp.h: Likewise.
71 * sysdeps/s390/v1-sigjmp.c: Likewise.
72 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
73 Remove v1-longjmp_chk.
74 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
75 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
76 Include debug/longjmp_chk.c and add versioning.
77 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
78 Include nptl/pt-longjmp.c and add versioning.
79 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
80 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
82 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
84 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
85 (__getcontext): Remove setting __flags field.
87 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
88 Don't restore upper high grps.
89 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
91 (__swapcontext): Remove setting uc_flags field.
92 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
94 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
96 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
98 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
99 (__getcontext): Remove setting __flags field.
101 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
102 (__swapcontext): Remove setting uc_flags field.
103 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
104 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
105 Remove fields uc_high_gprs and __reserved.
106 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
107 New file with reverted content.
108 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
109 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
111 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
114 2014-07-31 Andreas Schwab <schwab@suse.de>
116 * config.h.in (HAVE_IFUNC): Define to 0.
117 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
120 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
122 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
123 memmove-avx-unaligned, memcpy-avx-unaligned and
124 mempcpy-avx-unaligned.
125 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
126 Add tests for AVX memcpy functions.
127 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
128 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
130 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
131 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
133 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
134 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
136 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
137 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
138 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
140 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
143 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
146 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
149 * manual/llio.texi: Add section about open file description locks.
150 * manual/examples/ofdlocks.c: Example of open file description
152 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
153 F_OFD_SETLK, and F_OFD_SETLKW.
155 2014-07-23 Allan McRae <allan@archlinux.org>
157 * po/es.po: Update Spanish translation from translation project.
159 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
161 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
163 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
166 * sysdeps/arm/dl-machine.h (elf_machine_rela)
167 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
168 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
170 2014-07-17 Joseph Myers <joseph@codesourcery.com>
173 * math/fesetenv.c (__fesetenv)
174 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
175 * math/feupdateenv.c (__feupdateenv)
176 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
178 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
179 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
180 (__ASSUME_SOCKETCALL): Do not define.
182 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
183 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
184 (__ASSUME_SOCKETCALL): Do not define.
185 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
186 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
187 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
188 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
189 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
190 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
191 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
192 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
194 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
195 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
196 (__ASSUME_SOCKETCALL): Do not define.
197 (__ASSUME_IPC64): Define unconditionally.
198 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
199 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
200 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
201 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
202 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
203 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
204 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
207 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
208 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
209 (__ASSUME_SOCKETCALL): Do not define.
210 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
211 (__ASSUME_FUTEX_LOCK_PI): Likewise.
212 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
213 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
214 (__ASSUME_REQUEUE_PI): Define unconditionally.
215 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
216 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
217 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
218 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
219 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
220 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
222 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
223 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
224 (__ASSUME_SOCKETCALL): Do not define.
225 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
226 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
227 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
228 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
229 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
230 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
232 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
233 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
234 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
235 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
236 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
237 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
238 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
239 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
240 (__ASSUME_GETCPU_SYSCALL): Likewise.
242 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
243 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
244 cases for individual architectures.
245 * sysdeps/gnu/configure: Regenerated.
246 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
247 LIBC_SLIBDIR_RTLDDIR.
248 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
249 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
250 LIBC_SLIBDIR_RTLDDIR.
251 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
253 LIBC_SLIBDIR_RTLDDIR.
254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
256 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
257 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
259 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
260 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
262 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
263 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
264 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
265 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
267 * sysdeps/aarch64/shlib-versions: Move to ...
268 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
269 * sysdeps/alpha/shlib-versions: Move to ...
270 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
271 * sysdeps/arm/shlib-versions: Move to ...
272 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
273 * sysdeps/hppa/shlib-versions: Move all contents except for
274 libgcc_s entry to ...
275 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
277 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
278 * sysdeps/ia64/shlib-versions: Move to ...
279 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
281 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
282 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
283 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
284 * sysdeps/microblaze/shlib-versions: Move to ...
285 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
286 * sysdeps/mips/shlib-versions: Move to ...
287 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
289 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
290 * sysdeps/tile/shlib-versions: Move to ...
291 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
292 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
294 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
295 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
297 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
299 2014-07-17 Will Newton <will.newton@linaro.org>
301 * sysdeps/arm/bits/atomic.h
302 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
303 (__arch_compare_and_exchange_bool_16_int): Likewise.
304 (__arch_compare_and_exchange_bool_64_int): Likewise.
306 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
309 2014-07-16 Roland McGrath <roland@hack.frob.com>
311 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
312 just Linux configurations. Test empirically that the compiler sets
313 __ARM_EABI__, rather than using the tuple to decide.
314 * sysdeps/arm/preconfigure: Regenerated.
315 * sysdeps/unix/sysv/linux/arm/configure: File removed.
316 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
317 contents appended ...
318 * sysdeps/arm/configure.ac: ... here.
319 * sysdeps/arm/configure: Regenerated.
321 2014-07-15 Roland McGrath <roland@hack.frob.com>
323 * nptl/pthread_kill.c: New file.
324 * nptl/pthread_sigmask.c: New file.
325 * nptl/pthread_sigqueue.c: New file.
327 * sysdeps/nptl/lowlevellock.h: New file.
328 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
329 * sysdeps/nptl/lowlevellock-futex.h: New file.
331 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
332 Remove dead declarations.
334 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
336 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
337 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
339 * sysdeps/x86_64/configure.ac: Likewise.
340 * sysdeps/i386/configure: Regenerated.
341 * sysdeps/x86_64/configure: Likewise.
342 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
343 memset-avx2 only if config-cflags-avx2 is yes.
344 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
345 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
347 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
348 only if HAVE_AVX2_SUPPORT is defined.
349 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
351 2014-07-14 Alan Modra <amodra@gmail.com>
354 * elf/elf.h (DT_PPC64_NUM): Correct value.
355 * NEWS: Add to fixed bug list.
357 2014-07-13 Jim Meyering <meyering@fb.com>
360 regex: don't deref NULL upon heap allocation failure
361 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
362 failure in one more place.
363 To trigger the segfault, configure grep -with-included-regex,
364 build it, and run these commands:
365 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
367 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
369 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
371 2014-07-11 Richard Henderson <rth@redhat.com>
373 * sysdeps/aarch64/libm-test-ulps: Update.
375 2014-07-10 Florian Weimer <fweimer@redhat.com>
378 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
379 * nptl/allocatestack.c (__nptl_setxid_error): New function.
380 (__nptl_setxid): Initialize error member. Call
382 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
383 * nptl/descr.h (struct xid_command): Add error member.
384 * nptl/tst-setuid3.c: New file.
385 * nptl/Makefile (tests): Add it.
387 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
389 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
391 (__lll_trylock): Use __lll_base_trylock.
392 (__lll_cond_trylock): Likewise.
394 2014-07-10 Roland McGrath <roland@hack.frob.com>
396 * nptl/pthread_create.c (start_thread): Use atomic_or and
397 lll_futex_wake directly rather than lll_robust_dead.
398 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
399 (lll_robust_dead): Macro removed.
400 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
401 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
402 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
403 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
404 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
405 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
406 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
407 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
408 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
409 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
410 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
411 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
412 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
413 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
414 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
416 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
417 Use atomic_compare_and_exchange_val_acq directly rather than
419 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
420 (__lll_robust_trylock, lll_robust_trylock): Removed.
421 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
422 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
423 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
424 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
425 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
426 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
427 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
428 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
429 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
430 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
431 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
432 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
433 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
434 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
436 2014-07-02 Florian Weimer <fweimer@redhat.com>
438 * manual/locale.texi (Locale Names): New section documenting
439 locale name syntax. Adjust menu and node chaining accordingly.
440 (Choosing Locale): Reference Locale Names, Locale Categories.
441 Mention setting LC_ALL=C. Reflect that name syntax is now
443 (Locale Categories): New section title. Reference Locale Names.
444 LC_ALL is an environment variable, but not a category.
445 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
446 description, now in Locale Name. Reference that section. Locale
447 name syntax is now documented.
449 2014-07-02 Florian Weimer <fweimer@redhat.com>
452 * locale/findlocale.c (name_present, valid_locale_name): New
454 (_nl_find_locale): Use the loc_name variable to store name
455 candidates. Call name_present and valid_locale_name to check and
456 validate locale names. Return an error if the locale is invalid.
458 2014-07-02 Florian Weimer <fweimer@redhat.com>
460 * locale/setlocale.c (setlocale): Use strdup for allocating
463 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
466 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
467 [!_LIBC && ENABLE_NLS]: Include gettext.h.
468 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
470 [USE_UNLOCKED_IO]: Include unlocked-io.h.
471 [!_LIBC]: Include code for Windows and Cygwin.
472 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
473 Include prototype for int strerror_r.
474 [!_LIBC] (is_open): New function.
475 (flush_stdout): New function.
476 (print_errno_message): Use it.
478 (error_at_line): Likewise.
479 (error_tail) Add function attribute macros. Use
482 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
484 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
486 * io/ftw.c: Include sys/param.h unconditionally.
488 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
491 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
493 (freecache): New function to free CACHE on exit.
495 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
498 2014-07-09 David S. Miller <davem@davemloft.net>
500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
502 * sysdeps/sparc/nptl/internaltypes.h: Delete.
503 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
504 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
505 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
506 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
507 * sysdeps/sparc/nptl/sem_init.c: Likewise.
508 * sysdeps/sparc/nptl/sem_post.c: Likewise.
509 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
510 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
511 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
512 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
513 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
514 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
516 2014-07-09 Andreas Schwab <schwab@suse.de>
518 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
520 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
523 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
525 2014-07-09 Will Newton <will.newton@linaro.org>
527 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
528 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
529 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
530 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
531 * sysdeps/hppa/start.S (_start): Likewise.
533 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
535 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
537 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
540 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
542 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
543 after checking that it is non-NULL.
545 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
547 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
549 * sysdeps/powerpc/memmove.c: Remove file.
550 * sysdeps/powerpc/powerpc32/power4/memcopy.h
551 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
552 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
553 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
554 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
555 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
556 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
557 string memmove instead of removed powerpc one.
559 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
560 [weak_alias]: Fix compiler warning due trailing data.
561 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
562 [weak_alias]: Likewise.
563 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
564 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
566 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
567 (__libc_ifunc_impl_list): Add memmove functions.
569 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
571 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
573 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
575 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
577 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
579 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
581 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
583 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
585 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
587 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
589 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
591 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
593 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
595 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
597 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
599 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
601 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
603 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
606 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
608 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
609 to avoid alignment traps in non-cacheable memory.
610 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
612 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
614 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
615 file: multiarch power7 memmove.
616 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
617 multiarch default memmove.
618 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
619 multiarch memove for powerpc32/power4.
621 * string/bcopy.c: Use full path to include memmove.c.
622 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
624 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
626 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
629 and memmove implementations.
630 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
631 optimized multiarch memmove for POWER7/powerpc64.
632 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
633 default multiarch memmove for powerpc64.
634 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
635 multiarch for powerpc64.
636 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
637 for POWER7/powerpc64.
638 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
639 memmove for POWER7/powerpc64.
641 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
644 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
645 __ELF_NATIVE_CLASS equal to 64.
647 2014-07-07 Roland McGrath <roland@hack.frob.com>
649 * sysdeps/nptl/lowlevellock.h: File removed.
651 * NEWS: NPTL is no longer an add-on!
652 * nptl/internaltypes.h: Moved ...
653 * sysdeps/nptl/internaltypes.h: ... here.
654 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
655 * sysdeps/nptl/fork.c: Likewise.
656 * sysdeps/nptl/gai_misc.h: Likewise.
657 * sysdeps/nptl/librt-cancellation.c: Likewise.
658 * sysdeps/nptl/jmp-unwind.c: Likewise.
659 * sysdeps/nptl/setxid.h: Likewise.
660 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
661 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
662 * sysdeps/unix/sysv/linux/arm/Implies: New file.
663 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
664 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
665 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
666 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
667 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
668 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
669 * sysdeps/unix/sysv/linux/mips/Implies: New file.
670 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
671 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
672 * sysdeps/unix/sysv/linux/sh/Implies: New file.
673 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
674 * sysdeps/unix/sysv/linux/tile/Implies: New file.
675 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
676 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
677 * nptl/Makeconfig: Moved ...
678 * sysdeps/nptl/Makeconfig: ... here.
679 * nptl/configure: File removed.
680 * nptl/ANNOUNCE: File removed.
681 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
682 * sysdeps/unix/sysv/linux/configure: Regenerated.
684 * nptl/Makefile (routines): Add libc_pthread_init,
685 libc_multiple_threads, register-atfork and unregister-atfork.
686 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
687 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
688 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
689 pthread-pi-defines.sym, structsem.sym.
690 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
691 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
692 [$(subdir) = nptl] (tests): Add tst-setgetname.
693 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
694 * sysdeps/unix/sysv/linux/sigaction.c: Just include
695 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
696 [!LIBC_SIGACTION]: Remove aliases.
697 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
698 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
699 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
700 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
701 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
702 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
703 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
704 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
705 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
706 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
707 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
708 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
709 __libc_allocate_rtsig_private.
710 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
711 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
712 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
713 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
714 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
715 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
716 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
717 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
718 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
719 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
720 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
721 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
722 * nptl/internaltypes.h: ... here.
723 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
724 * sysdeps/nptl/jmp-unwind.c: ... here.
725 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
726 * nptl/libc-lowlevellock.c: ... here.
727 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
728 * nptl/libc_multiple_threads.c: ... here.
729 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
730 * nptl/libc_pthread_init.c: ... here.
731 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
732 * nptl/lowlevelbarrier.sym: ... here.
733 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
734 * nptl/lowlevelcond.sym: ... here.
735 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
736 * nptl/lowlevellock.c: ... here.
737 * nptl/lowlevellock.h: Moved ...
738 * sysdeps/nptl/lowlevellock.h: ... here.
739 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
740 * nptl/lowlevelrobustlock.c: ... here.
741 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
742 * nptl/lowlevelrobustlock.sym: ... here.
743 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
744 * nptl/lowlevelrwlock.sym: ... here.
745 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
746 * nptl/pt-fork.c: ... here.
747 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
748 * nptl/pthread-pi-defines.sym: ... here.
749 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
750 * nptl/pthread_attr_getaffinity.c: ... here.
751 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
752 * nptl/pthread_attr_setaffinity.c: ... here.
753 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
754 * nptl/pthread_mutex_cond_lock.c: ... here.
755 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
757 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
758 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
759 * nptl/pthread_once.c: ... here, replacing old file.
760 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
761 * nptl/pthread_yield.c: ... here.
762 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
763 * nptl/register-atfork.c: ... here.
764 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
765 * nptl/sem_post.c: ... here.
766 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
767 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
768 * nptl/sem_timedwait.c: ... here.
769 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
770 * nptl/sem_trywait.c: ... here.
771 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
772 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
773 * nptl/sem_wait.c: ... here.
774 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
775 * nptl/structsem.sym: ... here.
776 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
777 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
778 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
779 * nptl/unregister-atfork.c: ... here.
780 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
781 * nptl/unwindbuf.sym: ... here.
782 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
783 * sysdeps/nptl/fork.c: ... here.
784 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
785 * sysdeps/nptl/fork.h: ... here.
786 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
787 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
788 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
789 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
790 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
791 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
792 * sysdeps/unix/sysv/linux/getpid.c: ... here.
793 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
794 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
795 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
796 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
797 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
798 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
799 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
800 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
801 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
802 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
803 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
804 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
805 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
806 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
807 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
808 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
809 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
810 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
811 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
812 * sysdeps/unix/sysv/linux/raise.c: ... here.
813 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
814 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
815 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
816 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
817 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
818 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
819 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
820 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
821 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
822 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
823 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
824 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
825 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
826 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
827 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
829 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
831 * sysdeps/generic/memcopy.h: Add comment for
832 MEMCPY_OK_FOR_FWD_MEMMOVE.
834 2014-07-04 Will Newton <will.newton@linaro.org>
836 * string/memchr.c: Merge from gnulib.
837 [_LIBC]: Remove conditionals.
838 (__ptr_t): Remove define.
839 (LONG_MAX_32_BITS): Likewise.
840 (LONG_MAX): Likewise.
841 (MEMCHR): Use ANSI prototype and optimize algorithm.
843 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
845 2014-07-03 Roland McGrath <roland@hack.frob.com>
847 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
848 (lll_futex_timed_wait_bitset): Fix syscall argument count.
850 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
851 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
852 in a bare environment with no <stdlib.h> installed.
853 * sysdeps/nptl/configure: Regenerated.
855 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
857 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
858 AC_EGREP_CPP for kernel header checks, so they only succeed if
859 including <linux/version.h> actually works right.
860 * sysdeps/unix/sysv/linux/configure: Regenerated.
862 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
863 value so it's not diagnosed as unused.
865 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
866 thing) with "ifeq ($(subdir),rt)".
868 2014-07-03 Richard Henderson <rth@redhat.com>
870 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
871 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
872 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
874 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
875 (math_force_eval): New.
877 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
878 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
880 * sysdeps/alpha/fpu/s_round.c: Remove file.
881 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
883 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
884 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
885 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
886 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
887 (_dl_start, print_statistics): Likewise.
888 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
889 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
891 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
892 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
893 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
894 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
895 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
896 (HP_SMALL_TIMING_AVAIL): Define.
897 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
898 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
899 (HP_SMALL_TIMING_AVAIL): Define.
900 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
901 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
903 * sysdeps/aarch64/hp-timing.h: New file.
905 * sysdeps/generic/hp-timing.h: Remove dead comment.
906 * sysdeps/generic/hp-timing-common.h: New file.
907 * sysdeps/alpha/hp-timing.h: Include it.
908 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
909 * sysdeps/i386/i686/hp-timing.h: Likewise.
910 * sysdeps/ia64/hp-timing.h: Likewise.
911 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
912 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
913 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
914 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
915 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
916 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
919 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
920 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
921 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
922 * elf/rtld.c (_dl_start_final): Likewise.
923 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
924 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
925 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
926 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
927 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
928 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
929 (HP_TIMING_DIFF_INIT): Remove.
930 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
931 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
932 (HP_TIMING_DIFF_INIT): Remove.
933 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
934 * sysdeps/i386/i686/hp-timing.c: Remove file.
935 * sysdeps/x86_64/hp-timing.c: Remove file.
936 * sysdeps/ia64/hp-timing.c: Remove file.
937 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
938 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
939 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
940 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
942 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
943 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
944 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
945 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
946 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
947 (HP_TIMING_ACCUM): Remove.
948 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
949 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
950 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
952 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
953 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
954 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
955 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
956 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
957 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
958 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
959 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
961 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
963 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
965 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
967 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
969 Sync up with gettext.
970 * intl/loadmsgcat.c: Define O_BINARY if not defined.
971 [_MSC_VER]: Include malloc.h
972 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
973 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
974 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
975 TEMP_FAILURE_RETRY. Cast return of alloca.
976 [!_LIBC] Call gl_rwlock_init.
977 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
979 2014-07-02 Roland McGrath <roland@hack.frob.com>
981 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
982 before checking its value.
984 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
986 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
988 * debug/memcpy_chk.c: Don't include pagecopy.h.
989 * debug/mempcpy_chk.c: Likewise.
990 * string/memcpy.c: Likewise.
991 * string/memmove.c: Likewise.
992 * sysdeps/powerpc/memmove.c: Likewise.
993 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
994 definition of PAGE_COPY_FWD_MAYBE here...
995 * sysdeps/generic/pagecopy.h: ... from here.
996 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
998 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
999 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1001 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1002 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1004 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1005 (__libc_ifunc_impl_list): Likewise.
1006 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1007 multiarch strcat for PPC64.
1008 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1009 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1011 2014-07-02 Roland McGrath <roland@hack.frob.com>
1013 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1015 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1017 * intl/loadmsgcat.c: Remove declaration of
1018 get_sysdep_segment_value.
1019 (get_sysdep_segment_value): Use ISO C style.
1020 (_nl_load_domain): Use ISO C style. Get rid of redundant
1021 semicolon. Fix typo and formatting in comment.
1022 (_nl_unload_domain): Use ISO C style.
1024 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1026 2014-07-02 Will Newton <will.newton@linaro.org>
1028 * malloc/obstack.c: Merge from gnulib master.
1029 [HAVE_CONFIG_H]: Remove conditional code.
1030 [!_LIBC]: Include config.h.
1031 [!ELIDE_CODE]: Don't include inttypes.h, include
1032 stdint.h unconditionally.
1033 (print_and_abort): Mark as _Noreturn.
1034 (_obstack_allocated_p): Mark as __attribute_pure__.
1035 (obstack_free): Rename to __obstack_free.
1036 [!__attribute__]: Remove conditional code.
1037 * malloc/obstack.h: Merge from gnulib master.
1038 [__cplusplus]: Move conditional down.
1039 [!__attribute_pure__]: Define __attribute_pure__ here
1040 if it is not already defined.
1041 (_obstack_memory_used): Mark as __attribute_pure__.
1042 [!__obstack_free]: Define as obstack_free.
1043 [__GNUC__]: Remove check for ancient NeXT gcc.
1045 2014-07-02 Will Newton <will.newton@linaro.org>
1046 Paul Eggert <eggert@cs.ucla.edu>
1048 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1050 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1052 * resolv/gethnamaddr.c: Add comment warning that the file is
1055 2014-07-01 Carlos O'Donell <carlos@redhat.com>
1057 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1060 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1061 entry for aio_cancel and aio_cancel64.
1062 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1063 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1064 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1065 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1066 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1067 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1068 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1069 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1070 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1071 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1072 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1073 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1074 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1076 2014-07-01 Roland McGrath <roland@hack.frob.com>
1078 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1079 * nptl/pthread_mutex_lock.c: Likewise.
1080 * nptl/pthread_mutex_timedlock.c: Likewise.
1081 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1083 2014-07-01 Richard henderson <rth@redhat.com>
1085 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1086 (__isnan, __isnanl): Remove.
1087 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1089 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1091 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1093 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1095 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1097 * resolv/nss_dns/dns-host.c (getanswer_r)
1098 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1100 2014-07-01 Joseph Myers <joseph@codesourcery.com>
1102 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1103 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1105 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1106 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1108 2014-07-01 Roland McGrath <roland@hack.frob.com>
1110 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1111 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1113 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1114 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1116 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1117 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1119 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1120 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1122 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1123 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1124 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1125 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1127 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1128 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1129 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1130 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1131 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1133 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1135 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1136 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1137 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1138 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1139 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1140 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1141 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1142 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1143 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1144 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1145 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1146 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1147 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1148 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1149 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1150 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1151 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1152 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1153 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1154 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1156 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1157 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1158 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1159 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1160 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1161 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1162 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1163 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1165 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1167 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1168 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1169 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1172 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1176 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1178 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1179 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1181 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1183 * sysdeps/arm/libm-test-ulps: Regenerated.
1185 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1186 Roland McGrath <roland@hack.frob.com>
1188 * test-skeleton.c (signal_handler): Kill the whole process group
1189 before killing the child individually.
1190 (main): Report any failure on `setpgid'.
1192 2014-06-30 Roland McGrath <roland@hack.frob.com>
1194 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1195 from _TLS_H to _ARM_NPTL_TLS_H.
1196 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1197 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1199 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1202 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1203 (__expm1l): Return argument unchanged when small but not
1206 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1208 (_FP_UNPACK_RAW_1_P): Likewise.
1209 (_FP_PACK_RAW_1): Likewise.
1210 (_FP_PACK_RAW_1_P): Likewise.
1211 (_FP_MUL_MEAT_1_wide): Likewise.
1212 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1213 (_FP_MUL_MEAT_1_hard): Likewise.
1214 (_FP_DIV_MEAT_1_imm): Likewise.
1215 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1216 (_FP_DIV_MEAT_1_udiv): Likewise.
1217 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1218 (_FP_UNPACK_RAW_2): Likewise.
1219 (_FP_UNPACK_RAW_2_P): Likewise.
1220 (_FP_PACK_RAW_2): Likewise.
1221 (_FP_PACK_RAW_2_P): Likewise.
1222 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1223 (_FP_MUL_MEAT_2_wide): Likewise.
1224 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1225 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1226 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1227 (_FP_MUL_MEAT_2_gmp): Likewise.
1228 (_FP_DIV_MEAT_2_udiv): Likewise.
1229 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1230 (_FP_FRAC_SRL_4): Likewise.
1231 (_FP_FRAC_SRST_4): Likewise.
1232 (_FP_FRAC_SRS_4): Likewise.
1233 (_FP_UNPACK_RAW_4): Likewise.
1234 (_FP_UNPACK_RAW_4_P): Likewise.
1235 (_FP_PACK_RAW_4): Likewise.
1236 (_FP_PACK_RAW_4_P): Likewise.
1237 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1238 (_FP_MUL_MEAT_4_wide): Likewise.
1239 (_FP_MUL_MEAT_4_gmp): Likewise.
1240 (umul_ppppmnnn): Likewise.
1241 (_FP_DIV_MEAT_4_udiv): Likewise.
1242 (__FP_FRAC_ADD_4): Likewise.
1243 (__FP_FRAC_SUB_3): Likewise.
1244 (__FP_FRAC_SUB_4): Likewise.
1245 (__FP_FRAC_DEC_3): Likewise.
1246 (__FP_FRAC_DEC_4): Likewise.
1247 (__FP_FRAC_ADDI_4): Likewise.
1248 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1249 (_FP_FRAC_SRL_8): Likewise.
1250 (_FP_FRAC_SRS_8): Likewise.
1252 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1254 (FP_UNPACK_RAW_EP): Likewise.
1255 (FP_PACK_RAW_E): Likewise.
1256 (FP_PACK_RAW_EP): Likewise.
1257 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1258 (_FP_ISSIGNAN): Likewise.
1259 (_FP_ADD_INTERNAL): Likewise.
1260 (_FP_FMA): Likewise.
1261 (_FP_CMP): Likewise.
1262 (_FP_SQRT): Likewise.
1263 (_FP_TO_INT): Likewise.
1264 (_FP_FROM_INT): Likewise.
1265 (FP_EXTEND): Likewise.
1266 (_FP_DIV_MEAT_N_loop): Likewise.
1268 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1270 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1273 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1276 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1277 result with correct sign in case of exponents that produce
1278 overflow except for X very close to 1.
1280 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1282 mktime: merge #if/#ifdef usage from glibc
1283 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1284 as that works with both Glibc's and Gnulib's style.
1285 See thread starting at Siddhesh Poyarekar's bug report at:
1286 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1288 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1290 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1291 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1292 * sysdeps/tile/tilegx/memmove.c: Remove file.
1294 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1296 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1297 abi-name definition.
1298 * scripts/soversions.awk: Do not handle or generate ABI lines.
1299 * shlib-versions: Remove ABI entries.
1300 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1301 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1303 2014-06-27 Roland McGrath <roland@hack.frob.com>
1305 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1306 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1307 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1308 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1309 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1310 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1311 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1313 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1315 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1316 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1317 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1318 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1319 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1320 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1321 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1322 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1323 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1324 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1325 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1326 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1327 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1329 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1330 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1331 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1332 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1333 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1334 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1336 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1337 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1339 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1340 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1341 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1342 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1344 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1345 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1346 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1347 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1348 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1349 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1350 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1351 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1353 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1354 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1355 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1356 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1358 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1359 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1361 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1362 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1363 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1364 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1366 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1368 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1369 Identical file removed.
1370 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1372 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1373 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1374 Identical file removed.
1375 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1376 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1377 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1379 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1380 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1381 Identical file removed.
1382 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1383 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1384 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1385 Identical file removed.
1386 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1387 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1388 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1389 Identical file removed.
1390 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1391 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1392 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1393 Identical file removed.
1394 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1396 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1397 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1398 Identical file removed.
1399 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1401 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1402 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1403 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1404 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1405 Identical file removed.
1406 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1408 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1410 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1411 Identical file removed.
1412 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1414 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1415 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1416 Identical file removed.
1417 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1419 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1420 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1421 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1422 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1423 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1424 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1426 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1427 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1428 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1430 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1431 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1432 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1433 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1434 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1436 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
1439 * nscd/nscd.c (monitor_child): Return exit status of child
1440 instead of return value from wait syscall.
1442 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1444 * configure.ac (libc_commonpagesize): Remove variable.
1445 (libc_relro_required): Likewise.
1446 (libc_cv_z_relro): Remove configure test.
1447 * configure: Regenerated.
1448 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1450 (libc_relro_required): Likewise.
1451 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1452 (libc_relro_required): Likewise.
1453 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1454 (libc_relro_required): Likewise.
1455 * sysdeps/arm/preconfigure: Regenerated.
1456 * sysdeps/ia64/preconfigure: Remove file.
1457 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1459 (libc_relro_required): Likewise.
1463 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1464 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1465 recompute overflowing results in original rounding mode.
1466 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1467 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1468 recompute overflowing results in original rounding mode.
1469 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1470 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1471 recompute overflowing results in original rounding mode.
1472 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1473 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1474 recompute overflowing results in original rounding mode.
1475 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1476 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1477 recompute overflowing results in original rounding mode.
1478 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1479 (libc_feholdsetround_ctx): New macro.
1480 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1481 * sysdeps/i386/fpu/libm-test-ulps: Update.
1482 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1484 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1486 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1487 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1488 corresponding .cpsetup call.
1490 2014-06-26 Roland McGrath <roland@hack.frob.com>
1492 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1493 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1494 * sysdeps/arm/Makefile [$(subdir) = csu]
1495 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1496 (static-only-routines): Add aeabi_read_tp here.
1497 (shared-only-routines): Add libc-aeabi_read_tp here.
1498 (CFLAGS-libc-start.c): Add -fexceptions here.
1499 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1500 (sysdep_routines, static-only-routines, shared-only-routines):
1501 Don't add to these here.
1502 (CFLAGS-libc-start.c): Likewise.
1504 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1505 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1506 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1507 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1508 * sysdeps/arm/Makefile [$(subdir) = rt]
1509 (librt-sysdep_routines, librt-shared-only-routines):
1510 Append rt-aeabi_unwind_cpp_pr1 here.
1511 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1512 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1513 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1514 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1515 Append nptl-aeabi_unwind_cpp_pr1 here.
1516 (tests): Filter out tst-cleanupx4 here.
1517 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1518 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1519 Don't do those here.
1521 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1523 * scripts/list-sources.sh: Do not handle ports specially.
1525 2014-06-26 Roland McGrath <roland@hack.frob.com>
1527 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1528 * sysdeps/arm/feupdateenv.c: Likewise.
1530 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1532 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1534 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1535 trailing whitespace removed.
1536 * scripts/config.guess: Update to version 2014-03-23.
1537 * scripts/config.sub: Update to version 2014-05-01
1538 * scripts/install-sh: Update to version 2013-12-25.23.
1539 * scripts/move-if-change: Update from gnulib.
1541 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1543 * debug/memmove_chk.c: Remove pagecopy.h include.
1545 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1547 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1548 identical to gnulib mktime.
1550 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1552 * configure.ac: Do not test for machine being rs6000. Do not test
1554 * configure: Regenerated.
1556 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1558 * configure: Regenerated.
1559 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1560 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1561 Remove configure test.
1562 * sysdeps/arm/configure: Regenerated.
1563 * sysdeps/nptl/configure.ac: Do not check
1564 libc_cv_asm_cfi_directives.
1565 * sysdeps/nptl/configure: Regenerated.
1566 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1567 * sysdeps/x86_64/nptl/configure: Remove generated file.
1568 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1570 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1572 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1574 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1575 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1576 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1579 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1580 instead of whether it is defined.
1581 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1582 * sysdeps/hppa/dl-machine.h: Likewise.
1583 * sysdeps/ia64/dl-machine.h: Likewise.
1584 * sysdeps/m68k/dl-machine.h: Likewise.
1585 * sysdeps/microblaze/dl-machine.h: Likewise.
1586 * sysdeps/mips/dl-machine.: Likewise.
1587 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1588 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1589 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1590 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1591 * sysdeps/sh/dl-machine.h: Likewise.
1592 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1593 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1594 * sysdeps/tile/dl-machine.h: Likewise.
1595 * sysdeps/x86_64/dl-machine.h: Likewise.
1597 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1599 (verify_persistent_db): Likewise.
1601 2014-06-26 Roland McGrath <roland@hack.frob.com>
1603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1604 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1606 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1609 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1612 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1614 Identical file removed.
1615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1616 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1618 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1620 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1622 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1624 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1627 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1629 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1631 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1634 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1636 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1638 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1640 Identical file removed.
1641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1642 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1644 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1647 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1650 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1652 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1654 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1656 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1658 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1661 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1664 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1666 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1669 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1671 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1673 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1675 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1676 * sysdeps/unix/sysv/linux/s390/Versions
1677 (libpthread: GLIBC_2.19): New version set.
1678 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1679 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1680 (librt: GLIBC_2.3.3): New version set.
1681 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1682 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1683 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1684 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1685 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1686 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1687 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1688 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1689 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1690 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1691 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1692 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1693 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1694 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1695 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1696 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1697 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1698 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1699 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1700 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1701 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1702 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1703 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1704 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1705 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1706 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1707 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1708 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1709 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1710 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1711 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1712 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1713 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1714 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1715 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1716 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1717 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1718 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1719 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1720 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1721 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1722 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1723 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1724 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1725 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1727 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1728 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1729 (__libc_vfork): Define the function under this name.
1730 [!NOT_IN_libc] (__vfork): Make this an alias.
1731 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1732 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1733 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1734 (__libc_vfork): Define the function under this name.
1735 [!NOT_IN_libc] (__vfork): Make this an alias.
1736 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1737 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1738 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1739 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1740 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1741 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1743 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1744 code that was previously under [RESET_PID].
1745 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1746 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1747 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1749 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1750 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1751 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1752 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1753 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1754 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1755 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1756 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1757 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1758 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1759 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1761 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1762 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1763 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1764 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1765 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1766 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1767 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1768 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1769 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1770 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1771 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1772 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1773 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1774 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1775 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1776 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1777 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1778 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1779 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1780 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1781 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1782 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1783 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1784 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1785 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1786 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1787 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1788 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1789 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1791 2014-06-25 Roland McGrath <roland@hack.frob.com>
1793 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1794 that was previously under [RESET_PID].
1795 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1797 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1799 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1800 not undefine and redefine.
1801 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1802 [O_CLOEXEC]: Make code unconditional.
1803 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1804 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1805 <kernel-features.h>.
1806 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1807 conditional variable definition.
1808 (shm_open) [O_CLOEXEC]: Make code unconditional.
1809 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1812 * configure.ac (USE_REGPARMS): Don't define here.
1813 * configure: Regenerated.
1814 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1815 * sysdeps/i386/configure: Regenerated.
1817 * nptl/createthread.c: Don't include kernel-features.h.
1818 * nptl/pthread_cancel.c: Likewise.
1819 * nptl/pthread_condattr_setclock.c: Likewise.
1820 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1821 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1822 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1823 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1824 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1825 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1826 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1827 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1828 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1829 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1830 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1831 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1832 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1833 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1834 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1835 * nscd/gai.c: Likewise.
1836 * nss/nss_db/db-open.c: Likewise.
1837 * sysdeps/generic/ldsodefs.h: Likewise.
1838 * sysdeps/sh/nptl/tls.h: Likewise.
1839 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1840 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1841 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1842 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1843 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1844 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1845 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1846 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1847 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1848 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1849 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1850 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1851 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1852 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1853 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1854 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1855 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1856 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1857 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1858 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1859 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1860 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1861 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1862 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1863 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1864 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1865 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1866 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1867 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1868 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1869 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1870 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1871 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1872 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1873 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1874 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1875 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1876 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1877 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1878 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1879 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1880 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1881 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1882 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1883 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1884 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1885 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1886 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1887 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1888 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1889 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1890 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1891 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1892 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1893 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1894 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1895 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1896 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1919 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1920 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1921 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1922 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1923 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1924 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1925 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1926 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1927 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1928 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1929 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1930 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1931 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1932 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1933 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1934 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1935 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1936 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1937 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1938 * sysdeps/unix/sysv/linux/system.c: Likewise.
1939 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1940 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1941 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1942 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1943 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1944 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1945 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1947 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1948 * configure: Regenerated.
1949 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1951 * configure.ac (base_machine): Do not set specially for particular
1953 * configure: Regenerated.
1954 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1955 settings from configure.ac.
1956 * sysdeps/i386/preconfigure: New file.
1957 * sysdeps/s390/preconfigure: Likewise.
1958 * sysdeps/sh/preconfigure: Likewise.
1959 * sysdeps/sparc/preconfigure: Likewise.
1961 2014-06-25 Roland McGrath <roland@hack.frob.com>
1963 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1964 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1965 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1966 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1967 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1968 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1969 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1970 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1971 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1972 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1973 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1974 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1975 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1976 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1977 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1978 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1979 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1980 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1981 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1983 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1984 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1985 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1986 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1987 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1988 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1989 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1990 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1991 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1992 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1993 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1994 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1995 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1996 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1997 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1998 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1999 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2000 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2001 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2002 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2003 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2004 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2005 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2006 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2007 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2008 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2009 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2010 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2011 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2012 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2013 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2014 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2015 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2016 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2017 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2018 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2019 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2020 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2023 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2025 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2028 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2031 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2033 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2036 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2038 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2040 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2042 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2045 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2048 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2050 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2053 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2055 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2057 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2059 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2061 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2064 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2067 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2069 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2072 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2074 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2076 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2078 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2081 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2084 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2086 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2089 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2091 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2093 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2095 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2097 * timezone/checktab.awk: Update from tzcode 2014e.
2098 * timezone/private.h: Likewise.
2099 * timezone/tzfile.h: Likewise.
2100 * timezone/zdump.c: Likewise.
2101 * timezone/zic.c: Likewise.
2103 * sysdeps/unix/sysv/linux/kernel-features.h
2104 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2105 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2106 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2107 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2108 Remove conditional code.
2110 2014-06-25 Will Newton <will.newton@linaro.org>
2112 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2113 (_dl_arm_cap_flags): Add HWCAP2 values.
2114 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2115 (_DL_HWCAP_COUNT): Increase to 37.
2116 (_DL_HWCAP_LAST): New define.
2117 (_DL_HWCAP2_LAST): New define.
2118 (_dl_procinfo): Add support for printing
2120 (_dl_string_hwcap): Use _dl_hwcap_string.
2122 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2126 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2128 * README: Do not mention ports directory.
2130 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2132 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2133 <kernel-features.h>.
2134 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2135 conditional variable definition.
2136 (__futimes): Update comment.
2137 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2138 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2141 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2142 arguments close to 0.
2143 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2145 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2147 * math/auto-libm-test-in: Add more tests of exp10.
2148 * math/auto-libm-test-out: Regenerated.
2149 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2151 * sysdeps/unix/sysv/linux/kernel-features.h
2152 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2153 * sysdeps/unix/sysv/linux/readv.c: Do not include
2154 <kernel-features.h>.
2155 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2156 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2157 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2159 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2161 * sysdeps/unix/sysv/linux/writev.c: Do not include
2162 <kernel-features.h>.
2163 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2164 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2165 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2167 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2170 2014-06-25 Will Newton <will.newton@linaro.org>
2172 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2173 comment changes throughout the file. Remove checks
2174 for HAVE_*_H definitions that are not required.
2175 (__gen_tempname): Call abort if an unknown kind value is
2178 2014-06-25 Andreas Schwab <schwab@suse.de>
2181 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2182 scalbln, scalblnf, scalblnl in libc.
2184 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2187 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2188 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2189 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2191 2014-06-24 Roland McGrath <roland@hack.frob.com>
2193 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2194 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2195 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2196 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2198 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2199 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2201 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2202 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2203 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2204 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2205 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2206 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2207 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2208 * sysdeps/x86/bits/semaphore.h: ... here.
2209 * sysdeps/x86/nptl/elide.h: Moved ...
2210 * sysdeps/x86/elide.h: ... here.
2211 * sysdeps/x86_64/nptl/Implies: File removed.
2212 * sysdeps/i386/nptl/Implies: File removed.
2214 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2217 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2218 return the argument for normal arguments with exponent below -64.
2219 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2221 * math/auto-libm-test-in: Add another test of expm1.
2222 * math/auto-libm-test-out: Regenerated.
2225 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2226 calling __erfcl for arguments at least 16.
2227 * math/auto-libm-test-in: Add more tests of erf.
2228 * math/auto-libm-test-out: Regenerated.
2230 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2231 individual architectures.
2232 * sysdeps/unix/sysv/linux/configure: Regenerated.
2233 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2234 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2235 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2236 (ldd_rewrite_script): Define variable.
2237 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2242 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2243 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2244 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2245 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2246 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2247 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2248 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2249 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2251 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2254 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2255 Rename member __data.d to __data.__elision_data.
2257 2014-06-24 Wilco <wdijkstr@arm.com>
2259 * NEWS: Add 16918 to fixed bug list.
2261 2014-06-24 Wilco <wdijkstr@arm.com>
2263 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2265 2014-06-24 Wilco <wdijkstr@arm.com>
2267 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2268 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2269 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2270 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2271 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2272 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2273 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2276 2014-06-24 Wilco <wdijkstr@arm.com>
2278 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2280 2014-06-24 Wilco <wdijkstr@arm.com>
2282 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2283 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2284 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2285 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2287 2014-06-24 Wilco <wdijkstr@arm.com>
2290 * sysdeps/arm/feupdateenv.c (feupdateenv):
2291 Rewrite to reduce FPSCR accesses and fix return value.
2293 2014-06-24 Wilco <wdijkstr@arm.com>
2295 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2296 Optimize to avoid unnecessary FPSCR writes.
2297 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2298 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2299 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2300 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2302 2014-06-24 Wilco <wdijkstr@arm.com>
2304 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2305 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2306 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2307 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2308 Call libc_fetestexcept_vfp.
2309 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2310 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2311 __SOFTFP__ ifdef so that they can be built for softfp.
2313 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2315 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2316 argument type signed char.
2318 * Makerules (check-abi): Dump diff of symlist if the test
2321 2014-06-23 Roland McGrath <roland@hack.frob.com>
2323 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2326 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2327 Remove unused variable ST.
2329 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2333 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2334 small arguments before calling __expm1.
2335 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2336 small arguments before calling __expm1f.
2337 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2338 small arguments before calling __expm1l.
2339 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2341 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2342 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2343 spurious underflow for some cosh tests.
2344 * math/auto-libm-test-out: Regenerated.
2345 * sysdeps/i386/fpu/libm-test-ulps: Update.
2348 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2349 (__ieee754_y1): Set errno if return value overflows.
2350 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2351 (__ieee754_y1f): Set errno if return value overflows.
2352 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2353 (__ieee754_y1l): Set errno if return value overflows.
2354 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2355 (__ieee754_y1l): Set errno if return value overflows.
2356 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2357 * math/auto-libm-test-out: Regenerated.
2359 * math/gen-auto-libm-tests.c: Document use of
2360 ignore-zero-inf-sign.
2361 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2362 (input_flags): Add ignore-zero-inf-sign.
2363 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2364 * math/gen-libm-test.pl (generate_testfile): Handle
2365 ignore-zero-inf-sign.
2366 * math/auto-libm-test-in: Mark some cpow tests with
2367 ignore-zero-inf-sign and some with xfail-rounding.
2368 * math/auto-libm-test-out: Regenerated.
2369 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2370 * sysdeps/i386/fpu/libm-test-ulps: Update.
2371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2374 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2375 overflowing or underflowing operations take place with sign of
2377 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2378 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2379 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2380 (__ieee754_pow): Recompute overflowing and underflowing results in
2381 original rounding mode.
2382 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2383 (__powl_helper): Allow negative argument X and scale negated value
2384 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2385 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2386 overflowing or underflowing operations take place with sign of
2388 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2390 * math/auto-libm-test-in: Add more tests of pow.
2391 * math/auto-libm-test-out: Regenerated.
2392 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2393 (pow_tonearest_test_data): Remove.
2394 (pow_test_tonearest): Likewise.
2395 (pow_towardzero_test_data): Likewise.
2396 (pow_test_towardzero): Likewise.
2397 (pow_downward_test_data): Likewise.
2398 (pow_test_downward): Likewise.
2399 (pow_upward_test_data): Likewise.
2400 (pow_test_upward): Likewise.
2401 (main): Don't call removed functions.
2402 * sysdeps/i386/fpu/libm-test-ulps: Update.
2403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2405 2014-06-23 Roland McGrath <roland@hack.frob.com>
2407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2581 2014-06-23 Will Newton <will.newton@linaro.org>
2582 Wilco <wdijkstr@arm.com>
2584 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2585 implementation. Include get-rounding-mode.h.
2586 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2587 [!libc_feholdsetround_noex_ctx]: Define
2588 libc_feholdsetround_noex_ctx.
2589 [!libc_feholdsetround_noexf_ctx]: Define
2590 libc_feholdsetround_noexf_ctx.
2591 [!libc_feholdsetround_noexl_ctx]: Define
2592 libc_feholdsetround_noexl_ctx.
2593 (libc_feholdsetround_ctx): New function.
2594 (libc_feresetround_ctx): New function.
2595 (libc_feholdsetround_noex_ctx): New function.
2596 (libc_feresetround_noex_ctx): New function.
2598 2014-06-23 Roland McGrath <roland@hack.frob.com>
2600 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2601 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2602 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2603 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2604 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2605 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2607 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2608 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2609 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2610 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2611 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2612 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2613 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2614 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2615 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2616 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2617 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2619 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2621 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2622 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2623 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2624 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2625 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2627 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2628 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2629 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2630 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2631 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2632 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2633 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2634 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2636 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2637 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2639 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2640 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2641 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2642 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2644 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2645 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2646 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2647 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2648 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2649 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2650 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2651 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2652 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2653 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2655 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2657 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2658 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2659 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2660 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2661 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2662 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2663 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2664 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2665 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2666 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2667 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2668 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2669 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2671 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2672 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2673 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2674 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2675 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2676 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2678 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2679 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2680 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2681 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2682 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2684 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2685 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2686 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2687 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2688 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2689 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2690 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2691 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2692 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2693 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2694 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2695 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2696 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2697 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2698 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2699 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2700 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2701 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2702 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2703 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2704 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2705 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2706 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2707 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2708 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2709 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2710 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2711 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2713 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2715 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2716 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2717 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2718 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2719 (IPV6_PMTUDISC_INTERFACE): Likewise.
2720 (IPV6_PMTUDISC_OMIT): Likewise.
2722 2014-06-23 Andreas Schwab <schwab@suse.de>
2724 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2725 Remove unused errout label.
2727 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2729 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2730 macro: hardware supports Vector Crypto instructions.
2732 2014-06-23 Will Newton <will.newton@linaro.org>
2734 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2735 rather than __builtin_expect.
2737 * elf/dl-lookup.c (undefined_msg): Remove variable.
2738 (_dl_lookup_symbol_x): Replace undefined_msg with string
2741 * elf/dl-lookup.c (do_lookup_unique): New function.
2742 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2743 to a separate function.
2745 2014-06-23 Andreas Schwab <schwab@suse.de>
2748 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2749 before reading the next line.
2751 2014-06-23 Will Newton <will.newton@linaro.org>
2753 * test-skeleton.c (signal_handler): Use printf and %m
2754 rather than perror. Use printf rather than fprintf to
2755 stderr. Use puts rather than fputs to stderr.
2758 2014-06-22 Ludovic Courtès <ludo@gnu.org>
2760 * nscd/nscd.c (thread_info_t): Remove typedef.
2761 (thread_info): Remove variable.
2763 2014-06-21 Allan McRae <allan@archlinux.org>
2765 * NEWS: Mention CVE-2014-4043.
2767 2014-06-20 Roland McGrath <roland@hack.frob.com>
2769 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2770 * nptl/smp.h: ... here.
2772 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2774 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2775 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2776 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2777 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2779 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2780 * nptl/stack-aliasing.h: New file.
2781 * sysdeps/i386/i686/stack-aliasing.h: New file.
2782 * sysdeps/i386/i686/nptl/Makefile: File removed.
2783 * sysdeps/x86_64/stack-aliasing.h: New file.
2784 * sysdeps/x86_64/nptl/Makefile
2785 (CFLAGS-pthread_create.c): Variable removed.
2787 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2788 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2790 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2791 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2794 2014-06-21 Joseph Myers <joseph@codesourcery.com>
2796 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2797 (__ASSUME_SIGFRAME_V2): Remove macro.
2798 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2799 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2800 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2801 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2802 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2803 Declare as function. Remove conditional macro definitions.
2804 (__default_rt_sa_restorer): Likewise.
2805 (__default_sa_restorer_v1): Remove declaration.
2806 (__default_sa_restorer_v2): Likewise.
2807 (__default_rt_sa_restorer_v1): Likewise.
2808 (__default_rt_sa_restorer_v2): Likewise.
2809 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2810 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2811 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2813 2014-06-20 Roland McGrath <roland@hack.frob.com>
2815 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2816 (libpthread-routines): Add sysdep.
2817 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2818 * sysdeps/unix/sysv/linux/sparc/Versions
2819 (libpthread: GLIBC_2.3.3): New version set.
2820 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2821 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2822 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2823 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2824 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2825 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2827 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2828 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2829 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2830 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2831 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2832 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2833 * sysdeps/sparc/nptl/sem_init.c: ... here.
2834 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2835 * sysdeps/sparc/nptl/sem_post.c: ... here.
2836 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2837 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2838 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2839 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2840 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2841 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2842 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2843 (libpthread-routines): Add cpu_relax.
2844 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2846 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2847 (librt: GLIBC_2.3.3): New version set.
2848 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2849 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2850 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2851 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2852 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2853 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2854 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2855 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2857 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2858 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2859 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2860 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2861 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2862 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2863 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2864 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2865 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2866 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2868 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2870 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2872 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2874 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2876 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2878 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2880 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2882 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2884 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2886 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2888 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2890 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2891 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2892 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2893 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2894 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2895 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2896 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2897 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2898 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2899 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2902 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2903 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2904 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2905 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2906 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2908 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2910 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2911 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2912 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2913 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2914 * nscd/nscd.c: Likewise.
2915 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2916 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2917 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2918 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2920 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2921 <kernel-features.h>.
2922 (init_mq_netlink): Remove conditional have_sock_cloexec
2923 definitions. Remove code conditional on have_sock_cloexec < 0.
2924 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2925 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2926 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2927 <kernel-features.h>.
2928 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2929 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2931 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2933 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2934 Add tests for memset_chk and memset.
2936 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2939 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2942 * elf/tst-dl-iter-static.c: New file.
2943 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2945 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2948 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2950 * sysdeps/unix/sysv/linux/kernel-features.h
2951 (__ASSUME_F_GETOWN_EX): Remove macro.
2952 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2953 <kernel-features.h>.
2954 (miss_F_GETOWN_EX): Remove variable or macro.
2955 (do_fcntl): Do not check miss_F_GETOWN_EX.
2956 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2958 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2960 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2961 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2962 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2964 * sysdeps/unix/sysv/linux/kernel-features.h
2965 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2966 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2967 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2968 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2970 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2973 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2974 Fix calculation of the symbol's value.
2975 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2976 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2977 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2978 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2979 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2980 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2981 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2982 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2983 (modules-names): Add `tst-armtlsdescmod',
2984 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2985 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2986 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2987 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2988 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2989 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2990 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2991 ($(objpfx)tst-armtlsdescloc): New dependency.
2992 ($(objpfx)tst-armtlsdescextnow): Likewise.
2993 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2994 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2996 * sysdeps/arm/configure: Regenerate.
2998 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3000 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3001 (__atfct_seterrno_2): Likewise.
3002 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3003 <kernel-features.h>.
3004 (__ASSUME_ATFCTS): Do not undefine and redefine.
3005 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3006 (__have_atfcts): Remove conditional definition.
3007 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3008 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3009 unreachable if [__ASSUME_ATFCTS].
3010 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3011 not undefine and redefine.
3012 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3013 <kernel-features.h>.
3014 (faccessat) [__NR_faccessat]: Make code unconditional.
3015 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3016 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3017 <kernel-features.h>.
3018 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3019 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3020 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3021 <kernel-features.h>.
3022 (fchownat) [__NR_fchownat]: Make code unconditional.
3023 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3024 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3025 <kernel-features.h>.
3026 (futimesat) [__NR_futimesat]: Make code unconditional.
3027 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3028 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3029 <kernel-features.h>.
3030 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3031 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3032 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3033 <kernel-features.h>.
3034 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3035 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3036 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3037 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3038 <kernel-features.h>.
3039 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3040 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3041 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3042 <kernel-features.h>.
3043 (linkat) [__NR_linkat]: Make code unconditional.
3044 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3045 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3046 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3047 <kernel-features.h>.
3048 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3049 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3050 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3051 <kernel-features.h>.
3052 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3053 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3054 * sysdeps/unix/sysv/linux/openat.c: Do not include
3055 <kernel-features.h>.
3056 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3057 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3058 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3059 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3060 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3061 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3062 <kernel-features.h>.
3063 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3064 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3065 result of INLINE_SYSCALL directly, not via int variable.
3066 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3067 <kernel-features.h>.
3068 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3069 (renameat) [__NR_renameat]: Make code unconditional.
3070 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3071 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3072 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3073 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3074 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3075 (__ASSUME_ATFCTS): Do not undefine and redefine.
3076 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3077 <kernel-features.h>.
3078 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3079 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3080 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3081 <kernel-features.h>.
3082 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3083 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3084 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3085 (__ASSUME_ATFCTS): Do not undefine and redefine.
3086 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3087 <kernel-features.h>.
3088 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3089 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3090 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3091 <kernel-features.h>.
3092 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3093 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3095 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3097 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3099 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3102 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3103 constructed tree before returning error.
3104 * posix/bug-regexp36.c: Expand test case.
3106 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3109 * math/libm-test.inc (scalbln_test_date):
3110 Add errno expectations.
3111 * math/w_scalblnf.c: New File.
3112 Add wrapper which checks for setting errno to ERANGE.
3113 Add weak_alias for corresponding scalbln function.
3114 * math/w_scalbln.c: Likewise.
3115 * math/w_scalblnl.c: Likewise.
3116 * math/Makefile (libm-calls): Add w_scalbln.
3117 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3118 Remove weak_alias for corresponding scalbln function.
3119 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3120 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3121 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3122 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3123 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3124 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3125 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3126 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3127 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3128 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3129 Remove long_double_symbol for scalblnl function in libm, libc.
3130 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3131 Add wrapper which checks for setting errno to ERANGE.
3132 Add long_double_symbol for scalblnl function in libm, libc.
3133 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3134 Remove long_double_symbol for scalblnl in libm.
3135 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3136 Add wrapper which checks for setting errno to ERANGE.
3137 Add long_double_symbol for scalblnl function in libm.
3138 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3139 Do not use wrapper because of own implementation.
3141 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3143 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3144 3 bytes for __pad1 for x32.
3145 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3147 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3148 H.J. Lu <hongjiu.lu@intel.com>
3150 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3151 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3152 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3153 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3154 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3156 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3159 * posix/regcomp.c (parse_expression): Deallocate partially
3160 constructed tree before returning error.
3161 * posix/Makefile.c (tests): Add bug-regex36.
3162 (generated): Add bug-regex36.mtrace.
3163 (tests-special): Add $(objpfx)bug-regex36-mem.out
3164 (bug-regex36-ENV): New variable.
3165 ($(objpfx)bug-regex36-mem.out): New rule.
3166 * posix/bug-regex36.c: New file.
3168 2014-06-19 Will Newton <will.newton@linaro.org>
3170 * malloc/malloc.c (systrim): If extra is zero then return
3173 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3175 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3177 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3179 * sysdeps/aarch64/strchr.S: New file.
3181 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3184 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3185 from arguments -2 or below.
3186 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3187 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3189 2014-06-18 Andreas Schwab <schwab@suse.de>
3192 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3193 of a bracket expr not to run off the end of the string.
3194 * posix/Makefile (tests): Add tst-fnmatch3.
3195 * posix/tst-fnmatch3.c: New file.
3197 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3199 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3200 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3201 [$(cross-compiling) = no]: Likewise.
3202 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3203 [$(cross-compiling) = no]: Likewise.
3205 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3208 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3209 double, adjusted for any remainder from the high double.
3210 * math/libm-test.inc (nearbyint): Add tests.
3213 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3215 * nptl/sysdeps/powerpc/Makefile: Moved ...
3216 * sysdeps/powerpc/nptl/Makefile: ... here.
3217 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3218 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3219 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3220 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3221 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3222 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3223 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3224 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3225 * nptl/sysdeps/powerpc/tls.h: Moved ...
3226 * sysdeps/powerpc/nptl/tls.h: ... here.
3228 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3231 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3232 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3233 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3234 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3235 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3236 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3237 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3238 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3239 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3241 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3243 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3245 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3247 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3250 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3253 2014-06-16 Florian Weimer <fweimer@redhat.com>
3256 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3257 non-executed part of the test.
3259 2014-06-16 Andreas Schwab <schwab@suse.de>
3261 * string/bits/string2.h (strdup, strndup): Update feature guard.
3263 2014-06-14 David S. Miller <davem@davemloft.net>
3265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3267 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3269 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3270 that was previously under [RESET_PID].
3271 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3273 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3274 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3275 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3276 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3277 (__libc_vfork): New strong alias.
3278 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3280 2014-06-14 Andi Kleen <ak@linux.intel.com>
3282 * sysdeps/generic/elide.h: New file.
3284 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3286 * Makefile (installed-headers): Adjust path of pthread.h header.
3288 2014-06-13 Roland McGrath <roland@hack.frob.com>
3290 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3291 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3292 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3293 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3295 * nptl/sysdeps/s390/Makefile: Moved ...
3296 * sysdeps/s390/nptl/Makefile: ... here.
3297 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3298 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3299 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3300 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3301 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3302 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3303 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3304 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3305 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3306 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3307 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3308 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3309 * nptl/sysdeps/s390/tls.h: Moved ...
3310 * sysdeps/s390/nptl/tls.h: ... here.
3312 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3313 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3315 2014-06-13 David S. Miller <davem@davemloft.net>
3317 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3318 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3319 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3320 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3321 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3322 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3323 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3324 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3325 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3326 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3327 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3328 Remove RESET_PID cpp guards.
3329 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3330 Remove RESET_PID cpp guards.
3331 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3333 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3335 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3338 2014-06-13 Andi Kleen <ak@linux.intel.com>
3340 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3341 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3342 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3343 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3344 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3345 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3346 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3347 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3348 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3349 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3350 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3351 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3352 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3353 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3354 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3355 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3356 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3357 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3358 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3359 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3361 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3362 (pthread_rwlock_rdlock): Add elision.
3363 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3364 (pthread_rwlock_wrlock): Add elision.
3365 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3366 (pthread_rwlock_trywrlock): Add elision.
3367 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3368 (pthread_rwlock_tryrdlock): Add elision.
3369 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3370 (pthread_rwlock_tryrdlock): Add elision unlock.
3371 * nptl/sysdeps/pthread/pthread.h:
3372 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3373 (PTHREAD_RWLOCK_INITIALIZER,
3374 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3375 Handle new elision field.
3376 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3377 * sysdeps/arm/nptl/bits/pthreadtypes.h
3378 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3379 * sysdeps/sh/nptl/bits/pthreadtypes.h
3380 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3381 * sysdeps/tile/nptl/bits/pthreadtypes.h
3382 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3383 * sysdeps/a/nptl/bits/pthreadtypes.h
3384 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3385 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3386 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3387 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3388 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3389 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3390 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3391 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3392 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3393 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3394 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3395 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3396 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3397 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3398 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3399 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3400 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3401 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3402 (elision_init): Set try_xbegin to zero when no RTM.
3403 * sysdeps/x86/nptl/bits/pthreadtypes.h
3404 (pthread_rwlock_t): Change __pad1 to __rwelision.
3405 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3407 2014-06-13 Andi Kleen <ak@linux.intel.com>
3409 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3410 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3411 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3412 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3414 2014-06-13 Meador Inge <meadori@codesourcery.com>
3417 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3418 that the cached result has been set before returning it.
3420 2014-06-12 Roland McGrath <roland@hack.frob.com>
3422 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3423 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3424 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3425 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3426 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3427 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3429 * nptl/sysdeps/sparc/Makefile: Moved ...
3430 * sysdeps/sparc/nptl/Makefile: ... here.
3431 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3432 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3433 * nptl/sysdeps/sparc/tls.h: Moved ...
3434 * sysdeps/sparc/nptl/tls.h: ... here.
3435 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3436 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3437 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3438 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3439 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3440 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3441 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3442 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3443 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3444 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3445 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3446 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3447 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3448 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3449 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3450 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3451 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3452 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3454 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3455 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3457 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3458 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3460 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3461 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3464 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3466 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3467 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3469 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3470 (struct list_links): Type removed.
3471 (struct thread_node, struct timer_node): Replace struct list_links
3472 with struct list_head.
3473 (list_unlink_ip): Likewise.
3474 * sysdeps/pthread/timer_routines.c
3475 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3476 (list_append, list_insbefore): Likewise.
3477 (list_init): Function removed.
3478 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3479 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3480 * sysdeps/pthread/Makefile: ... here, new file.
3482 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3483 * sysdeps/nptl/Implies: ... here.
3484 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3485 * nptl/sysdeps/pthread/list.h: Moved ...
3486 * include/list.h: ... here.
3487 * nptl/sysdeps/pthread/createthread.c: Moved ...
3488 * nptl/createthread.c: ... here.
3489 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3490 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3491 * nptl/pt-longjmp.c: ... here.
3492 * nptl/sysdeps/pthread/Makefile: Moved ...
3493 * sysdeps/nptl/Makefile: ... here.
3494 * nptl/sysdeps/pthread/Subdirs: Moved ...
3495 * sysdeps/nptl/Subdirs: ... here.
3496 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3497 * sysdeps/nptl/aio_misc.h: ... here.
3498 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3499 * sysdeps/nptl/bits/libc-lock.h: ... here.
3500 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3501 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3502 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3503 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3504 * nptl/sysdeps/pthread/configure: Moved ...
3505 * sysdeps/nptl/configure: ... here.
3506 * nptl/sysdeps/pthread/configure.ac: Moved ...
3507 * sysdeps/nptl/configure.ac: ... here.
3508 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3509 * sysdeps/nptl/gai_misc.h: ... here.
3510 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3511 * sysdeps/nptl/librt-cancellation.c: ... here.
3512 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3513 * sysdeps/nptl/malloc-machine.h: ... here.
3514 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3515 * sysdeps/nptl/pthread-functions.h: ... here.
3516 * nptl/sysdeps/pthread/pthread.h: Moved ...
3517 * sysdeps/nptl/pthread.h: ... here.
3518 * nptl/sysdeps/pthread/setxid.h: Moved ...
3519 * sysdeps/nptl/setxid.h: ... here.
3520 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3521 * sysdeps/nptl/sigfillset.c: ... here.
3522 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3523 * sysdeps/nptl/tcb-offsets.h: ... here.
3524 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3525 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3526 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3527 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3528 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3529 * sysdeps/pthread/allocalim.h: ... here.
3530 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3531 * sysdeps/pthread/bits/sigthread.h: ... here.
3532 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3533 * sysdeps/pthread/flockfile.c: ... here.
3534 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3535 * sysdeps/pthread/ftrylockfile.c: ... here.
3536 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3537 * sysdeps/pthread/funlockfile.c: ... here.
3538 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3539 * sysdeps/pthread/posix-timer.h: ... here.
3540 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3541 * sysdeps/pthread/timer_create.c: ... here.
3542 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3543 * sysdeps/pthread/timer_delete.c: ... here.
3544 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3545 * sysdeps/pthread/timer_getoverr.c: ... here.
3546 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3547 * sysdeps/pthread/timer_gettime.c: ... here.
3548 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3549 * sysdeps/pthread/timer_routines.c: ... here.
3550 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3551 * sysdeps/pthread/timer_settime.c: ... here.
3552 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3553 * sysdeps/pthread/tst-timer.c: ... here.
3554 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3555 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3557 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3558 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3560 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3561 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3562 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3563 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3564 Update #include target.
3565 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3566 * sysdeps/i386/i686/nptl/Makefile: ... here.
3567 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3568 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3569 Update #include target.
3570 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3571 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3572 * nptl/sysdeps/i386/Makefile: Moved ...
3573 * sysdeps/i386/nptl/Makefile: ... here.
3574 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3575 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3576 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3577 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3578 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3579 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3580 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3581 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3582 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3583 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3584 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3585 * nptl/sysdeps/i386/tls.h: Moved ...
3586 * sysdeps/i386/nptl/tls.h: ... here.
3588 * sysdeps/sh/Makefile [$(subdir) = csu]
3589 (gen-as-const-headers): Add tcb-offsets.sym.
3590 * nptl/sysdeps/sh/Makefile: File removed.
3591 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3592 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3593 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3594 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3595 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3596 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3597 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3598 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3599 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3600 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3601 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3602 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3603 * nptl/sysdeps/sh/tls.h: Moved ...
3604 * sysdeps/sh/nptl/tls.h: ... here.
3605 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3606 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3607 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3608 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3609 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3610 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3611 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3612 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3613 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3614 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3615 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3616 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3617 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3618 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3619 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3620 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3621 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3622 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3623 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3624 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3625 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3626 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3627 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3628 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3629 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3631 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3632 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3634 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3635 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3636 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3637 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3638 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3639 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3640 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3641 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3642 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3643 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3644 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3645 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3646 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3647 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3648 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3649 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3650 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3651 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3652 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3654 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3656 * posix/spawn_faction_addopen.c: Include string.h.
3658 2014-06-11 Roland McGrath <roland@hack.frob.com>
3660 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3661 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3662 * nptl/sysdeps/x86_64/Makefile: Moved ...
3663 * sysdeps/x86_64/nptl/Makefile: ... here.
3664 * nptl/sysdeps/x86_64/configure: Moved ...
3665 * sysdeps/x86_64/nptl/configure: ... here.
3666 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3667 * sysdeps/x86_64/nptl/configure.ac: ... here.
3668 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3669 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3670 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3671 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3672 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3673 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3674 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3675 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3676 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3677 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3678 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3679 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3680 * nptl/sysdeps/x86_64/tls.h: Moved ...
3681 * sysdeps/x86_64/nptl/tls.h: ... here.
3682 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3683 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3684 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3685 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3687 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3689 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3693 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3695 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3697 [POSIX] (off_t): Likewise.
3698 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3699 [POSIX] (S_ISBLK): Require macro.
3700 [POSIX] (S_ISCHR): Likewise.
3701 [POSIX] (S_ISDIR): Likewise.
3702 [POSIX] (S_ISFIFO): Likewise.
3703 [POSIX] (S_ISREG): Likewise.
3704 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3706 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3708 [POSIX] (time_t): Likewise.
3709 [POSIX] (timer_t): Likewise.
3711 2014-06-11 Florian Weimer <fweimer@redhat.com>
3714 * posix/spawn_int.h (struct __spawn_action): Make the path string
3715 non-const to support deallocation.
3716 * posix/spawn_faction_addopen.c
3717 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3718 * posix/spawn_faction_destroy.c
3719 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3720 path in all spawn_do_open actions.
3721 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3722 posix_spawn_file_actions_addopen.
3724 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3726 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3727 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3728 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3729 conditional code always true.
3730 (__libc_vfork): New alias.
3732 2014-06-11 Roland McGrath <roland@hack.frob.com>
3734 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3735 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3737 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3739 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3740 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3742 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3743 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3745 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3746 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3748 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3750 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3751 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3752 multiarch strcmp for PPC64.
3753 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3754 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3755 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3756 multiarch optimizations.
3757 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3758 (__libc_ifunc_impl_list): Likewise.
3760 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3762 * benchtests/scripts/validate_benchout.py: New script.
3763 * benchtests/Makefile (bench-func): Call it.
3764 * benchtests/scripts/benchout.schema.json: New file.
3766 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3768 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3769 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3770 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3771 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3772 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3773 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3774 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3775 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3776 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3777 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3778 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3779 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3780 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3781 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3782 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3783 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3817 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3819 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3821 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3887 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3888 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3889 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3890 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3891 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3893 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3895 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3896 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3897 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3898 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3899 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3900 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3901 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3902 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3903 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3904 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3905 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3906 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3907 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3909 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3910 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3912 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3913 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3914 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3915 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3917 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3918 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3919 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3920 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3921 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3922 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3923 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3925 2014-06-10 Wilco <wdijkstr@arm.com>
3927 * math/test-fenv-return.c: New file.
3928 * math/Makefile: Add new test test-fenv-return.
3930 2014-06-10 Joseph Myers <joseph@codesourcery.com>
3933 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3935 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3936 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3937 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3938 0.0L for an argument of 1.0L.
3939 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3941 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3942 value when x - 1 is zero.
3943 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3944 * sysdeps/i386/fpu/libm-test-ulps: Update.
3945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3947 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3950 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3952 2014-06-09 Roland McGrath <roland@hack.frob.com>
3954 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3955 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3957 2014-06-09 Roland McGrath <roland@hack.frob.com>
3959 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3960 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3962 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3963 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3965 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3966 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3968 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3969 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3971 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3972 if not already defined.
3973 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3974 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3975 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3976 (TLS_INIT_TP): Use it.
3977 (TLS_DEFINE_INIT_TP): New macro.
3978 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3980 2014-06-09 Joseph Myers <joseph@codesourcery.com>
3982 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3984 [POSIX] (IXANY): Likewise.
3985 [POSIX] (OLCUC): Likewise.
3986 [POSIX || POSIX2008] (CBAUD): Do not allow.
3987 [POSIX || POSIX2008] (DEFECHO): Likewise.
3988 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3989 [POSIX || POSIX2008] (ECHOKE): Likewise.
3990 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3991 [POSIX || POSIX2008] (EXTA): Likewise.
3992 [POSIX || POSIX2008] (EXTB): Likewise.
3993 [POSIX || POSIX2008] (FLUSHO): Likewise.
3994 [POSIX || POSIX2008] (LOBLK): Likewise.
3995 [POSIX || POSIX2008] (PENDIN): Likewise.
3996 [POSIX || POSIX2008] (SWTCH): Likewise.
3997 [POSIX || POSIX2008] (VDISCARD): Likewise.
3998 [POSIX || POSIX2008] (VDSUSP): Likewise.
3999 [POSIX || POSIX2008] (VLNEXT): Likewise.
4000 [POSIX || POSIX2008] (VREPRINT): Likewise.
4001 [POSIX || POSIX2008] (VSTATUS): Likewise.
4002 [POSIX || POSIX2008] (VWERASE): Likewise.
4003 (B*): Change to B[0123456789]*.
4004 * conform/data/time.h-data [POSIX || UNIX98]
4005 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4006 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4007 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4008 [POSIX] (tm_*): Do not allow.
4010 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4012 * Makefile (install): Don't set LANGUAGE.
4013 * Makefile.in (install): Likewise.
4014 * assert/Makefile (test-assert-ENV): Remove variable.
4015 (test-assert-perr-ENV): Likewise.
4016 * elf/Makefile (neededtest4-ENV): Likewise.
4017 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4018 [$(cross-compiling) = no]: Don't set LANGUAGE.
4019 * io/ftwtest-sh (LANG): Remove variable.
4020 * libio/Makefile (tst-widetext-ENV): Likewise.
4021 * manual/install.texi (Running make install): Don't refer to
4022 environment settings for make install.
4023 * INSTALL: Regenerated.
4024 * nptl/tst-tls6.sh: Don't set LANG.
4025 * posix/globtest.sh (LANG): Remove variable.
4026 * string/Makefile (tester-ENV): Likewise.
4027 (inl-tester-ENV): Likewise.
4028 (noinl-tester-ENV): Likewise.
4029 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4030 [$(cross-compiling) = no]: Don't set LANGUAGE.
4031 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4032 without explicit environment settings.
4034 2014-06-06 Roland McGrath <roland@hack.frob.com>
4036 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4037 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4038 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4039 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4041 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4043 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4044 other files in the crypt directory.
4045 * crypt/crypt.c: Remove duplicate includes.
4046 * crypt/crypt-entry.c: Likewise.
4047 * crypt/crypt_util.c: Likewise.
4049 2014-06-06 Joseph Myers <joseph@codesourcery.com>
4051 * Makeconfig (run-program-env): New variable.
4052 (run-program-prefix-before-env): Likewise.
4053 (run-program-prefix-after-env): Likewise.
4054 (run-program-prefix): Define in terms of new variables.
4055 (built-program-cmd-before-env): New variable.
4056 (built-program-cmd-after-env): Likewise.
4057 (built-program-cmd): Define in terms of new variables.
4058 (test-program-prefix-before-env): New variable.
4059 (test-program-prefix-after-env): Likewise.
4060 (test-program-prefix): Define in terms of new variables.
4061 (test-program-cmd-before-env): New variable.
4062 (test-program-cmd-after-env): Likewise.
4063 (test-program-cmd): Define in terms of new variables.
4064 * Rules (make-test-out): Use $(run-program-env).
4065 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4066 (help): Do not mention environment variables. Mention
4067 --timeoutfactor option.
4068 (timeoutfactor): New variable.
4069 (blacklist_exports): Remove function.
4070 (exports): Remove variable.
4071 (command): Do not include ${exports}.
4072 * manual/install.texi (Configuring and compiling): Do not mention
4073 test wrappers preserving environment variables. Mention that last
4074 assignment to a variable must take precedence.
4075 * INSTALL: Regenerated.
4076 * benchtests/Makefile (run-bench): Use $(run-program-env).
4077 * catgets/Makefile ($(objpfx)test1.cat): Use
4078 $(built-program-cmd-before-env), $(run-program-env) and
4079 $(built-program-cmd-after-env).
4080 ($(objpfx)test2.cat): Do not specify environment variables
4082 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4083 $(run-program-env) and $(built-program-cmd-after-env).
4084 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4085 $(run-program-env) and $(test-program-cmd-after-env).
4086 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4088 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4089 run_program_env and test_program_cmd_after_env arguments.
4090 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4091 * elf/tst-pathopt.sh: Use run_program_env argument.
4092 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4093 $(test-wrapper-env) and $(run-program-env).
4094 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4095 run_program_env arguments.
4096 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4097 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4098 $(test-program-prefix-before-env), $(run-program-env) and
4099 $(test-program-prefix-after-env).
4100 ($(objpfx)tst-gettext2.out): Likewise.
4101 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4102 run_program_env and test_program_prefix_after_env arguments.
4103 * intl/tst-gettext2.sh: Likewise.
4104 * intl/tst-gettext4.sh: Do not set environment variables
4106 * intl/tst-gettext6.sh: Likewise.
4107 * intl/tst-translit.sh: Likewise.
4108 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4109 $(test-program-prefix-before-env), $(run-program-env) and
4110 $(test-program-prefix-after-env).
4111 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4112 run_program_env and test_program_prefix_after_env arguments.
4113 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4114 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4115 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4116 explicitly with each use of ${test_wrapper_env}.
4117 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4118 $(test-program-prefix-before-env), $(run-program-env) and
4119 $(test-program-prefix-after-env).
4120 * posix/tst-getconf.sh: Do not set environment variables
4122 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4123 run_program_env and test_program_prefix_after_env arguments.
4124 * stdio-common/tst-printf.sh: Do not set environment variables
4126 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4127 $(test-program-prefix-before-env), $(run-program-env) and
4128 $(test-program-prefix-after-env).
4129 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4130 run_program_env and test_program_prefix_after_env arguments.
4131 Split $test calls into $test_pre and $test.
4132 * timezone/Makefile (build-testdata): Use
4133 $(built-program-cmd-before-env), $(run-program-env) and
4134 $(built-program-cmd-after-env).
4136 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4138 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4139 strlen for non SHARED builds.
4141 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4143 * nptl/allocatestack.c (check_list): Inlined function...
4144 (__reclaim_stacks): ... here.
4146 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4149 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4152 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4154 * Rules (make-test-out): Include
4155 LOCPATH=$(common-objpfx)localedata in default environment.
4156 * debug/Makefile (tst-chk1-ENV): Remove variable.
4157 (tst-chk2-ENV): Likewise.
4158 (tst-chk3-ENV): Likewise.
4159 (tst-chk4-ENV): Likewise.
4160 (tst-chk5-ENV): Likewise.
4161 (tst-chk6-ENV): Likewise.
4162 (tst-lfschk1-ENV): Likewise.
4163 (tst-lfschk2-ENV): Likewise.
4164 (tst-lfschk3-ENV): Likewise.
4165 (tst-lfschk4-ENV): Likewise.
4166 (tst-lfschk5-ENV): Likewise.
4167 (tst-lfschk6-ENV): Likewise.
4168 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4169 (tst-iconv7-ENV): Likewise.
4170 * intl/Makefile (LOCPATH-ENV): Likewise.
4171 (tst-codeset-ENV): Likewise.
4172 (tst-gettext3-ENV): Likewise.
4173 (tst-gettext5-ENV): Likewise.
4174 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4175 (tst-fopenloc-ENV): Likewise.
4176 (tst-fgetws-ENV): Remove variable.
4177 (tst-ungetwc1-ENV): Likewise.
4178 (tst-ungetwc2-ENV): Likewise.
4179 (bug-ungetwc2-ENV): Likewise.
4180 (tst-swscanf-ENV): Likewise.
4181 (bug-ftell-ENV): Likewise.
4182 (tst-fgetwc-ENV): Likewise.
4183 (tst-fseek-ENV): Likewise.
4184 (tst-ftell-partial-wide-ENV): Likewise.
4185 (tst-ftell-active-handler-ENV): Likewise.
4186 (tst-ftell-append-ENV): Likewise.
4187 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4188 (tst-regexloc-ENV): Likewise.
4189 (bug-regex1-ENV): Likewise.
4190 (tst-regex-ENV): Likewise.
4191 (tst-regex2-ENV): Likewise.
4192 (bug-regex5-ENV): Likewise.
4193 (bug-regex6-ENV): Likewise.
4194 (bug-regex17-ENV): Likewise.
4195 (bug-regex18-ENV): Likewise.
4196 (bug-regex19-ENV): Likewise.
4197 (bug-regex20-ENV): Likewise.
4198 (bug-regex22-ENV): Likewise.
4199 (bug-regex23-ENV): Likewise.
4200 (bug-regex25-ENV): Likewise.
4201 (bug-regex26-ENV): Likewise.
4202 (bug-regex30-ENV): Likewise.
4203 (bug-regex32-ENV): Likewise.
4204 (bug-regex33-ENV): Likewise.
4205 (bug-regex34-ENV): Likewise.
4206 (bug-regex35-ENV): Likewise.
4207 (tst-rxspencer-ENV): Likewise.
4208 (tst-rxspencer-no-utf8-ENV): Likewise.
4209 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4210 (tst-sscanf-ENV): Likewise.
4211 (tst-swprintf-ENV): Likewise.
4212 (tst-swscanf-ENV): Likewise.
4213 (test-vfprintf-ENV): Likewise.
4214 (scanf13-ENV): Likewise.
4215 (bug14-ENV): Likewise.
4216 (tst-grouping-ENV): Likewise.
4217 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4218 (tst-strtod3-ENV): Likewise.
4219 (tst-strtod4-ENV): Likewise.
4220 (tst-strtod5-ENV): Likewise.
4221 (testmb2-ENV): Likewise./
4222 * string/Makefile (tst-strxfrm-ENV): Likewise.
4223 (tst-strxfrm2-ENV): Likewise.
4224 (bug-strcoll1-ENV): Likewise.
4225 (test-strcasecmp-ENV): Likewise.
4226 (test-strncasecmp-ENV): Likewise.
4227 * time/Makefile (tst-strptime-ENV): Likewise.
4228 (tst-ftime_l-ENV): Likewise.
4229 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4230 (tst-mbrtowc-ENV): Likewise.
4231 (tst-wcrtomb-ENV): Likewise.
4232 (tst-mbrtowc2-ENV): Likewise.
4233 (tst-c16c32-1-ENV): Likewise.
4234 (tst-mbsnrtowcs-ENV): Likewise.
4236 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4238 * manual/resource.texi (How to get information about the memory
4239 subsystem?): Fix typo.
4240 Reported by Peon de la Parra Ivan <peon@keba.com>
4242 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4245 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4246 (pthread_spin_lock): Branch out of spin loop to proper location.
4247 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4248 (pthread_spin_lock): Likewise.
4250 * nptl/tst-spin4.c: New test.
4251 * nptl/Makefile (tests): Add tst-spin4.
4253 2014-06-03 Andreas Schwab <schwab@suse.de>
4256 * resolv/res_send.c (send_dg): Reload file descriptor after
4259 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4261 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4263 2014-06-03 Richard Henderson <rth@redhat.com>
4265 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4266 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4267 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4268 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4269 in the SAVE_PID block.
4270 (__libc_vfork): New alias.
4271 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4273 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4274 child in registers, not on the stack. Remove RESET_PID conditionals.
4275 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4277 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4279 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4281 2014-06-03 Wilco <wdijkstr@arm.com>
4283 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4284 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4285 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4286 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4287 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4290 2014-06-03 Wilco <wdijkstr@arm.com>
4292 * sysdeps/aarch64/fpu/math_private.h
4293 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4294 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4295 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4296 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4299 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4301 * crypt/crypt-private.h: Include ufc-crypt.h.
4302 (__b64_from_24bit): Declare extern.
4303 * crypt/crypt_util.c(__b64_from_24bit): New function.
4304 (b64t): New static const variable.
4305 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4306 (b64t): Remove variable.
4307 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4308 * crypt/sha256-crypt.c: Include crypt-private.h.
4309 (b64t): Remove variable.
4310 (__sha256_crypt_r): Remove b64_from_24bit and replace
4311 with __b64_from_24bit.
4312 * crypt/sha512-crypt.c: Likewise.
4314 2014-06-02 Roland McGrath <roland@hack.frob.com>
4316 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4317 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4318 Label the code __libc_vfork rather than __vfork.
4319 [!NOT_IN_libc] (vfork): Define as weak alias.
4320 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4321 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4322 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4324 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4326 * malloc/malloc.c (malloc_info): Fix format specifier for
4329 2014-06-02 Wilco <wdijkstr@arm.com>
4331 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4334 2014-06-02 Wilco <wdijkstr@arm.com>
4337 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4338 Rewrite to reduce FPCR/FPSR accesses.
4340 2014-06-01 David S. Miller <davem@davemloft.net>
4342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4344 2014-05-31 David S. Miller <davem@davemloft.net>
4346 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4347 to occur in round to nearest mode when |x| >= 2.0
4349 2014-05-30 Richard Henderson <rth@twiddle.net>
4351 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4352 (PSEUDO_RET_NOERRNO): Remove.
4353 (ret): Don't redefine.
4354 (ret_NOERRNO): Define in terms of ret.
4355 (ret_ERRVAL): Likewise.
4357 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4358 use of PSEUDO_RET; perform the error check directly.
4360 2014-05-30 Marko Myllynen <myllynen@redhat.com>
4362 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4365 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4367 * malloc/malloc (malloc_info): Fix formatting.
4369 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4370 Roland McGrath <roland@hack.frob.com>
4372 * malloc/malloc (malloc_info): Also print mmapped statistics.
4374 2014-05-30 Roland McGrath <roland@hack.frob.com>
4376 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4377 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4379 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
4381 * malloc/malloc.c (malloc_info): Inline mi_arena.
4383 2014-05-29 Richard Henderson <rth@twiddle.net>
4385 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4386 Remove comma before expanding ASM_ARGS_##nr.
4387 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4388 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4390 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4391 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4392 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4393 (ASM_ARGS_1): Add leading comma.
4395 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4396 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4397 to __errno_location.
4398 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4399 Remove the expected plt for __errno_location.
4401 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4402 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4405 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4406 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4407 it and break it down.
4408 (DOCARGS_0, DOCARGS_1): Do nothing.
4409 (DOCARGS_2): Update to store into the new stack frame.
4410 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4411 (UNDOCARGS_1): Update to restore from the new stack frame.
4412 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4413 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4415 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4416 (SINGLE_THREAD_P): New parameter for result regno.
4417 (PSEUDO): Update to match; use cbz instead of beq.
4419 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4420 Use ENTRY to define the _nocancel entry point. Share the syscall
4421 and syscall error check paths with the cancel path.
4424 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4425 whitespace; tabs before and after asm mnemonics.
4427 2014-05-29 Eric Wong <normalperson@yhbt.net>
4430 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4431 Call fstat64 or stat64 internally, depending on arguments passed.
4432 Replace stat buffer argument with file descriptor argument.
4433 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4434 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4435 Pass fd to __internal_statvfs instead of calling fstat64.
4436 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4437 Pass fd to __internal_statvfs64 instead of calling fstat64.
4438 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4439 Pass -1 to __internal_statvfs instead of calling stat64.
4440 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4441 Pass -1 to __internal_statvfs64 instead of calling stat64.
4443 2014-05-28 Roland McGrath <roland@hack.frob.com>
4445 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4446 that was previously under [RESET_PID].
4447 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4449 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4450 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4452 2014-05-27 Roland McGrath <roland@hack.frob.com>
4454 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4456 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4457 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4459 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4461 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4463 2014-05-27 Andreas Schwab <schwab@suse.de>
4465 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4467 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4468 * elf/rtld.c (init_tls, dl_main): Likewise.
4469 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4470 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4471 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4472 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4473 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4474 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4475 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4476 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4477 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4478 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4479 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4480 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4481 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4482 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4483 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4484 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4485 * sysdeps/generic/tls.h: Update description.
4487 2014-05-27 Will Newton <will.newton@linaro.org>
4490 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4491 and restore r2 rather than just restoring.
4493 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4496 * libio/tst-ftell-append.c: New test case.
4497 * libio/Makefile (tests): Add test case.
4498 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4500 * libio/wfileops.c (do_ftell_wide): Likewise.
4502 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4506 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4510 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4511 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4512 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4513 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4514 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4515 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4516 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4519 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4522 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4523 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4524 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4525 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4526 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4528 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4529 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4531 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4533 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4535 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4536 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4537 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4539 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4540 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4541 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4542 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4544 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4547 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4550 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4553 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4557 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4560 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4565 conditional [RESET_PID].
4566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4567 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4569 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4574 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4575 (__libc_vfork): New strong alias.
4576 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4578 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4583 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4584 (__libc_vfork): New strong alias.
4585 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4587 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4590 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4592 * malloc/malloc.c (mi_arena): New function.
4593 (malloc_info): Remove nested function mi_arena. Call non-nosted
4596 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4598 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4600 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4601 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4602 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4603 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4604 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4605 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4606 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4608 2014-05-26 Andreas Schwab <schwab@suse.de>
4611 * locale/programs/repertoire.c (repertoire_read): Add slash
4612 between I18NPATH element and file name.
4613 * locale/programs/locfile.c (locfile_read): Likewise.
4615 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4617 * nptl/pthread_mutexattr_settype.c
4618 (__pthread_mutexattr_settype):
4619 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4621 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4623 * nptl/tst-mutex5 (do_test):
4624 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4626 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4628 * benchtests/README: Document 'init' directive.
4629 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4631 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4632 (parse_file): Recognize 'init' directive.
4634 2014-05-26 Kyle McMartin <kyle@redhat.com>
4637 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4638 alignment of struct pthread.
4640 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4643 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4644 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4645 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4646 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4648 2014-05-25 Richard Henderson <rth@twiddle.net>
4650 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4651 (SINGLE_THREAD_P_PIC): Remove.
4652 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4653 (SINGLE_THREAD_P_PIC): Remove.
4655 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4656 branch to syscall error ...
4658 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4659 from __local_syscall_error to .Lsyscall_error.
4660 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4661 (SYSCALL_ERROR): Update label name.
4663 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4664 Do not use DOARGS/UNDOARGS.
4665 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4666 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4667 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4668 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4669 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4671 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4674 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4675 define if !NOT_IN_libc.
4676 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4677 define with non-default symbol versions.
4679 2014-05-23 Richard Henderson <rth@twiddle.net>
4681 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4682 (vfork, __vfork): Define via compat_symbol.
4684 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4685 [!HAVE_IFUNC] (vfork_compat): Remove.
4686 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4688 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4691 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4692 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4695 2014-05-23 Richard Henderson <rth@twiddle.net>
4697 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4698 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4699 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4700 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4702 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4703 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4704 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4705 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4706 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4707 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4708 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4709 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4710 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4711 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4712 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4713 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4714 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4715 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4716 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4717 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4718 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4719 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4720 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4721 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4722 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4723 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4724 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4725 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4726 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4727 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4728 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4729 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4730 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4731 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4732 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4733 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4734 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4735 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4736 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4737 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4738 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4739 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4740 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4741 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4742 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4743 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4744 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4745 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4746 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4747 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4748 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4749 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4750 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4751 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4752 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4753 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4754 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4755 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4756 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4757 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4759 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4760 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4761 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4762 before exiting on error.
4763 (__libc_vfork): New strong alias.
4764 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4765 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4767 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4768 that was previously under [RESET_PID].
4769 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4771 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4773 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4776 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4777 value when x - 1 is zero.
4778 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4779 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4780 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4781 0.0L for an argument of 1.0L.
4782 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4784 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4785 value when x - 1 is zero.
4786 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4787 * sysdeps/i386/fpu/libm-test-ulps: Update.
4788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4790 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4792 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4793 alphasort and versionsort.
4795 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4797 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4799 [copysignf]: Likewise.
4801 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4803 * crypt/md5-crypt.c: Fix formatting.
4805 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4807 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4808 (b64_from_24bit): New function.
4810 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4812 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4813 libc_hidden_builtin_def to ifunc.
4814 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4815 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4817 2014-05-21 Roland McGrath <roland@hack.frob.com>
4819 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4820 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4822 2014-05-21 Joseph Myers <joseph@codesourcery.com>
4824 * nscd/Depend (linuxthreads): Remove.
4826 * resolv/Depend (linuxthreads): Remove.
4827 * rt/Depend (linuxthreads): Remove.
4829 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4830 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4831 $(common-objpfx)elf/.
4832 (link-libc-before-gnulib): Likewise.
4833 (elfobjdir): Remove variable.
4834 * Makefile (install): Use $(elf-objpfx) instead of
4835 $(common-objpfx)elf/.
4836 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4838 (link-libc-deps): Likewise.
4839 ($(common-objpfx)libc.so): Likewise.
4840 ($(common-objpfx)linkobj/libc.so): Likewise.
4841 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4842 instead of $(common-objpfx)elf/.
4843 (symbolic-link-list): Likewise.
4844 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4845 [$(cross-compiling) = no]: Likewise.
4846 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4848 (static-gnulib-arch): Likewise.
4849 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4850 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4851 $(common-objpfx)elf/.
4853 2014-05-21 Richard Henderson <rth@redhat.com>
4855 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4856 (SINGLE_THREAD_P): Use the correct width load. Fold
4857 into the ldr offset.
4859 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4860 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4862 2014-05-20 Joseph Myers <joseph@codesourcery.com>
4864 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4865 (libgcc_s_resume): Use __attribute_used__.
4866 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4869 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4871 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4872 optimization when used with float constants.
4874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4876 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4879 * locale/nl_langinfo_l.c: Make direct reference to every
4880 _nl_current_CATEGORY symbol.
4881 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4882 (tests-static): Add tst-langinfo-static.
4883 (tests-special): Add tst-langinfo-static.out.
4884 ($(objpfx)tst-langinfo.out): Redirect output.
4885 ($(objpfx)tst-langinfo-static.out): New.
4886 * localedata/tst-langinfo.sh: Send output to stdout.
4887 * localedata/tst-langinfo-static.c: New file.
4890 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4891 when the shift amount is modulo the limb size.
4893 2014-05-20 Richard Henderson <rth@redhat.com>
4896 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4897 Change type of sa_flags from unsigned int to int.
4900 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4902 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4904 2014-05-20 Will Newton <will.newton@linaro.org>
4906 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4907 Test the return value of the system call in the nocancel case.
4909 2014-05-20 Will Newton <will.newton@linaro.org>
4910 Yvan Roux <yvan.roux@linaro.org>
4912 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4913 #include of asm/ptrace.h.
4914 (PTRACE_GET_THREAD_AREA): Remove #undef.
4915 (PTRACE_GETHBPREGS): Likewise.
4916 (PTRACE_SETHBPREGS): Likewise.
4917 (struct user_regs_struct): New structure.
4918 (struct user_fpsimd_struct): New structure.
4919 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4920 #include of asm/ptrace.h and second #include of sys/user.h.
4921 (PTRACE_GET_THREAD_AREA): Remove #undef.
4922 (PTRACE_GETHBPREGS): Likewise.
4923 (PTRACE_SETHBPREGS): Likewise.
4924 (ELF_NGREG): Use new struct user_regs_struct.
4925 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4927 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4929 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4930 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4932 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4935 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4936 membar to avoid block loads/stores to overlap previous stores.
4938 2014-05-17 Richard Henderson <rth@redhat.com>
4940 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4941 Create the __##syscall_name##_nocancel entry point.
4942 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4943 Remove; let the sysdep-cancel.h code create it.
4945 2014-05-17 David S. Miller <davem@davemloft.net>
4947 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4948 Protect with __USE_GNU.
4949 (TIOCSET_TEMPT): Likewise.
4950 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4951 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4952 these are already provided in bits/ioctl-types.h
4954 2014-05-16 Roland McGrath <roland@hack.frob.com>
4956 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4957 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4959 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4960 Use wait4 regardless of [__NR_waitpid].
4962 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4965 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4966 (_FP_NANSIGN_Q): Set the quiet bit.
4968 2014-05-16 Joseph Myers <joseph@codesourcery.com>
4970 * benchtests/Makefile
4971 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4972 not $(common-objpfx)math/libm.so.
4973 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4974 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4975 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4976 $(common-objpfx)dlfcn/libdl.so.
4977 ($(objpfx)tst-audit8): Depend on $(libm), not
4978 $(common-objpfx)math/libm.so.
4979 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4980 not $(common-objpfx)dlfcn/libdl.so.
4982 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4983 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4984 [$(build-shared) = yes].
4985 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4986 $(common-objpfx)nptl/libpthread.so.
4987 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4988 $(common-objpfx)math/libm.so$(libm.so-version) or
4989 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4990 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4991 $(common-objpfx)dlfcn/libdl.so.
4992 * setjmp/Makefile (link-libm): Remove variable.
4993 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4994 * stdio-common/Makefile (link-libm): Remove variable.
4995 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4996 * stdlib/Makefile (link-libm): Remove variable.
4997 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4998 ($(objpfx)tst-strtod-round): Likewise.
4999 ($(objpfx)tst-tininess): Likewise.
5000 ($(objpfx)tst-strtod-underflow): Likewise.
5001 ($(objpfx)tst-strtod6): Likewise.
5002 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5003 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5004 $(common-objpfx)dlfcn/libdl.so.
5006 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5008 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5009 BSD terminal modes definitions.
5011 2014-05-16 Roland McGrath <roland@hack.frob.com>
5013 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5014 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5016 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5017 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5018 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5019 Don't do #include_next.
5020 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5021 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5022 Don't do #include_next.
5023 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5024 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5025 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5026 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5028 2014-05-16 Allan McRae <allan@archlinux.org>
5030 * po/sv.po: Update Swedish translation from translation project.
5032 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5035 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5038 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5039 errno if the TIOCGPTN ioctl fails with an error different than
5041 * login/tst-ptsname.c: New file.
5042 * login/Makefile (tests): Add tst-ptsname.
5045 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5048 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5051 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5052 herrno to return EAI_AGAIN.
5054 2014-05-14 Roland McGrath <roland@hack.frob.com>
5056 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5057 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5058 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5059 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5060 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5061 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5062 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5063 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5064 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5065 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5066 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5067 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5068 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5069 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5070 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5071 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5072 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5073 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5074 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5075 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5076 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5077 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5078 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5079 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5080 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5081 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5082 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5083 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5084 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5085 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5087 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5089 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5092 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5094 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5096 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5098 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5100 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5102 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5104 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5106 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5108 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5110 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5112 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5114 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5116 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5118 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5121 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5123 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5125 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5127 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5129 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5131 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5133 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5135 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5137 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5139 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5142 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5144 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5146 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5147 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5148 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5149 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5150 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5151 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5152 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5153 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5154 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5155 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5156 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5157 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5158 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5159 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5160 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5161 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5162 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5163 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5164 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5165 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5166 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5167 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5168 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5169 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5170 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5171 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5172 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5173 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5174 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5175 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5176 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5178 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5179 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5181 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5182 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5183 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5184 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5185 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5186 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5188 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5189 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5191 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5192 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5194 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5195 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5197 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5198 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5199 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5200 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5202 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5203 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5204 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5205 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5206 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5207 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5208 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5209 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5211 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5212 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5214 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5216 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5217 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5218 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5219 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5220 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5222 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5224 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5226 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5227 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5228 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5229 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5230 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5231 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5233 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5234 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5236 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5237 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5239 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5240 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5242 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5243 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5244 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5245 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5247 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5248 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5249 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5250 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5251 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5252 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5253 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5254 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5256 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5257 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5259 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5261 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5262 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5263 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5264 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5265 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5267 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5269 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5271 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5272 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5273 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5274 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5275 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5276 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5277 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5278 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5279 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5280 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5282 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5283 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5285 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5286 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5288 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5289 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5291 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5292 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5293 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5294 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5295 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5296 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5298 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5299 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5300 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5301 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5302 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5303 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5304 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5305 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5307 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5308 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5310 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5312 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5313 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5314 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5315 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5316 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5318 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5320 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5322 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5323 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5324 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5325 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5326 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5327 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5328 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5329 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5330 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5331 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5332 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5334 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5335 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5337 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5338 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5340 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5341 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5342 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5343 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5344 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5345 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5346 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5347 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5348 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5349 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5350 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5351 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5352 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5353 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5354 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5355 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5356 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5357 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5359 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5360 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5361 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5362 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5364 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5365 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5366 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5367 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5368 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5369 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5370 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5371 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5373 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5374 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5376 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5377 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5378 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5379 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5380 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5381 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5382 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5383 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5384 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5385 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5386 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5387 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5388 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5389 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5390 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5391 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5392 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5394 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5395 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5396 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5397 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5398 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5400 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5401 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5402 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5403 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5404 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5405 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5406 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5407 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5408 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5409 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5411 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5412 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5414 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5415 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5416 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5417 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5418 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5419 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5420 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5421 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5422 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5423 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5424 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5425 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5426 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5427 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5428 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5430 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5432 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5434 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5436 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5438 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5440 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5442 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5444 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5446 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5448 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5449 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5450 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5451 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5452 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5453 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5454 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5455 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5456 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5457 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5458 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5459 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5460 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5461 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5462 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5464 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5465 that was previously under [RESET_PID].
5466 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5467 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5468 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5470 * sysdeps/i386/nptl/Implies: New file.
5471 * sysdeps/x86_64/nptl/Implies: New file.
5472 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5473 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5474 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5475 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5477 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5478 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5479 (__libc_vfork): New strong alias.
5480 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5481 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5483 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5484 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5485 (__libc_vfork): New strong alias.
5486 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5487 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5489 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5490 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5491 (__libc_vfork): New strong alias.
5492 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5493 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5494 * nptl/pt-vfork.c: New file.
5495 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5496 (libpthread: GLIBC_2.20): New version set (empty).
5498 2014-05-14 Will Newton <will.newton@linaro.org>
5500 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5503 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5506 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5507 arguments with exponent 65 or above.
5508 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5509 arguments 0x1p113L or above.
5510 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5511 to arguments 0x1p107L or above.
5512 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5513 positive arguments with exponent 65 or above.
5514 * math/auto-libm-test-in: Add more tests of log1p.
5515 * math/auto-libm-test-out: Regenerated.
5518 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5519 non-finite arguments is +0.
5520 * math/s_cacosf.c (__cacosf): Likewise.
5521 * math/s_cacosl.c (__cacosl): Likewise.
5522 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5523 * sysdeps/i386/fpu/libm-test-ulps: Update.
5524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5527 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5529 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5530 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5531 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5532 for explicit high bit of mantissa when testing for argument equal
5534 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5535 * sysdeps/i386/fpu/libm-test-ulps: Update.
5536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5539 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5540 (__erf): Scale by 16 instead of 8 in potentially underflowing
5541 case. Ensure exception if result actually underflows.
5542 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5543 (__erff): Scale by 16 instead of 8 in potentially underflowing
5544 case. Ensure exception if result actually underflows.
5545 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5546 (efx8): Remove variable.
5547 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5548 case. Ensure exception if result actually underflows.
5549 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5550 (efx8): Remove variable.
5551 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5552 case. Ensure exception if result actually underflows.
5553 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5554 (efx8): Remove variable.
5555 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5556 case. Ensure exception if result actually underflows.
5557 * math/auto-libm-test-in: Add more tests of erf.
5558 * math/auto-libm-test-out: Regenerated.
5560 2014-05-14 Andreas Schwab <schwab@suse.de>
5562 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5563 Remove code conditionalized on USE___THREAD.
5565 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5566 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5569 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5571 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5572 Define unconditionally.
5573 (__ASSUME_O_CLOEXEC): Likewise.
5574 (__ASSUME_SOCK_CLOEXEC): Likewise.
5575 (__ASSUME_IN_NONBLOCK): Likewise.
5576 (__ASSUME_PIPE2): Likewise.
5577 (__ASSUME_EVENTFD2): Likewise.
5578 (__ASSUME_SIGNALFD4): Likewise.
5579 (__ASSUME_DUP3): Likewise.
5580 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5581 (__ASSUME_DUP3): Do not define.
5582 (__ASSUME_EVENTFD2): Likewise.
5583 (__ASSUME_IN_NONBLOCK): Likewise.
5584 (__ASSUME_O_CLOEXEC): Likewise.
5585 (__ASSUME_PIPE2): Likewise.
5586 (__ASSUME_SIGNALFD4): Likewise.
5587 (__ASSUME_SOCK_CLOEXEC): Likewise.
5588 (__ASSUME_UTIMES): Undefine.
5589 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5590 (__ASSUME_UTIMES): Do not define.
5591 (__ASSUME_O_CLOEXEC): Likewise.
5592 (__ASSUME_SOCK_CLOEXEC): Likewise.
5593 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5594 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5596 (__ASSUME_PIPE2): Likewise.
5597 (__ASSUME_EVENTFD2): Likewise.
5598 (__ASSUME_SIGNALFD4): Likewise.
5599 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5600 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5602 (__ASSUME_EVENTFD2): Likewise.
5603 (__ASSUME_SIGNALFD4): Likewise.
5604 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5605 (__ASSUME_32BITUIDS): Likewise.
5606 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5607 (__ASSUME_IPC64): Likewise.
5608 (__ASSUME_ST_INO_64_BIT): Likewise.
5609 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5610 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5611 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5612 (__ASSUME_UTIMES): Do not define.
5613 (__ASSUME_PSELECT): Likewise.
5614 (__ASSUME_PPOLL): Likewise.
5615 (__ASSUME_O_CLOEXEC): Likewise.
5616 (__ASSUME_SOCK_CLOEXEC): Likewise.
5617 (__ASSUME_IN_NONBLOCK): Likewise.
5618 (__ASSUME_PIPE2): Likewise.
5619 (__ASSUME_EVENTFD2): Likewise.
5620 (__ASSUME_SIGNALFD4): Likewise.
5621 (__ASSUME_DUP3): Likewise.
5622 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5623 (__ASSUME_UTIMES): Likewise.
5624 (__ASSUME_O_CLOEXEC): Likewise.
5625 (__ASSUME_SOCK_CLOEXEC): Likewise.
5626 (__ASSUME_IN_NONBLOCK): Likewise.
5627 (__ASSUME_PIPE2): Likewise.
5628 (__ASSUME_EVENTFD2): Likewise.
5629 (__ASSUME_SIGNALFD4): Likewise.
5630 (__ASSUME_DUP3): Likewise.
5631 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5632 (__ASSUME_UTIMES): Likewise.
5633 (__ASSUME_O_CLOEXEC): Likewise.
5634 (__ASSUME_SOCK_CLOEXEC): Likewise.
5635 (__ASSUME_IN_NONBLOCK): Likewise.
5636 (__ASSUME_PIPE2): Likewise.
5637 (__ASSUME_EVENTFD2): Likewise.
5638 (__ASSUME_SIGNALFD4): Likewise.
5639 (__ASSUME_DUP3): Likewise.
5640 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5642 (__ASSUME_UTIMES): Likewise.
5643 (__ASSUME_EVENTFD2): Likewise.
5644 (__ASSUME_SIGNALFD4): Likewise.
5645 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5646 (__ASSUME_O_CLOEXEC): Likewise.
5647 (__ASSUME_SOCK_CLOEXEC): Likewise.
5648 (__ASSUME_IN_NONBLOCK): Likewise.
5649 (__ASSUME_PIPE2): Likewise.
5650 (__ASSUME_EVENTFD2): Likewise.
5651 (__ASSUME_SIGNALFD4): Likewise.
5652 (__ASSUME_DUP3): Likewise.
5653 (__ASSUME_UTIMES): Undefine.
5655 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5656 feclearexcept. Remove symbol versioning code.
5657 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5658 symbol versioning code.
5659 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5660 symbol versioning code.
5661 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5662 feupdateenv. Remove symbol versioning code.
5663 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5664 fegetexceptflag. Remove symbol versioning code.
5665 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5666 fesetexceptflag. Remove symbol versioning code.
5667 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5668 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5669 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5670 (__posix_fadvise64_l32): Remove prototype.
5671 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5674 2014-05-13 Roland McGrath <roland@hack.frob.com>
5676 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5677 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5678 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5679 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5681 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5683 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5684 current working directory
5686 2014-05-13 Roland McGrath <roland@hack.frob.com>
5688 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5689 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5690 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5691 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5692 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5693 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5694 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5695 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5696 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5697 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5698 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5699 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5700 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5701 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5702 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5703 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5704 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5705 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5706 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5707 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5708 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5709 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5710 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5711 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5712 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5713 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5714 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5715 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5716 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5717 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5718 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5719 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5720 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5721 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5722 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5723 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5724 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5725 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5726 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5727 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5728 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5729 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5731 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5732 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5734 * sysdeps/unix/sysv/linux/arm/Makefile
5735 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5736 Add rt-aeabi_unwind_cpp_pr1.
5737 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5738 Add nptl-aeabi_unwind_cpp_pr1.
5739 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5740 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5741 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5742 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5743 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5744 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5746 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5747 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5748 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5749 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5751 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5752 Deconditionalize the code that was previously under [RESET_PID].
5753 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5755 * sysdeps/generic/exit-thread.h: New file.
5756 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5757 * include/unistd.h (__exit_thread): Remove declaration.
5758 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5759 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5760 * csu/libc-start.c: Include <exit-thread.h>.
5761 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5762 * nptl/pthread_create.c: Include <exit-thread.h>.
5763 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5764 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5765 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5766 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5767 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5768 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5769 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5770 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5771 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5772 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5773 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5774 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5775 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5776 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5777 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5778 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5779 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5781 2014-05-13 Andreas Schwab <schwab@suse.de>
5783 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5785 2014-05-12 Joseph Myers <joseph@codesourcery.com>
5787 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5788 (__ASSUME_UTIMES): Do not condition on kernel version.
5789 (__ASSUME_PSELECT): Define unconditionally.
5790 (__ASSUME_PPOLL): Likewise.
5791 (__ASSUME_ATFCTS): Likewise.
5792 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5793 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5794 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5795 (__ASSUME_UTIMENSAT): Define unconditionally.
5796 (__ASSUME_PRIVATE_FUTEX): Likewise.
5797 (__ASSUME_FALLOCATE): Likewise.
5798 (__ASSUME_O_CLOEXEC): Likewise.
5799 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5800 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5801 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5802 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5803 (__ASSUME_IN_NONBLOCK): Likewise.
5804 (__ASSUME_PIPE2): Likewise.
5805 (__ASSUME_EVENTFD2): Likewise.
5806 (__ASSUME_SIGNALFD4): Likewise.
5807 (__ASSUME_DUP3): Likewise.
5808 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5809 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5810 (__ASSUME_AT_RANDOM): Likewise.
5811 (__ASSUME_PREADV): Likewise.
5812 (__ASSUME_PWRITEV): Likewise.
5813 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5814 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5815 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5816 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5817 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5818 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5819 (__ASSUME_O_CLOEXEC): Define unconditionally.
5820 (__ASSUME_PSELECT): Do not undefine conditionally.
5821 (__ASSUME_PPOLL): Likewise.
5822 (__ASSUME_ATFCTS): Likewise.
5823 (__ASSUME_SET_ROBUST_LIST): Likewise.
5824 (__ASSUME_UTIMENSAT): Likewise.
5825 (__ASSUME_FDATASYNC): Define unconditionally.
5826 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5827 (__ASSUME_SIGFRAME_V2): Likewise.
5828 )__ASSUME_EVENTFD2): Likewise.
5829 (__ASSUME_SIGNALFD4): Likewise.
5830 (__ASSUME_PSELECT): Do not undefine conditionally.
5831 (__ASSUME_PPOLL): Likewise.
5832 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5833 (__ASSUME_PSELECT): Define unconditionally.
5834 (__ASSUME_PPOLL): Likewise.
5835 (__ASSUME_O_CLOEXEC): Likewise.
5836 (__ASSUME_SOCK_CLOEXEC): Likewise.
5837 (__ASSUME_IN_NONBLOCK): Likewise.
5838 (__ASSUME_PIPE2): Likewise.
5839 (__ASSUME_EVENTFD2): Likewise.
5840 (__ASSUME_SIGNALFD4): Likewise.
5841 (__ASSUME_DUP3): Likewise.
5842 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5843 (__ASSUME_O_CLOEXEC): Likewise.
5844 (__ASSUME_SOCK_CLOEXEC): Likewise.
5845 (__ASSUME_IN_NONBLOCK): Likewise.
5846 (__ASSUME_PIPE2): Likewise.
5847 (__ASSUME_EVENTFD2): Likewise.
5848 (__ASSUME_SIGNALFD4): Likewise.
5849 (__ASSUME_DUP3): Likewise.
5850 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5851 (__ASSUME_EVENTFD2): Likewise.
5852 (__ASSUME_SIGNALFD4): Likewise.
5853 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5855 2014-05-12 Andreas Schwab <schwab@suse.de>
5858 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5859 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5860 than maximum RPC packet size.
5861 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5862 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5863 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5864 (_nss_nis_getservbyport_r): Likewise.
5866 2014-05-12 Will Newton <will.newton@linaro.org>
5868 * malloc/Makefile (tests): Add tst-mallopt.
5869 * malloc/tst-mallopt.c: New file.
5871 2014-05-09 Roland McGrath <roland@hack.frob.com>
5873 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5874 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5876 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5878 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5879 (tst-tlsmod6.so): Likewise.
5881 2014-05-09 Roland McGrath <roland@hack.frob.com>
5883 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5885 2014-05-09 Joseph Myers <joseph@codesourcery.com>
5888 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5889 and <dl-procinfo.h>.
5890 (__fegetenv): Save SSE state in envp->__eip if supported.
5891 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5892 envp->__eip if supported.
5893 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5894 and <dl-procinfo.h>.
5895 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5896 __data_offset and __data_selector in environment to 0. Set SSE
5898 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5900 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5902 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5904 2014-05-09 Will Newton <will.newton@linaro.org>
5906 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5907 and libc_relro_required for ARM.
5908 * sysdeps/arm/preconfigure: Regenerate.
5910 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5911 Stefan Liebler <stli@linux.vnet.ibm.com>
5913 * config.make.in (enable-lock-elision): New Makefile variable.
5914 * configure.ac: Likewise.
5915 * configure: Regenerate.
5916 * sysdeps/s390/configure.ac:
5917 Add check for gcc transactions support.
5918 * sysdeps/s390/configure: Regenerate.
5919 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5920 Build elision files if enabled.
5921 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5922 Add lock elision support for s390.
5923 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5924 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5925 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5926 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5927 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5928 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5929 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5931 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5933 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5935 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5937 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5938 (__lll_timedlock_elision, __lll_lock_elision)
5939 (__lll_unlock_elision, __lll_trylock_elision)
5940 (lll_timedlock_elision, lll_lock_elision)
5941 (lll_unlock_elision, lll_trylock_elision): Add.
5942 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5943 (pthread_mutex_t): Add lock elision support for s390.
5945 2014-05-14 Wilco <wdijkstr@arm.com>
5947 * sysdeps/arm/fclrexcpt.c: Cleanup.
5948 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5949 * sysdeps/arm/feenablxcpt.c: Cleanup.
5950 * sysdeps/arm/fegetenv.c: Cleanup.
5951 * sysdeps/arm/fegetexcept.c: Cleanup.
5952 * sysdeps/arm/fegetround.c: Cleanup.
5953 * sysdeps/arm/feholdexcpt.c: Cleanup.
5954 * sysdeps/arm/fesetenv.c: Cleanup.
5955 * sysdeps/arm/fesetround.c: Cleanup.
5956 * sysdeps/arm/feupdateenv.c: Cleanup.
5957 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5958 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5959 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5960 * sysdeps/arm/ftestexcept.c: Cleanup.
5961 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5962 * sysdeps/arm/setfpucw.c: Cleanup.
5964 2014-05-09 Will Newton <will.newton@linaro.org>
5966 * sysdeps/arm/armv7/strcmp.S: New file.
5967 * NEWS: Mention addition of ARMv7 optimized strcmp.
5969 2014-05-08 Roland McGrath <roland@hack.frob.com>
5971 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5972 look for %.ac rather than %.in.
5974 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5975 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5976 * sysdeps/mach/hurd/configure: Regenerated.
5977 * sysdeps/unix/sysv/linux/configure: Regenerated.
5979 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5981 2014-05-07 Steve Ellcey <sellcey@mips.com>
5984 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5988 2014-05-07 Andreas Schwab <schwab@suse.de>
5990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5991 when skipping over non-matching result from nscd.
5993 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
5996 * nptl/sockperf.c (client): Check socket return value.
5999 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6000 nscd security class.
6002 2014-05-06 Roland McGrath <roland@hack.frob.com>
6004 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6005 * sysdeps/arm/unwind.h: ... here.
6007 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6010 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6013 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6015 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6016 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6017 multiarch strncpy for PPC64.
6018 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6019 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6020 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6021 multiarch optimizations.
6022 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6023 (__libc_ifunc_impl_list): Likewise.
6024 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6025 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6026 multiarch stpncpy for PPC64.
6027 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6028 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6030 2014-05-06 Andreas Schwab <schwab@suse.de>
6033 * gmon/mcount.c (_MCOUNT_DECL): Use
6034 atomic_compare_and_exchange_bool_acq instead of
6035 catomic_compare_and_exchange_bool_acq.
6037 2014-05-05 Roland McGrath <roland@hack.frob.com>
6039 * elf/Makefile (others, install-bin): Remove pldd.
6040 (pldd-modules): Variable removed.
6041 ($(objpfx)pldd): Target removed.
6042 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6043 (others, install-bin): Append pldd here.
6044 ($(objpfx)pldd): New target.
6046 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6047 to 0, so the first #if test emitted later doesn't see it undefined.
6048 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6049 * sysdeps/gnu/errlist.c: Regenerated.
6051 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6053 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6054 [libc_hidden_builtin_def]: Define to empty value.
6055 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6056 [libc_hidden_builtin_def]: Likewise.
6057 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6058 [libc_hidden_builtin_def]: Likewise.
6059 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6060 [libc_hidden_builtin_def]: Likewise.
6061 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6062 __redirect_memcpy and define ifunc as default hidden symbol.
6063 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6064 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6066 2014-05-04 Adam Conrad <adconrad@0c3.net>
6068 * locale/iso-4217.def: Reintroduce XDR currency.
6070 2014-05-04 Allan McRae <allan@archlinux.org>
6072 * po/eo.po: Update Esperanto translation from translation project.
6074 2014-05-02 Carlos O'Donell <carlos@redhat.com>
6076 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6077 and FEATURE_INDEX_MAX to 1.
6078 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6080 2014-05-01 Steve Ellcey <sellcey@mips.com>
6082 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6083 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6084 * iconvdata/big5.c (ONE_DIRECTION): Define.
6085 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6086 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6087 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6088 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6089 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6090 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6091 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6092 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6093 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6094 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6095 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6096 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6097 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6098 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6099 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6100 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6101 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6102 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6103 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6104 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6105 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6106 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6107 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6108 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6109 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6110 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6111 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6112 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6113 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6114 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6115 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6116 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6117 * iconvdata/johab.c (ONE_DIRECTION): Define.
6118 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6119 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6120 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6121 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6122 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6123 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6124 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6125 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6126 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6127 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6129 2014-05-01 Roland McGrath <roland@hack.frob.com>
6131 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6132 (_IO_JUMPS_OFFSET): Define to 0.
6134 * nptl/sysdeps/pthread/bits/libc-lock.h
6135 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6136 (__libc_lock_define_initialized_recursive): Always define using
6137 initializer. Modern compilers treat uninitialized (implicit zero) and
6138 explicit zero initializers the same (i.e. put the datum in bss).
6140 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6142 * nscd/nscd-client.h: Include <string.h>.
6144 2014-05-01 David S. Miller <davem@davemloft.net>
6147 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6148 multiple zero bytes exist at the end of a string.
6149 Reported by Aurelien Jarno <aurelien@aurel32.net>
6151 * string/test-strcmp.c (check): Add explicit test for situations where
6152 there are multiple zero bytes after the first.
6154 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6157 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6158 when compiling wprintf.
6159 * stdio-common/tstdiomisc.c (t3): New function.
6162 2014-05-01 Steve Ellcey <sellcey@mips.com>
6164 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6165 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6166 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6167 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6169 2014-05-01 Steve Ellcey <sellcey@mips.com>
6171 * stdlib/longlong.h: Updated from GCC.
6173 2014-05-01 Will Newton <will.newton@linaro.org>
6174 Bernard Ogden <bernie.ogden@linaro.org>
6176 * NEWS: Update fixed bug list.
6179 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6181 2014-04-30 David S. Miller <davem@davemloft.net>
6183 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6184 (libc_feholdexcept_setround_sparc_ctx): New function.
6185 (libc_fesetenv_sparc_ctx): Likewise.
6186 (libc_feupdateenv_sparc_ctx): Likewise.
6187 (libc_feholdsetround_sparc_ctx): Likewise.
6188 (libc_feholdexcept_setround_ctx): Define.
6189 (libc_feholdexcept_setroundf_ctx): Likewise.
6190 (libc_feholdexcept_setroundl_ctx): Likewise.
6191 (libc_fesetenv_ctx): Likewise.
6192 (libc_fesetenvf_ctx): Likewise.
6193 (libc_fesetenvl_ctx): Likewise.
6194 (libc_feupdateenv_ctx): Likewise.
6195 (libc_feupdateenvf_ctx): Likewise.
6196 (libc_feupdateenvl_ctx): Likewise.
6197 (libc_feresetround_ctx): Likewise.
6198 (libc_feresetroundf_ctx): Likewise.
6199 (libc_feresetroundl_ctx): Likewise.
6200 (libc_feholdsetround_ctx): Likewise.
6201 (libc_feholdsetroundf_ctx): Likewise.
6202 (libc_feholdsetroundl_ctx): Likewise.
6204 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6205 with __USE_GNU instead of XOPEN cpp guards.
6207 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6210 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6211 with XOPEN cpp guards.
6213 2014-04-30 Julian Brown <julian@codesourcery.com>
6216 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6219 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6222 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6224 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6225 * sysdeps/unix/sysv/linux/configure: Regenerated.
6226 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6227 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6228 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6229 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6230 * README: Update reference to required Linux kernel version.
6231 * manual/install.texi (Linux): Update reference to required Linux
6232 kernel headers version.
6233 * INSTALL: Regenerated.
6235 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6237 [POSIX] (limits.h): Likewise.
6238 [POSIX] (math.h): Likewise.
6239 [POSIX] (sys/wait.h): Likewise.
6240 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6242 [POSIX] (stddef.h): Do not allow header inclusion.
6244 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6246 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6248 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6250 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6251 Return immediately after lll_futex_wake.
6253 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6256 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6258 (datahead_init_pos): Call datahead_init_common early.
6259 (datahead_init_neg): Likewise.
6261 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6262 datahead_init_neg): New functions.
6263 * nscd/aicache.c (addhstaiX): Use them.
6264 * nscd/grpcache.c (cache_addgr): Likewise.
6265 * nscd/hstcache.c (cache_addhst): Likewise.
6266 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6267 * nscd/netgroupcache.c (do_notfound): Likewise.
6268 (addgetnetgrentX): Likewise.
6269 (addinnetgrX): Likewise.
6270 * nscd/pwdcache.c (cache_addpw): Likewise.
6271 * nscd/servicescache.c (cache_addserv): Likewise.
6273 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6274 Atsushi Onoe <atsushi@onoe.org>
6279 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6280 one response is valid.
6281 * resolv/res_send.c (send_dg): Check for validity of other
6282 response if the current response is a referral.
6284 2014-04-29 Steve Ellcey <sellcey@mips.com>
6286 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6288 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6291 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6292 Always divide by positive zero when computing -Inf result.
6293 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6294 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6296 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6298 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6299 FPSCR if value do not change.
6300 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6301 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6302 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6303 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6304 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6305 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6308 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6310 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6311 * sysdeps/unix/sysv/linux/hppa: Move directory from
6312 ports/systeps/unix/sysv/linux/hppa.
6313 * README: Update listing for hppa-*-linux-gnu.
6315 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
6318 * manual/stdio.texi (Hook functions): Fix types of stream hook
6321 * socket/sys/socket.h: Fix typo in comment.
6323 2014-04-28 Wilco <wdijkstr@arm.com>
6325 * sysdeps/arm/fenv_private.h: New file.
6326 * sysdeps/arm/math_private.h: New file.
6327 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6329 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6331 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6333 (La_x86_64_retval): Likewise.
6335 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6337 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6338 fpsr if value didn't change.
6339 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6340 to fpcr if value didn't change.
6341 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6342 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6343 fpsr or fpcr if value didn't change.
6344 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6345 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6346 fpcr if value didn't change.
6347 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6348 to fpsr if value didn't change.
6350 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6352 * nptl/tst-sem3.c: Use test-skeleton.c
6353 (main): Rename to do_test. Use return instead of
6355 * nptl/tst-sem4.c: Use test-skeleton.c
6356 (main): Rename to do_test.
6358 2014-04-22 David S. Miller <davem@davemloft.net>
6360 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6361 (struct sigaction): New struct member __glibc_reserved0, change
6362 type of sa_flags to int.
6364 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6366 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6367 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6369 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6371 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6372 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6374 2014-04-22 Will Newton <will.newton@linaro.org>
6375 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6377 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6378 (__longjmp): Add longjmp and longjmp_target SystemTap
6380 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6381 (__sigsetjmp): Add setjmp SystemTap probe.
6383 2014-04-17 Carlos O'Donell <carlos@redhat.com>
6385 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6388 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6390 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6392 * sysdeps/powerpc/fpu/fenv_private.h
6393 (libc_feholdexcept_setroundl_ctx): Define to
6394 libc_feholdexcept_setround_ppc_ctx.
6395 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6396 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6397 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6398 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6400 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6402 * sysdeps/aarch64/math-tests.h: New file.
6404 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6406 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6408 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6409 Check and set bit_AVX2_Usable.
6410 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6412 (bit_AVX2): Likewise.
6413 (index_AVX2_Usable): Likewise.
6414 (CPUID_AVX2): Likewise.
6415 (HAS_AVX2): Likewise.
6417 2014-04-17 Will Newton <will.newton@linaro.org>
6419 * manual/setjmp.texi (System V contexts): Add note that
6420 calling setcontext on a context created by a call to a
6421 signal handler is undefined. Update text to note that
6422 setcontext from a signal handler is possible but not
6426 * stdlib/tst-setcontext.c: Include signal.h.
6427 (main): Check that the signal stack before and
6428 after swapcontext is the same.
6430 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6431 Re-implement to restore registers in user code and avoid
6432 rt_sigreturn system call.
6434 2014-04-17 Wilco <wdijkstr@arm.com>
6436 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6437 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6438 * math/test-fenv.c: Skip exception trap tests on targets which only
6439 support non-stop mode.
6441 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6442 Wilco Dijkstra <wilco.dijkstra@arm.com>
6444 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6445 (libc_feholdsetround_aarch64_ctx)
6446 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6447 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6448 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6449 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6450 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6451 (libc_feresetround_noexl_ctx): Define.
6453 2014-04-16 Richard Henderson <rth@redhat.com>
6455 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6457 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6460 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6461 const from the non-libc, non-ldso copy.
6463 * sysdeps/alpha/libm-test-ulps: Regenerate.
6465 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6466 Wilco Dijkstra <wilco.dijkstra@arm.com>
6468 * sysdeps/aarch64/fpu/math_private.h: New file.
6470 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6472 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6474 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6476 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6477 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6478 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6479 Intel MPX bound registers before _dl_profile_fixup.
6480 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6481 registers after _dl_profile_fixup. Save and restore bound
6482 registers bnd0/bnd1 when calling _dl_call_pltexit.
6483 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6484 (LR_BND_OFFSET): Likewise.
6485 (LRV_BND0_OFFSET): Likewise.
6486 (LRV_BND1_OFFSET): Likewise.
6488 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6490 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6492 * sysdeps/mach/hurd/i386/tls.h: ... here.
6493 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6494 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6497 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6499 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6501 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6503 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6505 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6508 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6509 * sysdeps/s390/configure: Regenerate.
6512 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6513 Set round-to-nearest internally to reduce error accumulation.
6515 2014-04-16 Alan Modra <amodra@gmail.com>
6519 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6520 * math/libm-test.inc (frexp_test_data): Add tests.
6521 * NEWS: Update fixed bug list.
6523 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6525 * benchtests/Makefile: Depend on libraries in build directory.
6526 (bench-math): Separate out math tests.
6527 (bench-pthread): Separate out pthread tests.
6528 (bench): Include math and pthread tests.
6530 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6533 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6534 _dl_debug_initialize.
6536 * configure.ac: Remove SELinux header check.
6537 * configure: Regenerate.
6538 * nscd/selinux.c (perms): Array of const char* to permission names.
6539 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6540 default policy. Call string_to_security_class and string_to_av_perm to
6541 translate strings. Enforce default policy and call avs_has_perm with
6542 results of translated strings.
6544 2014-04-13 David S. Miller <davem@davemloft.net>
6546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6548 2014-04-12 Allan McRae <allan@archlinux.org>
6551 * manual/string.texi (Collation Functions): Fix qsort argument
6553 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6555 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6557 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6558 Make the test a no-op if there are no exceptions defined.
6560 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6562 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6563 enable-hardcoded-path-in-tests
6565 2014-04-11 Will Newton <will.newton@linaro.org>
6567 * benchtests/Makefile (extra-objs): Add json-lib.o.
6568 (bench-func): Tidy up JSON output.
6569 * benchtests/bench-skeleton.c: Include json-lib.h.
6570 (main): Use JSON library functions to do output of
6572 * benchtests/bench-timing-type.c (main): Output the
6573 timing type simply, leaving formatting to the user.
6574 * benchtests/json-lib.c: New file.
6575 * benchtests/json-lib.h: Likewise.
6577 2014-04-11 Torvald Riegel <triegel@redhat.com>
6580 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6581 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6582 memory barriers. Add comments.
6583 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6584 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6585 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6586 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6587 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6588 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6590 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6592 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6593 * sysdeps/s390/s390-64/configure.ac: ... this ...
6594 * sysdeps/s390/configure.ac: ... to here.
6595 * sysdeps/s390/s390-32/configure: Delete file.
6596 * sysdeps/s390/s390-64/configure: Delete file.
6597 * sysdeps/s390/configure: Regenerate.
6599 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6601 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6603 2014-04-11 Will Newton <will.newton@linaro.org>
6605 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6606 to zero if it is not defined elsewhere. (mtrim): Test
6607 the value of MALLOC_DEBUG with #if rather than #ifdef.
6609 2014-04-10 Torvald Riegel <triegel@redhat.com>
6611 * benchtests/pthread_once-inputs: New file.
6612 * benchtests/pthread_once-source.c: New file.
6613 * benchtests/README: Update documentation.
6615 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6616 H.J. Lu <hongjiu.lu@intel.com>
6618 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6619 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6620 * sysdeps/x86_64/configure: Regenerated.
6621 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6623 (REGISTER_SAVE_RAX): Likewise.
6624 (REGISTER_SAVE_RCX): Likewise.
6625 (REGISTER_SAVE_RDX): Likewise.
6626 (REGISTER_SAVE_RSI): Likewise.
6627 (REGISTER_SAVE_RDI): Likewise.
6628 (REGISTER_SAVE_R8): Likewise.
6629 (REGISTER_SAVE_R9): Likewise.
6630 (REGISTER_SAVE_BND0): Likewise.
6631 (REGISTER_SAVE_BND1): Likewise.
6632 (REGISTER_SAVE_BND2): Likewise.
6633 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6634 bound registers when calling _dl_fixup.
6636 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6638 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6639 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6641 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6642 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6643 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6644 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6645 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6646 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6647 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6649 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6652 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6653 pathconf(_PC_NAME_MAX).
6655 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6657 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6659 (__PTHREAD_SPINS): Move definition to ...
6660 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6661 (__PTHREAD_SPINS): ... here.
6662 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6663 (__PTHREAD_SPIN): Likewise.
6664 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6665 (__PTHREAD_SPIN): Likewise.
6666 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6667 (__PTHREAD_SPIN): Likewise.
6668 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6669 (__PTHREAD_SPIN): Likewise.
6670 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6671 (__PTHREAD_SPIN): Likewise.
6672 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6673 (__PTHREAD_SPIN): Likewise.
6674 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6675 (__PTHREAD_SPIN): Likewise.
6676 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6677 (__PTHREAD_SPIN): Likewise.
6678 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6679 (__PTHREAD_SPIN): Likewise.
6680 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6681 (__PTHREAD_SPIN): Likewise.
6682 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6683 (__PTHREAD_SPIN): Likewise.
6684 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6685 (__PTHREAD_SPIN): Likewise.
6687 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6688 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6689 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6690 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6692 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6693 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6694 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6695 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6697 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6698 strlen symbol for non multi-arch builds.
6699 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6700 missing hidden_def and weak_alias.
6702 2014-04-08 Carlos O'Donell <carlos@redhat.com>
6704 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6706 2014-04-07 Will Newton <will.newton@linaro.org>
6708 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6709 and contents. [!_LIBC] Remove #ifndef and contents.
6710 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6711 * string/memccpy.c (__memccpy): Use ANSI prototype.
6712 * string/memfrob.c (memfrob): Likewise.
6713 * string/strcoll.c (STRCOLL): Likewise.
6714 * string/strlen.c (strlen): Likewise.
6715 * string/strtok.c (STRTOK): Likewise.
6716 * string/strcat.c: Remove unused #include of memcopy.h.
6717 (strcat): Use ANSI prototype.
6718 * string/strchr.c: Remove unused #include of memcopy.h.
6719 (strchr): Use ANSI prototype.
6720 * string/strcmp.c: Remove unused #include of memcopy.h.
6721 (strcmp): Use ANSI prototype.
6722 * string/strcpy.c: Remove unused #include of memcopy.h.
6723 (strcpy): Use ANSI prototype.
6725 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6727 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6728 * config.make.in (config-extra-cppflags): Set it from
6729 libc_extra_cppflags.
6730 * configure.ac (libc_extra_cflags): Make it accumulate over
6731 configure fragments.
6732 (libc_extra_cppflags): New flag.
6733 * configure. Regenerate.
6734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6735 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6736 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6740 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6741 result for FE_DOWNWARD rounding mode.
6742 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6746 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6748 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6749 in function argument name.
6751 2014-04-03 David Svoboda <svoboda@cert.org>
6754 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6757 2014-04-03 Roland McGrath <roland@hack.frob.com>
6759 * elf/dl-unmap-segments.h: New file.
6760 * sysdeps/generic/ldsodefs.h
6761 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6762 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6763 * elf/dl-fptr.c: Likewise.
6764 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6765 * sysdeps/aarch64/tlsdesc.c: Likewise.
6766 * sysdeps/arm/tlsdesc.c: Likewise.
6767 * sysdeps/i386/tlsdesc.c: Likewise.
6768 * sysdeps/tile/dl-runtime.c: Likewise.
6769 * sysdeps/x86_64/tlsdesc.c: Likewise.
6770 * elf/dl-load.h: New file.
6771 * elf/dl-load.c: Include it.
6772 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6773 Macros moved to dl-load.h.
6774 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6775 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6776 Use _dl_unmap_segments in place of __munmap.
6777 Break out segment-mapping loop into ...
6778 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6780 2014-04-03 Will Newton <will.newton@linaro.org>
6782 * elf/dl-lookup.c (do_lookup_x): Remove comment
6783 referring to nested function and move variable
6784 declarations down to before first use.
6786 2014-04-02 Joseph Myers <joseph@codesourcery.com>
6790 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6792 * math/s_catanf.c (__catanf): Likewise.
6793 * math/s_catanh.c (__catanh): Likewise.
6794 * math/s_catanhf.c (__catanhf): Likewise.
6795 * math/s_catanhl.c (__catanhl): Likewise.
6796 * math/s_catanl.c (__catanl): Likewise.
6797 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6798 by positive zero when computing -Inf result.
6799 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6800 (catanh_test): Likewise.
6801 * sysdeps/i386/fpu/libm-test-ulps: Update.
6802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6805 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6806 instead of using underflowing value in computing result.
6807 * math/s_clog10.c (__clog10): Likewise.
6808 * math/s_clog10f.c (__clog10f): Likewise.
6809 * math/s_clog10l.c (__clog10l): Likewise.
6810 * math/s_clogf.c (__clogf): Likewise.
6811 * math/s_clogl.c (__clogl): Likewise.
6812 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6813 (clog10_test): Likewise.
6814 * sysdeps/i386/fpu/libm-test-ulps: Update.
6815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6817 2014-04-02 Alan Modra <amodra@gmail.com>
6820 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6821 output when value is near a power of two. Use int64_t for lx and
6822 remove casts. Use decimal rather than hex exponent constants.
6823 Don't use long double multiplication when double will suffice.
6824 * math/libm-test.inc (nextafter_test_data): Add tests.
6825 * NEWS: Add 16739 and 16786 to bug list.
6827 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6829 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6831 2014-04-01 Will Newton <will.newton@linaro.org>
6833 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6834 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6836 2014-04-01 Florian Weimer <fweimer@redhat.com>
6839 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6840 * nptl/tst-setuid2.c: New file.
6841 * nptl/Makefile (xtests): Add tst-setuid2.
6843 2014-04-01 Alan Modra <amodra@gmail.com>
6846 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6848 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6852 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6853 set errno as appropriate.
6854 * math/w_scalbf.c (__scalbf): Likewise.
6855 * math/w_scalbl.c (__scalbl): Likewise.
6856 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6857 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6858 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6862 * math/w_atan2.c: Include <errno.h>.
6863 (__atan2): Set errno for result underflowing to zero.
6864 * math/w_atan2f.c: Include <errno.h>.
6865 (__atan2f): Set errno for result underflowing to zero.
6866 * math/w_atan2l.c: Include <errno.h>.
6867 (__atan2l): Set errno for result underflowing to zero.
6868 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6870 * math/auto-libm-test-out: Regenerated.
6872 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6874 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6875 Encode instruction correctly in little endian.
6876 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6878 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6880 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6882 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6885 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6888 * sysdeps/unix/sysv/linux/kernel-features.h
6889 [__sparc__ && !__arch64__ && !__sparc_v9__]
6890 (__ASSUME_SET_ROBUST_LIST): Do not define.
6891 [__sparc__ && !__arch64__ && !__sparc_v9__]
6892 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6893 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6895 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6896 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6897 (__ASSUME_REQUEUE_PI): Likewise.
6898 (__ASSUME_SET_ROBUST_LIST): Likewise.
6899 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6900 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6902 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6903 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6905 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6907 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6909 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6910 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6912 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6913 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6917 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6918 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6919 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6921 2014-03-31 Will Newton <will.newton@linaro.org>
6923 * benchtests/Makefile (bench): Add ffs and ffsll to list
6925 * benchtests/ffs-inputs: New file.
6926 * benchtests/ffsll-inputs: Likewise.
6928 2014-03-29 Joseph Myers <joseph@codesourcery.com>
6931 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6932 too large before casting to int.
6933 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6934 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6935 * math/libm-test.inc (scalb_test_data): Add more tests.
6937 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6939 * benchtests/Makefile (DETAILED_OPT): New make option.
6940 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6942 * benchtests/bench-skeleton.c: Include stdbool.h.
6943 (main): Store and print timings per input.
6944 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6945 member to each argument value.
6946 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6947 (_print_arg_data): Initialize per-input timing to 0.
6949 * benchtests/Makefile (timing-type): New binary.
6950 (bench-clean): Also remove bench-timing-type.
6951 (bench): New target for timing-type.
6952 (bench-func): Print output in JSON format.
6953 * benchtests/bench-skeleton.c (main): Print output in JSON
6955 * benchtests/bench-timing-type.c: New file.
6956 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6957 (TIMING_PRINT_STATS): Remove.
6958 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6961 * benchtests/bench-modf.c: Remove.
6962 * benchtests/modf-inputs: New inputs file.
6964 2014-03-28 Joseph Myers <joseph@codesourcery.com>
6967 * math/s_clog10.c (M_PI_LOG10E): New macro.
6968 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6969 imaginary parts are 0.
6970 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6971 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6972 imaginary parts are 0.
6973 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6974 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6975 imaginary parts are 0.
6976 * math/libm-test.inc (clog10_test_data): Update expected results
6977 for when real and imaginary parts are 0.
6979 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6981 * elf/dl-load.c: Finish conversion of __builtin_expect into
6984 2014-03-27 Joseph Myers <joseph@codesourcery.com>
6987 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6988 1+x for argument with exponent below -67.
6989 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6991 * math/auto-libm-test-in: Add more tests of exp.
6992 * math/auto-libm-test-out: Regenerated.
6994 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6997 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6998 (nscd_getnetgrent): Use it.
7001 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7004 2014-03-27 Andi Kleen <ak@linux.intel.com>
7006 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7007 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7008 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7009 (lll_robust_unlock): Remove out of line section. Use cfi
7011 (LLL_STUB_UNWIND_INFO*): Remove.
7012 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7013 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7014 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7015 (lll_robust_unlock): Remove out of line section. Use cfi
7017 (LLL_STUB_UNWIND_INFO*): Remove.
7019 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7022 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7025 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7027 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7029 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7032 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7034 * math/test-fenv-preserve.c: New file.
7035 * math/Makefile (tests): Add test-fenv-preserve.
7037 2014-03-26 Will Newton <will.newton@linaro.org>
7039 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7041 2014-03-25 Roland McGrath <roland@hack.frob.com>
7043 * scripts/versionlist.awk: Partition the version sets and emit all
7044 GLIBC_* (sorted) before all others (sorted).
7046 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7048 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7049 GLIBC_2.2.5 version.
7051 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7053 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7056 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7061 2014-03-25 Andreas Schwab <schwab@suse.de>
7063 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7064 label to be used after in6ailist is initialized.
7066 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7068 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7069 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7071 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7075 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7077 (fp_formats): Update initializers.
7078 (init_fp_formats): Initialize new field.
7079 (output_for_one_input_case): Allow underflow for results up to
7081 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7082 * math/auto-libm-test-in: Don't mark some underflows from asin and
7084 * math/auto-libm-test-out: Regenerated.
7085 * sysdeps/i386/fpu/libm-test-ulps: Update.
7086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7088 2014-03-25 Andreas Schwab <schwab@suse.de>
7090 * libio/Makefile (tst-ftell-partial-wide-ENV)
7091 (tst-ftell-active-handler-ENV): Define.
7093 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7095 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7097 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7099 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7101 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7103 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7104 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7105 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7107 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7110 * elf/dl-load.c (open_verify): Add mode parameter.
7111 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7112 (open_path): Change from boolean 'secure' to complete flag 'mode'
7113 (_dl_map_object): Adjust.
7114 * elf/Makefile (tests): Add tst-dlopen-aout.
7115 * elf/tst-dlopen-aout.c: New test.
7117 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7120 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7121 (struct stat): Rename member pad0 to __glibc_reserved0.
7124 * sysdeps/s390/s390-32/bits/wordsize.h
7125 (__WORDSIZE32_SIZE_ULONG): New define.
7126 * sysdeps/s390/s390-64/bits/wordsize.h
7127 (__WORDSIZE32_SIZE_ULONG): Likewise.
7128 * sysdeps/generic/stdint.h (SIZE_MAX):
7129 Define as UL if __WORDSIZE32_SIZE_ULONG.
7132 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7133 (__glibc_reserved0): New variable.
7134 (sa_flags): Change type to int.
7136 * posix/Makefile (before-compile): Use += before-compile instead
7139 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7140 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7142 2014-03-20 Andreas Schwab <schwab@suse.de>
7145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7146 non-matching result from nscd.
7148 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7150 * scripts/bench.py: Moved to ...
7151 * benchtests/scripts/bench.py: ... here.
7152 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7154 2014-03-24 Andreas Schwab <schwab@suse.de>
7157 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7158 alloca_account and account alloca use for struct in6ailist.
7160 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7163 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7164 rounding mode to recompute results that overflow to infinity or
7166 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7168 * math/auto-libm-test-out: Regenerated.
7169 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7170 (ccosh_test): Likewise.
7171 (csin_test_data): Use plus_oflow.
7172 (csin_test): Use ALL_RM_TEST.
7173 (csinh_test_data): Use plus_oflow.
7174 (csinh_test): Use ALL_RM_TEST.
7175 * sysdeps/i386/fpu/libm-test-ulps: Update.
7176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7178 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7180 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7181 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7182 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7185 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7187 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7188 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7189 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7190 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7192 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7193 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7195 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7196 * sysdeps/i386/fpu/libm-test-ulps: Update.
7197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7199 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7201 * scripts/bench.pl: Remove file.
7202 * scripts/bench.py: New benchmark script.
7203 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7204 * benchtests/README: Mention python dependency.
7205 * scripts/pylintrc: New file.
7206 * scripts/pylint: New file.
7208 * bits/mathdef.h: Use #ifdef instead of #if.
7209 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7210 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7211 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7212 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7213 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7214 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7216 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7217 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7219 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7220 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7221 and strpbrk-ppc64 objects.
7222 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7223 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7224 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7225 multiarch strpbrk for POWER7.
7226 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7227 multiarch strpbrk for PPC64.
7228 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7230 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7233 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7235 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7236 (atan_test): Likewise.
7237 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7238 (atanh_test): Use ALL_RM_TEST.
7239 (atan2_test_data): Likewise.
7240 (cabs_test): Likewise.
7241 (cacosh_test): Likewise.
7242 (carg_test): Likewise.
7243 (casin_test): Likewise.
7244 (casinh_test): Likewise.
7245 (cbrt_test): Likewise.
7246 (csqrt_test): Likewise.
7247 (erf_test): Likewise.
7248 (erfc_test): Likewise.
7249 (pow10_test): Likewise.
7250 (exp2_test): Likewise.
7251 (hypot_test): Likewise.
7252 (j0_test): Likewise.
7253 (j1_test): Likewise.
7254 (lgamma_test): Likewise.
7255 (gamma_test): Likewise.
7256 (sincos_test): Likewise.
7257 (tanh_test): Likewise.
7258 (y0_test): Likewise.
7259 (y1_test): Likewise.
7260 * sysdeps/i386/fpu/libm-test-ulps: Update.
7261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7263 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7265 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7266 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7267 and strcspn-ppc64 objects.
7268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7269 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7270 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7271 multiarch strcspn for POWER7.
7272 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7273 multiarch strcspn for PPC64.
7274 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7276 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7279 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7281 * math/gen-libm-test.pl (generate_testfile): Expect only function
7282 name as argument to AUTO_TESTS_* and pass results for all rounding
7283 modes to parse_args.
7284 (parse_auto_input): Separate inputs of automatic tests from
7285 outputs before storing in %auto_tests.
7286 * math/libm-test.inc (acos_test_data): Update call to
7288 (acos_test): Use ALL_RM_TEST.
7289 (acos_tonearest_test_data): Remove.
7290 (acos_test_tonearest): Likewise.
7291 (acos_towardzero_test_data): Likewise.
7292 (acos_test_towardzero): Likewise.
7293 (acos_downward_test_data): Likewise.
7294 (acos_test_downward): Likewise.
7295 (acos_upward_test_data): Likewise.
7296 (acos_test_upward): Likewise.
7297 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7298 (asin_test_data): Likewise.
7299 (asin_test): Use ALL_RM_TEST.
7300 (asin_tonearest_test_data): Remove.
7301 (asin_test_tonearest): Likewise.
7302 (asin_towardzero_test_data): Likewise.
7303 (asin_test_towardzero): Likewise.
7304 (asin_downward_test_data): Likewise.
7305 (asin_test_downward): Likewise.
7306 (asin_upward_test_data): Likewise.
7307 (asin_test_upward): Likewise.
7308 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7309 (atan_test_data): Likewise.
7310 (atanh_test_data): Likewise.
7311 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7312 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7313 (carg_test_data): Likewise.
7314 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7315 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7316 (ccosh_test_data): Likewise.
7317 (cexp_test_data): Likewise.
7318 (clog_test_data): Likewise.
7319 (clog10_test_data): Likewise.
7320 (cos_test_data): Update call to AUTO_TESTS_f_f.
7321 (cos_test): Use ALL_RM_TEST.
7322 (cos_tonearest_test_data): Remove.
7323 (cos_test_tonearest): Likewise.
7324 (cos_towardzero_test_data): Likewise.
7325 (cos_test_towardzero): Likewise.
7326 (cos_downward_test_data): Likewise.
7327 (cos_test_downward): Likewise.
7328 (cos_upward_test_data): Likewise.
7329 (cos_test_upward): Likewise.
7330 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7331 (cosh_test): Use ALL_RM_TEST.
7332 (cosh_tonearest_test_data): Remove.
7333 (cosh_test_tonearest): Likewise.
7334 (cosh_towardzero_test_data): Likewise.
7335 (cosh_test_towardzero): Likewise.
7336 (cosh_downward_test_data): Likewise.
7337 (cosh_test_downward): Likewise.
7338 (cosh_upward_test_data): Likewise.
7339 (cosh_test_upward): Likewise.
7340 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7341 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7342 (ctan_test_data): Likewise.
7343 (ctan_test): Use ALL_RM_TEST.
7344 (ctan_tonearest_test_data): Remove.
7345 (ctan_test_tonearest): Likewise.
7346 (ctan_towardzero_test_data): Likewise.
7347 (ctan_test_towardzero): Likewise.
7348 (ctan_downward_test_data): Likewise.
7349 (ctan_test_downward): Likewise.
7350 (ctan_upward_test_data): Likewise.
7351 (ctan_test_upward): Likewise.
7352 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7353 (ctanh_test): Use ALL_RM_TEST.
7354 (ctanh_tonearest_test_data): Remove.
7355 (ctanh_test_tonearest): Likewise.
7356 (ctanh_towardzero_test_data): Likewise.
7357 (ctanh_test_towardzero): Likewise.
7358 (ctanh_downward_test_data): Likewise.
7359 (ctanh_test_downward): Likewise.
7360 (ctanh_upward_test_data): Likewise.
7361 (ctanh_test_upward): Likewise.
7362 (erf_test_data): Update call to AUTO_TESTS_f_f.
7363 (erfc_test_data): Likewise.
7364 (exp_test_data): Likewise.
7365 (exp_test): Use ALL_RM_TEST.
7366 (exp_tonearest_test_data): Remove.
7367 (exp_test_tonearest): Likewise.
7368 (exp_towardzero_test_data): Likewise.
7369 (exp_test_towardzero): Likewise.
7370 (exp_downward_test_data): Likewise.
7371 (exp_test_downward): Likewise.
7372 (exp_upward_test_data): Likewise.
7373 (exp_test_upward): Likewise.
7374 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7375 (exp10_test): Use ALL_RM_TEST.
7376 (exp10_tonearest_test_data): Remove.
7377 (exp10_test_tonearest): Likewise.
7378 (exp10_towardzero_test_data): Likewise.
7379 (exp10_test_towardzero): Likewise.
7380 (exp10_downward_test_data): Likewise.
7381 (exp10_test_downward): Likewise.
7382 (exp10_upward_test_data): Likewise.
7383 (exp10_test_upward): Likewise.
7384 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7385 (expm1_test_data): Likewise.
7386 (expm1_test): Use ALL_RM_TEST.
7387 (expm1_tonearest_test_data): Remove.
7388 (expm1_test_tonearest): Likewise.
7389 (expm1_towardzero_test_data): Likewise.
7390 (expm1_test_towardzero): Likewise.
7391 (expm1_downward_test_data): Likewise.
7392 (expm1_test_downward): Likewise.
7393 (expm1_upward_test_data): Likewise.
7394 (expm1_test_upward): Likewise.
7395 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7396 (fma_test): Use ALL_RM_TEST.
7397 (fma_towardzero_test_data): Remove.
7398 (fma_test_towardzero): Likewise.
7399 (fma_downward_test_data): Likewise.
7400 (fma_test_downward): Likewise.
7401 (fma_upward_test_data): Likewise.
7402 (fma_test_upward): Likewise.
7403 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7404 (j0_test_data): Update call to AUTO_TESTS_f_f.
7405 (j1_test_data): Likewise.
7406 (jn_test_data): Update call to AUTO_TESTS_if_f.
7407 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7408 (log_test_data): Update call to AUTO_TESTS_f_f.
7409 (log10_test_data): Likewise.
7410 (log1p_test_data): Likewise.
7411 (log2_test_data): Likewise.
7412 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7413 (pow_tonearest_test_data): Likewise.
7414 (sin_test_data): Update call to AUTO_TESTS_f_f.
7415 (sin_test): Use ALL_RM_TEST.
7416 (sin_tonearest_test_data): Remove.
7417 (sin_test_tonearest): Likewise.
7418 (sin_towardzero_test_data): Likewise.
7419 (sin_test_towardzero): Likewise.
7420 (sin_downward_test_data): Likewise.
7421 (sin_test_downward): Likewise.
7422 (sin_upward_test_data): Likewise.
7423 (sin_test_upward): Likewise.
7424 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7425 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7426 (sinh_test): Use ALL_RM_TEST.
7427 (sinh_tonearest_test_data): Remove.
7428 (sinh_test_tonearest): Likewise.
7429 (sinh_towardzero_test_data): Likewise.
7430 (sinh_test_towardzero): Likewise.
7431 (sinh_downward_test_data): Likewise.
7432 (sinh_test_downward): Likewise.
7433 (sinh_upward_test_data): Likewise.
7434 (sinh_test_upward): Likewise.
7435 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7436 (sqrt_test): Use ALL_RM_TEST.
7437 (sqrt_tonearest_test_data): Remove.
7438 (sqrt_test_tonearest): Likewise.
7439 (sqrt_towardzero_test_data): Likewise.
7440 (sqrt_test_towardzero): Likewise.
7441 (sqrt_downward_test_data): Likewise.
7442 (sqrt_test_downward): Likewise.
7443 (sqrt_upward_test_data): Likewise.
7444 (sqrt_test_upward): Likewise.
7445 (tan_test_data): Update call to AUTO_TESTS_f_f.
7446 (tan_test): Use ALL_RM_TEST.
7447 (tan_tonearest_test_data): Remove.
7448 (tan_test_tonearest): Likewise.
7449 (tan_towardzero_test_data): Likewise.
7450 (tan_test_towardzero): Likewise.
7451 (tan_downward_test_data): Likewise.
7452 (tan_test_downward): Likewise.
7453 (tan_upward_test_data): Likewise.
7454 (tan_test_upward): Likewise.
7455 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7456 (tgamma_test_data): Likewise.
7457 (y0_test_data): Likewise.
7458 (y1_test_data): Likewise.
7459 (yn_test_data): Update call to AUTO_TESTS_if_f.
7460 (main): Do not call removed functions.
7462 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7464 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7465 (ldexp_test_data): Remove.
7466 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7468 (scalb_test): Use ALL_RM_TEST.
7470 2014-03-19 Andreas Schwab <schwab@suse.de>
7472 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7474 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7477 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7478 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7479 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7480 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7481 (__ASSUME_PREADV): Undefine.
7482 (__ASSUME_PWRITEV): Likewise.
7484 2014-03-18 Roland McGrath <roland@hack.frob.com>
7486 * bits/mman-linux.h: Add comment about non-Linux use.
7487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7488 bits/mman-linux.h resting place.
7490 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7491 * bits/mman-linux.h: ... here.
7493 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7495 * conform/conformtest.pl: Add standard definition when calling C
7496 preprocessor on data files.
7497 (checknamespace): Remove unused variable.
7499 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7501 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7502 minus_oflow, plus_uflow and minus_uflow in expected results.
7503 * math/libm-test.inc (scalbn_test_data): Add more tests of
7504 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7506 (scalbn_test): Use ALL_RM_TEST.
7507 (scalbln_test_data): Add more tests of negative arguments. Use
7508 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7509 (scalbln_test): Use ALL_RM_TEST.
7511 2014-03-18 Roland McGrath <roland@hack.frob.com>
7513 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7515 2014-03-18 Will Newton <will.newton@linaro.org>
7517 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7520 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7522 * Makerules [!subdir] (check-abi): Exit with error status if a
7525 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7527 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7528 for rint. Include results for all rounding modes.
7529 (nearbyint_test): Use ALL_RM_TEST.
7530 (rint_test_data): Include all tests used for nearbyint.
7532 2014-03-17 Will Newton <will.newton@linaro.org>
7534 * nptl/sysdeps/pthread/pthread.h: Revert previous
7537 * sysdeps/generic/ldsodefs.h: Revert previous
7540 * libio/genops.c: Revert previous change.
7541 * libio/libioP.h: Likewise.
7542 * stdio-common/vfprintf.c: Likewise.
7544 * sysdeps/generic/math_private.h: Revert previous
7547 * sysdeps/generic/math_private.h: Check whether
7548 HAVE_RM_CTX is defined with #ifdef rather
7551 * argp/argp-fmtstream.h: Check whether
7552 __STRICT_ANSI__ is defined with #ifdef rather
7554 * argp/argp.h: Likewise.
7556 * libio/genops.c: Check whether
7557 _IO_JUMPS_OFFSET is defined with #ifdef rather
7559 * libio/libioP.h: Likewise.
7560 * stdio-common/vfprintf.c: Likewise.
7562 * sysdeps/generic/ldsodefs.h: Check whether
7563 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7566 * nptl/sysdeps/pthread/pthread.h: Check
7567 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7570 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7572 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7574 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7578 * libio/fileops.c (_IO_file_open): Seek to end of file but
7579 don't cache the offset.
7580 (get_file_offset): Remove function.
7581 (do_ftell): Use cached offset when available.
7582 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7583 don't cache the offset.
7584 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7586 (do_one_test): Call it.
7587 (do_ftell_test): Fix up expected old offset for a+ mode.
7588 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7591 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7592 up test status with function return status.
7593 (do_write_test): Likewise.
7594 (do_append_test): Likewise.
7596 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7597 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7600 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7602 * math/gen-libm-test.pl (parse_args): Handle results specified for
7603 each rounding mode separately.
7604 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7605 tests and results from lrint_tonearest_test_data,
7606 lrint_towardzero_test_data, lrint_downward_test_data and
7607 lrint_upward_test_data.
7608 (lrint_test): Use ALL_RM_TEST.
7609 (lrint_tonearest_test_data): Remove.
7610 (lrint_test_tonearest): Likewise.
7611 (lrint_towardzero_test_data): Likewise.
7612 (lrint_test_towardzero): Likewise.
7613 (lrint_downward_test_data): Likewise.
7614 (lrint_test_downward): Likewise.
7615 (lrint_upward_test_data): Likewise.
7616 (lrint_test_upward): Likewise.
7617 (llrint_test_data): Merge in per-rounding-mode tests and results
7618 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7619 llrint_downward_test_data and llrint_upward_test_data.
7620 (llrint_test): Use ALL_RM_TEST.
7621 (llrint_tonearest_test_data): Remove.
7622 (llrint_test_tonearest): Likewise.
7623 (llrint_towardzero_test_data): Likewise.
7624 (llrint_test_towardzero): Likewise.
7625 (llrint_downward_test_data): Likewise.
7626 (llrint_test_downward): Likewise.
7627 (llrint_upward_test_data): Likewise.
7628 (llrint_test_upward): Likewise.
7629 (rint_test_data): Merge in per-rounding-mode tests and results
7630 from rint_tonearest_test_data, rint_towardzero_test_data,
7631 rint_downward_test_data and rint_upward_test_data. Add
7632 per-rounding-mode results for tests not in those arrays.
7633 (rint_test): Use ALL_RM_TEST.
7634 (rint_tonearest_test_data): Remove.
7635 (rint_test_tonearest): Likewise.
7636 (rint_towardzero_test_data): Likewise.
7637 (rint_test_towardzero): Likewise.
7638 (rint_downward_test_data): Likewise.
7639 (rint_test_downward): Likewise.
7640 (rint_upward_test_data): Likewise.
7641 (rint_test_upward): Likewise.
7642 (main): Don't call removed functions.
7644 2014-03-14 Roland McGrath <roland@hack.frob.com>
7646 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7647 "Compiled on ..." crapola. It is anti-useful.
7649 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7651 * scripts/evaluate-test.sh: Handle fourth argument to determine
7652 whether test run should stop on failure.
7653 * Makeconfig (stop-on-test-failure): New variable.
7654 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7655 $(stop-on-test-failure).
7656 * Makefile (tests): Give a summary of results from testing and
7657 exit with failure status if they include an ERROR or FAIL.
7659 * manual/install.texi (Configuring and compiling): Mention
7660 stop-on-test-failure=y.
7661 * INSTALL: Regenerated.
7663 2014-03-14 Roland McGrath <roland@hack.frob.com>
7665 * scripts/versionlist.awk: New file.
7666 * Makerules [$(build-shared) = yes]
7667 (postclean-generated): Add Versions.def, not Versions.def.v and
7669 ($(common-objpfx)Versions.def.v.i): Target removed.
7670 ($(common-objpfx)Versions.def): New target.
7671 ($(common-objpfx)Versions.all): Depend on that rather that
7672 $(common-objpfx)Versions.def.v.
7673 * Versions.def: File removed.
7675 * Makeconfig (+gccwarn): Add -Wundef.
7676 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7677 a dl-sysdep.h breaking its contract.
7678 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7679 * include/stackinfo.h: New file.
7680 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7681 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7682 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7683 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7684 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7685 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7686 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7687 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7688 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7689 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7690 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7691 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7692 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7693 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7694 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7696 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7699 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7701 * math/libm-test.inc (round_test_data): Add more tests.
7704 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7706 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7709 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7711 * math/libm-test.inc (ceil_test_data): Add more tests.
7713 * math/libm-test.inc (trunc_test_data): Add more tests related to
7716 2014-03-14 Roland McGrath <roland@hack.frob.com>
7718 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7719 with #if rather than #ifdef.
7720 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7722 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7724 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7725 first. Disable AVX-512 GCC support if assembler doesn't support
7727 * sysdeps/x86_64/configure: Regenerated.
7729 2014-03-13 Carlos O'Donell <carlos@redhat.com>
7731 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7732 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7733 (__old_pthread_attr_setstack): Likewise.
7734 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7735 [!_STACK_GROWS_DOWN]: Likewise.
7737 2014-03-13 Mike Frysinger <vapier@gentoo.org>
7739 * config.make.in (have-bash2): Delete.
7740 * configure.ac (libc_cv_have_bash2): Delete.
7741 * configure: Regenerate.
7742 * elf/Makefile (common-ldd-rewrite): Rename to ...
7743 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7744 (sh-ldd-rewrite): Delete.
7745 (bash-ldd-rewrite): Delete.
7746 (have-bash2): Delete checks.
7747 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7750 * config.make.in (have-ksh): Delete.
7752 * configure.ac (libc_cv_have_ksh): Delete.
7753 * configure: Regenerate.
7755 * elf/Makefile: Delete $(have-ksh) check.
7756 ($(objpfx)sotruss): Change KSH to BASH.
7757 * elf/sotruss.ksh: Rename to ...
7758 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7759 function style to match POSIX. Drop ksh vim mode setting.
7761 * manual/time.texi (Specifying the Time Zone with TZ): Change
7762 Tuesday to Thursday.
7764 * debug/tst-longjmp_chk2.c: Update header comment.
7765 (stackoverflow_handler): Add comment. Call assert on pass value.
7767 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7769 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7770 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7771 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7772 (La_x86_64_vector): Add zmm.
7773 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7774 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7775 ($(objpfx)tst-audit10): New target.
7776 ($(objpfx)tst-audit10.out): Likewise.
7777 (tst-audit10-ENV): New.
7778 (AVX512-CFLAGS): Likewise.
7779 (CFLAGS-tst-audit10.c): Likewise.
7780 (CFLAGS-tst-auditmod10a.c): Likewise.
7781 (CFLAGS-tst-auditmod10b.c): Likewise.
7782 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7783 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7784 * sysdeps/x86_64/configure: Regenerated.
7785 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7786 AVX-512 zmm register support.
7787 (_dl_x86_64_save_sse): Likewise.
7788 (_dl_x86_64_restore_sse): Likewise.
7789 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7790 size vector registers.
7791 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7792 (ZMM_SIZE): Likewise.
7793 * sysdeps/x86_64/tst-audit10.c: New file.
7794 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7795 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7797 2014-03-13 Roland McGrath <roland@hack.frob.com>
7799 * configure.ac (HAVE_EHDR_START): New check.
7800 * configure: Regenerated.
7801 * config.h.in (HAVE_EHDR_START): New #undef.
7802 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7803 assuming the lowest-addressed segment maps the start of the file.
7805 2014-03-13 Joseph Myers <joseph@codesourcery.com>
7807 * INSTALL: Regenerated.
7809 2014-03-13 Will Newton <will.newton@linaro.org>
7811 * manual/setjmp.texi (System V contexts): Improve
7812 clarity and grammar of documentation.
7814 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7817 * elf/Makefile (tests): Add tst-pie2.
7818 (tests-pie): Add tst-pie2.
7819 * elf/tst-pie2.c: New file.
7820 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7822 * elf/rtld.c (map_doit): Load executable as lt_executable.
7823 (dl_main): Likewise.
7825 2014-03-12 Joseph Myers <joseph@codesourcery.com>
7828 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7829 (__ASSUME_PSELECT): Undefine.
7831 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7834 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7835 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7837 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7838 selector for static builds.
7840 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7843 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7846 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7848 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7849 IFUNC selector for static builds.
7851 2014-03-11 Joseph Myers <joseph@codesourcery.com>
7853 * sysdeps/mips/math_private.h [__mips_hard_float]
7854 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7855 libc_feresetround_mips_ctx.
7856 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7857 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7858 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7861 * math/s_nextafter.c (__nextafter): Do not return value from
7862 overflowing computation.
7863 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7864 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7865 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7867 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7869 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7870 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7872 2014-03-11 Roland McGrath <roland@hack.frob.com>
7874 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7875 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7876 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7877 the new mov targetting sp.
7879 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7882 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7883 Define it for static builds as well.
7884 (NO_BZERO_IMPL): Likewise.
7886 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7888 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7889 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7890 multiarch strspn for PPC64.
7891 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7892 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7893 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7894 (__libc_ifunc_impl_list): Likewise.
7895 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7896 multiarch optimizations
7897 * string/strspn.c (strspn): Using macro to redefine symbol name.
7899 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7900 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7902 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7903 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7904 multiarch strncat for PPC64.
7905 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7906 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7907 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7908 (__libc_ifunc_impl_list): Likewise.
7909 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7910 multiarch optimizations
7912 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7915 * nscd/nscd.service: Make service type forking.
7917 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7919 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7920 sign in non default rounding modes.
7921 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7923 2014-03-08 Joseph Myers <joseph@codesourcery.com>
7925 * math/libm-test.inc (ALL_RM_TEST): New macro.
7926 (ceil_test): Use ALL_RM_TEST.
7927 (cimag_test): Likewise.
7928 (conj_test): Likewise.
7929 (copysign_test): Likewise.
7930 (cproj_test): Likewise.
7931 (creal_test): Likewise.
7932 (fabs_test): Likewise.
7933 (floor_test): Likewise.
7934 (fmax_test): Likewise.
7935 (fmin_test): Likewise.
7936 (fmod_test): Likewise.
7937 (fpclassify_test): Likewise.
7938 (frexp_test): Likewise.
7939 (ilogb_test): Likewise.
7940 (isfinite_test): Likewise.
7941 (finite_test): Likewise.
7942 (isgreater_test): Likewise.
7943 (isgreaterequal_test): Likewise.
7944 (isinf_test): Likewise.
7945 (isless_test): Likewise.
7946 (islessequal_test): Likewise.
7947 (islessgreater_test): Likewise.
7948 (isnan_test): Likewise.
7949 (isnormal_test): Likewise.
7950 (issignaling_test): Likewise.
7951 (isunordered_test): Likewise.
7952 (logb_test): Likewise.
7953 (logb_downward_test_data): Remove.
7954 (logb_test_downward): Likewise.
7955 (lround_test): Use ALL_RM_TEST.
7956 (llround_test): Likewise.
7957 (modf_test): Likewise.
7958 (nexttoward_test): Likewise.
7959 (remainder_test): Likewise.
7960 (drem_test): Likewise.
7961 (remainder_tonearest_test_data): Likewise.
7962 (remainder_test_tonearest): Likewise.
7963 (drem_test_tonearest): Likewise.
7964 (remainder_towardzero_test_data): Likewise.
7965 (remainder_test_towardzero): Likewise.
7966 (drem_test_towardzero): Likewise.
7967 (remainder_downward_test_data): Likewise.
7968 (remainder_test_downward): Likewise.
7969 (drem_test_downward): Likewise.
7970 (remainder_upward_test_data): Likewise.
7971 (remainder_test_upward): Likewise.
7972 (drem_test_upward): Likewise.
7973 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7974 (round_test): Use ALL_RM_TEST.
7975 (signbit_test): Likewise.
7976 (trunc_test): Likewise.
7977 (significand_test): Likewise.
7978 (main): Don't call removed functions.
7980 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7983 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7985 (ILL_ILLOPN): Likewise.
7986 (ILL_ILLADR): Likewise.
7987 (ILL_ILLTRP): Likewise.
7988 (ILL_PRVOPC): Likewise.
7989 (ILL_PRVREG): Likewise.
7990 (ILL_COPROC): Likewise.
7991 (ILL_BADSTK): Likewise.
7992 (FPE_INTDIV): Likewise.
7993 (FPE_INTOVF): Likewise.
7994 (FPE_FLTDIV): Likewise.
7995 (FPE_FLTOVF): Likewise.
7996 (FPE_FLTUND): Likewise.
7997 (FPE_FLTRES): Likewise.
7998 (FPE_FLTINV): Likewise.
7999 (FPE_FLTSUB): Likewise.
8000 (SEGV_MAPERR): Likewise.
8001 (SEGV_ACCERR): Likewise.
8002 (BUS_ADRALN): Likewise.
8003 (BUS_ADRERR): Likewise.
8004 (BUS_OBJERR): Likewise.
8005 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8006 (TRAP_TRACE): Likewise.
8007 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8009 (CLD_KILLED): Likewise.
8010 (CLD_DUMPED): Likewise.
8011 (CLD_TRAPPED): Likewise.
8012 (CLD_STOPPED): Likewise.
8013 (CLD_CONTINUED): Likewise.
8014 (POLL_IN): Likewise.
8015 (POLL_OUT): Likewise.
8016 (POLL_MSG): Likewise.
8017 (POLL_ERR): Likewise.
8018 (POLL_PRI): Likewise.
8019 (POLL_HUP): Likewise.
8020 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8022 (ILL_ILLOPN): Likewise.
8023 (ILL_ILLADR): Likewise.
8024 (ILL_ILLTRP): Likewise.
8025 (ILL_PRVOPC): Likewise.
8026 (ILL_PRVREG): Likewise.
8027 (ILL_COPROC): Likewise.
8028 (ILL_BADSTK): Likewise.
8029 (FPE_INTDIV): Likewise.
8030 (FPE_INTOVF): Likewise.
8031 (FPE_FLTDIV): Likewise.
8032 (FPE_FLTOVF): Likewise.
8033 (FPE_FLTUND): Likewise.
8034 (FPE_FLTRES): Likewise.
8035 (FPE_FLTINV): Likewise.
8036 (FPE_FLTSUB): Likewise.
8037 (SEGV_MAPERR): Likewise.
8038 (SEGV_ACCERR): Likewise.
8039 (BUS_ADRALN): Likewise.
8040 (BUS_ADRERR): Likewise.
8041 (BUS_OBJERR): Likewise.
8042 (BUS_MCEERR_AR): Likewise.
8043 (BUS_MCEERR_AO): Likewise.
8044 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8045 (TRAP_TRACE): Likewise.
8046 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8048 (CLD_KILLED): Likewise.
8049 (CLD_DUMPED): Likewise.
8050 (CLD_TRAPPED): Likewise.
8051 (CLD_STOPPED): Likewise.
8052 (CLD_CONTINUED): Likewise.
8053 (POLL_IN): Likewise.
8054 (POLL_OUT): Likewise.
8055 (POLL_MSG): Likewise.
8056 (POLL_ERR): Likewise.
8057 (POLL_PRI): Likewise.
8058 (POLL_HUP): Likewise.
8059 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8060 (ILL_ILLOPN): Likewise.
8061 (ILL_ILLADR): Likewise.
8062 (ILL_ILLTRP): Likewise.
8063 (ILL_PRVOPC): Likewise.
8064 (ILL_PRVREG): Likewise.
8065 (ILL_COPROC): Likewise.
8066 (ILL_BADSTK): Likewise.
8067 (FPE_INTDIV): Likewise.
8068 (FPE_INTOVF): Likewise.
8069 (FPE_FLTDIV): Likewise.
8070 (FPE_FLTOVF): Likewise.
8071 (FPE_FLTUND): Likewise.
8072 (FPE_FLTRES): Likewise.
8073 (FPE_FLTINV): Likewise.
8074 (FPE_FLTSUB): Likewise.
8075 (SEGV_MAPERR): Likewise.
8076 (SEGV_ACCERR): Likewise.
8077 (BUS_ADRALN): Likewise.
8078 (BUS_ADRERR): Likewise.
8079 (BUS_OBJERR): Likewise.
8080 (BUS_MCEERR_AR): Likewise.
8081 (BUS_MCEERR_AO): Likewise.
8082 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8083 (TRAP_TRACE): Likewise.
8084 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8086 (CLD_KILLED): Likewise.
8087 (CLD_DUMPED): Likewise.
8088 (CLD_TRAPPED): Likewise.
8089 (CLD_STOPPED): Likewise.
8090 (CLD_CONTINUED): Likewise.
8091 (POLL_IN): Likewise.
8092 (POLL_OUT): Likewise.
8093 (POLL_MSG): Likewise.
8094 (POLL_ERR): Likewise.
8095 (POLL_PRI): Likewise.
8096 (POLL_HUP): Likewise.
8097 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8099 (ILL_ILLOPN): Likewise.
8100 (ILL_ILLADR): Likewise.
8101 (ILL_ILLTRP): Likewise.
8102 (ILL_PRVOPC): Likewise.
8103 (ILL_PRVREG): Likewise.
8104 (ILL_COPROC): Likewise.
8105 (ILL_BADSTK): Likewise.
8106 (ILL_BADIADDR): Likewise.
8107 (ILL_BREAK): Likewise.
8108 (FPE_INTDIV): Likewise.
8109 (FPE_INTOVF): Likewise.
8110 (FPE_FLTDIV): Likewise.
8111 (FPE_FLTOVF): Likewise.
8112 (FPE_FLTUND): Likewise.
8113 (FPE_FLTRES): Likewise.
8114 (FPE_FLTINV): Likewise.
8115 (FPE_FLTSUB): Likewise.
8116 (FPE_DECOVF): Likewise.
8117 (FPE_DECDIV): Likewise.
8118 (FPE_DECERR): Likewise.
8119 (FPE_INVASC): Likewise.
8120 (FPE_INVDEC): Likewise.
8121 (SEGV_MAPERR): Likewise.
8122 (SEGV_ACCERR): Likewise.
8123 (SEGV_PSTKOVF): Likewise.
8124 (BUS_ADRALN): Likewise.
8125 (BUS_ADRERR): Likewise.
8126 (BUS_OBJERR): Likewise.
8127 (BUS_MCEERR_AR): Likewise.
8128 (BUS_MCEERR_AO): Likewise.
8129 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8130 (TRAP_TRACE): Likewise.
8131 (TRAP_BRANCH): Likewise.
8132 (TRAP_HWBKPT): Likewise.
8133 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8135 (CLD_KILLED): Likewise.
8136 (CLD_DUMPED): Likewise.
8137 (CLD_TRAPPED): Likewise.
8138 (CLD_STOPPED): Likewise.
8139 (CLD_CONTINUED): Likewise.
8140 (POLL_IN): Likewise.
8141 (POLL_OUT): Likewise.
8142 (POLL_MSG): Likewise.
8143 (POLL_ERR): Likewise.
8144 (POLL_PRI): Likewise.
8145 (POLL_HUP): Likewise.
8146 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8147 (ILL_ILLOPN): Likewise.
8148 (ILL_ILLADR): Likewise.
8149 (ILL_ILLTRP): Likewise.
8150 (ILL_PRVOPC): Likewise.
8151 (ILL_PRVREG): Likewise.
8152 (ILL_COPROC): Likewise.
8153 (ILL_BADSTK): Likewise.
8154 (FPE_INTDIV): Likewise.
8155 (FPE_INTOVF): Likewise.
8156 (FPE_FLTDIV): Likewise.
8157 (FPE_FLTOVF): Likewise.
8158 (FPE_FLTUND): Likewise.
8159 (FPE_FLTRES): Likewise.
8160 (FPE_FLTINV): Likewise.
8161 (FPE_FLTSUB): Likewise.
8162 (SEGV_MAPERR): Likewise.
8163 (SEGV_ACCERR): Likewise.
8164 (BUS_ADRALN): Likewise.
8165 (BUS_ADRERR): Likewise.
8166 (BUS_OBJERR): Likewise.
8167 (BUS_MCEERR_AR): Likewise.
8168 (BUS_MCEERR_AO): Likewise.
8169 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8170 (TRAP_TRACE): Likewise.
8171 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8173 (CLD_KILLED): Likewise.
8174 (CLD_DUMPED): Likewise.
8175 (CLD_TRAPPED): Likewise.
8176 (CLD_STOPPED): Likewise.
8177 (CLD_CONTINUED): Likewise.
8178 (POLL_IN): Likewise.
8179 (POLL_OUT): Likewise.
8180 (POLL_MSG): Likewise.
8181 (POLL_ERR): Likewise.
8182 (POLL_PRI): Likewise.
8183 (POLL_HUP): Likewise.
8184 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8185 (ILL_ILLOPN): Likewise.
8186 (ILL_ILLADR): Likewise.
8187 (ILL_ILLTRP): Likewise.
8188 (ILL_PRVOPC): Likewise.
8189 (ILL_PRVREG): Likewise.
8190 (ILL_COPROC): Likewise.
8191 (ILL_BADSTK): Likewise.
8192 (FPE_INTDIV): Likewise.
8193 (FPE_INTOVF): Likewise.
8194 (FPE_FLTDIV): Likewise.
8195 (FPE_FLTOVF): Likewise.
8196 (FPE_FLTUND): Likewise.
8197 (FPE_FLTRES): Likewise.
8198 (FPE_FLTINV): Likewise.
8199 (FPE_FLTSUB): Likewise.
8200 (SEGV_MAPERR): Likewise.
8201 (SEGV_ACCERR): Likewise.
8202 (BUS_ADRALN): Likewise.
8203 (BUS_ADRERR): Likewise.
8204 (BUS_OBJERR): Likewise.
8205 (BUS_MCEERR_AR): Likewise.
8206 (BUS_MCEERR_AO): Likewise.
8207 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8208 (TRAP_TRACE): Likewise.
8209 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8211 (CLD_KILLED): Likewise.
8212 (CLD_DUMPED): Likewise.
8213 (CLD_TRAPPED): Likewise.
8214 (CLD_STOPPED): Likewise.
8215 (CLD_CONTINUED): Likewise.
8216 (POLL_IN): Likewise.
8217 (POLL_OUT): Likewise.
8218 (POLL_MSG): Likewise.
8219 (POLL_ERR): Likewise.
8220 (POLL_PRI): Likewise.
8221 (POLL_HUP): Likewise.
8222 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8223 (ILL_ILLOPN): Likewise.
8224 (ILL_ILLADR): Likewise.
8225 (ILL_ILLTRP): Likewise.
8226 (ILL_PRVOPC): Likewise.
8227 (ILL_PRVREG): Likewise.
8228 (ILL_COPROC): Likewise.
8229 (ILL_BADSTK): Likewise.
8230 (FPE_INTDIV): Likewise.
8231 (FPE_INTOVF): Likewise.
8232 (FPE_FLTDIV): Likewise.
8233 (FPE_FLTOVF): Likewise.
8234 (FPE_FLTUND): Likewise.
8235 (FPE_FLTRES): Likewise.
8236 (FPE_FLTINV): Likewise.
8237 (FPE_FLTSUB): Likewise.
8238 (SEGV_MAPERR): Likewise.
8239 (SEGV_ACCERR): Likewise.
8240 (BUS_ADRALN): Likewise.
8241 (BUS_ADRERR): Likewise.
8242 (BUS_OBJERR): Likewise.
8243 (BUS_MCEERR_AR): Likewise.
8244 (BUS_MCEERR_AO): Likewise.
8245 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8246 (TRAP_TRACE): Likewise.
8247 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8249 (CLD_KILLED): Likewise.
8250 (CLD_DUMPED): Likewise.
8251 (CLD_TRAPPED): Likewise.
8252 (CLD_STOPPED): Likewise.
8253 (CLD_CONTINUED): Likewise.
8254 (POLL_IN): Likewise.
8255 (POLL_OUT): Likewise.
8256 (POLL_MSG): Likewise.
8257 (POLL_ERR): Likewise.
8258 (POLL_PRI): Likewise.
8259 (POLL_HUP): Likewise.
8260 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8261 (ILL_ILLOPN): Likewise.
8262 (ILL_ILLADR): Likewise.
8263 (ILL_ILLTRP): Likewise.
8264 (ILL_PRVOPC): Likewise.
8265 (ILL_PRVREG): Likewise.
8266 (ILL_COPROC): Likewise.
8267 (ILL_BADSTK): Likewise.
8268 (ILL_DBLFLT): Likewise.
8269 (ILL_HARDWALL): Likewise.
8270 (FPE_INTDIV): Likewise.
8271 (FPE_INTOVF): Likewise.
8272 (FPE_FLTDIV): Likewise.
8273 (FPE_FLTOVF): Likewise.
8274 (FPE_FLTUND): Likewise.
8275 (FPE_FLTRES): Likewise.
8276 (FPE_FLTINV): Likewise.
8277 (FPE_FLTSUB): Likewise.
8278 (SEGV_MAPERR): Likewise.
8279 (SEGV_ACCERR): Likewise.
8280 (BUS_ADRALN): Likewise.
8281 (BUS_ADRERR): Likewise.
8282 (BUS_OBJERR): Likewise.
8283 (BUS_MCEERR_AR): Likewise.
8284 (BUS_MCEERR_AO): Likewise.
8285 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8286 (TRAP_TRACE): Likewise.
8287 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8289 (CLD_KILLED): Likewise.
8290 (CLD_DUMPED): Likewise.
8291 (CLD_TRAPPED): Likewise.
8292 (CLD_STOPPED): Likewise.
8293 (CLD_CONTINUED): Likewise.
8294 (POLL_IN): Likewise.
8295 (POLL_OUT): Likewise.
8296 (POLL_MSG): Likewise.
8297 (POLL_ERR): Likewise.
8298 (POLL_PRI): Likewise.
8299 (POLL_HUP): Likewise.
8300 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8301 (ILL_ILLOPN): Likewise.
8302 (ILL_ILLADR): Likewise.
8303 (ILL_ILLTRP): Likewise.
8304 (ILL_PRVOPC): Likewise.
8305 (ILL_PRVREG): Likewise.
8306 (ILL_COPROC): Likewise.
8307 (ILL_BADSTK): Likewise.
8308 (FPE_INTDIV): Likewise.
8309 (FPE_INTOVF): Likewise.
8310 (FPE_FLTDIV): Likewise.
8311 (FPE_FLTOVF): Likewise.
8312 (FPE_FLTUND): Likewise.
8313 (FPE_FLTRES): Likewise.
8314 (FPE_FLTINV): Likewise.
8315 (FPE_FLTSUB): Likewise.
8316 (SEGV_MAPERR): Likewise.
8317 (SEGV_ACCERR): Likewise.
8318 (BUS_ADRALN): Likewise.
8319 (BUS_ADRERR): Likewise.
8320 (BUS_OBJERR): Likewise.
8321 (BUS_MCEERR_AR): Likewise.
8322 (BUS_MCEERR_AO): Likewise.
8323 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8324 (TRAP_TRACE): Likewise.
8325 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8327 (CLD_KILLED): Likewise.
8328 (CLD_DUMPED): Likewise.
8329 (CLD_TRAPPED): Likewise.
8330 (CLD_STOPPED): Likewise.
8331 (CLD_CONTINUED): Likewise.
8332 (POLL_IN): Likewise.
8333 (POLL_OUT): Likewise.
8334 (POLL_MSG): Likewise.
8335 (POLL_ERR): Likewise.
8336 (POLL_PRI): Likewise.
8337 (POLL_HUP): Likewise.
8338 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8339 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8342 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8343 before #include of <time.h>.
8344 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8345 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8346 (test-xfail-UNIX98/sched.h/conform): Likewise.
8348 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8350 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8351 error absence of trapping exception support.
8352 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8354 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8356 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8357 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8358 * timezone/Makefile (testdata): Move definition above include of
8360 (test-zones): New variable.
8361 (tests-special): Add zone files.
8362 (build-testdata): Use $(evaluate-test).
8364 * elf/Makefile (tests-special): Rename tests to end with .out.
8365 ($(objpfx)noload-mem): Likewise.
8366 ($(objpfx)tst-leaks1-mem): Likewise.
8367 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8368 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8369 $(objpfx)test-iconvconfig.out.
8370 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8371 set -e inside subshell and redirect output to file.
8372 * iconvdata/Makefile (generated): Rename tests to end with .out.
8374 (tests-special): Rename tests to end with .out.
8375 ($(objpfx)mtrace-tst-loading): Likewise.
8376 * intl/Makefile (generated): Likewise.
8377 (tests-special): Likewise.
8378 ($(objpfx)mtrace-tst-gettext): Likewise.
8379 * misc/Makefile (generated): Likewise.
8380 (tests-special): Likewise.
8381 ($(objpfx)tst-error1-mem): Likewise.
8382 * nptl/Makefile (tests-special): Likewise.
8383 ($(objpfx)tst-stack3-mem): Likewise.
8384 (generated): Likewise.
8385 * posix/Makefile (generated): Likewise.
8386 (tests-special): Likewise.
8387 (xtests-special): Likewise.
8388 ($(objpfx)tst-fnmatch-mem): Likewise.
8389 ($(objpfx)bug-regex2-mem): Likewise.
8390 ($(objpfx)bug-regex14-mem): Likewise.
8391 ($(objpfx)bug-regex21-mem): Likewise.
8392 ($(objpfx)bug-regex31-mem): Likewise.
8393 ($(objpfx)tst-vfork3-mem): Likewise.
8394 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8395 ($(objpfx)tst-pcre-mem): Likewise.
8396 ($(objpfx)tst-boost-mem): Likewise.
8397 ($(objpfx)bug-ga2-mem): Likewise.
8398 ($(objpfx)bug-glob2-mem): Likewise.
8399 * resolv/Makefile (generate): Likewise.
8400 (tests-special): Likewise.
8401 (xtests-special): Likewise.
8402 (generated): Likewise.
8403 ($(objpfx)mtrace-tst-leaks): Likewise.
8404 ($(objpfx)mtrace-tst-leaks2): Likewise.
8406 * scripts/merge-test-results.sh: New file.
8407 * Makefile (tests-special-notdir): New variable.
8408 (tests): Run merge-test-results.sh.
8410 * Rules (tests-special-notdir): New variable.
8411 (xtests-special-notdir): Likewise.
8412 (tests): Run merge-test-results.sh
8415 * Makeconfig (test-xfail-name): New variable.
8416 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8417 compute variable name for expected failures.
8418 * conform/Makefile (conformtest-headers-data): New variable.
8419 (conformtest-standards): Likewise.
8420 (conformtest-headers-ISO): Likewise.
8421 (conformtest-headers-ISO99): Likewise.
8422 (conformtest-headers-ISO11): Likewise.
8423 (conformtest-headers-POSIX): Likewise.
8424 (conformtest-headers-XPG3): Likewise.
8425 (conformtest-headers-XPG4): Likewise.
8426 (conformtest-headers-UNIX98): Likewise.
8427 (conformtest-headers-XOPEN2K): Likewise.
8428 (conformtest-headers-POSIX2008): Likewise.
8429 (conformtest-headers-XOPEN2K8): Likewise.
8430 (conformtest-header-list-base): Likewise.
8431 (conformtest-header-list-tests): Likewise.
8432 (conformtest-header-base): Likewise.
8433 (conformtest-header-tests): Likewise.
8434 (tests-special): Add $(conformtest-header-list-tests). If
8435 [$(fast-check) && !$(cross-compiling)], add
8436 $(conformtest-header-tests) instead of
8437 $(objpfx)run-conformtest.out.
8438 (generated): Add $(conformtest-header-list-base). If
8439 [$(fast-check) && !$(cross-compiling)], add
8440 $(conformtest-header-base). Remove previous setting.
8441 ($(conformtest-header-list-tests)): New target.
8442 (test-xfail-run-conformtest): Remove variable.
8443 ($(objpfx)run-conformtest.out): Remove target.
8444 (test-xfail-ISO11/complex.h/conform): New variable.
8445 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8446 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8447 (test-xfail-XPG3/varargs.h/conform): Likewise.
8448 (test-xfail-XPG4/varargs.h/conform): Likewise.
8449 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8450 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8451 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8452 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8453 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8454 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8455 (test-xfail-XPG3/ftw.h/conform): Likewise.
8456 (test-xfail-XPG3/grp.h/conform): Likewise.
8457 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8458 (test-xfail-XPG3/limits.h/conform): Likewise.
8459 (test-xfail-XPG3/pwd.h/conform): Likewise.
8460 (test-xfail-XPG3/search.h/conform): Likewise.
8461 (test-xfail-XPG3/signal.h/conform): Likewise.
8462 (test-xfail-XPG3/stdio.h/conform): Likewise.
8463 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8464 (test-xfail-XPG3/string.h/conform): Likewise.
8465 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8466 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8467 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8468 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8469 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8470 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8471 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8472 (test-xfail-XPG3/termios.h/conform): Likewise.
8473 (test-xfail-XPG3/time.h/conform): Likewise.
8474 (test-xfail-XPG3/unistd.h/conform): Likewise.
8475 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8476 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8477 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8478 (test-xfail-XPG4/netdb.h/conform): Likewise.
8479 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8480 (test-xfail-XPG4/signal.h/conform): Likewise.
8481 (test-xfail-XPG4/stdio.h/conform): Likewise.
8482 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8483 (test-xfail-XPG4/stropts.h/conform): Likewise.
8484 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8485 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8486 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8487 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8488 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8489 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8490 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8491 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8492 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8493 (test-xfail-XPG4/termios.h/conform): Likewise.
8494 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8495 (test-xfail-XPG4/unistd.h/conform): Likewise.
8496 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8497 (test-xfail-POSIX/sched.h/conform): Likewise.
8498 (test-xfail-POSIX/signal.h/conform): Likewise.
8499 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8500 (test-xfail-POSIX/tar.h/conform): Likewise.
8501 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8502 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8503 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8504 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8505 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8506 (test-xfail-UNIX98/sched.h/conform): Likewise.
8507 (test-xfail-UNIX98/signal.h/conform): Likewise.
8508 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8509 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8510 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8511 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8512 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8513 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8514 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8515 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8516 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8517 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8518 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8519 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8520 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8521 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8522 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8523 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8524 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8525 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8526 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8527 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8528 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8529 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8530 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8531 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8532 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8533 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8534 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8535 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8536 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8537 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8538 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8539 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8540 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8541 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8542 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8543 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8544 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8545 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8546 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8547 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8548 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8549 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8550 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8551 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8552 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8553 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8554 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8555 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8556 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8557 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8558 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8559 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8560 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8561 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8562 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8563 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8564 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8565 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8566 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8567 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8568 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8569 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8570 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8571 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8572 (conformtest-cc-flags): Likewise.
8573 ($(conformtest-header-tests): New target.
8574 * conform/check-header-lists.sh: New file.
8575 * conform/run-conformtest.sh: Remove.
8577 * conform/conformtest.pl: Allow ' and \ in values given for
8579 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8581 [POSIX] (sys/types.h): Likewise.
8582 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8584 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8586 * conform/data/signal.h-data (SIGIO): Remove expectation.
8587 [XPG3] (SIGBUS): Do not expect.
8588 [POSIX || XPG3] (SIGPOLL): Likewise.
8589 [POSIX || XPG3] (SIGPROF): Likewise.
8590 [POSIX || XPG3] (SIGSYS): Likewise.
8591 [XPG3] (SIGTRAP): Likewise.
8592 [POSIX || XPG3] (SIGURG): Likewise.
8593 [POSIX || XPG3] (SIGVTALRM): Likewise.
8594 [POSIX || XPG3] (SIGXCPU): Likewise.
8595 [POSIX || XPG3] (SIGXFSZ): Likewise.
8596 [POSIX] (SA_SIGINFO): Expect.
8597 [XPG3] (siginfo_t): Do not expect type or contents.
8598 [POSIX] (si_pid): Do not expect element.
8599 [POSIX] (si_uid): Likewise.
8600 [POSIX] (si_addr): Likewise.
8601 [POSIX] (si_status): Likewise.
8602 [POSIX] (si_band): Likewise.
8603 [XPG4] (si_value): Likewise.
8604 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8605 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8606 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8607 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8608 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8609 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8610 [POSIX || XPG3] (ILL_COPROC): Likewise.
8611 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8612 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8613 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8614 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8615 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8616 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8617 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8618 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8619 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8620 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8621 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8622 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8623 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8624 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8625 [POSIX || XPG3] (CLD_EXITED): Likewise.
8626 [POSIX || XPG3] (CLD_KILLED): Likewise.
8627 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8628 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8629 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8630 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8631 [POSIX || XPG3] (POLL_IN): Likewise.
8632 [POSIX || XPG3] (POLL_OUT): Likewise.
8633 [POSIX || XPG3] (POLL_MSG): Likewise.
8634 [POSIX || XPG3] (POLL_ERR): Likewise.
8635 [POSIX || XPG3] (POLL_PRI): Likewise.
8636 [POSIX || XPG3] (POLL_HUP): Likewise.
8637 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8638 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8639 (SIG*): Do not allow.
8640 [XPG3] (si_*): Likewise.
8641 [XPG3] (SI_*): Likewise.
8642 [XPG3 || XPG4] (sigev_*): Likewise.
8643 [XPG3 || XPG4] (SIGEV_*): Likewise.
8644 [XPG3 || XPG4] (sival_*): Likewise.
8645 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8646 [POSIX || XPG3] (BUS_*): Likewise.
8647 [POSIX || XPG3] (CLD_*): Likewise.
8648 [POSIX || XPG3] (FPE_*): Likewise.
8649 [POSIX || XPG3] (ILL_*): Likewise.
8650 [POSIX || XPG3] (POLL_*): Likewise.
8651 [POSIX || XPG3] (SEGV_*): Likewise.
8652 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8653 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8654 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8655 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8656 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8657 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8658 Specify type and value.
8659 (TVERSLEN): Likewise.
8660 (REGTYPE): Likewise.
8661 (AREGTYPE): Likewise.
8662 (LNKTYPE): Likewise.
8663 (SYMTYPE): Likewise.
8664 (CHRTYPE): Likewise.
8665 (BLKTYPE): Likewise.
8666 (DIRTYPE): Likewise.
8667 (FIFOTYPE): Likewise.
8668 (CONTTYPE): Likewise.
8673 (TUWRITE): Likewise.
8676 (TGWRITE): Likewise.
8679 (TOWRITE): Likewise.
8681 [POSIX] (TSVTX): Expect constant.
8683 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8685 * Makefile (tests): Change dependencies to ....
8686 (tests-special): ... additions to this variable.
8687 (tests): Depend on $(tests-special).
8688 * Makerules (check-abi-list): New variable.
8689 (check-abi): Depend on $(check-abi-list).
8690 [$(subdir) = elf] (tests-special): Add
8691 $(objpfx)check-abi-libc.out.
8692 [$(build-shared) = yes && subdir] (tests-special): Add
8694 [$(build-shared) = yes && subdir] (tests): Do not depend on
8696 * Rules (tests): Depend on $(tests-special).
8697 (xtests): Depend on $(xtests-special).
8698 * catgets/Makefile (tests): Change dependencies to ....
8699 (tests-special): ... additions to this variable.
8700 * conform/Makefile (tests): Change dependencies to ....
8701 (tests-special): ... additions to this variable.
8702 * elf/Makefile (tests): Change dependencies to ....
8703 (tests-special): ... additions to this variable.
8704 * grp/Makefile (tests): Change dependencies to ....
8705 (tests-special): ... additions to this variable.
8706 * iconv/Makefile (xtests): Change dependencies to ....
8707 (xtests-special): ... additions to this variable.
8708 * iconvdata/Makefile (tests): Change dependencies to ....
8709 (tests-special): ... additions to this variable.
8710 * intl/Makefile (tests): Change dependencies to ....
8711 (tests-special): ... additions to this variable. Also add
8712 $(objpfx)tst-gettext.out.
8713 * io/Makefile (tests): Change dependencies to ....
8714 (tests-special): ... additions to this variable.
8715 * libio/Makefile (tests): Change dependencies to ....
8716 (tests-special): ... additions to this variable.
8717 * malloc/Makefile (tests): Change dependencies to ....
8718 (tests-special): ... additions to this variable.
8719 * misc/Makefile (tests): Change dependencies to ....
8720 (tests-special): ... additions to this variable.
8721 * nptl/Makefile (tests): Change dependencies to ....
8722 (tests-special): ... additions to this variable.
8723 * nptl_db/Makefile (tests): Change dependencies to ....
8724 (tests-special): ... additions to this variable.
8725 * posix/Makefile (tests): Change dependencies to ....
8726 (tests-special): ... additions to this variable.
8727 (xtests): Change dependencies to ....
8728 (xtests-special): ... additions to this variable.
8729 * resolv/Makefile (tests): Change dependencies to ....
8730 (tests-special): ... additions to this variable.
8731 (xtests): Change dependencies to ....
8732 (xtests-special): ... additions to this variable.
8733 * stdio-common/Makefile (tests): Change dependencies to ....
8734 (tests-special): ... additions to this variable.
8735 (do-tst-unbputc): Remove target.
8736 (do-tst-printf): Likewise.
8737 * stdlib/Makefile (tests): Change dependencies to ....
8738 (tests-special): ... additions to this variable.
8739 * string/Makefile (tests): Change dependencies to ....
8740 (tests-special): ... additions to this variable.
8741 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8742 (tests-special): ... additions to this variable.
8744 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8746 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8748 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8749 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8751 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8752 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8753 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8754 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8755 * conform/data/libgen.h-data [XPG3]: Likewise.
8756 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8757 * conform/data/ndbm.h-data [XPG3]: Likewise.
8758 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8759 * conform/data/netdb.h-data [XPG3]: Likewise.
8760 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8761 * conform/data/poll.h-data [XPG3]: Likewise.
8762 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8763 * conform/data/strings.h-data [XPG3]: Likewise.
8764 * conform/data/stropts.h-data [XPG3]: Likewise.
8765 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8766 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8767 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8769 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8770 * conform/data/sys/time.h-data [XPG3]: Likewise.
8771 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8772 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8773 * conform/data/sys/un.h-data [XPG3]: Likewise.
8774 * conform/data/syslog.h-data [XPG3]: Likewise.
8775 * conform/data/ucontext.h-data [XPG3]: Likewise.
8776 * conform/data/utmpx.h-data [XPG3]: Likewise.
8777 * conform/data/varargs.h-data [UNIX98]: Enable file.
8779 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8781 * math/libm-test.inc (struct test_f_f_data): Move expected results
8782 into structure for each rounding mode.
8783 (struct test_ff_f_data): Likewise.
8784 (struct test_ff_f_data_nexttoward): Likewise.
8785 (struct test_fi_f_data): Likewise.
8786 (struct test_fl_f_data): Likewise.
8787 (struct test_if_f_data): Likewise.
8788 (struct test_fff_f_data): Likewise.
8789 (struct test_c_f_data): Likewise.
8790 (struct test_f_f1_data): Likewise.
8791 (struct test_fF_f1_data): Likewise.
8792 (struct test_ffI_f1_data): Likewise.
8793 (struct test_c_c_data): Likewise.
8794 (struct test_cc_c_data): Likewise.
8795 (struct test_f_i_data): Likewise.
8796 (struct test_ff_i_data): Likewise.
8797 (struct test_f_l_data): Likewise.
8798 (struct test_f_L_data): Likewise.
8799 (struct test_fFF_11_data): Likewise.
8801 (RM_FE_DOWNWARD): Likewise.
8802 (RM_FE_TONEAREST): Likewise.
8803 (RM_FE_TOWARDZERO): Likewise.
8804 (RM_FE_UPWARD): Likewise.
8805 (RUN_TEST_LOOP_f_f): Update references to expected results.
8806 (RUN_TEST_LOOP_2_f): Likewise.
8807 (RUN_TEST_LOOP_fff_f): Likewise.
8808 (RUN_TEST_LOOP_c_f): Likewise.
8809 (RUN_TEST_LOOP_f_f1): Likewise.
8810 (RUN_TEST_LOOP_fF_f1): Likewise.
8811 (RUN_TEST_LOOP_fI_f1): Likewise.
8812 (RUN_TEST_LOOP_ffI_f1): Likewise.
8813 (RUN_TEST_LOOP_c_c): Likewise.
8814 (RUN_TEST_LOOP_cc_c): Likewise.
8815 (RUN_TEST_LOOP_f_i): Likewise.
8816 (RUN_TEST_LOOP_f_i_tg): Likewise.
8817 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8818 (RUN_TEST_LOOP_f_b): Likewise.
8819 (RUN_TEST_LOOP_f_b_tg): Likewise.
8820 (RUN_TEST_LOOP_f_l): Likewise.
8821 (RUN_TEST_LOOP_f_L): Likewise.
8822 (RUN_TEST_LOOP_fFF_11): Likewise.
8823 * math/gen-libm-test.pl (parse_args): Output four copies of
8824 expected results for each test.
8826 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8827 (__ASSUME_UTIMES): Remove.
8828 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8829 (__ASSUME_UTIMES): Likewise.
8831 * math/gen-auto-libm-tests.c: Update comment on output format.
8832 (output_for_one_input_case): Generate before-rounding and
8833 after-rounding information as conditions on output flags not
8834 floating-point format.
8835 * math/auto-libm-test-out: Regenerated.
8836 * math/gen-libm-test.pl (cond_value): New function.
8837 (or_cond_value): Use cond_value.
8838 (generate_testfile): Handle conditional exceptions.
8840 2014-03-05 Joseph Myers <joseph@codesourcery.com>
8842 * math/libm-test.inc (max_valid_error): New variable.
8843 (init_max_error): Take new argument specifying whether function
8844 results are exactly determined. Set max_valid_error and bound
8845 other variables for errors based on this argument.
8846 (set_max_error): Do not record results above max_valid_error.
8847 (check_float_internal): Only accept errors of up to 0.5ulps if
8848 also at most max_valid_error.
8849 (START): Take new argument EXACT and pass it to init_max_error.
8850 (acos_test): Update call to START.
8851 (acos_test_tonearest): Likewise.
8852 (acos_test_towardzero): Likewise.
8853 (acos_test_downward): Likewise.
8854 (acos_test_upward): Likewise.
8855 (acosh_test): Likewise.
8856 (asin_test): Likewise.
8857 (asin_test_tonearest): Likewise.
8858 (asin_test_towardzero): Likewise.
8859 (asin_test_downward): Likewise.
8860 (asin_test_upward): Likewise.
8861 (asinh_test): Likewise.
8862 (atan_test): Likewise.
8863 (atanh_test): Likewise.
8864 (atan2_test): Likewise.
8865 (cabs_test): Likewise.
8866 (cacos_test): Likewise.
8867 (cacosh_test): Likewise.
8868 (carg_test): Likewise.
8869 (casin_test): Likewise.
8870 (casinh_test): Likewise.
8871 (catan_test): Likewise.
8872 (catanh_test): Likewise.
8873 (cbrt_test): Likewise.
8874 (ccos_test): Likewise.
8875 (ccosh_test): Likewise.
8876 (ceil_test): Likewise.
8877 (cexp_test): Likewise.
8878 (cimag_test): Likewise.
8879 (clog_test): Likewise.
8880 (clog10_test): Likewise.
8881 (conj_test): Likewise.
8882 (copysign_test): Likewise.
8883 (cos_test): Likewise.
8884 (cos_test_tonearest): Likewise.
8885 (cos_test_towardzero): Likewise.
8886 (cos_test_downward): Likewise.
8887 (cos_test_upward): Likewise.
8888 (cosh_test): Likewise.
8889 (cosh_test_tonearest): Likewise.
8890 (cosh_test_towardzero): Likewise.
8891 (cosh_test_downward): Likewise.
8892 (cosh_test_upward): Likewise.
8893 (cpow_test): Likewise.
8894 (cproj_test): Likewise.
8895 (creal_test): Likewise.
8896 (csin_test): Likewise.
8897 (csinh_test): Likewise.
8898 (csqrt_test): Likewise.
8899 (ctan_test): Likewise.
8900 (ctan_test_tonearest): Likewise.
8901 (ctan_test_towardzero): Likewise.
8902 (ctan_test_downward): Likewise.
8903 (ctan_test_upward): Likewise.
8904 (ctanh_test): Likewise.
8905 (ctanh_test_tonearest): Likewise.
8906 (ctanh_test_towardzero): Likewise.
8907 (ctanh_test_downward): Likewise.
8908 (ctanh_test_upward): Likewise.
8909 (erf_test): Likewise.
8910 (erfc_test): Likewise.
8911 (exp_test): Likewise.
8912 (exp_test_tonearest): Likewise.
8913 (exp_test_towardzero): Likewise.
8914 (exp_test_downward): Likewise.
8915 (exp_test_upward): Likewise.
8916 (exp10_test): Likewise.
8917 (exp10_test_tonearest): Likewise.
8918 (exp10_test_towardzero): Likewise.
8919 (exp10_test_downward): Likewise.
8920 (exp10_test_upward): Likewise.
8921 (pow10_test): Likewise.
8922 (exp2_test): Likewise.
8923 (expm1_test): Likewise.
8924 (expm1_test_tonearest): Likewise.
8925 (expm1_test_towardzero): Likewise.
8926 (expm1_test_downward): Likewise.
8927 (expm1_test_upward): Likewise.
8928 (fabs_test): Likewise.
8929 (fdim_test): Likewise.
8930 (floor_test): Likewise.
8931 (fma_test): Likewise.
8932 (fma_test_towardzero): Likewise.
8933 (fma_test_downward): Likewise.
8934 (fma_test_upward): Likewise.
8935 (fmax_test): Likewise.
8936 (fmin_test): Likewise.
8937 (fmod_test): Likewise.
8938 (fpclassify_test): Likewise.
8939 (frexp_test): Likewise.
8940 (hypot_test): Likewise.
8941 (ilogb_test): Likewise.
8942 (isfinite_test): Likewise.
8943 (finite_test): Likewise.
8944 (isgreater_test): Likewise.
8945 (isgreaterequal_test): Likewise.
8946 (isinf_test): Likewise.
8947 (isless_test): Likewise.
8948 (islessequal_test): Likewise.
8949 (islessgreater_test): Likewise.
8950 (isnan_test): Likewise.
8951 (isnormal_test): Likewise.
8952 (issignaling_test): Likewise.
8953 (isunordered_test): Likewise.
8954 (j0_test): Likewise.
8955 (j1_test): Likewise.
8956 (jn_test): Likewise.
8957 (ldexp_test): Likewise.
8958 (lgamma_test): Likewise.
8959 (gamma_test): Likewise.
8960 (lrint_test): Likewise.
8961 (lrint_test_tonearest): Likewise.
8962 (lrint_test_towardzero): Likewise.
8963 (lrint_test_downward): Likewise.
8964 (lrint_test_upward): Likewise.
8965 (llrint_test): Likewise.
8966 (llrint_test_tonearest): Likewise.
8967 (llrint_test_towardzero): Likewise.
8968 (llrint_test_downward): Likewise.
8969 (llrint_test_upward): Likewise.
8970 (log_test): Likewise.
8971 (log10_test): Likewise.
8972 (log1p_test): Likewise.
8973 (log2_test): Likewise.
8974 (logb_test): Likewise.
8975 (logb_test_downward): Likewise.
8976 (lround_test): Likewise.
8977 (llround_test): Likewise.
8978 (modf_test): Likewise.
8979 (nearbyint_test): Likewise.
8980 (nextafter_test): Likewise.
8981 (nexttoward_test): Likewise.
8982 (pow_test): Likewise.
8983 (pow_test_tonearest): Likewise.
8984 (pow_test_towardzero): Likewise.
8985 (pow_test_downward): Likewise.
8986 (pow_test_upward): Likewise.
8987 (remainder_test): Likewise.
8988 (drem_test): Likewise.
8989 (remainder_test_tonearest): Likewise.
8990 (drem_test_tonearest): Likewise.
8991 (remainder_test_towardzero): Likewise.
8992 (drem_test_towardzero): Likewise.
8993 (remainder_test_downward): Likewise.
8994 (drem_test_downward): Likewise.
8995 (remainder_test_upward): Likewise.
8996 (drem_test_upward): Likewise.
8997 (remquo_test): Likewise.
8998 (rint_test): Likewise.
8999 (rint_test_tonearest): Likewise.
9000 (rint_test_towardzero): Likewise.
9001 (rint_test_downward): Likewise.
9002 (rint_test_upward): Likewise.
9003 (round_test): Likewise.
9004 (scalb_test): Likewise.
9005 (scalbn_test): Likewise.
9006 (scalbln_test): Likewise.
9007 (signbit_test): Likewise.
9008 (sin_test): Likewise.
9009 (sin_test_tonearest): Likewise.
9010 (sin_test_towardzero): Likewise.
9011 (sin_test_downward): Likewise.
9012 (sin_test_upward): Likewise.
9013 (sincos_test): Likewise.
9014 (sinh_test): Likewise.
9015 (sinh_test_tonearest): Likewise.
9016 (sinh_test_towardzero): Likewise.
9017 (sinh_test_downward): Likewise.
9018 (sinh_test_upward): Likewise.
9019 (sqrt_test): Likewise.
9020 (sqrt_test_tonearest): Likewise.
9021 (sqrt_test_towardzero): Likewise.
9022 (sqrt_test_downward): Likewise.
9023 (sqrt_test_upward): Likewise.
9024 (tan_test): Likewise.
9025 (tan_test_tonearest): Likewise.
9026 (tan_test_towardzero): Likewise.
9027 (tan_test_downward): Likewise.
9028 (tan_test_upward): Likewise.
9029 (tanh_test): Likewise.
9030 (tgamma_test): Likewise.
9031 (trunc_test): Likewise.
9032 (y0_test): Likewise.
9033 (y1_test): Likewise.
9034 (yn_test): Likewise.
9035 (significand_test): Likewise.
9037 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9038 individual tests in comment.
9039 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9040 (prev_max_error): New variable.
9041 (prev_real_max_error): Likewise.
9042 (prev_imag_max_error): Likewise.
9043 (compare_ulp_data): Don't refer to test names in comment.
9044 (find_test_ulps): Remove function.
9045 (find_function_ulps): Likewise.
9046 (find_complex_function_ulps): Likewise.
9047 (init_max_error): Take function name as argument. Look up ulps
9049 (print_ulps): Remove function.
9050 (print_max_error): Use prev_max_error instead of calling
9052 (print_complex_max_error): Use prev_real_max_error and
9053 prev_imag_max_error instead of calling find_complex_function_ulps.
9054 (check_float_internal): Take max_ulp parameter instead of calling
9055 find_test_ulps. Don't call print_ulps.
9056 (check_float): Update call to check_float_internal.
9057 (check_complex): Update calls to check_float_internal.
9058 (START): Pass argument to init_max_error.
9059 * math/gen-libm-test.pl (%results): Don't include "kind"
9061 (parse_ulps): Don't handle ulps of individual tests.
9062 (print_ulps_file): Likewise.
9063 (output_ulps): Likewise.
9064 * math/README.libm-test: Update.
9065 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9067 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9068 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9069 * sysdeps/arm/libm-test-ulps: Likewise.
9070 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9071 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9072 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9073 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9074 * sysdeps/microblaze/libm-test-ulps: Likewise.
9075 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9076 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9077 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9078 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9079 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9080 * sysdeps/sh/libm-test-ulps: Likewise.
9081 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9082 * sysdeps/tile/libm-test-ulps: Likewise.
9083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9085 2014-03-04 Joseph Myers <joseph@codesourcery.com>
9087 * math/libm-test.inc (print_complex_max_error): Check separately
9088 whether real and imaginary errors are within allowed range and
9089 pass 0 to print_complex_function_ulps instead of value within
9092 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9094 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9096 (get_handles_fopen): Likewise.
9097 (do_write_test): Likewise.
9099 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9101 * libio/fileops.c (do_ftell): Use cached offset when
9103 * libio/iofwide.c (do_ftell_wide): Likewise.
9104 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9106 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9109 * libio/libioP.h (get_file_offset): New function.
9110 * libio/fileops.c (get_file_offset): Likewise.
9111 (do_ftell): Likewise.
9112 (_IO_new_file_seekoff): Split out ftell logic.
9113 * libio/wfileops.c (do_ftell_wide): Likewise.
9114 (_IO_wfile_seekoff): Split out ftell logic.
9115 * libio/tst-ftell-active-handler.c: New test case.
9116 * libio/Makefile (tests): Add it.
9118 2014-03-03 Roland McGrath <roland@hack.frob.com>
9120 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9121 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9123 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9126 * nscd/connections.c (nscd_init): Call do_exit.
9127 (start_threads): Call do_exit and notify_parent.
9128 (begin_drop_privileges): Call do_exit.
9129 (finish_drop_privileges): Likewise.
9130 * nscd/selinux.c (preserve_capabilities): Likewise.
9131 (install_real_capabilities): Likewise.
9132 (nscd_selinux_enabled): Likewise.
9133 (avc_create_thread): Likewise.
9134 (avc_alloc_lock): Likewise.
9135 (nscd_avc_init): Likewise.
9136 * nscd/nscd.c (parent_fd): New static variable.
9137 (main): Create a pipe between parent and child processes.
9138 Skip closing parent_fd.
9139 (monitor_child): New function.
9140 (do_exit): Likewise.
9141 (notify_parent): Likewise.
9142 * nscd/nscd.h (notify_parent): Likewise.
9143 (do_exit): Likewise.
9145 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9147 * malloc/malloc.c (__libc_calloc): Revert last change.
9149 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9153 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9155 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9156 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9158 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9159 (__libc_ifunc_impl_list): Likewise.
9160 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9161 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9162 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9163 * string/strrchr.c: Define STRRCHR.
9165 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9167 * benchtest/bench-strtok.c (simple_strtok): Delete.
9168 (strtok_string): Use as benchmark.
9169 * string/strtok (STRTOK): New macro.
9171 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9173 * manual/threads.texi: Add header and standard comments to all
9176 * elf/dl-lookup.c (check_match): New function.
9177 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9178 (do_lookup_x): Remove nested function check_match. Use non-nested
9179 function check_match.
9181 2014-02-28 Roland McGrath <roland@hack.frob.com>
9183 * csu/Makefile (generated, before-compile): Use += rather than =.
9184 * catgets/Makefile (generated, generated-dirs): Likewise.
9185 * debug/Makefile (generated): Likewise.
9186 * dlfcn/Makefile (generated): Likewise.
9187 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9188 * iconvdata/Makefile (before-compile, generated): Likewise.
9189 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9190 * libio/Makefile (generated): Likewise.
9191 * malloc/Makefile (generated): Likewise.
9192 * manual/Makefile (generated, generated-dirs): Likewise.
9193 * misc/Makefile (generated): Likewise.
9194 * posix/Makefile (generated): Likewise.
9195 * resolv/Makefile (generated): Likewise.
9196 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9197 * timezone/Makefile (generated, generated-dirs): Likewise.
9199 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9201 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9203 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9204 power8 implementation.
9205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9206 file: POWER8 llround ifunc implementation.
9207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9208 (__lllround): Add POWER8 implementation.
9209 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9210 POWER8 llround implementation.
9212 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9213 power8 implementation.
9214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9215 file: POWER8 llrint ifunc implementation.
9216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9217 Add POWER8 implementation.
9218 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9219 POWER8 llrint implementation.
9221 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9222 power8 implementation.
9223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9224 file: POWER8 finite ifunc implementation.
9225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9226 Add POWER8 implementation.
9227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9229 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9230 POWER8 finite implementation.
9231 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9233 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9234 power8 implementation.
9235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9236 file: POWER8 isinf ifunc implementation.
9237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9238 POWER8 implementation.
9239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9241 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9242 isinf implementation.
9243 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9245 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9246 (INIT_ARCH): Add hwcap2 initialization.
9247 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9248 power8 implementation.
9249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9250 file: POWER8 isnan ifunc implementation.
9251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9252 POWER8 implementation.
9253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9255 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9256 isnan implementation.
9257 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9259 2014-02-27 Joey Ye <joey.ye@arm.com>
9261 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9262 (_FP_NANFRAC_Q): Set to zero.
9264 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9267 * math/auto-libm-test-in: New test inputs.
9268 * math/auto-libm-test-out: Regenerate.
9269 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9272 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9274 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9276 * scripts/evaluate-test.sh: Take new argument indicating whether
9277 failure is expected.
9278 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9279 indicating whether failure is expected.
9280 * conform/Makefile (test-xfail-run-conformtest): New variable.
9281 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9283 * posix/Makefile (test-xfail-annexc): New variable.
9284 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9286 2014-02-26 Joseph Myers <joseph@codesourcery.com>
9288 * argp/Makefile: Include Makeconfig immediately after defining
9290 * assert/Makefile: Likewise.
9291 * benchtests/Makefile: Likewise.
9292 * catgets/Makefile: Likewise.
9293 * conform/Makefile: Likewise.
9294 * crypt/Makefile: Likewise.
9295 * csu/Makefile: Likewise.
9296 (all): Remove target.
9297 * ctype/Makefile: Include Makeconfig immediately after defining
9299 * debug/Makefile: Likewise.
9300 * dirent/Makefile: Likewise.
9301 * dlfcn/Makefile: Likewise.
9302 * gmon/Makefile: Likewise.
9303 * gnulib/Makefile: Likewise.
9304 * grp/Makefile: Likewise.
9305 * gshadow/Makefile: Likewise.
9306 * hesiod/Makefile: Likewise.
9307 * hurd/Makefile: Likewise.
9308 (all): Remove target.
9309 * iconvdata/Makefile: Include Makeconfig immediately after
9311 * inet/Makefile: Likewise.
9312 * intl/Makefile: Likewise.
9313 * io/Makefile: Likewise.
9314 * libio/Makefile: Likewise.
9315 (all): Remove target.
9316 * locale/Makefile: Include Makeconfig immediately after defining
9318 * login/Makefile: Likewise.
9319 * mach/Makefile: Likewise.
9320 (all): Remove target.
9321 * malloc/Makefile: Include Makeconfig immediately after defining
9323 (all): Remove target.
9324 * manual/Makefile: Include Makeconfig immediately after defining
9326 * math/Makefile: Likewise.
9327 * misc/Makefile: Likewise.
9328 * nis/Makefile: Likewise.
9329 * nss/Makefile: Likewise.
9330 * po/Makefile: Likewise.
9331 (all): Remove target.
9332 * posix/Makefile: Include Makeconfig immediately after defining
9334 * pwd/Makefile: Likewise.
9335 * resolv/Makefile: Likewise.
9336 * resource/Makefile: Likewise.
9337 * rt/Makefile: Likewise.
9338 * setjmp/Makefile: Likewise.
9339 * shadow/Makefile: Likewise.
9340 * signal/Makefile: Likewise.
9341 * socket/Makefile: Likewise.
9342 * soft-fp/Makefile: Likewise.
9343 * stdio-common/Makefile: Likewise.
9344 * stdlib/Makefile: Likewise.
9345 * streams/Makefile: Likewise.
9346 * string/Makefile: Likewise.
9347 * sunrpc/Makefile: Likewise.
9348 (all): Remove target.
9349 * sysvipc/Makefile: Include Makeconfig immediately after defining
9351 * termios/Makefile: Likewise.
9352 * time/Makefile: Likewise.
9353 * timezone/Makefile: Likewise.
9354 (all): Remove target.
9355 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9357 * wctype/Makefile: Likewise.
9359 2014-02-26 Steve Ellcey <sellcey@mips.com>
9361 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9362 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9363 (libc_feholdexcept_setround_mips): Ditto.
9364 (libc_feholdsetround): New.
9365 (libc_feholdsetroundf): New.
9366 (libc_feholdsetroundl): New.
9367 (libc_feupdateenv_test_mips): New.
9368 (libc_feupdateenv_test): New.
9369 (libc_feupdateenv_testf): New.
9370 (libc_feupdateenv_testl): New.
9371 (libc_feresetround): New.
9372 (libc_feresetroundf): New.
9373 (libc_feresetroundl): New.
9374 (libc_fetestexcept_mips): New.
9375 (libc_fetestexcept): New.
9376 (libc_fetestexceptf): New.
9377 (libc_fetestexceptl): New.
9379 (libc_feholdexcept_setround_mips_ctx): New.
9380 (libc_feholdexcept_setround_ctx): New.
9381 (libc_feholdexcept_setroundf_ctx): New.
9382 (libc_feholdexcept_setroundl_ctx): New.
9383 (libc_fesetenv_mips_ctx): New.
9384 (libc_fesetenv_ctx): New.
9385 (libc_fesetenv_ctxf): New.
9386 (libc_fesetenv_ctxl): New.
9387 (libc_feupdateenv_mips_ctx): New.
9388 (libc_feupdateenv_ctx): New.
9389 (libc_feupdateenvf_ctx): New.
9390 (libc_feupdateenvl_ctx): New.
9391 (libc_feholdsetround_mips_ctx): New.
9392 (libc_feholdsetround_ctx): New.
9393 (libc_feholdsetroundf_ctx): New.
9394 (libc_feholdsetroundl_ctx): New.
9395 (libc_feresetround_mips_ctx): New.
9396 (libc_feresetround_ctx): New.
9397 (libc_feresetroundf_ctx): New.
9398 (libc_feresetroundl_ctx): New.
9400 2014-02-26 Carlos O'Donell <carlos@redhat.com>
9402 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9404 * manual/ipc.texi: New file.
9405 * manual/Makefile (chapters): Add ipc.
9406 * manual/job.texi: Add "Inter-Process Communication" to next.
9407 * manual/process.texi: Add "Inter-Process Communication" to prev.
9409 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9413 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
9415 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9417 * manual/arith.texi: Fix spaces after sentences.
9418 * manual/charset.texi: Likewise.
9419 * manual/errno.texi: Likewise.
9420 * manual/install.texi: Likewise.
9421 * manual/llio.texi: Likewise.
9422 * manual/locale.texi: Likewise.
9423 * manual/maint.texi: Likewise.
9424 * manual/math.texi: Likewise.
9425 * manual/memory.texi: Likewise.
9426 * manual/message.texi: Likewise.
9427 * manual/probes.texi: Likewise.
9428 * manual/resource.texi: Likewise.
9429 * manual/signal.texi: Likewise.
9430 * manual/socket.texi: Likewise.
9431 * manual/stdio.texi: Likewise.
9432 * manual/string.texi: Likewise.
9433 * manual/time.texi: Likewise.
9434 * manual/users.texi: Likewise.
9436 2014-02-25 Carlos O'Donell <carlos@redhat.com>
9439 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9440 _DEFAULT_SOURCE is defined.
9442 2014-02-25 Ulrich Drepper <drepper@gmail.com>
9443 Carlos O'Donell <carlos@redhat.com>
9446 * elf/dl-tls.c (_dl_count_modids): New function.
9447 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9448 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9449 audit library and increment generation counter.
9450 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9451 * elf/tst-audit9.c: New file.
9452 * elf/tst-auditmod9a.c: New file.
9453 * elf/tst-auditmod9b.c: New file.
9454 * elf/Makefile: Add rules to build and run tst-audit9.
9456 2014-02-25 Florian Weimer <fweimer@redhat.com>
9459 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9461 2014-02-25 Will Newton <will.newton@linaro.org>
9463 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9464 (__longjmp): Restore sp and lr before restoring callee
9465 saved registers. Add longjmp and longjmp_target
9466 SystemTap probe point.
9467 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9468 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9469 Define to zero to match jmpbuf layout.
9470 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9471 (__sigsetjmp): Save sp and lr before saving callee
9472 saved registers. Add setjmp SystemTap probe point.
9474 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9476 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9478 2014-02-24 Andreas Schwab <schwab@suse.de>
9481 * elf/pldd.c (wait_for_ptrace_stop): New function.
9482 (main): Call it after attaching.
9484 2014-02-22 Roland McGrath <roland@hack.frob.com>
9486 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9487 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9488 Versions files is now verboten.
9489 * hurd/Versions (libc: GLIBC_2.0):
9490 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9491 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9492 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9493 * mach/Versions: Likewise.
9495 * csu/Versions: Remove unused %include.
9496 * resolv/Versions: Likewise.
9498 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9500 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9501 ($(objpfx)check-local-headers.out): Likewise.
9502 ($(objpfx)begin-end-check.out): Likewise.
9503 * Makerules (check-abi-%.out): Likewise.
9504 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9505 ($(objpfx)test2.cat): Likewise.
9506 ($(objpfx)de/libc.cat): Likewise.
9507 ($(objpfx)test-gencat.out): Likewise.
9508 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9509 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9510 ($(objpfx)noload-mem): Likewise.
9511 ($(objpfx)tst-pathopt.out): Likewise.
9512 ($(objpfx)tst-rtld-load-self.out): Likewise.
9513 ($(objpfx)tst-array1-cmp.out): Likewise.
9514 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9515 ($(objpfx)tst-array2-cmp.out): Likewise.
9516 ($(objpfx)tst-array3-cmp.out): Likewise.
9517 ($(objpfx)tst-array4-cmp.out): Likewise.
9518 ($(objpfx)tst-array5-cmp.out): Likewise.
9519 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9520 ($(objpfx)check-textrel.out): Likewise.
9521 ($(objpfx)check-execstack.out): Likewise.
9522 ($(objpfx)check-localplt.out): Likewise.
9523 ($(objpfx)order2-cmp.out): Likewise.
9524 ($(objpfx)tst-leaks1-mem): Likewise.
9525 ($(objpfx)tst-leaks1-static-mem): Likewise.
9526 ($(objpfx)tst-initorder-cmp.out): Likewise.
9527 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9528 ($(objpfx)tst-unused-dep.out): Likewise.
9529 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9530 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9531 * iconv/Makefile (test-iconvconfig): Likewise.
9532 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9533 ($(objpfx)iconv-test.out): Likewise.
9534 ($(objpfx)tst-tables.out): Likewise.
9535 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9536 ($(objpfx)tst-gettext.out): Likewise.
9537 ($(objpfx)tst-translit.out): Likewise.
9538 ($(objpfx)tst-gettext2.out): Likewise.
9539 ($(objpfx)tst-gettext4.out): Likewise.
9540 ($(objpfx)tst-gettext6.out): Likewise.
9541 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9542 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9543 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9544 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9545 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9546 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9547 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9548 ($(objpfx)wordexp-tst.out): Likewise.
9549 ($(objpfx)annexc.out): Likewise.
9550 ($(objpfx)tst-fnmatch-mem): Likewise.
9551 ($(objpfx)bug-regex2-mem): Likewise.
9552 ($(objpfx)bug-regex14-mem): Likewise.
9553 ($(objpfx)bug-regex21-mem): Likewise.
9554 ($(objpfx)bug-regex31-mem): Likewise.
9555 ($(objpfx)tst-vfork3-mem): Likewise.
9556 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9557 ($(objpfx)tst-pcre-mem): Likewise.
9558 ($(objpfx)tst-boost-mem): Likewise.
9559 ($(objpfx)tst-getconf.out): Likewise.
9560 ($(objpfx)bug-ga2-mem): Likewise.
9561 ($(objpfx)bug-glob2-mem): Likewise.
9562 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9563 ($(objpfx)mtrace-tst-leaks2): Likewise.
9564 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9565 ($(objpfx)tst-printf.out): Likewise.
9566 ($(objpfx)tst-setvbuf1.out): Likewise.
9567 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9568 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9569 ($(objpfx)tst-fmtmsg.out): Likewise.
9570 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9571 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9573 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9574 * bits/sigaction.h [__USE_MISC]: Likewise.
9575 * bits/waitstatus.h: Update #endif comments.
9576 * ctype/ctype.h: Likewise.
9577 * dirent/dirent.h: Likewise.
9578 [__USE_MISC]: Remove redundant conditionals.
9579 * grp/grp.h: Update #endif comments.
9580 [__USE_GNU]: Remove redundant conditionals.
9581 [__USE_MISC]: Likewise.
9582 * inet/netinet/in.h [__USE_GNU]: Likewise.
9583 * io/sys/stat.h [__USE_MISC]: Likewise.
9584 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9585 * libio/bits/stdio.h: Update #endif comments.
9586 [__USE_MISC]: Remove redundant conditionals.
9587 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9588 * libio/stdio.h: Update #endif comments.
9589 [__USE_MISC]: Remove redundant conditionals.
9590 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9591 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9592 * math/math.h: Update #else and #endif comments.
9593 [__USE_MISC]: Remove redundant conditionals.
9594 * misc/sys/uio.h: Update #endif comments.
9595 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9596 * posix/glob.h [__USE_MISC]: Likewise.
9597 * posix/sys/types.h: Update #endif comments.
9598 [__USE_MISC]: Remove redundant conditionals.
9599 * posix/sys/wait.h: Update #endif comments.
9600 [__USE_MISC]: Remove redundant conditionals.
9601 * posix/unistd.h: Update #endif comments.
9602 [__USE_MISC]: Remove redundant conditionals.
9603 * pwd/pwd.h [__USE_GNU]: Likewise.
9604 [__USE_MISC]: Likewise.
9605 * resolv/netdb.h [__USE_GNU]: Likewise.
9606 * signal/signal.h: Update #endif comments.
9607 [__USE_MISC]: Remove redundant conditionals.
9608 * stdlib/stdlib.h: Update #else and #endif comments.
9609 [__USE_MISC]: Remove redundant conditionals.
9610 [__USE_GNU]: Likewise.
9611 * string/bits/string2.h [__USE_MISC]: Likewise.
9612 * string/string.h: Update #endif comments.
9613 [__USE_MISC]: Remove redundant conditionals.
9614 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9616 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9617 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9618 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9620 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9622 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9624 [__USE_MISC]: Remove redundant conditionals.
9625 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9626 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9627 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9628 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9629 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9631 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9632 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9634 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9635 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9637 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9639 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9640 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9642 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9644 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9645 * sysdeps/x86/bits/string.h: Update #endif comments.
9646 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9648 * time/sys/time.h: Update #endif comments.
9649 * time/time.h: Likewise.
9650 [__USE_MISC]: Remove redundant conditionals.
9652 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9655 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9657 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9659 * Versions.def (librt): Add GLIBC_2.17.
9661 2014-02-21 Adam Conrad <adconrad@0c3.net>
9663 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9664 synonym for _SYS_AUXV_H to allow direct inclusion.
9665 * sysdeps/sparc/bits/hwcap.h: Likewise.
9666 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9667 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9668 * sysdeps/sparc/sysdep.h: Likewise.
9670 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9672 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9674 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9676 * benchtests/bench-strrchr.c: Print length instead of position.
9678 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9681 * sysdeps/unix/sysv/linux/kernel-features.h
9682 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9683 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9684 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9685 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9687 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9688 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9689 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9690 (__ASSUME_SENDMMSG): Define instead of using previous
9691 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9692 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9693 (__ASSUME_SENDMMSG_SYSCALL): Define.
9694 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9695 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9697 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9698 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9700 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9701 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9703 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9704 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9705 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9706 [__ASSUME_SENDMMSG]: Change conditionals to
9707 [__ASSUME_SENDMMSG_SOCKETCALL].
9708 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9709 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9711 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9712 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9714 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9715 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9716 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9717 [!__ASSUME_SENDMMSG]: Change conditional to
9718 [!__ASSUME_SENDMMSG_SOCKETCALL].
9719 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9720 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9724 * sysdeps/unix/sysv/linux/kernel-features.h
9725 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9726 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9727 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9728 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9729 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9730 [__i386__ || __sparc__]
9731 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9732 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9733 (__ASSUME_RECVMMSG): Define instead of using previous
9734 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9735 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9736 (__ASSUME_RECVMMSG_SYSCALL): Define.
9737 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9738 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9740 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9741 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9743 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9744 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9746 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9747 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9748 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9749 [__ASSUME_RECVMMSG]: Change condition to
9750 [__ASSUME_RECVMMSG_SOCKETCALL].
9751 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9752 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9754 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9755 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9756 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9758 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9759 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9760 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9761 [!__ASSUME_RECVMMSG]: Change condition to
9762 [!__ASSUME_RECVMMSG_SOCKETCALL].
9763 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9764 (__ASSUME_RECVMMSG_SYSCALL): Define.
9767 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9768 __powerpc__ || __s390__ || __sh__ || __sparc__]
9769 (__ASSUME_SOCKETCALL): Define.
9770 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9771 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9772 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9773 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9774 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9775 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9776 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9777 (__ASSUME_ACCEPT4): Define instead of using previous
9778 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9779 __powerpc__ || __sparc__ || __s390__)] condition.
9780 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9781 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9782 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9783 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9784 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9785 [!__ASSUME_ACCEPT4]: Change condition to
9786 [!__ASSUME_ACCEPT4_SOCKETCALL].
9787 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9788 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9789 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9790 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9791 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9792 __ASSUME_ACCEPT4_SYSCALL.
9793 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9794 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9795 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9796 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9797 __ASSUME_ACCEPT4_SYSCALL.
9798 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9799 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9800 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9801 [__ASSUME_ACCEPT4]: Change condition to
9802 [__ASSUME_ACCEPT4_SOCKETCALL].
9803 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9804 (__ASSUME_SOCKETCALL): Define.
9805 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9806 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9807 (__ASSUME_SOCKETCALL): Define.
9808 (__ASSUME_ACCEPT4): Remove.
9809 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9811 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9812 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9814 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9815 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9817 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9819 (HWCAP_ARM_LPAE): Likewise.
9820 (HWCAP_ARM_EVTSTRM): Likewise.
9821 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9822 Add vpfd32, lpae and evtstrm.
9823 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9826 2014-02-19 Joseph Myers <joseph@codesourcery.com>
9828 * math/auto-libm-test-in: Add tests of clog10.
9829 * math/auto-libm-test-out: Regenerated.
9830 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9831 * sysdeps/i386/fpu/libm-test-ulps: Update.
9832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9834 2014-02-18 Andreas Schwab <schwab@suse.de>
9837 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9838 Store non-zero if the second buffer was newly allocated.
9839 (send_dg): Likewise.
9840 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9841 to send_vc and send_dg.
9842 (res_nsend): Pass NULL for ansp2_malloced.
9843 * resolv/res_query.c (__libc_res_nquery): Add parameter
9844 answerp2_malloced and pass it down to __libc_res_nsend.
9845 (res_nquery): Pass additional NULL to __libc_res_nquery.
9846 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9847 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9848 second answer buffer if answerp2_malloced was set.
9849 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9850 (__libc_res_nquerydomain): Add parameter
9851 answerp2_malloced and pass it down to __libc_res_nquery.
9852 (res_nquerydomain): Pass additional NULL to
9853 __libc_res_nquerydomain.
9854 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9855 additional NULL to __libc_res_nsend and __libc_res_nquery.
9856 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9857 additional NULL to __libc_res_nsearch.
9858 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9859 parameter of __libc_res_nsearch to check for separately allocated
9861 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9863 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9864 additional NULL to __libc_res_nquery.
9865 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9867 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9868 * include/resolv.h: Update prototypes of __libc_res_nquery,
9869 __libc_res_nsearch, __libc_res_nsend.
9871 2014-02-18 Joseph Myers <joseph@codesourcery.com>
9873 * math/auto-libm-test-in: Add tests of fma.
9874 * math/auto-libm-test-out: Regenerated.
9875 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9876 (fma_towardzero_test_data): Likewise.
9877 (fma_downward_test_data): Likewise.
9878 (fma_upward_test_data): Likewise.
9879 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9881 (rounding_modes): Add values for new field.
9882 (func_calc_method): Add value mpfr_fff_f.
9883 (func_calc_desc): Add mpfr_fff_f union field.
9884 (test_function): Add field exact_args.
9885 (FUNC): Add macro argument EXACT_ARGS.
9886 (FUNC_mpfr_f_f): Update call to FUNC.
9887 (FUNC_mpfr_f_f): Likewise.
9888 (FUNC_mpfr_ff_f): Likewise.
9889 (FUNC_mpfr_if_f): Likewise.
9890 (FUNC_mpc_c_f): Likewise.
9891 (FUNC_mpc_c_c): Likewise.
9892 (test_functions): Add fma. Update calls to FUNC.
9893 (handle_input_arg): Add argument exact_args.
9894 (add_test): Update call to handle_input_arg.
9895 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9896 (output_for_one_input_case): Update call to calc_generic_results.
9897 Recalculate exact zero results in each rounding mode.
9899 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9900 non-negative before setting low bit.
9901 * math/auto-libm-test-in: Mark one asin test possibly having
9903 * math/auto-libm-test-out: Regenerated.
9904 * sysdeps/i386/fpu/libm-test-ulps: Update.
9905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9907 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9909 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9910 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9911 ports/sysdeps/unix/sysv/linux/microblaze.
9912 * README: Add missing listing for microblaze*-*-linux-gnu.
9914 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
9916 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
9919 2014-02-16 Mike Frysinger <vapier@gentoo.org>
9921 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9922 * sysdeps/unix/sysv/linux/ia64: Move directory from
9923 ports/sysdeps/unix/sysv/linux/ia64.
9924 * README: Update listing for ia64-*-linux-gnu.
9926 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9927 Joseph Myers <joseph@codesourcery.com>
9929 * Makeconfig (test-name): New variable.
9930 (evaluate-test): Likewise.
9931 * Makerules (do-test-clean): Remove .test-result files.
9932 (common-mostlyclean): Likewise.
9933 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9934 * scripts/evaluate-test.sh: New file.
9936 2014-02-14 Joseph Myers <joseph@codesourcery.com>
9938 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9939 separate $(objpfx)tst-fopenloc-cmp.out and
9940 $(objpfx)tst-fopenloc-mem.out targets.
9941 (tests): Update dependencies.
9942 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9943 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9944 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9945 (tst-rxspencer-no-utf8-ARGS): New variable.
9946 (tst-rxspencer-no-utf8-ENV): Likewise.
9947 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9948 instead of $(objpfx)tst-rxspencer-mem.
9949 ($(objpfx)tst-rxspencer-mem): Change target to
9950 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9951 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9952 * posix/tst-rxspencer-no-utf8.c: New file.
9954 * elf/Makefile ($(objpfx)order.out): Remove rule.
9955 [$(run-built-tests) = yes] (tests): Depend on
9956 $(objpfx)order-cmp.out.
9957 ($(objpfx)order-cmp.out): New rule.
9958 [$(run-built-tests) = yes] (tests): Depend on
9959 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9960 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9961 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9962 $(objpfx)tst-array5-static-cmp.out.
9963 ($(objpfx)tst-array1.out): Remove rule.
9964 ($(objpfx)tst-array1-cmp.out): New rule.
9965 ($(objpfx)tst-array1-static.out): Remove rule.
9966 ($(objpfx)tst-array1-static-cmp.out): New rule.
9967 ($(objpfx)tst-array2.out): Remove rule.
9968 ($(objpfx)tst-array2-cmp.out): New rule.
9969 ($(objpfx)tst-array3.out): Remove rule.
9970 ($(objpfx)tst-array3-cmp.out): New rule.
9971 ($(objpfx)tst-array4.out): Remove rule.
9972 ($(objpfx)tst-array4-cmp.out): New rule.
9973 ($(objpfx)tst-array5.out): Remove rule.
9974 ($(objpfx)tst-array5-cmp.out): New rule.
9975 ($(objpfx)tst-array5-static.out): Remove rule.
9976 ($(objpfx)tst-array5-static-cmp.out): New rule.
9977 [$(run-built-tests) = yes] (tests): Depend on
9978 $(objpfx)order2-cmp.out.
9979 ($(objpfx)order2.out): Remove rule.
9980 ($(objpfx)order2-cmp.out): New rule.
9981 ($(objpfx)tst-initorder.out): Remove rule.
9982 [$(run-built-tests) = yes] (tests): Depend on
9983 $(objpfx)tst-initorder-cmp.out.
9984 ($(objpfx)tst-initorder-cmp.out): New rule.
9985 ($(objpfx)tst-initorder2.out): Remove rule.
9986 [$(run-built-tests) = yes] (tests): Depend on
9987 $(objpfx)tst-initorder2-cmp.out.
9988 ($(objpfx)tst-initorder2-cmp.out): New rule.
9989 [$(run-built-tests) = yes] (tests): Depend on
9990 $(objpfx)tst-unused-dep-cmp.out.
9991 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9992 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9993 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9994 on $(objpfx)tst-setvbuf1-cmp.out.
9995 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9996 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9997 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9998 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9999 ($(objpfx)tst-svc.out): Remove rule.
10000 ($(objpfx)tst-svc-cmp.out): New rule.
10002 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10004 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10005 * ctype/ctype.h [__USE_MISC]: Likewise.
10006 * dirent/dirent.h [__USE_MISC]: Likewise.
10007 * grp/grp.h [__USE_MISC]: Likewise.
10008 * io/fcntl.h [__USE_MISC]: Likewise.
10009 * io/sys/stat.h [__USE_MISC]: Likewise.
10010 * libio/stdio.h [__USE_MISC]: Likewise.
10011 * posix/unistd.h [__USE_MISC]: Likewise.
10012 * pwd/pwd.h [__USE_MISC]: Likewise.
10013 * stdlib.h [__USE_MISC]: Likewise.
10014 * string/bits/string2.h [__USE_MISC]: Likewise.
10015 * string/string.h [__USE_MISC]: Likewise.
10016 * time/time.h [__USE_MISC]: Likewise.
10018 2014-02-13 Andreas Schwab <schwab@suse.de>
10021 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10022 second answer buffer if it was separately allocated.
10024 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10026 * sysdeps/mips/math-tests.h: Include <features.h>.
10027 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10028 (ROUNDING_TESTS_long_double): Do not define.
10029 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10030 (EXCEPTION_TESTS_long_double): Likewise.
10031 * sysdeps/mips/mips64/libm-test-ulps: Update.
10033 * include/features.h (__USE_BSD): Remove macro definitions.
10034 (__USE_SVID): Likewise.
10035 (_BSD_SOURCE): Likewise.
10036 (_SVID_SOURCE): Likewise.
10037 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10038 from definition of _DEFAULT_SOURCE.
10039 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10041 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10042 * bits/mman.h [__USE_BSD]: Likewise.
10043 * bits/termios.h [__USE_BSD]: Likewise.
10044 * bits/waitstatus.h [__USE_BSD]: Likewise.
10045 * ctype/ctype.h [__USE_SVID]: Likewise.
10046 * dirent/dirent.h [__USE_BSD]: Likewise.
10047 * grp/grp.h [__USE_SVID]: Likewise.
10048 [__USE_BSD]: Likewise.
10049 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10050 * io/fcntl.h [__USE_BSD]: Likewise.
10051 * io/ftw.h [__USE_BSD]: Likewise.
10052 * io/sys/stat.h [__USE_BSD]: Likewise.
10053 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10054 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10055 * libio/stdio.h [__USE_SVID]: Likewise.
10056 [__USE_BSD]: Likewise.
10057 * math/math.h [__USE_SVID]: Likewise.
10058 [__USE_BSD]: Likewise.
10059 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10060 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10061 * misc/search.h [__USE_SVID]: Likewise.
10062 * misc/sys/mman.h [__USE_BSD]: Likewise.
10063 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10064 * misc/sys/uio.h [__USE_BSD]: Likewise.
10065 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10066 * posix/glob.h [__USE_BSD]: Likewise.
10067 * posix/regex.h [__USE_BSD]: Likewise.
10068 * posix/sys/types.h [__USE_BSD]: Likewise.
10069 [__USE_SVID]: Likewise.
10070 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10071 * posix/sys/wait.h [__USE_BSD]: Likewise.
10072 [__USE_SVID]: Likewise.
10073 * posix/unistd.h [__USE_BSD]: Likewise.
10074 [__USE_SVID]: Likewise.
10075 * pwd/pwd.h [__USE_SVID]: Likewise.
10076 * resolv/netdb.h [__USE_BSD]: Likewise.
10077 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10078 * signal/signal.h [__USE_BSD]: Likewise.
10079 [__USE_SVID]: Likewise.
10080 * socket/sys/socket.h [__USE_BSD]: Likewise.
10081 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10082 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10083 [__USE_SVID]: Likewise.
10084 * string/bits/string2.h [__USE_BSD]: Likewise.
10085 [__USE_SVID]: Likewise.
10086 * string/bits/string3.h [__USE_BSD]: Likewise.
10087 * string/endian.h [__USE_BSD]: Likewise.
10088 * string/string.h [__USE_SVID]: Likewise.
10089 [__USE_BSD]: Likewise.
10090 * string/strings.h [__USE_BSD]: Likewise.
10091 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10092 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10093 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10094 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10095 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10096 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10098 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10100 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10101 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10103 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10104 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10106 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10108 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10109 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10110 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10112 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10114 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10115 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10116 * termios/termios.h [__USE_BSD]: Likewise.
10117 * time/sys/time.h [__USE_BSD]: Likewise.
10118 * time/time.h [__USE_BSD]: Likewise.
10119 [__USE_SVID]: Likewise.
10121 * Makefile (subdir_targets): Remove subdir_lint.out.
10123 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10124 (do-tst-printf): Likewise.
10125 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10126 $(objpfx)tst-printf.out.
10128 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10130 * Makerules (check-abi-%): Change target to
10131 $(objpfx)check-abi-%.out.
10132 (check-abi target): Update dependencies.
10133 (check-abi-pattern variable): Redirect output of diff to $@.
10134 (check-abi variable): Likewise.
10135 * elf/Makefile (check-abi): Update dependencies.
10137 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10139 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10140 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10142 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10143 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10144 value has largest subnormal exponent.
10145 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10146 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10147 * sysdeps/aarch64/soft-fp/sfp-machine.h
10148 (_FP_TININESS_AFTER_ROUNDING): New macro.
10149 * sysdeps/alpha/soft-fp/sfp-machine.h
10150 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10151 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10153 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10154 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10155 * sysdeps/mips/soft-fp/sfp-machine.h
10156 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10157 * sysdeps/powerpc/soft-fp/sfp-machine.h
10158 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10159 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10161 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10162 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10163 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10164 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10165 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10168 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10171 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10174 2014-02-12 Richard Henderson <rth@redhat.com>
10176 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10177 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10178 * sysdeps/unix/sysv/linux/alpha: Move directory from
10179 ports/sysdeps/unix/sysv/linux/alpha.
10180 * README: Update listing for alpha-*-linux-gnu.
10182 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10184 * include/features.h: Update comment documenting feature test
10186 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10188 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10189 (_SVID_SOURCE): Likewise.
10190 (_DEFAULT_SOURCE): Update description of default features.
10191 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10193 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10194 (S_ISVTX): Likewise.
10195 * manual/math.texi (Mathematical Constants): Likewise.
10196 * manual/signal.texi (Interrupted Primitives): Likewise.
10197 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10198 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10199 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10200 Don't refer to _SVID_SOURCE in warning text.
10202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10204 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10206 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10207 * sysdeps/mips/dl-lookup.c: Remove.
10208 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10210 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10213 * math/auto-libm-test-in: Add testcase for expl.
10214 * math/auto-libm-test-out: Regenerate.
10215 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10216 calculation of unsafe.
10217 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10219 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10221 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10222 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10223 ports/sysdeps/unix/sysv/linux/aarch64.
10224 * README: Update listing for aarch64*-*-linux-gnu.
10226 2014-02-11 Will Newton <will.newton@linaro.org>
10228 * manual/probes.texi (Mathematical Function Probes): Use
10229 "triggered" instead of "hit".
10231 * manual/probes.texi (Internal Probes): Add documentation
10232 of setjmp, longjmp and longjmp_target probes.
10234 * include/stap-probe.h: Add comment about probe argument
10237 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10238 definition. (tr_where, tr_freehook, tr_mallochook,
10239 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10241 2014-02-11 David S. Miller <davem@davemloft.net>
10243 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10244 processing int_tests.
10246 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10248 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10249 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10250 * sysdeps/unix/sysv/linux/mips: Move directory from
10251 ports/sysdeps/unix/sysv/linux/mips.
10252 * README: Update listing for mips-*-linux-gnu and
10253 mips64-*-linux-gnu.
10255 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10257 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10258 * sysdeps/unix/sysv/linux/m68k: Move directory from
10259 ports/sysdeps/unix/sysv/linux/m68k.
10260 * README: Update listing for m68k-*-linux-gnu.
10262 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10264 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10265 * sysdeps/unix/sysv/linux/generic: Move directory from
10266 ports/sysdeps/unix/sysv/linux/generic.
10267 * sysdeps/unix/sysv/linux/tile: Move directory from
10268 ports/sysdeps/unix/sysv/linux/tile.
10269 * README: Update listing for tile*-*-linux-gnu.
10271 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10273 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10275 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10276 * catgets/open_catalog.c (__open_catalog): Likewise.
10277 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10278 * debug/confstr_chk.c: Likewise.
10279 * debug/fread_chk.c (__fread_chk): Likewise.
10280 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10281 * debug/getgroups_chk.c: Likewise.
10282 * debug/mbsnrtowcs_chk.c: Likewise.
10283 * debug/mbsrtowcs_chk.c: Likewise.
10284 * debug/mbstowcs_chk.c: Likewise.
10285 * debug/memcpy_chk.c: Likewise.
10286 * debug/memmove_chk.c: Likewise.
10287 * debug/mempcpy_chk.c: Likewise.
10288 * debug/memset_chk.c: Likewise.
10289 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10290 * debug/strcat_chk.c (__strcat_chk): Likewise.
10291 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10292 * debug/strncat_chk.c (__strncat_chk): Likewise.
10293 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10294 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10295 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10296 * debug/wcpncpy_chk.c: Likewise.
10297 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10298 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10299 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10300 * debug/wcsncpy_chk.c: Likewise.
10301 * debug/wcsnrtombs_chk.c: Likewise.
10302 * debug/wcsrtombs_chk.c: Likewise.
10303 * debug/wcstombs_chk.c: Likewise.
10304 * debug/wmemcpy_chk.c: Likewise.
10305 * debug/wmemmove_chk.c: Likewise.
10306 * debug/wmempcpy_chk.c: Likewise.
10307 * debug/wmemset_chk.c: Likewise.
10308 * dirent/scandirat.c (SCANDIRAT): Likewise.
10309 * dlfcn/dladdr1.c (dladdr1): Likewise.
10310 * dlfcn/dladdr.c (dladdr): Likewise.
10311 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10312 * dlfcn/dlerror.c (__dlerror): Likewise.
10313 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10314 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10315 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10316 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10317 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10318 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10319 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10320 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10322 * elf/dl-conflict.c: Likewise.
10323 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10324 * elf/dl-dst.h: Likewise.
10325 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10326 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10327 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10328 * elf/dl-init.c (call_init, _dl_init): Likewise.
10329 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10330 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10331 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10333 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10335 * elf/dl-minimal.c (__libc_memalign): Likewise.
10336 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10337 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10338 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10339 * elf/dl-sym.c (do_sym): Likewise.
10340 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10341 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10342 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10343 * elf/dl-writev.h (_dl_writev): Likewise.
10344 * elf/ldconfig.c (search_dir): Likewise.
10345 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10346 (dl_main): Likewise.
10347 * elf/setup-vdso.h (setup_vdso): Likewise.
10348 * grp/compat-initgroups.c (compat_call): Likewise.
10349 * grp/fgetgrent.c (fgetgrent): Likewise.
10350 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10351 * grp/putgrent.c (putgrent): Likewise.
10352 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10354 * hurd/hurdinit.c: Likewise.
10355 * iconvdata/8bit-gap.c (struct): Likewise.
10356 * iconvdata/ansi_x3.110.c : Likewise.
10357 * iconvdata/big5.c : Likewise.
10358 * iconvdata/big5hkscs.c : Likewise.
10359 * iconvdata/cp1255.c: Likewise.
10360 * iconvdata/cp1258.c : Likewise.
10361 * iconvdata/cp932.c : Likewise.
10362 * iconvdata/euc-cn.c: Likewise.
10363 * iconvdata/euc-jisx0213.c : Likewise.
10364 * iconvdata/euc-jp.c: Likewise.
10365 * iconvdata/euc-jp-ms.c : Likewise.
10366 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10367 * iconvdata/gb18030.c : Likewise.
10368 * iconvdata/gbbig5.c (const): Likewise.
10369 * iconvdata/gbgbk.c: Likewise.
10370 * iconvdata/gbk.c : Likewise.
10371 * iconvdata/ibm1364.c : Likewise.
10372 * iconvdata/ibm930.c : Likewise.
10373 * iconvdata/ibm932.c: Likewise.
10374 * iconvdata/ibm933.c : Likewise.
10375 * iconvdata/ibm935.c : Likewise.
10376 * iconvdata/ibm937.c : Likewise.
10377 * iconvdata/ibm939.c : Likewise.
10378 * iconvdata/ibm943.c: Likewise.
10379 * iconvdata/iso_11548-1.c: Likewise.
10380 * iconvdata/iso-2022-cn.c : Likewise.
10381 * iconvdata/iso-2022-cn-ext.c : Likewise.
10382 * iconvdata/iso-2022-jp-3.c: Likewise.
10383 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10384 * iconvdata/iso-2022-kr.c : Likewise.
10385 * iconvdata/iso646.c (gconv_end): Likewise.
10386 * iconvdata/iso_6937-2.c : Likewise.
10387 * iconvdata/iso_6937.c : Likewise.
10388 * iconvdata/iso8859-1.c: Likewise.
10389 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10390 * iconvdata/shift_jisx0213.c : Likewise.
10391 * iconvdata/sjis.c : Likewise.
10392 * iconvdata/t.61.c : Likewise.
10393 * iconvdata/tcvn5712-1.c : Likewise.
10394 * iconvdata/tscii.c: Likewise.
10395 * iconvdata/uhc.c : Likewise.
10396 * iconvdata/unicode.c (gconv_end): Likewise.
10397 * iconvdata/utf-16.c (gconv_end): Likewise.
10398 * iconvdata/utf-32.c (gconv_end): Likewise.
10399 * iconvdata/utf-7.c (base64): Likewise.
10400 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10401 * iconv/gconv_close.c (__gconv_close): Likewise.
10402 * iconv/gconv_open.c (__gconv_open): Likewise.
10403 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10404 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10405 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10406 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10407 (ucs4le_internal_loop_single): Likewise.
10408 * iconv/iconv.c (iconv): Likewise.
10409 * iconv/iconv_close.c: Likewise.
10410 * iconv/loop.c (SINGLE): Likewise.
10411 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10412 * include/atomic.h: Likewise.
10413 * inet/inet6_option.c (option_alloc): Likewise.
10414 * intl/bindtextdom.c (set_binding_values): Likewise.
10415 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10416 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10417 * intl/localealias.c (read_alias_file): Likewise.
10418 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10419 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10420 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10421 * libio/fmemopen.c (fmemopen): Likewise.
10422 * libio/iofgets.c (_IO_fgets): Likewise.
10423 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10424 * libio/iofgetws.c (fgetws): Likewise.
10425 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10426 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10427 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10428 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10429 * locale/findlocale.c (_nl_find_locale): Likewise.
10430 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10431 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10433 * locale/setlocale.c (setlocale): Likewise.
10434 * login/programs/pt_chown.c (main): Likewise.
10435 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10436 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10437 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10438 (mmap, mmap64, mremap, munmap): Likewise.
10439 * math/e_exp2l.c: Likewise.
10440 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10441 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10442 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10443 * math/s_catan.c (__catan): Likewise.
10444 * math/s_catanf.c (__catanf): Likewise.
10445 * math/s_catanh.c (__catanh): Likewise.
10446 * math/s_catanhf.c (__catanhf): Likewise.
10447 * math/s_catanhl.c (__catanhl): Likewise.
10448 * math/s_catanl.c (__catanl): Likewise.
10449 * math/s_ccosh.c (__ccosh): Likewise.
10450 * math/s_ccoshf.c (__ccoshf): Likewise.
10451 * math/s_ccoshl.c (__ccoshl): Likewise.
10452 * math/s_cexp.c (__cexp): Likewise.
10453 * math/s_cexpf.c (__cexpf): Likewise.
10454 * math/s_cexpl.c (__cexpl): Likewise.
10455 * math/s_clog10.c (__clog10): Likewise.
10456 * math/s_clog10f.c (__clog10f): Likewise.
10457 * math/s_clog10l.c (__clog10l): Likewise.
10458 * math/s_clog.c (__clog): Likewise.
10459 * math/s_clogf.c (__clogf): Likewise.
10460 * math/s_clogl.c (__clogl): Likewise.
10461 * math/s_csin.c (__csin): Likewise.
10462 * math/s_csinf.c (__csinf): Likewise.
10463 * math/s_csinh.c (__csinh): Likewise.
10464 * math/s_csinhf.c (__csinhf): Likewise.
10465 * math/s_csinhl.c (__csinhl): Likewise.
10466 * math/s_csinl.c (__csinl): Likewise.
10467 * math/s_csqrt.c (__csqrt): Likewise.
10468 * math/s_csqrtf.c (__csqrtf): Likewise.
10469 * math/s_csqrtl.c (__csqrtl): Likewise.
10470 * math/s_ctan.c (__ctan): Likewise.
10471 * math/s_ctanf.c (__ctanf): Likewise.
10472 * math/s_ctanh.c (__ctanh): Likewise.
10473 * math/s_ctanhf.c (__ctanhf): Likewise.
10474 * math/s_ctanhl.c (__ctanhl): Likewise.
10475 * math/s_ctanl.c (__ctanl): Likewise.
10476 * math/w_pow.c: Likewise.
10477 * math/w_powf.c: Likewise.
10478 * math/w_powl.c: Likewise.
10479 * math/w_scalb.c (sysv_scalb): Likewise.
10480 * math/w_scalbf.c (sysv_scalbf): Likewise.
10481 * math/w_scalbl.c (sysv_scalbl): Likewise.
10482 * misc/error.c (error_tail): Likewise.
10483 * misc/pselect.c (__pselect): Likewise.
10484 * nis/nis_callback.c (__nis_create_callback): Likewise.
10485 * nis/nis_call.c (__nisfind_server): Likewise.
10486 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10487 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10488 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10489 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10490 * nis/nis_lookup.c (nis_lookup): Likewise.
10491 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10492 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10493 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10494 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10495 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10496 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10497 * nis/nss_compat/compat-initgroups.c (add_group)
10498 (internal_getgrent_r): Likewise.
10499 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10500 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10501 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10502 (internal_getspnam_r): Likewise.
10503 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10504 (_nss_nis_getaliasbyname_r): Likewise.
10505 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10506 (_nss_nis_getntohost_r): Likewise.
10507 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10508 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10509 (_nss_nis_getgrgid_r): Likewise.
10510 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10511 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10512 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10513 (_nss_nis_gethostbyname4_r): Likewise.
10514 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10515 (initgroups_netid): Likewise.
10516 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10517 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10518 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10519 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10520 (_nss_nis_getprotobynumber_r): Likewise.
10521 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10522 (_nss_nis_getsecretkey): Likewise.
10523 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10524 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10525 (_nss_nis_getpwuid_r): Likewise.
10526 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10527 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10528 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10529 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10530 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10531 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10532 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10534 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10535 (_nss_nisplus_getntohost_r): Likewise.
10536 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10537 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10538 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10539 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10541 * nis/nss_nisplus/nisplus-initgroups.c
10542 (_nss_nisplus_initgroups_dyn): Likewise.
10543 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10544 (_nss_nisplus_getnetbyaddr_r): Likewise.
10545 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10546 (_nss_nisplus_getprotobynumber_r): Likewise.
10547 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10548 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10549 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10551 * nis/nss_nisplus/nisplus-service.c
10552 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10553 (_nss_nisplus_getservbyport_r): Likewise.
10554 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10555 (_nss_nisplus_getspnam_r): Likewise.
10556 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10558 * nscd/aicache.c (addhstaiX): Likewise.
10559 * nscd/cache.c (cache_search, prune_cache): Likewise.
10560 * nscd/connections.c (register_traced_file, send_ro_fd)
10561 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10562 (main_loop_epoll): Likewise.
10563 * nscd/grpcache.c (addgrbyX): Likewise.
10564 * nscd/hstcache.c (addhstbyX): Likewise.
10565 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10566 * nscd/mem.c (gc, mempool_alloc): Likewise.
10567 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10568 (addinnetgrX): Likewise.
10569 * nscd/nscd-client.h (__nscd_acquire_maplock)
10570 (__nscd_drop_map_ref): Likewise.
10571 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10572 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10573 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10575 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10576 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10577 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10578 (__nscd_get_map_ref): Likewise.
10579 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10580 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10582 * nscd/pwdcache.c (addpwbyX): Likewise.
10583 * nscd/selinux.c (preserve_capabilities): Likewise.
10584 * nscd/servicescache.c (addservbyX): Likewise.
10585 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10586 * posix/fnmatch.c (fnmatch): Likewise.
10587 * posix/getopt.c (_getopt_internal_r): Likewise.
10588 * posix/glob.c (glob, glob_in_dir): Likewise.
10589 * posix/wordexp.c (exec_comm_child): Likewise.
10590 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10591 (getanswer_r, gaih_getanswer_slice): Likewise.
10592 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10593 * resolv/res_init.c: Likewise.
10594 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10595 * resolv/res_query.c (__libc_res_nquery): Likewise.
10596 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10598 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10599 * stdio-common/perror.c (perror): Likewise.
10600 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10601 * stdio-common/tmpnam.c (tmpnam): Likewise.
10602 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10603 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10604 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10606 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10607 * stdlib/putenv.c (putenv): Likewise.
10608 * stdlib/setenv.c (__add_to_environ): Likewise.
10609 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10610 * stdlib/strtol_l.c (INTERNAL): Likewise.
10611 * string/memmem.c (memmem): Likewise.
10612 * string/strerror.c (strerror): Likewise.
10613 * string/strnlen.c (__strnlen): Likewise.
10614 * string/test-memmem.c (simple_memmem): Likewise.
10615 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10616 * sunrpc/pm_getport.c (__get_socket): Likewise.
10617 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10618 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10619 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10620 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10622 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10623 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10624 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10625 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10626 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10627 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10629 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10631 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10632 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10633 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10634 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10635 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10636 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10637 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10638 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10639 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10640 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10641 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10642 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10644 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10646 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10648 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10649 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10650 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10651 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10652 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10653 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10654 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10655 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10656 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10657 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10658 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10659 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10660 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10661 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10662 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10663 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10665 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10667 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10669 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10671 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10672 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10673 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10675 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10676 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10677 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10678 * sysdeps/posix/sleep.c: Likewise.
10679 * sysdeps/posix/tempname.c: Likewise.
10680 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10681 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10683 * sysdeps/powerpc/powerpc32/dl-machine.h
10684 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10685 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10686 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10687 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10688 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10690 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10691 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10692 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10693 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10694 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10695 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10696 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10697 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10698 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10699 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10700 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10701 (elf_machine_lazy_rel): Likewise.
10702 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10703 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10704 (elf_machine_lazy_rel): Likewise.
10705 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10706 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10707 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10708 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10709 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10710 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10711 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10712 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10714 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10715 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10716 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10717 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10718 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10719 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10720 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10721 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10722 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10723 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10724 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10726 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10727 (__posix_fallocate64_l64): Likewise.
10728 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10729 (posix_fallocate): Likewise.
10730 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10732 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10733 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10734 (getifaddrs_internal): Likewise.
10735 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10736 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10737 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10738 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10739 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10740 (__posix_fallocate64_l64): Likewise.
10741 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10743 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10744 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10745 (__get_clockfreq): Likewise.
10746 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10747 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10748 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10749 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10750 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10751 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10752 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10753 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10755 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10756 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10757 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10758 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10759 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10760 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10761 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10763 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10764 (posix_fallocate): Likewise.
10765 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10766 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10767 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10768 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10769 (elf_machine_rela, elf_machine_rela_relative)
10770 (elf_machine_lazy_rel): Likewise.
10771 * time/asctime.c (asctime_internal): Likewise.
10772 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10773 * time/tzset.c (__tzset_parse_tz): Likewise.
10774 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10775 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10776 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10777 * wcsmbs/wcsmbsload.h: Likewise.
10780 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10782 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10783 (arena_get2): Remove THREAD_STATS conditionals.
10784 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10785 (__malloc_stats, int): Likewise.
10787 2014-02-08 Mike Frysinger <vapier@gentoo.org>
10789 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10790 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10792 * manual/setjmp.texi: Fix typos/grammar errors.
10794 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10795 Only return early when n is <= 0. Delete unused return statement.
10797 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10798 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10799 * debug/tst-longjmp_chk3.c: New file.
10801 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10802 (test_main): Replace code with set_fortify_handler call.
10803 * debug/test-strcpy_chk.c: Likewise.
10804 * debug/tst-chk1.c: Likewise.
10805 * debug/tst-longjmp_chk.c: Likewise.
10806 * test-skeleton.c: Include fcntl.h & paths.h
10807 (set_fortify_handler): Define.
10809 * debug/tst-longjmp_chk.c: Add header comment and include
10810 ../test-skeleton.c.
10811 (do_test): Mark static.
10812 (TEST_FUNCTION): Define.
10814 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10815 (IP_PMTUDISC_INTERFACE): Likewise.
10816 (IP_MULTICAST_IF): Likewise.
10817 (IP_MULTICAST_TTL): Likewise.
10818 (IP_MULTICAST_LOOP): Likewise.
10819 (IP_ADD_MEMBERSHIP): Likewise.
10820 (IP_DROP_MEMBERSHIP): Likewise.
10821 (IP_UNBLOCK_SOURCE): Likewise.
10822 (IP_BLOCK_SOURCE): Likewise.
10823 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10824 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10825 (IP_MSFILTER): Likewise.
10826 (MCAST_JOIN_GROUP): Likewise.
10827 (MCAST_BLOCK_SOURCE): Likewise.
10828 (MCAST_UNBLOCK_SOURCE): Likewise.
10829 (MCAST_LEAVE_GROUP): Likewise.
10830 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10831 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10832 (MCAST_MSFILTER): Likewise.
10833 (IP_MULTICAST_ALL): Likewise.
10834 (IP_UNICAST_IF): Likewise.
10836 * timezone/Makefile: Delete $(have-ksh) check.
10837 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10838 * timezone/tzselect.ksh: Add +x mode bits.
10840 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10841 (ANON_INODE_FS_MAGIC): Likewise.
10842 (BDEVFS_MAGIC): Likewise.
10843 (BINFMTFS_MAGIC): Likewise.
10844 (BTRFS_TEST_MAGIC): Likewise.
10845 (CRAMFS_MAGIC_WEND): Likewise.
10846 (DEBUGFS_MAGIC): Likewise.
10847 (ECRYPTFS_SUPER_MAGIC): Likewise.
10848 (EXT3_SUPER_MAGIC): Likewise.
10849 (EXT4_SUPER_MAGIC): Likewise.
10850 (FUTEXFS_SUPER_MAGIC): Likewise.
10851 (HOSTFS_SUPER_MAGIC): Likewise.
10852 (HUGETLBFS_MAGIC): Likewise.
10853 (MINIX3_SUPER_MAGIC): Likewise.
10854 (MTD_INODE_FS_MAGIC): Likewise.
10855 (NILFS_SUPER_MAGIC): Likewise.
10856 (OPENPROM_SUPER_MAGIC): Likewise.
10857 (PIPEFS_MAGIC): Likewise.
10858 (PSTOREFS_MAGIC): Likewise.
10859 (QNX6_SUPER_MAGIC): Likewise.
10860 (RAMFS_MAGIC): Likewise.
10861 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10862 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10863 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10864 (SECURITYFS_MAGIC): Likewise.
10865 (SELINUX_MAGIC): Likewise.
10866 (SMACK_MAGIC): Likewise.
10867 (SOCKFS_MAGIC): Likewise.
10868 (SQUASHFS_MAGIC): Likewise.
10869 (STACK_END_MAGIC): Likewise.
10870 (TMPFS_MAGIC): Likewise.
10871 (USBDEVICE_SUPER_MAGIC): Likewise.
10872 (V9FS_MAGIC): Likewise.
10873 (XENFS_SUPER_MAGIC): Likewise.
10874 (CRAMFS_MAGIC): Fix typo in comment.
10875 (EXT2_SUPER_MAGIC): Update comment.
10876 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10878 2014-02-08 Joseph Myers <joseph@codesourcery.com>
10880 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10881 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10882 * sysdeps/unix/sysv/linux/arm: Move directory from
10883 ports/sysdeps/unix/sysv/linux/arm.
10884 * README: Update listing for arm-*-linux-gnueabi.
10886 * README: Remove mention of am33.
10888 2014-02-07 Roland McGrath <roland@hack.frob.com>
10890 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10891 than the comma operator, to avoid "rhs of comma has no effect"
10893 (__sigfillset, __sigandset, __sigorset): Likewise.
10894 * include/signal.h (__sigemptyset): Likewise.
10895 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10897 2014-02-07 Allan McRae <allan@archlinux.org>
10899 * version.h (RELEASE): Set to "development".
10900 (VERSION): Set to "2.19.90"
10901 * NEWS: Add 2.20 section.
10903 2014-02-06 Carlos O'Donell <carlos@redhat.com>
10906 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10908 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10910 * manual/contrib.texi: Update entry for Carlos O'Donell,
10911 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10913 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
10915 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10917 * sysdeps/unix/sysv/linux/kernel-features.h
10918 [__LINUX_KERNEL_VERSION >= 0x020621]
10919 (__ASSUME_PROC_PID_TASK_COMM): Define.
10921 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10924 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10925 conversion when destination buffer does not have enough space.
10926 * libio/tst-ftell-partial-wide.c: New test case.
10927 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10929 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10930 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10931 Leonard and Allan McRae.
10933 2014-02-04 David S. Miller <davem@davemloft.net>
10935 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10938 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10967 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10969 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10970 * shlib-versions: Likewise.
10972 2014-02-04 Roland McGrath <roland@hack.frob.com>
10973 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10975 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10976 (abilist-pattern): New variable, set to %-le.abilist.
10978 * Makerules (abilist-pattern): New variable.
10979 (vpath): Use $(abilist-pattern) in place of %.abilist.
10980 (check-abi-% pattern rule): Likewise.
10981 (check-abi, update-abi): Likewise.
10983 2014-02-04 Eric Wong <normalperson@yhbt.net>
10985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10987 2014-02-03 Carlos O'Donell <carlos@redhat.com>
10989 * manual/startup.texi: Add next, previous, and top entries for
10990 the `Program Arguments' and `Environment Variables' nodes.
10992 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
10994 * manual/macros.texi: Add comments before MTASC-safety macros.
10996 * manual/users.texi: Document MTASC-safety properties.
10998 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10999 (pthread_getspecific, pthread_setspecific): Format with
11000 @deftypefun, and add @safety note.
11001 * manual/signal.texi: Move comments that analyze the above
11002 functions to their home place.
11004 2014-02-03 Allan McRae <allan@archlinux.org>
11006 * po/sl.po: Update Slovenian translation from translation project.
11008 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11010 * manual/time.texi (timegm): Add missing blank after @c.
11011 Reported by Joseph Myers <joseph@codesourcery.com>.
11013 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11015 * manual/check-safety.sh: New.
11016 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11018 * manual/terminal.texi: Document MTASC-safety properties.
11020 * manual/filesys.texi: Document MTASC-safety properties.
11022 * manual/errno.texi: Document MTASC-safety properties.
11024 * manual/intro.texi: Document safety identifiers and
11027 * manual/string.texi (wcstok): Fix prototype.
11028 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11030 * manual/time.texi: Document MTASC-safety properties.
11032 * manual/string.texi: Document MTASC-safety properties.
11034 * manual/threads.texi: Document MTASC-safety properties.
11036 * manual/stdio.texi: Document MTASC-safety properties.
11038 * manual/syslog.texi: Document MTASC-safety properties.
11040 * manual/sysinfo.texi: Document MTASC-safety properties.
11042 * manual/startup.texi: Document MTASC-safety properties.
11044 * manual/socket.texi: Document MTASC-safety properties.
11046 * manual/signal.texi: Document MTASC-safety properties.
11048 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11050 * manual/setjmp.texi: Document MTASC-safety properties.
11052 * manual/search.texi: Document MTASC-safety properties.
11054 * manual/resource.texi: Document MTASC-safety properties.
11056 * manual/process.texi: Document MTASC-safety properties.
11058 * manual/platform.texi: Document MTASC-safety properties.
11060 * manual/pipe.texi: Document MTASC-safety properties.
11062 * manual/pattern.texi: Document MTASC-safety properties.
11064 * manual/message.texi: Document MTASC-safety properties.
11067 * manual/memory.texi: Document MTASC-safety properties.
11069 * manual/math.texi: Document MTASC-safety properties.
11071 * manual/locale.texi: Document MTASC-safety properties.
11073 * manual/llio.texi: Document MTASC-safety properties.
11075 * manual/libdl.texi: New.
11077 * manual/lang.texi: Document MTASC-safety properties.
11079 * manual/job.texi: Document MTASC-safety properties.
11081 * manual/getopt.texi: Document MTASC-safety properties.
11083 * manual/ctype.texi: Document MTASC-safety properties.
11085 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11088 * csu/libc-tls.c (static_map): Remove variable.
11089 (__libc_setup_tls): Use main executable's link map for TLS data.
11090 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11091 casing for LM_ID_BASE and GL(dl_nns).
11092 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11093 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11094 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11095 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11096 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11098 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11101 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
11103 * manual/debug.texi: Document MTASC-safety properties.
11105 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11108 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11109 of __x86_64__ when disabling x87 inline functions.
11111 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
11113 * manual/charset.texi: Document MTASC-safety properties.
11115 * manual/crypt.texi: Document MTASC-safety properties.
11117 * manual/conf.texi: Document MTASC-safety properties.
11119 * manual/arith.texi: Document MTASC-safety properties.
11121 * manual/argp.texi: Document MTASC-safety properties.
11123 * manual/macros.texi: Introduce macros to document multi
11124 thread, asynchronous signal and asynchronous cancellation
11126 * manual/intro.texi: Introduce the properties themselves.
11128 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11130 * sysdeps/sh/sh4/Makefile: New file.
11132 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11134 * math/gen-libm-test.pl ($srcdir): New variable.
11135 ($auto_input): Use it.
11137 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11140 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11141 access beyond array bounds when parsing netgroups file.
11143 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11144 the old buffer before realloc.
11146 2014-01-27 Allan McRae <allan@archlinux.org>
11148 * po/fr.po: Update French translation from translation project.
11150 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11152 * sysdeps/sh/libm-test-ulps: Regenerate.
11154 2014-01-24 David S. Miller <davem@davemloft.net>
11156 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11158 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11160 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11161 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11163 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11166 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11167 string pointers after reallocation.
11169 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11171 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11172 __SH4A__ instead of __SH_FPU_ANY__.
11174 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11176 * sysdeps/sh/fpu_control.h: New file.
11177 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11178 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11179 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11180 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11181 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11182 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11183 * sysdeps/sh/sys/ucontext.h: Remove.
11184 * sysdeps/sh/sys: Remove directory.
11186 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11188 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11189 s390/sys/ucontext.h.
11190 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11191 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11193 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11196 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11198 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11201 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11202 Adjust the vDSO correctly for internal calls.
11203 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11205 2014-01-20 Allan McRae <allan@archlinux.org>
11207 * po/ca.po: Update Catalan translation from translation project.
11209 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11211 * sysdeps/s390/sotruss-lib.c: New file.
11213 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11216 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11217 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11218 local calls issues by not having a PLT stub required for IFUNC calls.
11219 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11221 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11223 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11224 * math/test-fpucw-static.c: Likewise.
11226 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11229 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11231 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11233 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11234 implementation for powerpc.
11236 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11239 * sysdeps/posix/system.c (__libc_system): Do not enable
11240 asynchronous cancellation.
11242 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11245 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11246 handling only for numbers special also in the IEEE case.
11248 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11250 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11252 2014-01-11 Allan McRae <allan@archlinux.org>
11254 * po/bg.po: Update Bulgarian translation from translation project.
11256 * po/de.po: Update German translation from translation project.
11258 2014-01-10 Roland McGrath <roland@hack.frob.com>
11260 * sysdeps/generic/gcc-compat.h: New file.
11262 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11264 * benchtests/asin-inputs: Correct slow inputs.
11265 * benchtests/acos-inputs: Likewise.
11267 2014-01-10 Allan McRae <allan@archlinux.org>
11269 * po:sv.po: Update Swedish translation from translation project.
11271 * po/vi.po: Update Vietnamese translation from translation project.
11273 * po/eo.po: Update Esperanto translation from translation project.
11275 * po/cs.po: Update Czech translation from translation project.
11277 * po/nl.po: Update Dutch translation from translation project.
11279 * po/pl.po: Update Polish translation from translation project.
11281 * po/ru.po: Update Russian translation from translation project.
11283 * po/uk.po: Update Ukrainian translation from translation project.
11285 2014-01-08 Brooks Moses <bmoses@google.com>
11287 * elf/dl-load.c: Fix comment typo.
11289 2014-01-08 Carlos O'Donell <carlos@redhat.com>
11291 * po/header.pot: Rename to...
11292 * po/pot.header: ... this.
11293 * po/Makefile: Use pot.header.
11295 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11296 Maxim Kuvyrkov <maxim@kugelworks.com>
11299 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11300 SRC and DEST against LEN.
11302 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11305 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11307 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11309 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11313 2014-01-08 Joseph Myers <joseph@codesourcery.com>
11316 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11317 for large positive arguments.
11319 2014-01-07 Joseph Myers <joseph@codesourcery.com>
11321 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11323 * math/auto-libm-test-in: Mark various tests with
11324 xfail-rounding:ldbl-128ibm.
11325 * math/auto-libm-test-out: Regenerated.
11328 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11329 Increase overflow threshold.
11331 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11334 * stdio-common/vfprintf.c: Check for integer overflow.
11336 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11338 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11339 the first argument and return value of __tls_get_addr_internal.
11341 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11343 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11344 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11346 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11348 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11349 * sysdeps/s390/rtld-global-offsets.sym: New file.
11350 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11352 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11353 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11354 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11356 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11357 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11363 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11364 halfs of GPRs for high_gprs contexts.
11365 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11366 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11368 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11370 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11372 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11373 for high GPRs (uc_high_gprs) and for future extensions
11375 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11376 for future extensions (__reserved).
11377 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11379 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11380 SC_HIGHGPRS offset definition.
11381 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11382 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11384 * Versions.def: Add GLIBC_2.19 for libpthread.
11385 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11386 siglongjmp for libpthread with GLIBC_2.19 symver.
11387 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11388 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11389 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11390 * sysdeps/s390/__longjmp.c: New file.
11391 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11392 * sysdeps/s390/longjmp.c: New file.
11393 * sysdeps/s390/setjmp.S: New file.
11394 * sysdeps/s390/sigjmp.S: New file.
11395 * sysdeps/s390/v1-longjmp.c: New file.
11396 * sysdeps/s390/v1-setjmp.h: New file.
11397 * sysdeps/s390/v1-sigjmp.c: New file.
11398 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11399 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11400 GLIBC_2.19 version.
11401 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11402 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11403 versioned symbols for ____longjmp_chk.
11404 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11414 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11415 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11416 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11417 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11418 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11419 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11420 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11421 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11422 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11423 * sysdeps/s390/rtld-__longjmp.c: New file.
11424 * sysdeps/s390/rtld-setjmp.S: New file.
11426 2014-01-06 Joseph Myers <joseph@codesourcery.com>
11429 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11430 Return -__logl (x) for small positive arguments without evaluating
11433 2014-01-06 Mike Frysinger <vapier@gentoo.org>
11435 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11437 (__ptrace_peeksiginfo_args): ... this.
11438 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11439 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11440 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11442 2014-01-06 Allan McRae <allan@archlinux.org>
11444 * inet/netinet/in.h: Fix typo in comment.
11446 2014-01-05 Andreas Jaeger <aj@suse.de>
11448 * sysdeps/i386/fpu/libm-test-ulps: Update.
11450 2014-01-05 Allan McRae <allan@archlinux.org>
11452 * po/libc.pot: Regenerated.
11454 * malloc/memusagestat.c: Fix gettext call formatting.
11456 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11458 * nscd/nscd.c: Improve usage() output.
11460 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11462 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11463 * sysdeps/unix/sysv/linux/configure: Regenerated.
11464 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11465 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11467 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11470 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11471 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11473 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11475 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11476 extra tokens at end of #undef directive.
11477 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11478 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11479 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11481 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11483 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11485 * math/auto-libm-test-in: Mark various tests with
11486 xfail-rounding:ldbl-128ibm.
11487 * math/auto-libm-test-out: Regenerated.
11489 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11492 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11493 numbers with subnormal high part when calculating exponent.
11496 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11500 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11502 (__ieee754_acoshl): Use __log1pl not __log1p.
11504 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11506 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11507 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11508 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11509 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11510 (reused_arena, arena_get2): Convert to GNU style.
11511 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11512 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11513 (memalign_check, __malloc_set_state): Likewise.
11514 * malloc/mallocbug.c (main): Likewise.
11515 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11516 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11517 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11518 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11519 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11520 (__posix_memalign, malloc_info): Likewise.
11521 * malloc/malloc.h: Likewise.
11522 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11523 (mallochook, memalignhook, reallochook, mabort): Likewise.
11524 * malloc/mcheck.h: Likewise.
11525 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11526 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11527 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11528 * malloc/morecore.c (__default_morecore): Likewise.
11529 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11530 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11531 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11532 (print_and_abort): Likewise.
11533 * malloc/obstack.h: Likewise.
11534 * malloc/set-freeres.c (__libc_freeres): Likewise.
11535 * malloc/tst-mallocstate.c (main): Likewise.
11536 * malloc/tst-mtrace.c (main): Likewise.
11537 * malloc/tst-realloc.c (do_test): Likewise.
11539 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11542 * nscd/netgroupcache.c (do_notfound): New function.
11543 (addgetnetgrentX): Use it.
11546 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11547 NSS_STATUS_NOTFOUND.
11549 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11551 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11554 2014-01-01 Allan McRae <allan@archlinux.org>
11556 * scripts/update-copyrights: Update configure input file suffix.
11558 * NEWS: Update copyright year.
11559 * catgets/gencat.c: Likewise.
11560 * csu/version.c: Likewise.
11561 * debug/catchsegv.sh: Likewise.
11562 * debug/pcprofiledump.c: Likewise.
11563 * debug/xtrace.sh: Likewise.
11564 * elf/ldconfig.c: Likewise.
11565 * elf/ldd.bash.in: Likewise.
11566 * elf/pldd.c: Likewise.
11567 * elf/sotruss.ksh: Likewise.
11568 * elf/sprof.c: Likewise.
11569 * iconv/iconv_prog.c: Likewise.
11570 * iconv/iconvconfig.c: Likewise.
11571 * locale/programs/locale.c: Likewise.
11572 * locale/programs/localedef.c: Likewise.
11573 * login/programs/pt_chown.c: Likewise.
11574 * malloc/memusage.sh: Likewise.
11575 * malloc/memusagestat.c: Likewise.
11576 * malloc/mtrace.pl: Likewise.
11577 * manual/libc.texinfo: Likewise.
11578 * nscd/nscd.c: Likewise.
11579 * nss/getent.c: Likewise.
11580 * nss/makedb.c: Likewise.
11581 * posix/getconf.c: Likewise.
11582 * scripts/test-installation.pl: Likewise.
11584 * All files with FSF copyright notices: Update copyright dates
11585 using scripts/update-copyrights.
11586 * intl/plural.c: Regenerated.
11587 * locale/programs/charmap-kw.h: Likewise.
11588 * locale/programs/locfile-kw.h: Likewise.
11590 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11592 * sysdeps/unix/sysv/linux/configure: Regenerated.
11593 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11594 the linux/fanotify.h header.
11595 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11596 HAVE_LINUX_FANOTIFY_H is defined.
11598 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11600 * benchtests/cos-inputs: New inputs.
11601 * benchtests/sin-inputs: Likewise.
11603 * benchtests/atan-inputs: New inputs. Fix name of multiple
11604 precision fallback inputs.
11606 * benchtests/atanh-inputs: New inputs.
11607 * benchtests/tanh-inputs: Likewise.
11609 * benchtests/acosh-inputs: New inputs.
11610 * benchtests/asinh-inputs: Likewise.
11612 * benchtests/cosh-inputs: New inputs.
11613 * benchtests/sinh-inputs: Likewise.
11615 * benchtests/acos-inputs: Add more inputs.
11616 * benchtests/asin-inputs: Likewise.
11618 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11621 * manual/arith.texi: Fix spelling.
11622 * manual/charset.texi: Likewise.
11623 * manual/errno.texi: Likewise.
11624 * manual/filesys.texi: Likewise.
11625 * manual/lang.texi: Likewise.
11626 * manual/llio.texi: Likewise.
11627 * manual/locale.texi: Likewise.
11628 * manual/message.texi: Likewise.
11629 * manual/resource.texi: Likewise.
11630 * manual/search.texi: Likewise.
11631 * manual/setjmp.texi: Likewise.
11632 * manual/stdio.texi: Likewise.
11633 * manual/string.texi: Likewise.
11634 * manual/sysinfo.texi: Likewise.
11635 * manual/time.texi: Likewise.
11637 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11639 * po/sl.po: New file.
11641 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11643 * .gitignore: Add core/.gdbinit/.gdb_history.
11645 2013-12-27 Allan McRae <allan@archlinux.org>
11648 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11649 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11651 2013-12-24 Brooks Moses <bmoses@google.com>
11653 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11654 all compilers that claim C++98 compliance, not just GCC.
11655 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11658 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11660 * NEWS: Restore accidentally deleted bug-fix entries.
11662 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11663 Ondřej Bílka <neleai@seznam.cz>
11666 * malloc/malloc.c (_int_free): Perform sanity check only if we
11669 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11672 * manual/stdio.texi (String Input Conversions): Clarify that character
11673 classes are not supported.
11675 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11679 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11682 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11683 Calculate results for small negative arguments directly rather
11684 than using reflection formula with special underflow handling.
11686 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11687 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11688 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11689 (fchflags): Likewise.
11690 (revoke): Likewise.
11691 (setlogin): Likewise.
11692 (sigaltstack): Likewise.
11694 (sigblock): Remove.
11695 (sigsetmask): Likewise.
11697 (waitpid): Likewise.
11698 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11699 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11701 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11702 * sysdeps/unix/bsd/Makefile: ... here.
11703 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11704 * sysdeps/unix/bsd/Versions: ... here.
11705 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11706 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11707 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11708 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11709 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11710 * sysdeps/unix/bsd/sigblock.c: ... here.
11711 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11712 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11713 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11714 * sysdeps/unix/bsd/sigvec.c: ... here.
11715 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11716 * sysdeps/unix/bsd/tcdrain.c: ... here.
11717 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11718 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11719 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11720 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11721 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11722 * sysdeps/unix/bsd/wait.c: ... here.
11723 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11724 * sysdeps/unix/bsd/wait3.c: ... here.
11725 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11726 * sysdeps/unix/bsd/waitpid.c: ... here.
11728 2013-12-21 Joseph Myers <joseph@codesourcery.com>
11731 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11732 round-to-nearest for [!USE_AS_EXPM1L].
11733 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11734 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11735 more tests of exp and exp10. Expect some exp10 tests to miss
11736 exceptions or fail in directed rounding modes.
11737 * math/auto-libm-test-out: Regenerated.
11738 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11739 (exp10_test_tonearest): New function.
11740 (exp10_towardzero_test_data): New array.
11741 (exp10_test_towardzero): New function.
11742 (exp10_downward_test_data): New array.
11743 (exp10_test_downward): New function.
11744 (exp10_upward_test_data): New array.
11745 (exp10_test_upward): New function.
11746 (main): Call the new functions.
11747 * sysdeps/i386/fpu/libm-test-ulps: Update.
11748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11750 2013-12-20 Joseph Myers <joseph@codesourcery.com>
11752 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11753 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11754 * math/auto-libm-test-out: Regenerated.
11755 * math/libm-test.inc (acosh_test_data): Add more tests.
11756 (atanh_test_data): Likewise.
11757 (ceil_test_data): Likewise.
11758 (copysign_test_data): Likewise.
11759 * sysdeps/i386/fpu/libm-test-ulps: Update.
11760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11762 * timezone/checktab.awk: Update from tzcode 2013i.
11763 * timezone/private.h: Likewise.
11764 * timezone/scheck.c: Likewise.
11765 * timezone/tzfile.h: Likewise.
11766 * timezone/tzselect.ksh: Likewise.
11767 * timezone/zdump.c: Likewise.
11768 * timezone/zic.c: Likewise.
11770 * math/auto-libm-test-in: Add tests of cpow.
11771 * math/auto-libm-test-out: Regenerated.
11772 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11773 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11775 (func_calc_desc): Add mpc_cc_c union field.
11776 (test_functions): Add cpow.
11777 (special_fill_2pi): New function.
11778 (special_real_inputs): Add 2pi.
11779 (calc_generic_results): Handle mpc_cc_c.
11780 * sysdeps/i386/fpu/libm-test-ulps: Update.
11781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11783 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11784 csqrt, ctan and ctanh.
11785 * math/auto-libm-test-out: Regenerated.
11786 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11787 (TEST_COND_x86): Likewise.
11788 (ccos_test_data): Use AUTO_TESTS_c_c.
11789 (ccosh_test_data): Likewise.
11790 (cexp_test_data): Likewise.
11791 (clog_test_data): Likewise.
11792 (csqrt_test_data): Likewise.
11793 (ctan_test_data): Likewise.
11794 (ctan_tonearest_test_data): Likewise.
11795 (ctan_towardzero_test_data): Likewise.
11796 (ctan_downward_test_data): Likewise.
11797 (ctan_upward_test_data): Likewise.
11798 (ctanh_test_data): Likewise.
11799 (ctanh_tonearest_test_data): Likewise.
11800 (ctanh_towardzero_test_data): Likewise.
11801 (ctanh_downward_test_data): Likewise.
11802 (ctanh_upward_test_data): Likewise.
11803 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11805 (func_calc_desc): Add mpc_c_c union field.
11806 (FUNC_mpc_c_c): New macro.
11807 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11808 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11810 (special_fill_min_subnorm_p120): New function.
11811 (special_real_inputs): Add min_subnorm_p120.
11812 (calc_generic_results): Handle mpc_c_c.
11813 * sysdeps/i386/fpu/libm-test-ulps: Update.
11814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11816 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11818 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11819 (do_sin_slow): New functions.
11820 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11821 (cslow2, csloww1, csloww2): Use the new functions.
11823 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11824 Use M to change sign of result instead of X. Assume X is
11826 (csloww1): Likewise.
11830 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11831 arguments A and DA.
11835 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11837 (sloww1): Don't adjust sign of DX.
11838 (csloww1): Likewise.
11839 (sloww2): Use X directly and don't adjust sign of DX.
11840 (csloww2): Likewise.
11842 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11844 * math/auto-libm-test-in: Add tests of cabs and carg.
11845 * math/auto-libm-test-out: Regenerated.
11846 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11847 (carg_test_data): Likewise.
11848 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11850 (func_calc_desc): Add mpc_c_f union field.
11851 (test_functions): Add cabs and carg.
11852 (calc_generic_results): Handle mpc_c_f.
11854 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11855 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11856 as a macro and a compat symbol.
11857 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11858 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11859 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11860 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11861 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11862 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11864 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11866 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11868 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11870 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11872 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11874 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11875 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11878 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11882 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11884 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11885 trailing whitespace removed.
11886 * scripts/config.guess: Update to version 2013-11-29.
11887 * scripts/config.sub: Update to version 2013-10-01.
11889 * math/auto-libm-test-in: Add tests of sincos.
11890 * math/auto-libm-test-out: Regenerated.
11891 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11892 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11894 (func_calc_desc): Add mpfr_f_11 union field.
11895 (test_functions): Add sincos.
11896 (calc_generic_results): Handle mpfr_f_11.
11897 * sysdeps/i386/fpu/libm-test-ulps: Update.
11898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11900 2013-12-19 Andreas Schwab <schwab@suse.de>
11902 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11904 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11905 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11906 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11908 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11910 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11911 * sysdeps/i386/fpu/libm-test-ulps: Update.
11912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11915 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11916 round-to-nearest mode when using frndint.
11917 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11918 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11919 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11921 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11923 * math/auto-libm-test-out: Regenerated.
11924 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11925 (TEST_COND_x86): Likewise.
11926 (expm1_tonearest_test_data): New array.
11927 (expm1_test_tonearest): New function.
11928 (expm1_towardzero_test_data): New array.
11929 (expm1_test_towardzero): New function.
11930 (expm1_downward_test_data): New array.
11931 (expm1_test_downward): New function.
11932 (expm1_upward_test_data): New array.
11933 (expm1_test_upward): New function.
11934 (main): Run the new test functions.
11935 * sysdeps/i386/fpu/libm-test-ulps: Update.
11936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11938 * include/features.h: Update comment documenting feature test
11939 macros. Mention _DEFAULT_SOURCE in comment.
11940 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11941 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11942 _BSD_SOURCE and _SVID_SOURCE.
11943 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11944 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11945 !_SVID_SOURCE]: Likewise.
11946 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11947 (__USE_POSIX_IMPLICITLY): Define.
11948 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11949 (_POSIX_SOURCE): Undefine and redefine.
11950 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11951 (_POSIX_C_SOURCE): Likewise.
11952 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11953 (Feature Test Macros): Update documentation of default features.
11955 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11957 * benchtests/Makefile: Add bench-strtok.
11958 * benchtests/bench-strtok.c: New file: strtok benchtest.
11960 2013-12-19 Allan McRae <allan@archlinux.org>
11962 * manual/install.texi: Suppress menu for plain text output.
11963 * INSTALL: Regenerated.
11965 2013-12-18 Brooks Moses <bmoses@google.com>
11968 * misc/getauxval.c: Include errno.h.
11969 (__getauxval): Set errno to ENOENT if the requested type is not
11971 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11972 don't declare with __attribute_const__.
11973 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11974 * manual/startup.texi: Document that getauxval sets errno.
11976 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11978 * math/auto-libm-test-in: Add tests of jn and yn.
11979 * math/auto-libm-test-out: Regenerated.
11980 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11981 (yn_test_data): Likewise.
11982 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11984 (func_calc_desc): Add mpfr_if_f union field.
11985 (FUNC_mpfr_if_f): New macro.
11986 (test_functions): Add jn and yn.
11987 (calc_generic_results): Assert type of second input for
11988 mpfr_ff_f. Handle mpfr_if_f.
11989 (output_for_one_input_case): Disable all checking for arguments
11990 fitting floating-point types in case of an integer argument.
11991 * sysdeps/i386/fpu/libm-test-ulps: Update.
11992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11995 Don't expect fegetround reference in libm.so.
11997 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11999 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12000 $(config-cflags-nofma).
12002 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12004 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12005 * math/auto-libm-test-out: Regenerated.
12008 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12009 to determine exponent and adjust argument to have exponent of -1.
12010 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12012 * math/auto-libm-test-out: Regenerated.
12013 * sysdeps/i386/fpu/libm-test-ulps: Update.
12014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12016 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12018 * manual/probes.texi: Remove cases when per-thread arenas are
12021 2013-12-18 Andreas Schwab <schwab@suse.de>
12023 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12024 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12025 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12026 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12027 * sysdeps/i386/i686/multiarch/Makefile: Update.
12028 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12030 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12032 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12033 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12035 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12038 Support TZ transition times < 00:00:00.
12039 This is needed for version-3 tz-format files; it supports time
12040 stamps past 2037 for America/Godthab (the only entry in the tz
12041 database for which this change is relevant).
12042 * manual/time.texi (TZ Variable): Document transition times
12043 from -167:59:59 through -00:00:01.
12044 * time/tzset.c (tz_rule): Time of day is now signed.
12045 (__tzset_parse_tz): Parse negative time of day.
12047 Document TZ transition times >= 25:00:00.
12048 * manual/time.texi (TZ Variable): Document transition times from
12049 25:00:00 through 167:59:59. These are already supported, and this
12050 support will help with version-3 tz-format files.
12052 * manual/time.texi (TZ Variable): Modernize North America example
12053 to reflect current (i.e., 2007-and-later) daylight saving rules.
12055 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12057 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12059 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12060 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12061 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12062 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12063 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12064 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12065 * sysdeps/unix/bsd/clock.c: Likewise.
12066 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12067 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12068 * sysdeps/unix/bsd/init-posix.c: Likewise.
12069 * sysdeps/unix/bsd/poll.c: Likewise.
12070 * sysdeps/unix/bsd/ptsname.c: Likewise.
12071 * sysdeps/unix/bsd/seekdir.c: Likewise.
12072 * sysdeps/unix/bsd/setegid.c: Likewise.
12073 * sysdeps/unix/bsd/seteuid.c: Likewise.
12074 * sysdeps/unix/bsd/setgid.c: Likewise.
12075 * sysdeps/unix/bsd/setrgid.c: Likewise.
12076 * sysdeps/unix/bsd/setruid.c: Likewise.
12077 * sysdeps/unix/bsd/setsid.c: Likewise.
12078 * sysdeps/unix/bsd/setuid.c: Likewise.
12079 * sysdeps/unix/bsd/sigaction.c: Likewise.
12080 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12081 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12082 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12083 * sysdeps/unix/bsd/telldir.c: Likewise.
12084 * sysdeps/unix/bsd/times.c: Likewise.
12085 * sysdeps/unix/bsd/usleep.c: Likewise.
12087 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12088 ($(objpfx)libbsd-compat.a): Remove rule.
12090 * include/features.h (__FAVOR_BSD): Do not define.
12091 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12092 features conflicting with POSIX.
12093 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12094 (_BSD_SOURCE): Remove description of not being a subset of other
12095 feature test macros.
12096 * manual/job.texi (getpgrp): Do not document BSD version.
12097 (getpgid): Do not document by reference to BSD getpgrp.
12098 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12099 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12100 * signal/signal.h [__FAVOR_BSD]: Likewise.
12101 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12102 instead of making contents conditional on [__FAVOR_BSD].
12103 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12105 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12109 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12112 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12113 values below 2**-450, not 2**-500.
12114 * math/auto-libm-test-in: Don't allow spurious underflow from
12116 * math/auto-libm-test-out: Regenerated.
12120 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12121 values of ha and hb and sort them after adjusting subnormal
12123 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12125 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12126 values of ea and eb and sort them after adjusting subnormal
12128 * math/auto-libm-test-in: Do not expect some hypot tests of
12129 subnormals to fail. Add more hypot tests.
12130 * math/auto-libm-test-out: Regenerated.
12132 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12135 * sysdeps/sh/s_fma.c: New file.
12136 * sysdeps/sh/s_fmaf.c: New file.
12137 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12139 * sysdeps/sh/Implies: Add sh/soft-fp.
12141 2013-12-16 Roland McGrath <roland@hack.frob.com>
12143 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12144 level of indirection to members `objname', `errstring', `malloced'.
12145 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12146 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12147 it as the __longjmp argument (just pass 1 instead).
12148 (_dl_catch_error): Initialize C with argument pointers and address of
12149 volatile local ERRCODE rather than copying values out of C at return.
12151 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12153 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12154 * math/auto-libm-test-out: Regenerated.
12155 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12156 (hypot_test_data): Likewise.
12157 (pow_test_data): Likewise.
12158 (pow_tonearest_test_data): Likewise.
12159 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12161 (func_calc_desc): Add mpfr_ff_f union field.
12162 (FUNC_mpfr_ff_f): New macro.
12163 (test_functions): Add atan2, hypot and pow.
12164 (special_fill_min): New function.
12165 (special_fill_minus_min): Likewise.
12166 (special_fill_min_subnorm): Likewise.
12167 (special_fill_minus_min_subnorm): Likewise.
12168 (special_real_inputs): Add min, -min, min_subnorm and
12170 (calc_generic_results): Handle mpfr_ff_f.
12171 * sysdeps/i386/fpu/libm-test-ulps: Update.
12172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12174 2013-12-16 Will Newton <will.newton@linaro.org>
12176 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12177 (Aligned Memory Blocks): Add documentation for aligned_alloc
12178 and suggest it as an alternative to posix_memalign.
12179 (Hooks for Malloc): Document __memalign_hook is also called
12180 for aligned_alloc. (Summary of Malloc): Add summary for
12181 aligned alloc. Document __memalign_hook is also called
12184 2013-12-16 Will Newton <will.newton@linaro.org>
12186 * manual/memory.texi (Malloc Examples): Clarify default
12187 alignment documentation. Suggest posix_memalign rather
12188 than memalign or valloc.
12189 (Aligned Memory Blocks): Remove suggestion to use memalign
12190 or valloc. Remove obsolete comment about BSD.
12191 Document memalign errno values and mark the function obsolete.
12192 Document posix_memalign returned error codes. Mark valloc
12193 as obsolete. (Hooks for Malloc): __memalign_hook is also
12194 called for posix_memalign and valloc.
12195 (Summary of Malloc): Add posix_memalign to function summary.
12196 __memalign_hook is also called for posix_memalign and valloc.
12198 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12200 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12204 (sloww): Use mynumber union. Expand ternary operator into
12205 if-else statements.
12206 (cslow): use mynumber union.
12208 2013-12-16 Allan McRae <allan@archlinux.org>
12210 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12211 * configure: Regenerated.
12213 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12216 * configure.ac: Added --enable-maintainer-mode. Check for
12217 autoconf when enabled.
12218 * configure: Regenerated.
12220 * nscd/nscd.service: New file.
12221 * nscd/nscd.tmpfiles: New file.
12223 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12226 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12227 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12228 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12229 (strstr): Add __strstr_sse2_unaligned ifunc.
12230 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12231 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12232 (strcasestr): Remove __strcasestr_sse42 ifunc.
12233 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12234 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12235 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12237 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12239 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12240 * sysdeps/sh/bits/fenv.h: ... here.
12241 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12243 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12245 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12247 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12248 hypotf multiarch implementations.
12249 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12250 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12251 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12252 multiarch hypot for PPC64.
12253 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12254 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12255 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12256 multiarch hypotf for PPC64.
12258 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12259 modff multiarch implementations.
12260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12263 multiarch modf for PPC64.
12264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12267 multiarch modff for PPC64.
12269 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12270 and logl multiarch implementations.
12271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12274 multiarch logb for PPC64.
12275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12278 multiarch logb for PPC64.
12279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12282 multiarch logb for PPC64.
12284 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12285 isinff multiarch implementation.
12286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12290 multiarch isinf for PPC64.
12291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12294 multiarch isinff for PPC64.
12296 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12297 finitef multiarch implementation.
12298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12302 multiarch finite for PPC64.
12303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12306 multiarch finitef for PPC64.
12308 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12309 lrint multiarch implementation.
12310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12314 multiarch llrint for PPC64.
12315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12316 multiarch lrint for PPC64.
12318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12319 copysignf multiarch implementation.
12320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12325 multiarch copysign for PPC64.
12326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12327 multiarch copysignf for PPC64.
12329 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12330 multiarch implementation.
12331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12339 multiarch llround for PPC64.
12340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12341 multiarch trunc for PPC64.
12342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12343 multiarch truncf for PPC64.
12345 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12346 multiarch implementation.
12347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12355 multiarch llround for PPC64.
12356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12357 multiarch round for PPC64.
12358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12359 multiarch roundf for PPC64.
12361 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12362 multiarch implementation.
12363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12371 multiarch llround for PPC64.
12372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12373 multiarch floor for PPC64.
12374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12375 multiarch floorf for PPC64.
12377 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12378 multiarch implementation.
12379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12387 multiarch llround for PPC64.
12388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12389 multiarch ceil for PPC64.
12390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12391 multiarch ceilf for PPC64.
12393 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12394 multiarch implementation.
12395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12402 multiarch llround for PPC64.
12403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12404 multiarch lround for PPC64.
12406 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12407 multiarch implementation.
12408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12415 multiarch isnan for PPC64.
12416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12417 multiarch isnanf for PPC64.
12419 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12420 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12421 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12422 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12423 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12426 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12427 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12428 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12429 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12432 multiarch implementations.
12433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12434 (__libc_ifunc_impl_list): Likewise.
12435 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12436 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12437 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12438 multiarch stpcpy for PPC64.
12440 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12441 multiarch implementations.
12442 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12443 (__libc_ifunc_impl_list): Likewise.
12444 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12445 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12446 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12447 multiarch strcpy for PPC64.
12449 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12450 redefine function name.
12451 (_wordcopy_fwd_dest_aligned): Likewise.
12452 (_wordcopy_bwd_aligned): Likewise.
12453 (_wordcopy_bwd_dest_aligned): Likewise.
12454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12455 multiarch implementations.
12456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12457 (__libc_ifunc_impl_list): Likewise.
12458 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12459 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12460 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12461 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12462 multiarch wcscpy for PPC64.
12464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12465 multiarch implementations.
12466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12467 (__libc_ifunc_impl_list): Likewise.
12468 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12469 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12470 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12471 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12472 multiarch wcscpy for PPC64.
12474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12475 multiarch implementations.
12476 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12477 (__libc_ifunc_impl_list): Likewise.
12478 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12479 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12480 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12481 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12482 multiarch wcsrchr for PPC64.
12484 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12485 multiarch implementations.
12486 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12487 (__libc_ifunc_impl_list): Likewise.
12488 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12489 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12490 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12491 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12492 multiarch wcschr for PPC64.
12494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12495 multiarch implementations.
12496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12497 (__libc_ifunc_impl_list): Likewise.
12498 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12499 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12500 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12501 multiarch strchrnul for PPC64.
12503 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12506 (__libc_ifunc_impl_list): Likewise.
12507 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12508 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12509 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12510 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12513 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12516 (__libc_ifunc_impl_list): Likewise.
12517 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12518 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12519 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12520 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12523 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12524 multiarch implementations.
12525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12526 (__libc_ifunc_impl_list): Likewise.
12527 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12528 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12529 strncasecmp for PPC64.
12530 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12531 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12532 multiarch strncasecmp_l for PPC64.
12534 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12535 multiarch implementations.
12536 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12537 (__libc_ifunc_impl_list): Likewise.
12538 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12539 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12540 multiarch strcasecmp for PPC64.
12541 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12543 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12544 multiarch strcasecmp_l for PPC64.
12546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12549 (__libc_ifunc_impl_list): Likewise.
12550 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12551 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12552 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12555 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12558 (__libc_ifunc_impl_list): Likewise.
12559 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12560 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12561 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12567 (__libc_ifunc_impl_list): Likewise.
12568 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12569 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12570 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12571 rawmemrchr for PPC64.
12573 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12575 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12576 (__libc_ifunc_impl_list): Likewise.
12577 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12578 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12579 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12585 (__libc_ifunc_impl_list): Likewise.
12586 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12587 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12588 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12593 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12594 (__libc_ifunc_impl_list): Likewise.
12595 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12596 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12597 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12600 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12601 avoid cretion of __bzero symbol.
12602 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12604 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12606 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12608 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12609 multiarch implementations.
12610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12611 (__libc_ifunc_impl_list): Likewise.
12612 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12613 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12614 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12615 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12617 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12618 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12619 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12620 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12621 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12623 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12625 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12629 (__libc_ifunc_impl_list): Likewise.
12630 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12631 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12632 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12633 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12636 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12637 multiarch for POWER/PPC64.
12638 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12639 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12640 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12641 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12642 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12643 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12644 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12645 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12646 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12649 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12650 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12651 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12652 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12653 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12654 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12655 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12656 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12657 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12658 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12659 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12660 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12661 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12662 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12663 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12672 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12674 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12676 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12678 * benchtests/Makefile (bench): Add exp2 and log2.
12679 (LDLIBS-bench-exp2): Add -lm.
12680 (LDLIBS-bench-log2): Likewise.
12681 * benchtests/exp2-inputs: New inputs file.
12682 * benchtests/log2-inputs: New inputs file.
12683 * benchtests/log-inputs: Add new inputs.
12684 * benchtests/tan-inputs: Likewise.
12686 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12688 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12690 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12691 (csloww2): ... from here.
12693 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12694 instead of structures.
12695 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12696 (POLYNOMIAL): Likewise.
12697 (TAYLOR_SLOW): Likewise.
12703 (sloww1); Likewise.
12704 (sloww2): Likewise.
12705 (bsloww1): Likewise.
12706 (bsloww2): Likewise.
12707 (cslow2): Likewise.
12708 (csloww): Likewise.
12709 (csloww1): Likewise.
12710 (csloww2): Likewise.
12712 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
12714 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12715 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12716 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12717 * malloc/hooks.c (realloc_check): Likewise.
12719 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12720 * malloc/arena.c: Remove PER_THREAD conditional.
12721 [!PER_THREAD]: Remove code.
12722 (ptmalloc_unlock_all2): Likewise.
12723 (ptmalloc_init): Likewise.
12724 (_int_new_arena): Likewise.
12725 (arena_get2): Likewise.
12726 * malloc/hooks.c (__malloc_get_state): Likewise.
12727 (__malloc_set_state): Likewise.
12728 * malloc/malloc.c: Likewise.
12729 (struct malloc_state): Likewise.
12730 (struct malloc_par): Likewise.
12731 (__libc_realloc): Likewise.
12732 (__libc_mallopt): Likewise.
12734 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12736 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12738 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
12740 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12741 macro to a function. Check for zero perturb_byte.
12742 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12744 * malloc/malloc.c: (force_reg): Remove.
12745 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12746 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12747 force_reg by atomic_forced_read.
12748 * malloc/arena.c (ptmalloc_init): Likewise.
12749 * malloc/hooks.c (top_check): Likewise.
12751 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12755 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12757 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12759 2013-12-08 Joseph Myers <joseph@codesourcery.com>
12761 * math/auto-libm-test-in: Add tests of lgamma.
12762 * math/auto-libm-test-out: Regenerated.
12763 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12764 (M_LOG_2_SQRT_PIl): Likewise.
12765 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12766 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12768 (func_calc_desc): Add mpfr_f_f1 union field.
12769 (ARGS1): New macro.
12777 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12778 (test_functions): Add lgamma.
12779 (calc_generic_results): Handle mpfr_f_f1.
12780 * sysdeps/i386/fpu/libm-test-ulps: Update.
12781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12783 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12785 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12786 __mpn_add_n for PowerPC64/POWER7.
12787 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12788 __mpn_sub_n for PowerPC64/POWER7.
12790 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12791 __mpn_addmul_1 for PowerPC64.
12792 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12793 __mpn_submul_1 for PowerPC64.
12794 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12796 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12799 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12802 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12804 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12806 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12808 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12809 add multiarch folders.
12810 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12811 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12812 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12813 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12814 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12815 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12816 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12817 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12818 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12819 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12820 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12829 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12835 multiarch __ieee754_hypot for PowerPC32.
12836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12841 multiarch __ieee754_hypotf for PowerPC32.
12843 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12844 long_double_symbol only if __logbl is defined.
12845 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12846 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12847 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12848 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12849 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12850 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12851 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12852 path for implementation.
12853 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12854 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12856 logb, and logbl multiarch implementations for PowerPC32.
12857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12862 multiarch logb for PowerPC32.
12863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12868 multiarch logbf for PowerPC32.
12869 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12873 multiarch logbl implementation for PowerPC32.
12875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12876 and modff multiarch implementations.
12877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12882 multiarch modf for PowerPC32.
12883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12888 multiarch modff for PowerPC32.
12890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12891 and lrintf multiarch implementations.
12892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12897 multiarch lrint for PowerPC32.
12898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12899 file: multiarch lrintf for PowerPC32.
12901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12902 and lroundf multiarch implementations.
12903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12910 multiarch lround for PowerPC32.
12911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12912 file: multiarch lroundf for PowerPC32.
12914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12915 copysign and copysignf multiarch implementations.
12916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12921 file: multiarch copysign for PowerPC32.
12922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12923 file: multiarch copysignf for PowerPC32.
12925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12926 and truncf multiarch implementations.
12927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12932 multiarch trunc for PowerPC32.
12933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12938 multiarch truncf for PowerPC32.
12940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12941 and roundf multiarch implementations.
12942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12947 multiarch round for PowerPC32.
12948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12953 multiarch roundf for PowerPC32.
12955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12956 and floorf multiarch implementations.
12957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12962 multiarch floor for PowerPC32.
12963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12968 multiarch floorf for PowerPC32.
12970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12971 and ceilf multiarch implementations.
12972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12977 multiarch ceil for PowerPC32.
12978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12983 multiarch ceilf for PowerPC32.
12985 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12987 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12988 FINITEF is defined.
12989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12990 and finitef multiarch implementations.
12991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12996 multiarch finite for PowerPC32.
12997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13000 file: multiarch finitef for PowerPC32.
13002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13003 and isinff multiarch implementations.
13004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13009 multiarch isinf for PowerPC32.
13010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13013 multiarch isinff for PowerPC32.
13015 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13016 alias when __isnan is defined.
13017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13018 and isnanf multiarch implementations.
13019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13028 multiarch isnan for PowerPC32.
13029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13034 multiarch isnanf for PowerPC32.
13036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13037 and sqrtf multiarch implementations.
13038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13043 multiarch sqrt for PowerPC32.
13044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13049 multiarch sqrtf for PowerPC32.
13051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13052 and llroundf multiarch implementations.
13053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13060 file: multiarch llround for PowerPC32.
13061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13062 file: multiarch llroundf for PowerPC32.
13064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13065 multiarch PowerPC32 fpu implementations.
13066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13071 multiarch llrint for PowerPC32.
13072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13081 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13083 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13085 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13087 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13088 multiarch wordcopy for PPC32.
13089 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13091 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13092 (__libc_ifunc_impl_list): Likewise.
13093 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13094 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13095 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13096 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13097 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13098 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13100 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13101 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13103 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13105 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13107 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13108 multiarch wcscpy for PPC32.
13109 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13111 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13112 (__libc_ifunc_impl_list): Likewise.
13113 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13114 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13115 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13116 sysdeps/powerpc/power6/wcscpy.c.
13118 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13119 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13121 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13123 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13125 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13126 multiarch wcsrchr for PPC32.
13127 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13129 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13130 (__libc_ifunc_impl_list): Likewise.
13131 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13132 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13133 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13134 sysdeps/powerpc/power6/wcsrchr.c.
13136 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13138 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13140 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13141 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13142 multiarch wcschr for PPc32.
13143 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13145 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13146 (__libc_ifunc_impl_list): Likewise.
13147 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13148 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13149 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13150 sysdeps/powerpc/power6/wcschr.c.
13152 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13153 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13155 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13156 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13157 file: multiarch strchr for PPC32.
13158 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13160 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13161 (__libc_ifunc_impl_list): Likewise.
13163 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13165 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13167 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13169 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13170 multiarch strchrnul for PPC32.
13171 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13173 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13174 (__libc_ifunc_impl_list): Likewise.
13176 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13178 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13179 multiarch strncasecmp for PPC32.
13180 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13182 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13183 multiarch strncasecmp_l for PPC32.
13184 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13185 strncasecmp multiarch objects.
13186 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13187 (__libc_ifunc_impl_list): Likewise.
13189 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13191 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13192 multiarch strncasecmp for PPC32.
13193 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13195 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13196 multiarch strcasecmp_l for PPC32.
13197 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13199 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13200 (__libc_ifunc_impl_list): Likewise.
13202 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13204 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13206 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13207 multiarch strncmp for PPC32.
13208 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13210 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13211 (__libc_ifunc_impl_list): Likewise.
13213 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13214 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13216 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13217 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13218 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13220 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13221 (__libc_ifunc_impl_list): Likewise.
13223 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13225 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13227 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13228 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13230 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13231 (__libc_ifunc_impl_list): Likewise.
13233 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13235 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13237 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13238 multiarch rawmemchr for PPC32.
13239 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13241 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13242 (__libc_ifunc_impl_list): Likewise.
13244 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13246 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13248 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13249 file: memrchr multiarch for PPC32.
13250 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13252 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13253 (__libc_ifunc_impl_list): Likewise.
13255 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13256 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13258 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13259 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13260 multiarch memchr for PPC32.
13261 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13263 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13264 (__libc_ifunc_impl_list): Likewise.
13266 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13267 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13269 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13271 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13272 file: multiarch mempcpy for PPC32.
13273 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13275 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13276 (__libc_ifunc_impl_list): Likewise.
13278 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13279 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13280 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13281 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13282 multiarch bzero for PPC32.
13283 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13285 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13287 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13288 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13289 file: multiarch memset for PPC32.
13290 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13291 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13292 memset multiarch objects.
13293 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13294 (__libc_ifunc_impl_list): Likewise.
13296 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13298 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13299 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13301 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13302 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13304 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13305 (__libc_ifunc_impl_list): Likewise.
13307 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13308 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13309 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13311 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13313 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13315 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13316 multiarch memcpy for PPC32.
13317 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13319 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13320 (__libc_ifunc_impl_list): Likewise.
13322 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13323 support multiarch for POWER/PPC32.
13324 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13326 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13328 Implies file to make multiarch folder appers before the fpu and
13329 default folder for power4 configuration.
13331 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13333 * scripts/bench.pl: Append volatile keyword to type.
13335 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13337 * sysdeps/sh/sotruss-lib.c: New file.
13338 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13340 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13344 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13347 * math/w_tgamma.c: Include <errno.h>.
13348 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13349 * math/w_tgammaf.c: Include <errno.h>.
13350 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13351 * math/w_tgammal.c: Include <errno.h>.
13352 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13353 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13354 underflow. Add more tgamma tests.
13355 * math/auto-libm-test-out: Regenerated.
13356 * sysdeps/i386/fpu/libm-test-ulps: Update.
13357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13359 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13360 sin, sinh, tan, tanh, tgamma, y0 and y1.
13361 * math/auto-libm-test-out: Regenerated.
13362 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13363 (TEST_COND_x86): Likewise.
13364 (M_E2l): Remove macro.
13366 (M_2_SQRT_PIl): Likewise.
13367 (M_SQRT_PIl): Likewise.
13368 (M_1_DIV_El): Likewise.
13369 (log_test_data): Use AUTO_TESTS_f_f.
13370 (log10_test_data): Likewise.
13371 (log1p_test_data): Likewise.
13372 (log2_test_data): Likewise.
13373 (sin_test_data): Likewise.
13374 (sin_tonearest_test_data): Likewise.
13375 (sin_towardzero_test_data): Likewise.
13376 (sin_downward_test_data): Likewise.
13377 (sin_upward_test_data): Likewise.
13378 (sinh_test_data): Likewise.
13379 (sinh_tonearest_test_data): Likewise.
13380 (sinh_towardzero_test_data): Likewise.
13381 (sinh_downward_test_data): Likewise.
13382 (sinh_upward_test_data): Likewise.
13383 (tan_test_data): Likewise.
13384 (tan_tonearest_test_data): Likewise.
13385 (tan_towardzero_test_data): Likewise.
13386 (tan_downward_test_data): Likewise.
13387 (tan_upward_test_data): Likewise.
13388 (tanh_test_data): Likewise.
13389 (tgamma_test_data): Likewise.
13390 (y0_test_data): Likewise.
13391 (y1_test_data): Likewise.
13392 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13393 (special_real_inputs): Add pi/4.
13394 * sysdeps/i386/fpu/libm-test-ulps: Update.
13395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13397 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13399 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13400 "longjmp_target" static probes.
13401 (__longjmp): Rename to __longjmp_symbol.
13402 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13403 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13404 on which longjmp to generate.
13405 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13406 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13408 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13409 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13410 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13411 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13412 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13413 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13415 __longjmp_symbol based on which __longjmp to generate.
13416 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13418 (setjmp): Rename to setjmp_symbol.
13419 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13420 (_setjmp): Rename to _setjmp_symbol.
13421 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13422 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13423 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13424 which setjmp to generate.
13425 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13426 "longjmp_target" static probes.
13428 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13430 * benchtests/README: Add note about output arguments.
13431 * benchtests/bench-sincos.c: Remove file.
13432 * benchtests/sincos-inputs: New file.
13433 * scripts/bench.pl: Identify output arguments and define
13434 static variables for them.
13436 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13439 * Makefile (INSTALL): Add install-plain.texi as the primary
13441 * manual/install-plain.texi: New file.
13442 * manual/install.texi: Include node directive only for
13443 non-plaintext output.
13445 2013-12-04 Joseph Myers <joseph@codesourcery.com>
13447 * stdlib/longlong.h: Update from GCC.
13451 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13452 * math/w_j0f.c (y0f): Likewise.
13453 * math/w_j0l.c (__y0l): Likewise.
13454 * math/w_j1.c (y1): Likewise.
13455 * math/w_j1f.c (y1f): Likewise.
13456 * math/w_j1l.c (__y1l): Likewise
13457 * math/w_jn.c (yn): Likewise.
13458 * math/w_jnf.c (ynf): Likewise.
13459 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13460 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13461 value for Bessel function domain errors outside _SVID_ mode.
13462 Adjust sign of return value for yn (negative integer, 0).
13463 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13464 by zero in return for negative x and set sign appropriately for
13466 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13467 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13468 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13469 expectations in error cases.
13470 (y1_test_data): Likewise.
13471 (yn_test_data): Likewise.
13472 * sysdeps/i386/fpu/libm-test-ulps: Update.
13473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13475 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13477 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13478 "64" to "64-v1". Add "64-v2".
13479 (abi-64-options): Rename to ...
13480 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13481 (abi-64-condition): Rename to ...
13482 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13483 (abi-64-ld-soname): Rename to ...
13484 (abi-64-v1-ld-soname): ... this.
13485 (abi-64-v2-options): Define.
13486 (abi-64-v2-condition): Likewise.
13487 (abi-64-v2-ld-soname): Likewise.
13488 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13489 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13494 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13495 Alan Modra <amodra@gmail.com>
13497 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13498 New versions for use with the ELFv2 ABI.
13499 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13500 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13502 (struct La_ppc64v2_retval): Likewise.
13503 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13504 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13505 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13506 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13507 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13508 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13509 Do not save or restore CR.
13510 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13511 (_dl_profile_resolve): Do no save or restore CR. Support extended
13512 return values for ELFv2 ABI. Fix location of FPR return registers.
13513 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13514 updated values for _CALL_ELF == 2.
13515 (La_regs, La_retval, int_retval): Likewise.
13517 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13519 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13520 (FRAME_MIN_SIZE_PARM): Likewise.
13521 (FRAME_BACKCHAIN): Likewise.
13522 (FRAME_CR_SAVE): Likewise.
13523 (FRAME_LR_SAVE): Likewise.
13524 (FRAME_TOC_SAVE): Likewise.
13525 (FRAME_PARM_SAVE): Likewise.
13526 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13527 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13528 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13529 (call_mcount_parm_offset): New macro.
13530 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13531 (PROF): Use symbolic stack frame offsets.
13532 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13533 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13534 Redefine in terms of FRAME_MIN_SIZE.
13535 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13536 (_dl_profile_resolve): Likewise. Update comment.
13537 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13538 symbols stack frame offsets.
13539 (__sigsetjmp): Likewise.
13540 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13541 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13542 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13543 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13546 (FRAME_BACKCHAIN): Remove.
13547 (FRAME_CR_SAVE): Likewise.
13548 (FRAME_LR_SAVE): Likewise.
13549 (FRAME_COMPILER_DW): Likewise.
13550 (FRAME_LINKER_DW): Likewise.
13551 (FRAME_TOC_SAVE): Likewise.
13552 (FRAME_PARM_SAVE): Likewise.
13553 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13554 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13555 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13557 (CHECK_SP): Use symbolic stack frame offsets.
13558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13559 zone" instead of caller's parameter save area for temp storage.
13560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13561 Likewise. Also, use symbolic stack frame offsets.
13562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13563 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13564 our own stack frame instead of the caller's.
13565 (__socket): Use symbolic stack frame offsets.
13567 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13568 Alan Modra <amodra@gmail.com>
13570 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13572 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13573 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13574 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13576 (elf_machine_fixup_plt): Call it.
13577 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13579 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13580 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13581 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13582 r2 before calling target.
13584 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13585 Alan Modra <amodra@gmail.com>
13587 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13588 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13589 versions of macros to support ELFv2 ABI.
13590 (LOCALENTRY): New macro.
13591 (ENTRY, EALIGN): Use it.
13592 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13593 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13594 fall through into ENTRY entry point.
13595 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13596 Only define if _CALL_ELF != 2.
13598 (elf_machine_matches_host): Verify ABI version matches.
13599 (RTLD_START): Use LOCALENTRY.
13600 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13601 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13602 (PLT_ENTRY_WORDS): New macro.
13603 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13604 (elf_machine_runtime_setup): Support ELFv2 ABI.
13605 (elf_machine_fixup_plt): Likewise.
13606 (elf_machine_plt_conflict): Likewise.
13607 (resolve_ifunc): Likewise.
13608 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13609 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13612 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13614 (makecontext): Support ELFv2 ABI.
13615 * elf/elf.h (EF_PPC64_ABI): Define.
13617 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13619 * sysdeps/powerpc/powerpc64/sysdep.h
13620 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13621 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13622 (ENTRY) [ASSEMBLER]: ... but instead here ...
13623 (EALIGN) [ASSEMBLER]: ... and here.
13624 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13625 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13626 (ENTRY_2) [!ASSEMBLER]: Use it.
13627 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13628 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13629 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13630 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13631 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13633 Use PPC64_LOAD_FUNCPTR.
13635 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13637 2013-12-04 Alan Modra <amodra@gmail.com>
13639 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13640 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13641 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13642 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13644 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13645 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13646 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13647 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13648 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13649 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13651 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13654 (__makecontext): Fix incorrect CFI when backtracing out of
13655 context created via makecontext.
13656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13657 (__setcontext): Fix incorrect CFI during switch to new context.
13658 (__novec_setcontext): Likewise.
13660 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13663 * time/strptime_l.c (__strptime_internal): Allow modifiers
13665 * time/tst-strptime.c (day_tests): Add testcase.
13667 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13669 * scripts/bench.pl: Skip over blank lines.
13671 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13674 * manual/time.texi (Calendar Time): Clarify what timezone functions
13677 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13681 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13683 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13685 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13686 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13687 * debug/memset_chk.c (__memset_chk): Likewise.
13688 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13689 * debug/strncpy_chk.c: Likewise.
13691 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13695 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13696 (__ieee754_exp): For possibly underflowing results, check size of
13697 result and force underflow exception if required.
13698 * math/auto-libm-test-in: Add more tests of exp.
13699 * math/auto-libm-test-out: Regenerated.
13700 * sysdeps/i386/fpu/libm-test-ulps: Update.
13701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13704 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13705 * math/w_exp2f.c (__exp2f): Likewise.
13706 * math/w_exp2l.c (__exp2l): Likewise.
13707 * math/auto-libm-test-in: Do not allow missing errno on exp2
13709 * math/auto-libm-test-out: Regenerated.
13711 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
13714 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13715 handle filename validation.
13716 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13719 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13722 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13723 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13724 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13726 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13727 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13728 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13729 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13730 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13731 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13732 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13733 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13734 Add more erfc tests.
13735 * math/auto-libm-test-out: Regenerated.
13736 * sysdeps/i386/fpu/libm-test-ulps: Update.
13737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13739 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13740 exp2, expm1, j0 and j1.
13741 * math/auto-libm-test-out: Regenerated.
13742 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13743 (erfc_test_data): Likewise.
13744 (exp_test_data): Likewise.
13745 (exp_tonearest_test_data): Likewise.
13746 (exp_towardzero_test_data): Likewise.
13747 (exp_downward_test_data): Likewise.
13748 (exp_upward_test_data): Likewise.
13749 (exp10_test_data): Likewise.
13750 (exp2_test_data): Likewise.
13751 (expm1_test_data): Likewise.
13752 (j0_test_data): Likewise.
13753 (j1_test_data): Likewise.
13754 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13755 (input_flag_type): Add flag_xfail_rounding.
13756 (input_flags): Add xfail-rounding.
13757 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13758 (output_for_one_input_case): Handle flag_xfail_rounding.
13759 * sysdeps/i386/fpu/libm-test-ulps: Update.
13760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13762 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13765 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13768 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13771 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13772 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13773 (STAP_PROBE0): New macro.
13774 (STAP_PROBE1): Likewise.
13775 (STAP_PROBE2): Likewise.
13776 (STAP_PROBE3): Likewise.
13777 (STAP_PROBE4): Likewise.
13779 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
13781 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13783 2013-12-02 Steve Ellcey <sellcey@mips.com>
13785 * benchtests/Makefile (bench): Add sqrt.
13786 (LDLIBS-bench-sqrt): New.
13787 * benchtests/sqrt-input: New.
13789 2013-12-02 Pavel Simerda <psimerda@redhat.com>
13791 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13792 (GAIH_EAI): Likewise.
13793 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13794 (gaih_inet): Likewise.
13795 (getaddrinfo): Don't use GAIH_EAI.
13797 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13798 (struct gaih): Remove definition.
13800 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13802 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13803 Use HERRNOP directly.
13805 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13809 2013-11-30 Joseph Myers <joseph@codesourcery.com>
13811 * math/gen-auto-libm-tests.c (test_functions): Add more
13812 single-argument functions.
13813 (special_fill_pi_2): New function.
13814 (special_fill_minus_pi_2): Likewise.
13815 (special_fill_pi_6): Likewise.
13816 (special_fill_minus_pi_6): Likewise.
13817 (special_fill_pi_3): Likewise.
13818 (special_fill_2pi_3): Likewise.
13819 (special_fill_e): Likewise.
13820 (special_fill_1_e): Likewise.
13821 (special_fill_e_minus_1): Likewise.
13822 (special_real_inputs): Add more special inputs.
13823 (output_for_one_input_case): Do not require ERANGE on underflow to
13824 zero if round-to-nearest result does not underflow to zero, unless
13825 exact results required.
13826 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13827 atan, atanh, cbrt, cos and cosh.
13828 * math/auto-libm-test-out: Regenerated.
13829 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13830 (acos_tonearest_test_data): Likewise.
13831 (acos_towardzero_test_data): Likewise.
13832 (acos_downward_test_data): Likewise.
13833 (acos_upward_test_data): Likewise.
13834 (acosh_test_data): Likewise.
13835 (asin_test_data): Likewise.
13836 (asin_tonearest_test_data): Likewise.
13837 (asin_towardzero_test_data): Likewise.
13838 (asin_upward_test_data): Likewise.
13839 (asinh_test_data): Likewise.
13840 (atan_test_data): Likewise.
13841 (atanh_test_data): Likewise.
13842 (cbrt_test_data): Likewise.
13843 (cos_test_data): Likewise.
13844 (cos_tonearest_test_data): Likewise.
13845 (cos_towardzero_test_data): Likewise.
13846 (cos_downward_test_data): Likewise.
13847 (cos_upward_test_data): Likewise.
13848 (cosh_test_data): Likewise.
13849 (cosh_tonearest_test_data): Likewise.
13850 (cosh_towardzero_test_data): Likewise.
13851 (cosh_downward_test_data): Likewise.
13852 (cosh_upward_test_data): Likewise.
13853 * sysdeps/i386/fpu/libm-test-ulps: Update.
13854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13856 2013-11-29 Joseph Myers <joseph@codesourcery.com>
13859 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13860 * math/w_exp10f.c (__exp10f): Likewise.
13861 * math/w_exp10l.c (__exp10l): Likewise.
13862 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13863 errno settings in existing tests.
13866 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13867 precision control set to double precision.
13868 * sysdeps/i386/fpu/w_sqrt.c: New file.
13869 * math/auto-libm-test-in: Add more tests.
13870 * math/auto-libm-test-out: Update.
13872 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13873 (sqrt_test_tonearest): New function.
13874 (sqrt_towardzero_test_data): New variable.
13875 (sqrt_test_towardzero): New function.
13876 (sqrt_downward_test_data): New variable.
13877 (sqrt_test_downward): New function.
13878 (sqrt_upward_test_data): New variable.
13879 (sqrt_test_upward): New function.
13880 (main): Call the new functions.
13882 * math/gen-auto-libm-tests.c: New file.
13883 * math/auto-libm-test-in: Likewise.
13884 * math/auto-libm-test-out: New generated file.
13885 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13887 (%beautify): Add generated representations of zero.
13888 (top level): Set $auto_input and call parse_auto_input.
13889 (beautify): Remove trailing "f" from hex float constants.
13890 (parse_args): Handle XFAIL_TEST.
13891 (convert_condition): New function.
13892 (or_value): Likewise.
13893 (or_cond_value): Likewise.
13894 (generate_testfile): Handle AUTO_TESTS_* lines.
13895 (parse_auto_input): New function.
13896 * math/libm-test.inc (XFAIL_TEST): New macro.
13897 (ERRNO_UNCHANGED): Update value.
13898 (ERRNO_EDOM): Likewise.
13899 (ERRNO_ERANGE): Likewise.
13900 (IGNORE_RESULT): Likewise.
13901 (TEST_COND_flt_32): New macro.
13902 (TEST_COND_dbl_64): Likewise.
13903 (TEST_COND_ldbl_96_intel): Likewise.
13904 (TEST_COND_ldbl_96_m68k): Likewise.
13905 (TEST_COND_ldbl_128): Likewise.
13906 (TEST_COND_ldbl_128ibm): Likewise.
13907 (TEST_COND_long32): Likewise.
13908 (TEST_COND_long64): Likewise.
13909 (TEST_COND_before_rounding): Likewise.
13910 (TEST_COND_after_rounding): Likewise.
13911 (enable_test): Handle XFAIL_TEST flag.
13912 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13913 with finite results.
13914 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13915 auto-libm-test-out.
13917 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13918 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13921 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13922 __tls_get_addr_internal instead of __tls_get_offset in order to
13923 avoid GOT pointer dependency. Make rtld export
13924 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13925 __tls_get_addr since we are a __tls_get_offset platform.
13926 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13927 GOT pointer being set up before.
13928 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13930 2013-11-28 Joseph Myers <joseph@codesourcery.com>
13932 * manual/math.texi (Errors in Math Functions): Document accuracy
13936 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13937 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13938 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13939 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13940 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13941 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13942 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13943 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13944 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13945 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13946 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13947 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13948 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13949 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13950 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13951 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13953 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13954 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13955 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13956 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13957 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13959 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13961 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13963 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13964 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13965 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13966 atomic-feupdateenv and flt-rounds.
13967 * sysdeps/powerpc/nofpu/Versions (libc): Add
13968 __atomic_feholdexcept, __atomic_feclearexcept,
13969 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13970 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13971 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13972 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13973 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13978 * manual/arith.texi (FP Exceptions): Document that exceptions may
13979 not be raised when matherr is used.
13980 (Math Error Reporting): Document overflow in directed rounding
13981 modes. Document that errno may not be set when finite values are
13982 returned on overflow. Document intent to set errno on underflow
13983 only for underflow to zero.
13986 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13987 round-to-nearest then adjust result for other rounding modes.
13988 * include/fenv.h (fegetround): Use libm_hidden_proto.
13989 * math/fegetround.c (fegetround): Use libm_hidden_def.
13990 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13991 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13992 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13993 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13995 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13996 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13997 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13998 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14000 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14003 * nss/Versions (libnss_files): Add
14004 _nss_files_gethostbyname3_r.
14005 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14007 (HOST_DB_LOOKUP): Remove macro.
14008 (_nss_files_gethostbyname_r): Implement function without the
14009 HOST_DB_LOOKUP macro.
14010 (_nss_files_gethostbyname2_r): Likewise.
14012 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14014 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14016 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14018 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14019 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14022 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14024 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14025 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14026 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14027 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14028 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14029 __fe_nomask_env_priv and attribute_hidden.
14030 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14031 (libc_feupdateenv_test_ppc): Likewise.
14032 (libc_feresetround_ppc): Likewise.
14033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14034 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14035 compat_symbol macro.
14036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14037 (__fe_nomask_env): Likewise.
14038 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14040 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14042 * string/Makefile: Remove ifunc tests.
14043 * string/test-string.h: Define TEST_IFUNC.
14044 * string/test-bcopy-ifunc.c: Remove.
14045 * string/test-bzero-ifunc.c: Likewise.
14046 * string/test-memccpy-ifunc.c: Likewise.
14047 * string/test-memchr-ifunc.c: Likewise.
14048 * string/test-memcmp-ifunc.c: Likewise.
14049 * string/test-memcpy-ifunc.c: Likewise.
14050 * string/test-memmem-ifunc.c: Likewise.
14051 * string/test-memmove-ifunc.c: Likewise.
14052 * string/test-mempcpy-ifunc.c: Likewise.
14053 * string/test-memrchr-ifunc.c: Likewise.
14054 * string/test-memset-ifunc.c: Likewise.
14055 * string/test-rawmemchr-ifunc.c: Likewise.
14056 * string/test-stpcpy-ifunc.c: Likewise.
14057 * string/test-stpncpy-ifunc.c: Likewise.
14058 * string/test-strcasecmp-ifunc.c: Likewise.
14059 * string/test-strcasestr-ifunc.c: Likewise.
14060 * string/test-strcat-ifunc.c: Likewise.
14061 * string/test-strchr-ifunc.c: Likewise.
14062 * string/test-strchrnul-ifunc.c: Likewise.
14063 * string/test-strcmp-ifunc.c: Likewise.
14064 * string/test-strcpy-ifunc.c: Likewise.
14065 * string/test-strcspn-ifunc.c: Likewise.
14066 * string/test-strlen-ifunc.c: Likewise.
14067 * string/test-strncasecmp-ifunc.c: Likewise.
14068 * string/test-strncat-ifunc.c: Likewise.
14069 * string/test-strncmp-ifunc.c: Likewise.
14070 * string/test-strncpy-ifunc.c: Likewise.
14071 * string/test-strnlen-ifunc.c: Likewise.
14072 * string/test-strpbrk-ifunc.c: Likewise.
14073 * string/test-strrchr-ifunc.c: Likewise.
14074 * string/test-strspn-ifunc.c: Likewise.
14075 * string/test-strstr-ifunc.c: Likewise.
14077 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14079 * benchtests/Makefile: Remove ifunc tests.
14080 * benchtests/bench-string.h: Define TEST_IFUNC.
14081 * benchtests/bench-bcopy-ifunc.c: Remove.
14082 * benchtests/bench-bzero-ifunc.c: Likewise.
14083 * benchtests/bench-memccpy-ifunc.c: Likewise.
14084 * benchtests/bench-memchr-ifunc.c: Likewise.
14085 * benchtests/bench-memcmp-ifunc.c: Likewise.
14086 * benchtests/bench-memcpy-ifunc.c: Likewise.
14087 * benchtests/bench-memmem-ifunc.c: Likewise.
14088 * benchtests/bench-memmove-ifunc.c: Likewise.
14089 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14090 * benchtests/bench-memrchr-ifunc.c: Likewise.
14091 * benchtests/bench-memset-ifunc.c: Likewise.
14092 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14093 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14094 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14095 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14096 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14097 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14098 * benchtests/bench-strcat-ifunc.c: Likewise.
14099 * benchtests/bench-strchr-ifunc.c: Likewise.
14100 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14101 * benchtests/bench-strcmp-ifunc.c: Likewise.
14102 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14103 * benchtests/bench-strcpy-ifunc.c: Likewise.
14104 * benchtests/bench-strcspn-ifunc.c: Likewise.
14105 * benchtests/bench-strlen-ifunc.c: Likewise.
14106 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14107 * benchtests/bench-strncat-ifunc.c: Likewise.
14108 * benchtests/bench-strncmp-ifunc.c: Likewise.
14109 * benchtests/bench-strncpy-ifunc.c: Likewise.
14110 * benchtests/bench-strnlen-ifunc.c: Likewise.
14111 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14112 * benchtests/bench-strrchr-ifunc.c: Likewise.
14113 * benchtests/bench-strsep-ifunc.c: Likewise.
14114 * benchtests/bench-strspn-ifunc.c: Likewise.
14115 * benchtests/bench-strstr-ifunc.c: Likewise.
14117 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14119 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14121 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14123 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14124 * rt/aio.h: Likewise.
14125 * sysdeps/gnu/bits/utmp.h: Likewise.
14126 * sysdeps/gnu/bits/utmpx.h: Likewise.
14127 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14128 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14129 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14130 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14131 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14132 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14133 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14134 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14135 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14136 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14137 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14138 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14139 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14141 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14142 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14143 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14144 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14145 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14146 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14147 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14148 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14149 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14150 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14151 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14152 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14153 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14154 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14155 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14156 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14157 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14158 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14159 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14160 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14161 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14162 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14163 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14164 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14165 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14166 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14167 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14168 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14170 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14173 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14174 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14176 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14178 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14179 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14182 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14184 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14185 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14186 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14187 (__fesetround): Remove define.
14188 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14189 rounding and exceptions handling.
14190 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14191 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14192 (__fe_nomask_env): Likewise.
14193 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14194 __fegetround instead of fegetround.
14195 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14196 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14198 2013-11-21 Roland McGrath <roland@hack.frob.com>
14200 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14203 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14205 2013-11-21 Meador Inge <meadori@codesourcery.com>
14208 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14209 (encrypt_r): Likewise.
14210 * malloc/obstack.h (obstack_free): Likewise.
14211 * posix/unistd.h (encrypt): Likewise.
14213 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14215 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14216 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14217 DL_CALL_DT_FINI() that call the functions directly.
14218 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14219 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14220 * elf/dl-fini.c: Likewise.
14222 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14224 * malloc/hooks.c (memalign_check): Add alignment rounding.
14225 * malloc/malloc.c (_mid_memalign): New function.
14226 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14227 Implement by calling _mid_memalign.
14228 * manual/probes.texi (Memory Allocation Probes): Remove
14229 memory_valloc_retry and memory_pvalloc_retry.
14231 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14233 * locale/programs/locarchive.c (open_archive): Add const
14234 qualifier to ARCHIVEFNAME and copy default fname to
14238 * libio/tst-widetext.input: Rename Oriya to Odia.
14239 * locale/iso-639.def: Likewise.
14241 * manual/probes.texi (Mathematical Function Probes): Add
14242 documentation for sin, cos, asin and acos probes.
14243 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14244 (__sin32): Add slowasin probe.
14245 (__cos32): Add slowacos probe.
14246 (__mpsin): Add slowsin probe.
14247 (__mpcos): Add slowcos probe.
14249 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14252 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14253 thread-local __sim_exceptions_thread and global
14254 __sim_exceptions_global.
14255 (__sim_disabled_exceptions): Change to thread-local
14256 __sim_disabled_exceptions_thread and global
14257 __sim_disabled_exceptions_global.
14258 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14259 and global __sim_round_mode_global.
14260 (__simulate_exceptions): Use thread-local floating-point state and
14261 set global state from it as needed.
14262 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14263 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14264 __sim_round_mode_thread.
14265 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14266 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14267 and global __sim_exceptions_global.
14268 (__sim_disabled_exceptions): Change to thread-local
14269 __sim_disabled_exceptions_thread and global
14270 __sim_disabled_exceptions_global.
14271 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14272 and global __sim_round_mode_global.
14273 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14274 (SIM_SET_GLOBAL): Likewise.
14275 * sysdeps/powerpc/soft-fp/sfp-machine.h
14276 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14277 __sim_round_mode_thread.
14278 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14279 __sim_disabled_exceptions_thread.
14280 (__sim_exceptions): Change to __sim_exceptions_thread.
14281 (__sim_disabled_exceptions): Change to
14282 __sim_disabled_exceptions_thread.
14283 (__sim_round_mode): Change to __sim_round_mode_thread.
14284 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14285 thread-local floating-point state and set global state from it as
14287 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14288 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14289 (__sim_disabled_exceptions): Remove extern declaration.
14290 (feenableexcept): Use thread-local floating-point state and set
14291 global state from it as needed.
14292 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14293 extern declaration.
14294 (__sim_disabled_exceptions): Likewise.
14295 (__sim_round_mode): Likewise.
14296 (__fegetenv): Use thread-local floating-point state.
14297 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14298 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14299 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14300 floating-point state and set global state from it as needed.
14301 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14302 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14303 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14305 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14306 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14308 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14309 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14310 Use __sim_round_mode_thread.
14311 * math/test-fenv-tls.c: New file.
14312 * math/Makefile (tests): Add test-fenv-tls.
14313 ($(objpfx)test-fenv-tls): Depend on
14314 $(common-objpfx)nptl/libpthread.so.
14316 2013-11-19 Andreas Schwab <schwab@suse.de>
14318 * locale/programs/locale.c (show_info): Decode wordarray elements.
14319 * locale/categories.def (LC_MONETARY): Add element for
14320 _NL_MONETARY_CRNCYSTR.
14321 * locale/C-monetary.c (conversion_rate): New variable.
14322 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14325 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14327 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14328 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14330 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14332 * elf/Makefile (tst-auxv): New test.
14333 * elf/tst-auxv.c: New
14334 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14336 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14338 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14339 (hidden_proto): Caller changed.
14340 (hidden_tls_proto): New macro.
14341 (libc_hidden_tls_proto): Likewise.
14342 (rtld_hidden_tls_proto): Likewise.
14343 (libm_hidden_tls_proto): Likewise.
14344 (libresolv_hidden_tls_proto): Likewise.
14345 (librt_hidden_tls_proto): Likewise.
14346 (libdl_hidden_tls_proto): Likewise.
14347 (libnss_files_hidden_tls_proto): Likewise.
14348 (libnsl_hidden_tls_proto): Likewise.
14349 (libnss_nisplus_hidden_tls_proto): Likewise.
14350 (libutil_hidden_tls_proto): Likewise.
14352 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
14355 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14356 (decompose_rpath): Defer expansion to fillin_rpath.
14357 (_dl_init_paths): Pass linkmap to fillin_rpath.
14359 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14361 * benchtests/Makefile: Add strsep.
14362 * benchtests/bench-strsep.c: New file: strsep benchtest.
14363 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14365 2013-11-18 Andreas Schwab <schwab@suse.de>
14367 * locale/programs/locale.c (show_info) [case byte]: Check for
14368 '\377' instead of '\177'.
14369 * locale/C-monetary.c (not_available): Always use "\377".
14370 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14371 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14372 detect unavailable sign_posn locale elements.
14373 * locale/localeconv.c (__localeconv): For grouping and
14374 mon_grouping handle "\177" and "\377" like no grouping.
14375 (INT_ELEM): New macro. Use it to set all numeric members.
14376 * locale/programs/ld-monetary.c (monetary_read)
14377 <tok_mon_grouping>: Normalize single -1 to the empty string.
14378 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14381 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14384 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14385 when we match (nil).
14386 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14388 2013-11-16 Joseph Myers <joseph@codesourcery.com>
14390 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14391 (NO_TEST_INLINE): Update value.
14392 (ERRNO_UNCHANGED): Likewise.
14393 (ERRNO_EDOM): Likewise.
14394 (ERRNO_ERANGE): Likewise.
14395 (IGNORE_RESULT): Likewise.
14396 (check_float_internal): Check signs of NaN results if
14397 TEST_NAN_SIGN used.
14398 (check_complex): Pass TEST_NAN_SIGN flag through to second
14399 check_float_internal call.
14400 (copysign_test_data): Add tests with quiet NaNs as second
14401 argument. Use TEST_NAN_SIGN.
14402 (fabs_test_data): Add test of negative quiet NaN argument. Use
14404 (signbit_test_data): Add tests of quiet NaN argument.
14405 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14407 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14409 (parse_args): Handle function results specified as IGNORE.
14410 * math/libm-test.inc (IGNORE_RESULT): New macro.
14411 (check_float_internal): Do not check numerical result if flag
14413 (check_complex): Pass through IGNORE_RESULT to second
14414 check_float_internal call.
14415 (check_int): Do not check numerical result if flag IGNORE_RESULT
14417 (check_long): Likewise.
14418 (check_bool): Likewise.
14419 (check_longlong): Likewise.
14420 (lrint_test_data): Add tests of infinite and NaN arguments.
14421 (lrint_tonearest_test_data): Likewise.
14422 (lrint_towardzero_test_data): Likewise.
14423 (lrint_downward_test_data): Likewise.
14424 (lrint_upward_test_data): Likewise.
14425 (llrint_test_data): Likewise.
14426 (llrint_tonearest_test_data): Likewise.
14427 (llrint_towardzero_test_data): Likewise.
14428 (llrint_downward_test_data): Likewise.
14429 (llrint_upward_test_data): Likewise.
14430 (lround_test_data): Likewise.
14431 (llround_test_data): Likewise.
14433 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14434 (ERRNO_UNCHANGED): Update value.
14435 (ERRNO_EDOM): Likewise.
14436 (ERRNO_ERANGE): Likewise.
14437 (NO_TEST_INLINE_FLOAT): New macro.
14438 (NO_TEST_INLINE_DOUBLE): Likewise.
14439 (enable_test): New function.
14440 (RUN_TEST_f_f): Check enable_test before running test.
14441 (RUN_TEST_2_f): Likewise.
14442 (RUN_TEST_fff_f): Likewise.
14443 (RUN_TEST_c_f): Likewise.
14444 (RUN_TEST_f_f1): Likewise.
14445 (RUN_TEST_fF_f1): Likewise.
14446 (RUN_TEST_fI_f1): Likewise.
14447 (RUN_TEST_ffI_f1): Likewise.
14448 (RUN_TEST_c_c): Likewise.
14449 (RUN_TEST_cc_c): Likewise.
14450 (RUN_TEST_f_i): Likewise.
14451 (RUN_TEST_f_i_tg): Likewise.
14452 (RUN_TEST_ff_i_tg): Likewise.
14453 (RUN_TEST_f_b): Likewise.
14454 (RUN_TEST_f_b_tg): Likewise.
14455 (RUN_TEST_f_l): Likewise.
14456 (RUN_TEST_f_L): Likewise.
14457 (RUN_TEST_fFF_11): Likewise.
14458 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14460 (cosh_test_data): Likewise.
14461 (exp_test_data): Likewise.
14462 (expm1_test_data): Likewise.
14463 (hypot_test_data): Likewise.
14464 (pow_test_data): Likewise.
14465 (sinh_test_data): Likewise.
14466 (tanh_test_data): Likewise.
14467 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14470 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14471 tests with quiet NaN input and output.
14472 (acosh_test_data): Likewise.
14473 (asin_test_data): Likewise.
14474 (asinh_test_data): Likewise.
14475 (atan_test_data): Likewise.
14476 (atanh_test_data): Likewise.
14477 (atan2_test_data): Likewise.
14478 (cbrt_test_data): Likewise.
14479 (cos_test_data): Likewise.
14480 (cosh_test_data): Likewise.
14481 (erf_test_data): Likewise.
14482 (erfc_test_data): Likewise.
14483 (exp_test_data): Likewise.
14484 (exp10_test_data): Likewise.
14485 (exp2_test_data): Likewise.
14486 (expm1_test_data): Likewise.
14487 (hypot_test_data): Likewise.
14488 (j0_test_data): Likewise.
14489 (j1_test_data): Likewise.
14490 (jn_test_data): Likewise.
14491 (lgamma_test_data): Likewise.
14492 (log_test_data): Likewise.
14493 (log10_test_data): Likewise.
14494 (log1p_test_data): Likewise.
14495 (log2_test_data): Likewise.
14496 (pow_test_data): Likewise.
14497 (scalb_test_data): Likewise.
14498 (sin_test_data): Likewise.
14499 (sincos_test_data): Likewise.
14500 (sinh_test_data): Likewise.
14501 (tan_test_data): Likewise.
14502 (tanh_test_data): Likewise.
14503 (tgamma_test_data): Likewise.
14504 (y0_test_data): Likewise.
14505 (y1_test_data): Likewise.
14506 (yn_test_data): Likewise.
14509 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14510 argument being NaN and avoid computations with second argument in
14512 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14513 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14514 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14516 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14518 * locale/iso-639.def: Add Chitwani Tharu (the).
14520 2013-11-14 Andreas Schwab <schwab@suse.de>
14522 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14523 word instead of empty string.
14525 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14528 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14530 (__fe_nomask_env): Likewise.
14532 2013-11-13 Steve Ellcey <sellcey@mips.com>
14534 * benchtests/bench-timing.h: Include time.h.
14536 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14539 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14541 * sysdeps/unix/sysv/linux/configure: Regenerated.
14543 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14546 * stdlib/strtod_l.c (round_and_return): Do not consider
14547 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14548 exponent one less than half the least subnormal exponent.
14549 * stdlib/test-strtod-round-data: Add more tests.
14550 * stdlib/tst-strtod-round.c (tests): Regenerated.
14552 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14555 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14556 (__fe_mask_env): Likewise.
14557 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14558 libm_hidden_proto and add function prototype.
14559 (__fe_mask_env): Add function prototype.
14560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14561 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14563 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14565 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14567 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14569 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14570 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14572 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14574 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14575 of htab_find_slot().
14577 2013-11-11 David S. Miller <davem@davemloft.net>
14580 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14581 symbol in the non-vis3 case in static builds.
14582 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14583 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14584 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14585 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14587 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14590 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14593 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14595 * benchtests/Makefile: Add bench-strtod.
14596 * benchtests/bench-strtod.c: New file: strtod benchtest
14598 2013-11-11 Andreas Schwab <schwab@suse.de>
14601 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14602 terminating NUL in key length.
14604 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14606 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14607 Add artificial ODP entry for vDSO symbol for PPC64.
14608 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14609 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14611 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14614 * nss/getent.c (services_keys): Recognize services starting with digit.
14616 2013-11-06 David S. Miller <davem@davemloft.net>
14619 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14620 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14622 2013-11-06 Will Newton <will.newton@linaro.org>
14624 * manual/memory.texi (Malloc Examples): Remove register
14625 keyword from examples.
14627 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14629 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14631 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14634 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14635 depending on [__GCC_IEC_559 > 0].
14636 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14637 depending on [__GCC_IEC_559_COMPLEX > 0].
14639 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14641 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14644 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14646 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14648 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14651 * malloc/malloc (malloc_info): Do not handle first bin as
14654 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14656 * locale/iso-639.def: Add Central Nahuatl (nhn).
14658 2013-11-01 Bruno Haible <bruno@clisp.org>
14661 * manual/math.texi (BSD Random): Specify range upper bound as
14664 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14666 * locale/iso-639.def: Add Meadow Mari (mhr).
14668 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14670 [BZ #14752], [BZ #15763]
14671 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14673 * rt/tst_shm.c: Add test for escaping directory.
14675 2013-10-31 Andreas Schwab <schwab@suse.de>
14678 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14679 followed by 'x' as part of digit sequence.
14680 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14682 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14685 * configure.ac: allow GNU Make 4.0 and greater.
14686 * configure: Regenerated.
14688 2013-10-30 Will Newton <will.newton@linaro.org>
14691 * malloc/hooks.c (memalign_check): Limit alignment to the
14692 maximum representable power of two.
14693 * malloc/malloc.c (__libc_memalign): Likewise.
14694 * malloc/tst-memalign.c (do_test): Add test for very
14695 large alignment values.
14696 * malloc/tst-posix_memalign.c (do_test): Likewise.
14698 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14701 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14702 (munmap_chunk): Likewise.
14703 (mremap_chunk): Likewise.
14705 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14708 * stdlib/div.c (div): Remove obsolete code.
14709 * stdlib/ldiv.c (ldiv): Likewise.
14710 * stdlib/lldiv.c (lldiv): Likewise.
14712 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14715 * nss/nss_files/files-XXX.c (get_contents_ret): New
14717 (get_contents): New function.
14718 (internal_getent): Use it. Expand size of LINEBUFLEN.
14720 2013-10-30 Mike Frysinger <vapier@gentoo.org>
14722 * configure.in: Moved to ...
14723 * configure.ac: ... here. Change reference to configure.in
14725 * sysdeps/arm/preconfigure.ac: ... here.
14726 configure.in to configure.ac.
14727 * sysdeps/gnu/configure.in: Moved to ...
14728 * sysdeps/gnu/configure.ac: ... here.
14729 * sysdeps/i386/configure.in: Moved to ...
14730 * sysdeps/i386/configure.ac: ... here.
14731 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14732 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14733 * sysdeps/mach/configure.in: Moved to ...
14734 * sysdeps/mach/configure.ac: ... here.
14735 * sysdeps/mach/hurd/configure.in: Moved to ...
14736 * sysdeps/mach/hurd/configure.ac: ... here.
14737 * sysdeps/powerpc/configure.in: Moved to ...
14738 * sysdeps/powerpc/configure.ac: ... here.
14739 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14740 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14741 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14742 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14743 * sysdeps/s390/s390-32/configure.in: Moved to ...
14744 * sysdeps/s390/s390-32/configure.ac: ... here.
14745 * sysdeps/s390/s390-64/configure.in: Moved to ...
14746 * sysdeps/s390/s390-64/configure.ac: ... here.
14747 * sysdeps/sh/configure.in: Moved to ...
14748 * sysdeps/sh/configure.ac: ... here.
14749 * sysdeps/sparc/configure.in: Moved to ...
14750 * sysdeps/sparc/configure.ac: ... here.
14751 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14752 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14753 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14754 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14755 * sysdeps/x86_64/configure.in: Moved to ...
14756 * sysdeps/x86_64/configure.ac: ... here.
14757 * sysdeps/x86_64/preconfigure.in: Moved to ...
14758 * sysdeps/x86_64/preconfigure.ac: ... here.
14759 * aclocal.m4: Change reference to configure.in to configure.ac.
14760 * config.h.in: Likewise.
14761 * manual/install.texi: Likewise.
14762 * manual/maint.texi: Likewise.
14763 * Makefile: Likewise.
14764 * malloc/Makefile: Likewise.
14765 * nscd/Makefile: Likewise.
14766 * Makeconfig: Change reference to configure.in and
14767 preconfigure.in to configure.ac and preconfigure.ac
14769 * INSTALL: Regenerated.
14770 * configure: Likewise.
14771 * sysdeps/gnu/configure: Likewise.
14772 * sysdeps/i386/configure: Likewise.
14773 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14774 * sysdeps/mach/configure: Likewise.
14775 * sysdeps/mach/hurd/configure: Likewise.
14776 * sysdeps/powerpc/configure: Likewise.
14777 * sysdeps/powerpc/powerpc32/configure: Likewise.
14778 * sysdeps/powerpc/powerpc64/configure: Likewise.
14779 * sysdeps/s390/s390-32/configure: Likewise.
14780 * sysdeps/s390/s390-64/configure: Likewise.
14781 * sysdeps/sh/configure: Likewise.
14782 * sysdeps/sparc/configure: Likewise.
14783 * sysdeps/unix/sysv/linux/configure: Likewise.
14784 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14785 * sysdeps/x86_64/configure: Likewise.
14786 * sysdeps/x86_64/preconfigure: Likewise.
14788 2013-10-29 Andreas Schwab <schwab@suse.de>
14790 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14792 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14794 * benchtests/pow-inputs: Add new inputs.
14796 * benchtests/exp-inputs: Add new inputs.
14798 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14799 conditional check for return value.
14800 (__cos32): Likewise.
14802 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14804 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14805 to provide a boost for large inputs with word alignment.
14806 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14807 implementation based on optimized PPC64 strcpy.
14808 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14809 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14810 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14811 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14813 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14816 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14818 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14821 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14822 * time/tst-strptime.c (day_tests): Add testcase.
14824 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14827 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14829 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14832 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14833 MAP_FAILED on error.
14835 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14838 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14839 heap for large requests.
14841 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14844 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14845 result if the result has no associated interface.
14846 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14847 interface for all 127.X.Y.Z addresses.
14849 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
14851 * locale/iso-639.def: Add Ligurian (lij)
14853 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
14856 * sunrpc/rpc_main.c: Document rpcgen -5.
14858 2013-10-19 Michael Stahl <mstahl@redhat.com>
14860 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14862 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14865 * posix/glob.c: Match only directories when trailing slash is present.
14866 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14867 (main): Add testcase.
14869 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14872 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14874 2013-10-18 Carlos O'Donell <carlos@redhat.com>
14876 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14877 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14878 AUTH_DES and cindex for FIPS 140-2.
14879 (DES Encryption): Add cindex FIPS 46-3.
14881 * locale/locarchive.h (struct locarhandle): Add fname.
14882 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14883 if an optional argument was specified to --list-archive,
14885 * locale/programs/locarchive.c (show_archive_content): Take new
14886 argument fname and pass it via ah.fname to open_archive.
14887 * locale/programs/localedef.h: Update decl.
14888 (open_archive): If AH->fname is non-null, open that file
14889 rather than the default file name, and don't ignore ENOENT.
14890 (create_archive): Set AH.fname to NULL.
14891 (delete_locales_from_archive): Likewise.
14892 (add_locales_to_archive): Likewise.
14893 * locale/programs/locfile.c (write_all_categories): Likewise.
14895 2013-10-18 Joseph Myers <joseph@codesourcery.com>
14896 Aldy Hernandez <aldyh@redhat.com>
14898 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14899 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14900 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14901 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14902 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14903 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14904 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14905 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14906 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14907 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14908 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14909 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14910 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14911 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14912 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14914 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14916 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14918 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14920 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14921 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14923 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14924 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14925 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14926 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14928 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14929 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14930 * sysdeps/powerpc/preconfigure: Likewise.
14931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14933 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14934 Replace contents of file by #include of <fenv_libc.h>.
14935 * sysdeps/powerpc/soft-fp/sfp-machine.h
14936 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14938 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14939 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14940 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14941 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14942 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14943 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14944 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14945 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14946 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14947 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14948 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14949 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14951 Allow copysignl PLT reference to be missing.
14953 2013-10-18 Richard Sandiford <richard@codesourcery.com>
14954 Joseph Myers <joseph@codesourcery.com
14957 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14959 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14961 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14963 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14964 * elf/tst-tls1.c: Likewise.
14965 * elf/tst-tls10.h: Likewise.
14966 * elf/tst-tls14.c: Likewise.
14967 * elf/tst-tls2.c: Likewise.
14968 * elf/tst-tls3.c: Likewise.
14969 * elf/tst-tls4.c: Likewise.
14970 * elf/tst-tls5.c: Likewise.
14971 * elf/tst-tls6.c: Likewise.
14972 * elf/tst-tls7.c: Likewise.
14973 * elf/tst-tls8.c: Likewise.
14974 * elf/tst-tls9.c: Likewise.
14975 * elf/tst-tlsmod1.c: Likewise.
14976 * elf/tst-tlsmod13.c: Likewise.
14977 * elf/tst-tlsmod13a.c: Likewise.
14978 * elf/tst-tlsmod14a.c: Likewise.
14979 * elf/tst-tlsmod16a.c: Likewise.
14980 * elf/tst-tlsmod16b.c: Likewise.
14981 * elf/tst-tlsmod2.c: Likewise.
14982 * elf/tst-tlsmod3.c: Likewise.
14983 * elf/tst-tlsmod4.c: Likewise.
14984 * elf/tst-tlsmod5.c: Likewise.
14985 * elf/tst-tlsmod6.c: Likewise.
14987 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
14990 * malloc/malloc.c: remove checks for statistics.
14992 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14995 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14996 * inet/tst-network.c: Add testcase.
14998 2013-10-17 Andreas Schwab <schwab@suse.de>
15001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15002 to determine canonical name.
15004 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15006 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15007 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15008 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15009 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15011 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15012 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15013 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15014 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15015 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15016 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15017 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15018 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15019 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15020 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15021 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15022 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15023 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15024 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15025 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15026 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15027 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15028 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15029 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15030 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15031 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15032 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15033 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15034 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15035 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15036 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15037 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15038 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15039 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15040 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15041 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15042 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15043 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15044 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15045 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15046 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15047 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15048 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15049 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15050 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15051 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15052 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15053 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15054 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15055 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15056 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15057 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15058 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15059 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15060 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15061 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15062 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15063 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15065 2013-10-17 Joseph Myers <joseph@codesourcery.com>
15068 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15069 make result into a quiet NaN.
15071 2013-10-16 Joseph Myers <joseph@codesourcery.com>
15073 * soft-fp/adddf3.c: Fix horizontal whitespace.
15074 * soft-fp/addsf3.c: Likewise.
15075 * soft-fp/addtf3.c: Likewise.
15076 * soft-fp/divdf3.c: Likewise.
15077 * soft-fp/divsf3.c: Likewise.
15078 * soft-fp/divtf3.c: Likewise.
15079 * soft-fp/double.h: Likewise.
15080 * soft-fp/eqdf2.c: Likewise.
15081 * soft-fp/eqsf2.c: Likewise.
15082 * soft-fp/eqtf2.c: Likewise.
15083 * soft-fp/extenddftf2.c: Likewise.
15084 * soft-fp/extended.h: Likewise.
15085 * soft-fp/extendsfdf2.c: Likewise.
15086 * soft-fp/extendsftf2.c: Likewise.
15087 * soft-fp/extendxftf2.c: Likewise.
15088 * soft-fp/fixdfdi.c: Likewise.
15089 * soft-fp/fixdfsi.c: Likewise.
15090 * soft-fp/fixdfti.c: Likewise.
15091 * soft-fp/fixsfdi.c: Likewise.
15092 * soft-fp/fixsfsi.c: Likewise.
15093 * soft-fp/fixsfti.c: Likewise.
15094 * soft-fp/fixtfdi.c: Likewise.
15095 * soft-fp/fixtfsi.c: Likewise.
15096 * soft-fp/fixtfti.c: Likewise.
15097 * soft-fp/fixunsdfdi.c: Likewise.
15098 * soft-fp/fixunsdfsi.c: Likewise.
15099 * soft-fp/fixunsdfti.c: Likewise.
15100 * soft-fp/fixunssfdi.c: Likewise.
15101 * soft-fp/fixunssfsi.c: Likewise.
15102 * soft-fp/fixunssfti.c: Likewise.
15103 * soft-fp/fixunstfdi.c: Likewise.
15104 * soft-fp/fixunstfsi.c: Likewise.
15105 * soft-fp/fixunstfti.c: Likewise.
15106 * soft-fp/floatdidf.c: Likewise.
15107 * soft-fp/floatdisf.c: Likewise.
15108 * soft-fp/floatditf.c: Likewise.
15109 * soft-fp/floatsidf.c: Likewise.
15110 * soft-fp/floatsisf.c: Likewise.
15111 * soft-fp/floatsitf.c: Likewise.
15112 * soft-fp/floattidf.c: Likewise.
15113 * soft-fp/floattisf.c: Likewise.
15114 * soft-fp/floattitf.c: Likewise.
15115 * soft-fp/floatundidf.c: Likewise.
15116 * soft-fp/floatundisf.c: Likewise.
15117 * soft-fp/floatunditf.c: Likewise.
15118 * soft-fp/floatunsidf.c: Likewise.
15119 * soft-fp/floatunsisf.c: Likewise.
15120 * soft-fp/floatunsitf.c: Likewise.
15121 * soft-fp/floatuntidf.c: Likewise.
15122 * soft-fp/floatuntisf.c: Likewise.
15123 * soft-fp/floatuntitf.c: Likewise.
15124 * soft-fp/fmadf4.c: Likewise.
15125 * soft-fp/fmasf4.c: Likewise.
15126 * soft-fp/fmatf4.c: Likewise.
15127 * soft-fp/gedf2.c: Likewise.
15128 * soft-fp/gesf2.c: Likewise.
15129 * soft-fp/getf2.c: Likewise.
15130 * soft-fp/ledf2.c: Likewise.
15131 * soft-fp/lesf2.c: Likewise.
15132 * soft-fp/letf2.c: Likewise.
15133 * soft-fp/muldf3.c: Likewise.
15134 * soft-fp/mulsf3.c: Likewise.
15135 * soft-fp/multf3.c: Likewise.
15136 * soft-fp/negdf2.c: Likewise.
15137 * soft-fp/negsf2.c: Likewise.
15138 * soft-fp/negtf2.c: Likewise.
15139 * soft-fp/op-1.h: Likewise.
15140 * soft-fp/op-2.h: Likewise.
15141 * soft-fp/op-4.h: Likewise.
15142 * soft-fp/op-8.h: Likewise.
15143 * soft-fp/op-common.h: Likewise.
15144 * soft-fp/quad.h: Likewise.
15145 * soft-fp/single.h: Likewise.
15146 * soft-fp/soft-fp.h: Likewise.
15147 * soft-fp/sqrtdf2.c: Likewise.
15148 * soft-fp/sqrtsf2.c: Likewise.
15149 * soft-fp/sqrttf2.c: Likewise.
15150 * soft-fp/subdf3.c: Likewise.
15151 * soft-fp/subsf3.c: Likewise.
15152 * soft-fp/subtf3.c: Likewise.
15153 * soft-fp/truncdfsf2.c: Likewise.
15154 * soft-fp/trunctfdf2.c: Likewise.
15155 * soft-fp/trunctfsf2.c: Likewise.
15156 * soft-fp/trunctfxf2.c: Likewise.
15157 * soft-fp/unorddf2.c: Likewise.
15158 * soft-fp/unordsf2.c: Likewise.
15159 * soft-fp/unordtf2.c: Likewise.
15161 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15163 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15164 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15166 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15168 * elf/dl-libc.c: Clear initfini list after freeing.
15170 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15172 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15173 * soft-fp/addsf3.c: Likewise.
15174 * soft-fp/addtf3.c: Likewise.
15175 * soft-fp/divdf3.c: Likewise.
15176 * soft-fp/divsf3.c: Likewise.
15177 * soft-fp/divtf3.c: Likewise.
15178 * soft-fp/double.h: Likewise.
15179 * soft-fp/eqdf2.c: Likewise.
15180 * soft-fp/eqsf2.c: Likewise.
15181 * soft-fp/eqtf2.c: Likewise.
15182 * soft-fp/extenddftf2.c: Likewise.
15183 * soft-fp/extended.h: Likewise.
15184 * soft-fp/extendsfdf2.c: Likewise.
15185 * soft-fp/extendsftf2.c: Likewise.
15186 * soft-fp/extendxftf2.c: Likewise.
15187 * soft-fp/fixdfdi.c: Likewise.
15188 * soft-fp/fixdfsi.c: Likewise.
15189 * soft-fp/fixdfti.c: Likewise.
15190 * soft-fp/fixsfdi.c: Likewise.
15191 * soft-fp/fixsfsi.c: Likewise.
15192 * soft-fp/fixsfti.c: Likewise.
15193 * soft-fp/fixtfdi.c: Likewise.
15194 * soft-fp/fixtfsi.c: Likewise.
15195 * soft-fp/fixtfti.c: Likewise.
15196 * soft-fp/fixunsdfdi.c: Likewise.
15197 * soft-fp/fixunsdfsi.c: Likewise.
15198 * soft-fp/fixunsdfti.c: Likewise.
15199 * soft-fp/fixunssfdi.c: Likewise.
15200 * soft-fp/fixunssfsi.c: Likewise.
15201 * soft-fp/fixunssfti.c: Likewise.
15202 * soft-fp/fixunstfdi.c: Likewise.
15203 * soft-fp/fixunstfsi.c: Likewise.
15204 * soft-fp/fixunstfti.c: Likewise.
15205 * soft-fp/floatdidf.c: Likewise.
15206 * soft-fp/floatdisf.c: Likewise.
15207 * soft-fp/floatditf.c: Likewise.
15208 * soft-fp/floatsidf.c: Likewise.
15209 * soft-fp/floatsisf.c: Likewise.
15210 * soft-fp/floatsitf.c: Likewise.
15211 * soft-fp/floattidf.c: Likewise.
15212 * soft-fp/floattisf.c: Likewise.
15213 * soft-fp/floattitf.c: Likewise.
15214 * soft-fp/floatundidf.c: Likewise.
15215 * soft-fp/floatundisf.c: Likewise.
15216 * soft-fp/floatunsidf.c: Likewise.
15217 * soft-fp/floatunsisf.c: Likewise.
15218 * soft-fp/floatuntidf.c: Likewise.
15219 * soft-fp/floatuntisf.c: Likewise.
15220 * soft-fp/floatuntitf.c: Likewise.
15221 * soft-fp/fmadf4.c: Likewise.
15222 * soft-fp/fmasf4.c: Likewise.
15223 * soft-fp/fmatf4.c: Likewise.
15224 * soft-fp/gedf2.c: Likewise.
15225 * soft-fp/gesf2.c: Likewise.
15226 * soft-fp/getf2.c: Likewise.
15227 * soft-fp/ledf2.c: Likewise.
15228 * soft-fp/lesf2.c: Likewise.
15229 * soft-fp/letf2.c: Likewise.
15230 * soft-fp/muldf3.c: Likewise.
15231 * soft-fp/mulsf3.c: Likewise.
15232 * soft-fp/multf3.c: Likewise.
15233 * soft-fp/negdf2.c: Likewise.
15234 * soft-fp/negsf2.c: Likewise.
15235 * soft-fp/negtf2.c: Likewise.
15236 * soft-fp/op-1.h: Likewise.
15237 * soft-fp/op-2.h: Likewise.
15238 * soft-fp/op-4.h: Likewise.
15239 * soft-fp/op-8.h: Likewise.
15240 * soft-fp/op-common.h: Likewise.
15241 * soft-fp/quad.h: Likewise.
15242 * soft-fp/single.h: Likewise.
15243 * soft-fp/soft-fp.h: Likewise.
15244 * soft-fp/sqrtdf2.c: Likewise.
15245 * soft-fp/sqrtsf2.c: Likewise.
15246 * soft-fp/sqrttf2.c: Likewise.
15247 * soft-fp/subdf3.c: Likewise.
15248 * soft-fp/subsf3.c: Likewise.
15249 * soft-fp/subtf3.c: Likewise.
15250 * soft-fp/truncdfsf2.c: Likewise.
15251 * soft-fp/trunctfdf2.c: Likewise.
15252 * soft-fp/trunctfsf2.c: Likewise.
15253 * soft-fp/trunctfxf2.c: Likewise.
15254 * soft-fp/unorddf2.c: Likewise.
15255 * soft-fp/unordsf2.c: Likewise.
15256 * soft-fp/unordtf2.c: Likewise.
15258 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15261 * misc/error.c (error_tail): Fix possible buffer overflow.
15263 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15266 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15269 2013-10-14 P. J. McDermott <pj@pehjota.net>
15272 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15273 testing pipefail option.
15275 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15277 * soft-fp/double.h: Indent preprocessor directives inside #if.
15278 * soft-fp/extended.h: Likewise.
15279 * soft-fp/op-2.h: Likewise.
15280 * soft-fp/op-4.h: Likewise.
15281 * soft-fp/op-common.h: Likewise.
15282 * soft-fp/quad.h: Likewise.
15283 * soft-fp/single.h: Likewise.
15284 * soft-fp/soft-fp.h: Likewise.
15286 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15288 * iconv/iconv_prog.c: Fix typos.
15289 * stdio-common/psiginfo-data.h: Likewise.
15291 2013-10-12 Reuben Thomas <rrt@sc3d.org>
15294 * locale/setlocale.c: Fix typo.
15296 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15299 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15300 signaling NaN arguments.
15301 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15302 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15305 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15306 unordered operands.
15307 * soft-fp/gesf2.c (__gesf2): Likewise.
15308 * soft-fp/getf2.c (__getf2): Likewise.
15309 * soft-fp/ledf2.c (__ledf2): Likewise.
15310 * soft-fp/lesf2.c (__lesf2): Likewise.
15311 * soft-fp/letf2.c (__letf2): Likewise.
15313 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15314 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15315 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15316 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15317 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15318 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15319 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15320 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15321 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15322 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15323 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15324 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15325 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15326 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15327 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15328 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15329 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15330 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15331 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15332 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15333 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15334 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15335 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15336 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15337 * soft-fp/floattidf.c (__floattidf): Likewise.
15338 * soft-fp/floattisf.c (__floattisf): Likewise.
15339 * soft-fp/floattitf.c (__floattitf): Likewise.
15340 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15341 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15342 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15343 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15344 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15345 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15346 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15347 * soft-fp/gesf2.c (__gesf2): Likewise.
15348 * soft-fp/getf2.c (__getf2): Likewise.
15349 * soft-fp/ledf2.c (__ledf2): Likewise.
15350 * soft-fp/lesf2.c (__lesf2): Likewise.
15351 * soft-fp/letf2.c (__letf2): Likewise.
15353 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15354 Undefine and redefine.
15355 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15356 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15357 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15358 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15359 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15360 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15361 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15362 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15363 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15364 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15365 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15366 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15367 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15368 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15369 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15372 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15373 without decrementing exponent if mantissa >= that for the
15374 denominator, not >.
15375 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15376 denominator, not >. Decrement exponent in < case instead of
15377 incrementing in >= case.
15378 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15379 without decrementing exponent if mantissa >= that for the
15380 denominator, not >.
15382 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15383 computing saturated result for unsigned overflow.
15385 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15386 Jeff Law <law@redhat.com>
15388 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15389 (atan2Mp): Add systemtap probe marker.
15390 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15391 (__ieee754_log): Add systemtap probe marker.
15392 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15393 (atanMp): Add systemtap probe marker.
15394 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15395 (tanMp): Add systemtap probe marker.
15396 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15397 (__slowexp): Add systemtap probe marker.
15398 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15399 (__slowpow): Add systemtap probe marker.
15400 * manual/probes.texi: Document probes.
15402 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
15405 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15407 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15409 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15410 written to buffer but not flushed.
15411 * libio/iofwrite_u.c: Likewise.
15412 * libio/iopadn.c: Return bytes returned even if EOF was
15414 * libio/iowpadn.c: Likewise.
15415 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15416 if _IO_padn does not write the whole buffer.
15417 [!COMPILE_WPRINTF] (PAD): Likewise.
15419 2013-10-10 David S. Miller <davem@davemloft.net>
15421 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15424 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15426 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15427 instead of FSF address.
15428 * soft-fp/fixdfti.c: Likewise.
15429 * soft-fp/fixsfti.c: Likewise.
15430 * soft-fp/fixtfti.c: Likewise.
15431 * soft-fp/fixunsdfti.c: Likewise.
15432 * soft-fp/fixunssfti.c: Likewise.
15433 * soft-fp/fixunstfti.c: Likewise.
15434 * soft-fp/floattidf.c: Likewise.
15435 * soft-fp/floattisf.c: Likewise.
15436 * soft-fp/floattitf.c: Likewise.
15437 * soft-fp/floatuntidf.c: Likewise.
15438 * soft-fp/floatuntisf.c: Likewise.
15439 * soft-fp/floatuntitf.c: Likewise.
15440 * soft-fp/trunctfxf2.c: Likewise.
15442 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15443 * soft-fp/fixdfti.c: Likewise.
15444 * soft-fp/fixsfti.c: Likewise.
15445 * soft-fp/fixtfti.c: Likewise.
15446 * soft-fp/fixunsdfti.c: Likewise.
15447 * soft-fp/fixunssfti.c: Likewise.
15448 * soft-fp/fixunstfti.c: Likewise.
15449 * soft-fp/floattidf.c: Likewise.
15450 * soft-fp/floattisf.c: Likewise.
15451 * soft-fp/floattitf.c: Likewise.
15452 * soft-fp/floatuntidf.c: Likewise.
15453 * soft-fp/floatuntisf.c: Likewise.
15454 * soft-fp/floatuntitf.c: Likewise.
15455 * soft-fp/trunctfxf2.c: Likewise.
15457 2013-10-10 David S. Miller <davem@davemloft.net>
15459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15461 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15463 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15464 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15465 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15466 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15467 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15468 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15469 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15471 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15472 for NaNs before doing comparisons on argument.
15473 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15476 2013-10-10 Will Newton <will.newton@linaro.org>
15478 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15479 passed to _int_memalign does not overflow.
15481 2013-10-10 Torvald Riegel <triegel@redhat.com>
15483 * scripts/bench.pl: Add include-sources directive.
15484 * benchtests/README: Update documentation.
15486 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15488 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15489 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15490 instead of FP_INIT_ROUNDMODE.
15491 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15492 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15495 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15496 copy class of input value.
15497 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15498 not handle exceptions.
15499 * soft-fp/negsf2.c (__negsf2): Likewise.
15500 * soft-fp/negtf2.c (__negtf2): Likewise.
15501 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15503 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15505 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15506 semicolon. From Linux kernel.
15508 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15510 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15512 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15515 * manual/socket.texi: Added statement about buffer
15516 for gethostbyname2_r.
15518 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15520 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15521 Use .p2align directive instead, throughout.
15522 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15523 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15524 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15525 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15526 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15527 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15528 * sysdeps/x86_64/strchr.S: Likewise.
15529 * sysdeps/x86_64/strrchr.S: Likewise.
15531 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15533 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15535 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15537 * sysdeps/generic/math_private.h (__mpsin1): Remove
15539 (__mpcos1): Likewise.
15540 (__mpsin): New argument __range_reduce.
15541 (__mpcos): Likewise.
15542 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15543 (slow): Use __mpsin and __mpcos.
15547 (sloww1): Likewise.
15548 (sloww2): Likewise.
15549 (bsloww): Likewise.
15550 (bsloww1): Likewise.
15551 (bsloww2): Likewise.
15552 (cslow2): Likewise.
15553 (csloww): Likewise.
15554 (csloww1): Likewise.
15555 (csloww2): Likewise.
15556 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15557 range_reduce. Merge in __mpsin1.
15558 (__mpcos): Likewise.
15559 (__mpsin1): Remove.
15560 (__mpcos1): Likewise.
15562 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15564 * locale/loadlocale.c (_nl_intern_locale_data): Use
15566 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15567 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15568 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15569 obstack data is appropriately aligned.
15570 (obstack_int32_grow_fast): Likewise.
15571 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15572 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15573 (add_locale_uint32_array): Likewise.
15575 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15577 * benchtests/Makefile: Remove ARGLIST and RET variables.
15578 ($(objpfx)bench-%.c): Pass only function name to the script.
15579 * benchtests/README: Update documentation.
15580 * benchtests/acos-inputs: Add new directives.
15581 * benchtests/acosh-inputs: Likewise.
15582 * benchtests/asin-inputs: Likewise.
15583 * benchtests/asinh-inputs: Likewise.
15584 * benchtests/atan-inputs: Likewise.
15585 * benchtests/atanh-inputs: Likewise.
15586 * benchtests/cos-inputs: Likewise.
15587 * benchtests/cosh-inputs: Likewise.
15588 * benchtests/exp-inputs: Likewise.
15589 * benchtests/log-inputs: Likewise.
15590 * benchtests/pow-inputs: Likewise.
15591 * benchtests/rint-inputs: Likewise.
15592 * benchtests/sin-inputs: Likewise.
15593 * benchtests/sinh-inputs: Likewise.
15594 * benchtests/tan-inputs: Likewise.
15595 * benchtests/tanh-inputs: Likewise.
15596 * scripts/bench.pl: Add support for new directives.
15598 2013-10-07 Alan Modra <amodra@gmail.com>
15600 * README: Fix careless merge.
15602 2013-10-05 Alan Modra <amodra@gmail.com>
15604 * NEWS: Mention powerpc64le support and bugs fixed.
15605 * README: Both big-endian and little-endian powerpc64 supported.
15607 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15609 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15610 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15611 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15612 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15614 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15616 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15619 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15621 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15622 Move -mhard-float appending from
15623 ports/sysdeps/powerpc/powerpc32/Makefile.
15624 [$(with-fp) = yes] (ASFLAGS): Likewise.
15625 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15626 * sysdeps/powerpc/nofpu: Move directory from
15627 ports/sysdeps/powerpc/nofpu.
15628 * sysdeps/powerpc/soft-fp: Move directory from
15629 ports/sysdeps/powerpc/soft-fp.
15630 * sysdeps/powerpc/powerpc32/405: Move directory from
15631 ports/sysdeps/powerpc/powerpc32/405.
15632 * sysdeps/powerpc/powerpc32/440: Move directory from
15633 ports/sysdeps/powerpc/powerpc32/440.
15634 * sysdeps/powerpc/powerpc32/464: Move directory from
15635 ports/sysdeps/powerpc/powerpc32/464.
15636 * sysdeps/powerpc/powerpc32/476: Move directory from
15637 ports/sysdeps/powerpc/powerpc32/476.
15638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15639 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15641 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15643 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15645 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15647 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15648 * README: Update for powerpc-*-linux-gnu software floating point
15651 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15652 case to powerpc/powerpc32*.
15653 * sysdeps/unix/sysv/linux/configure: Regenerated.
15655 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15656 (_FPU_MASK_OM): Define as 0x04.
15657 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15658 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15660 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15662 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15665 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15668 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15671 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15672 and setcontext_e500.
15674 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15676 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15678 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15680 * manual/threads.texi (Default Thread Attributes): Fix typo.
15682 2013-10-04 Will Newton <will.newton@linaro.org>
15684 * malloc/Makefile: Add tst-memalign.
15685 * malloc/tst-memalign.c: New file.
15687 * malloc/tst-posix_memalign.c: Add comments.
15688 (do_test): Add comments and call free on all potentially
15689 allocated pointers. Add space after cast.
15691 * malloc/tst-pvalloc.c: Add comments.
15692 (do_test): Add comments and call free on all potentially
15693 allocated pointers. Remove duplicate check for NULL pointer.
15694 Add space after cast.
15696 * malloc/tst-valloc.c: Add comments.
15697 (do_test): Add comments and call free on all potentially
15698 allocated pointers. Remove duplicate check for NULL pointer.
15699 Add space after cast.
15701 2013-10-04 Alan Modra <amodra@gmail.com>
15703 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15704 Use stdint types in rather than __attribute__((mode())).
15705 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15707 2013-10-04 Alan Modra <amodra@gmail.com>
15709 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15710 Correct handling of unaligned relocs for little-endian.
15711 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15713 2013-10-04 Alan Modra <amodra@gmail.com>
15715 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15716 * configure: Regenerate.
15717 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15718 * shlib-versions: Likewise.
15720 2013-10-04 Alan Modra <amodra@gmail.com>
15722 * string/tester.c (test_memrchr): Increment reported test cycle.
15724 2013-10-04 Alan Modra <amodra@gmail.com>
15726 * string/test-memcpy.c (do_one_test): When reporting errors, print
15727 string address and don't overrun end of string.
15729 2013-10-04 Alan Modra <amodra@gmail.com>
15731 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15732 insrdi. Make better use of reg selection to speed exit slightly.
15733 Schedule entry path a little better. Remove useless "are we done"
15734 checks on entry to main loop. Handle wrapping around zero address.
15735 Correct main loop count. Handle single left-over word from main
15736 loop inline rather than by using loop_small. Remove extra word
15737 case in loop_small caused by wrong loop count. Add little-endian
15739 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15740 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15742 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15743 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15744 support. Avoid rlwimi.
15745 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15747 2013-10-04 Alan Modra <amodra@gmail.com>
15749 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15750 insrdi. Formatting.
15751 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15752 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15753 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15754 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15755 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15756 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15758 2013-10-04 Alan Modra <amodra@gmail.com>
15760 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15761 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15762 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15763 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15764 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15765 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15766 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15767 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15768 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15769 use of regs. Use power7 mtocrf. Tidy function tails.
15771 2013-10-04 Alan Modra <amodra@gmail.com>
15773 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15774 Formatting. Consistently use rXXX register defines or rN defines.
15775 Use early exit labels that avoid restoring unused non-volatile regs.
15776 Make cr field use more consistent with rWORDn compares. Rename
15777 regs used as shift registers for unaligned loop, using rN defines
15778 for short lifetime/multiple use regs.
15779 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15780 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15781 addi 1,1,64 to pop stack frame. Simplify return value code.
15782 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15784 2013-10-04 Alan Modra <amodra@gmail.com>
15786 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15787 support. Correct typos, formatting. Optimize tail. Use insrdi
15788 rather than rlwimi.
15789 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15790 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15791 little-endian support. Correct typos.
15792 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15793 rather than rlwimi.
15794 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15795 in loop and entry code to keep "and." results.
15796 (strchr): Add little-endian support. Comment. Move cntlzd
15798 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15800 2013-10-04 Alan Modra <amodra@gmail.com>
15802 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15803 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15804 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15805 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15807 2013-10-04 Alan Modra <amodra@gmail.com>
15809 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15810 (rTMP): Define as r11.
15811 (strcmp): Add little-endian support. Optimise tail.
15812 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15813 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15814 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15815 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15816 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15817 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15818 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15820 2013-10-04 Alan Modra <amodra@gmail.com>
15822 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15823 little-endian support. Remove unnecessary "are we done" tests.
15824 Handle "s" wrapping around zero and extremely large "size".
15825 Correct main loop count. Handle single left-over word from main
15826 loop inline rather than by using small_loop. Correct comments.
15827 Delete "zero" tail, use "end_max" instead.
15828 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15830 2013-10-04 Alan Modra <amodra@gmail.com>
15832 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15833 support. Don't branch over align.
15834 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15835 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15836 support. Rearrange tmp reg use to suit. Comment.
15837 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15839 2013-10-04 Alan Modra <amodra@gmail.com>
15841 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15843 2013-10-04 Alan Modra <amodra@gmail.com>
15845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15846 conditional form of branch and link when obtaining pc.
15847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15849 2013-10-04 Alan Modra <amodra@gmail.com>
15851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15856 2013-10-04 Alan Modra <amodra@gmail.com>
15858 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15859 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15860 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15861 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15862 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15863 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15864 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15865 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15866 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15867 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15869 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15870 Alistair Popple <alistair@ozlabs.au.ibm.com>
15871 Alan Modra <amodra@gmail.com>
15874 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15875 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15876 _dl_hwcap access for little-endian.
15877 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15878 destroy vmx regs when saving unaligned.
15879 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15880 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15881 destroy vmx regs when saving unaligned.
15883 2013-10-04 Alan Modra <amodra@gmail.com>
15885 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15886 Don't use a union to pack hi/low value.
15888 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15890 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15892 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15893 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15894 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15895 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15896 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15898 2013-10-04 Alan Modra <amodra@gmail.com>
15900 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15901 constants to usual value for .cst8 section, and remove redundant
15903 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15904 constant for 0x1p52. Load little-endian words of double from
15905 correct stack offsets.
15907 2013-10-04 Alan Modra <amodra@gmail.com>
15909 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15910 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15911 words of double from correct stack offsets.
15912 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15913 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15914 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15915 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15916 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15917 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15918 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15919 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15920 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15921 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15922 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15923 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15924 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15925 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15926 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15927 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15928 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15930 2013-10-04 Alan Modra <amodra@gmail.com>
15932 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15933 64-bit int/double union.
15934 (_FPU_SETCW): Likewise.
15935 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15936 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15938 2013-10-04 Alan Modra <amodra@gmail.com>
15940 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15941 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15943 2013-10-04 Alan Modra <amodra@gmail.com>
15945 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15946 use vector int constants.
15947 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15949 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15951 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15952 array with long long.
15953 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15954 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15955 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15956 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15957 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15958 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15959 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15960 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15961 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15962 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15963 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15964 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15965 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15967 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15969 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15970 (__signbit): Likewise. Correct for little-endian.
15971 (__signbitl): Call __signbit.
15972 (lrint): Correct for little-endian.
15973 (lrintf): Call lrint.
15975 2013-10-04 Alan Modra <amodra@gmail.com>
15977 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15978 union 32-bit int array member with 64-bit int array.
15979 (t515, tm256): Double rather than long double.
15980 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15982 2013-10-04 Alan Modra <amodra@gmail.com>
15984 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15986 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15987 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15988 version of math_ldbl.h.
15990 2013-10-04 Alan Modra <amodra@gmail.com>
15992 [BZ #15734], [BZ #15735]
15993 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15994 all uses of ieee875 long double macros and unions. Simplify test
15995 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15996 ldbl_extract_mantissa value for ix,iy exponents. Properly
15997 normalize after ldbl_extract_mantissa, and don't add hidden bit
15998 already handled. Don't treat low word of ieee854 mantissa like
15999 low word of IBM long double and mask off bit when testing for
16001 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16002 all uses of ieee875 long double macros and unions. Simplify tests
16003 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16004 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16005 two1022, instead use their values. Recognise that tests for large
16006 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16007 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16008 Rewrite all uses of ieee875 long double macros and unions. Simplify
16009 test for 0.0L and nan. Correct negation.
16010 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16011 ieee875 long double macros and unions. Correct output for large
16012 magnitude x. Correct absolute value calculation.
16013 (__erfcl): Likewise.
16014 * math/libm-test.inc: Add tests for errors discovered in IBM long
16015 double versions of fmodl, remainderl, erfl and erfcl.
16017 2013-10-04 Alan Modra <amodra@gmail.com>
16019 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16020 all uses of ieee854 long double macros and unions. Simplify tests
16021 for long doubles that are fully specified by the high double.
16022 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16024 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16025 Remove dead code too.
16026 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16027 (__ieee754_ynl): Likewise.
16028 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16029 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16030 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16031 Remove dead code too.
16032 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16033 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16034 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16035 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16037 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16039 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16040 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16041 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16042 Comment on variable precision.
16043 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16044 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16046 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16047 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16048 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16049 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16050 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16052 2013-10-04 Alan Modra <amodra@gmail.com>
16054 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16055 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16056 all uses of ieee854 long double macros and unions.
16057 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16058 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16059 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16060 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16061 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16062 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16064 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16065 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16066 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16067 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16068 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16069 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16070 Simplify sign and nan test too.
16071 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16072 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16073 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16074 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16076 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16077 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16079 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16080 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16081 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16082 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16083 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16084 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16086 2013-10-04 Alan Modra <amodra@gmail.com>
16088 * stdio-common/printf_size.c (__printf_size): Don't use
16089 union ieee854_long_double in fpnum union.
16090 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16091 signbit macro to retrieve sign from long double.
16092 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16093 retrieve sign from long double.
16094 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16095 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16096 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16097 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16098 * math/test-misc.c (main): Don't use union ieee854_long_double.
16100 2013-10-04 Alan Modra <amodra@gmail.com>
16103 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16104 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16105 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16106 calculation. Remove unnecessary test for denormal exponent.
16107 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16108 Correct handling of denormals. Avoid undefined shift behaviour.
16109 Correct normalisation of low mantissa when low double is denormal.
16110 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16111 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16112 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16113 Correct normalisation of low mantissa. Test for overflow of high
16114 mantissa and normalise.
16115 (ldbl_nearbyint): Use more readable constant for two52.
16116 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16117 (__mpn_construct_long_double): Fix test for overflow of high
16118 mantissa and correct normalisation. Avoid undefined shift.
16120 2013-10-04 Alan Modra <amodra@gmail.com>
16122 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16123 (union ibm_extended_long_double): Define as an array of ieee754_double.
16124 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16125 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16126 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16127 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16128 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16129 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16130 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16131 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16132 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16133 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16134 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16136 2013-10-03 Joseph Myers <joseph@codesourcery.com>
16138 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16139 page size instead of calling getpagesize.
16141 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16142 (LOCFILE_ALIGN_MASK): Likewise.
16143 (LOCFILE_ALIGN_UP): Likewise.
16144 (LOCFILE_ALIGNED_P): Likewise.
16145 * locale/programs/ld-collate.c (collate_output): Use the new
16146 macros instead of __alignof__ (int32_t).
16147 * locale/weight.h (findidx): Likewise.
16149 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16152 * manual/string.texi: Fix strncat and wcsncat.
16154 2013-10-03 Brooks Moses <bmoses@google.com>
16157 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16158 * Makerules: ...here, and adjust associated comments.
16160 2013-10-02 Will Newton <will.newton@linaro.org>
16162 * malloc/Makefile: Add tst-pvalloc.
16163 * malloc/tst-pvalloc.c: New file.
16165 2013-10-02 Will Newton <will.newton@linaro.org>
16167 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16168 improve test coverage.
16170 2013-10-02 Will Newton <will.newton@linaro.org>
16172 * malloc/Makefile: Add tst-posix_memalign.
16173 * malloc/tst-posix_memalign.c: New file.
16175 2013-10-01 Eric Blake <eblake@redhat.com>
16177 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16178 Use __THROWNL rather than __THROW on static functions.
16180 2013-09-30 Petr Machata <pmachata@redhat.com>
16182 * elf/elf.h (R_AARCH64_ABS16): New macro.
16183 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16184 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16185 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16186 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16187 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16188 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16189 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16190 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16191 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16192 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16193 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16194 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16195 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16196 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16197 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16198 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16199 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16200 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16201 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16202 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16203 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16204 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16205 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16206 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16207 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16208 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16209 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16210 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16211 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16212 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16213 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16214 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16215 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16216 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16217 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16218 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16219 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16220 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16221 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16222 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16223 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16224 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16225 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16226 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16227 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16228 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16229 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16230 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16231 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16232 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16233 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16234 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16235 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16236 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16237 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16238 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16239 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16240 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16241 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16242 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16243 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16244 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16245 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16246 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16247 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16248 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16249 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16250 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16251 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16252 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16253 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16254 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16255 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16256 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16257 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16258 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16259 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16260 (R_AARCH64_TLSDESC_LDR): Likewise.
16261 (R_AARCH64_TLSDESC_ADD): Likewise.
16262 (R_AARCH64_TLSDESC_CALL): Likewise.
16264 2013-09-30 Andreas Schwab <schwab@suse.de>
16267 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16268 the nss database lookup.
16269 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16270 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16272 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16274 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16276 2013-09-28 P. J. McDermott <pj@pehjota.net>
16278 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16279 ${Bash-specific parameter/pattern/string} parameter expansion.
16280 * sysdeps/unix/make-syscalls.sh: Likewise.
16282 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16284 * sysdeps/sh/stackguard-macros.h: New file.
16286 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
16288 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16289 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16290 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16291 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16292 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16293 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16295 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16297 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16298 Fix thread ID register.
16300 2013-09-25 Joseph Myers <joseph@codesourcery.com>
16302 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16303 [POSIX || UNIX98]: Require rather than permitting all symbols from
16305 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16306 element of struct sched_param.
16307 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16308 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16309 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16310 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16313 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16315 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16316 argument calculation.
16318 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16320 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16322 [POSIX] (pthread_attr_t): Do not require type.
16323 [POSIX] (pthread_cond_t): Likewise.
16324 [POSIX] (pthread_condattr_t): Likewise.
16325 [POSIX] (pthread_key_t): Likewise.
16326 [POSIX] (pthread_mutex_t): Likewise.
16327 [POSIX] (pthread_mutexattr_t): Likewise.
16328 [POSIX] (pthread_once_t): Likewise.
16329 [POSIX] (pthread_t): Likewise.
16330 [POSIX-based standards] (pthread_atfork): Expect function.
16332 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16333 Richard Sandiford <richard@codesourcery.com>
16335 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16336 (swap_endianness_p): New extern variable.
16337 (set_big_endian): New inline function.
16338 (maybe_swap_uint32): Likewise.
16339 (maybe_swap_uint32_array): Likewise.
16340 (maybe_swap_uint32_obstack): Likewise.
16341 * locale/programs/locfile.c: Include <stdbool.h>.
16342 (swap_endianness_p): New variable.
16343 (add_locale_uint32): Call maybe_swap_uint32.
16344 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16345 (write_locale_data): Call maybe_swap_uint32_array.
16346 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16348 (obstack_int32_grow_fast): Likewise.
16349 (output_weightwc): Call maybe_swap_uint32_obstack.
16350 (collate_output): Likewise.
16351 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16352 (OPT_LITTLE_ENDIAN): Likewise.
16353 (options): Add --little-endian and --big-endian options.
16354 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16355 * locale/programs/locarchive.c: Include "locfile.h".
16359 (create_archive): Use the new macros to access fields of
16360 structures directly mapped from or written to locale archives.
16361 (oldlocrecentcmp): Likewise.
16362 (enlarge_archive): Likewise.
16363 (insert_name): Likewise.
16364 (add_alias): Likewise.
16365 (add_locale): Likewise.
16366 (delete_locales_from_archive): Likewise.
16367 (show_archive_content): Likewise.
16368 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16371 2013-09-24 Roland McGrath <roland@hack.frob.com>
16373 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16374 http://www.gnu.org/doc/freemanuals.texi.
16375 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16377 2013-09-24 Will Newton <will.newton@linaro.org>
16379 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16382 2013-09-23 Joseph Myers <joseph@codesourcery.com>
16384 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16387 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16389 * manual/threads.texi (POSIX Threads): Fix a typo.
16391 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16394 * string/tst-strcoll-overflow.c: New test case.
16395 * string/Makefile (xtests): Add tst-strcoll-overflow.
16396 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16397 cache if string sizes may cause integer overflow.
16400 * string/strcoll_l.c (coll_seq): New members rule, idx,
16401 save_idx and back_us.
16402 (get_next_seq_nocache): New function.
16403 (do_compare_nocache): New function.
16404 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16407 2013-09-23 Carlos O'Donell <carlos@redhat.com>
16410 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16411 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16412 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16415 * elf/Makefile (tests): Add tst-ptrguard1.
16416 (tests-static): Add tst-ptrguard1-static.
16417 (tst-ptrguard1-ARGS): Define.
16418 (tst-ptrguard1-static-ARGS): Define.
16419 * elf/tst-ptrguard1.c: New file.
16420 * elf/tst-ptrguard1-static.c: New file.
16421 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16422 * sysdeps/i386/stackguard-macros.h: Likewise.
16423 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16424 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16425 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16426 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16427 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16428 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16430 2013-09-23 Hector Marco <hecmargi@upv.es>
16431 Ismael Ripoll <iripoll@disca.upv.es>
16432 Carlos O'Donell <carlos@redhat.com>
16435 * sysdeps/generic/stackguard-macros.h: Define
16436 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16437 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16438 Define __pointer_chk_guard_local.
16439 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16440 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16442 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16445 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16447 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16449 * include/string.h (__ffs): Declare as hidden.
16450 * string/ffs.c (__ffs): Define as hidden.
16451 * sysdeps/i386/ffs.c (__ffs): Likewise.
16452 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16453 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16454 * sysdeps/s390/ffs.c (__ffs): Likewise.
16455 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16457 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16459 * NEWS: Mention malloc probes.
16461 * malloc/arena.c (new_heap): New memory_heap_new probe.
16462 (grow_heap): New memory_heap_more probe.
16463 (shrink_heap): New memory_heap_less probe.
16464 (heap_trim): New memory_heap_free probe.
16465 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16466 (systrim): New memory_sbrk_less probe.
16467 * manual/probes.texi: Document them.
16469 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16470 * manual/probes.texi: Document it.
16472 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16473 (__libc_realloc): Add memory_realloc_retry probe.
16474 (__libc_memalign): Add memory_memalign_retry probe.
16475 (__libc_valloc): Add memory_valloc_retry probe.
16476 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16477 (__libc_calloc): Add memory_calloc_retry probe.
16478 * manual/probes.texi: Document them.
16480 * malloc/arena.c (get_free_list): Add probe
16481 memory_arena_reuse_free_list.
16482 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16483 and memory_arena_reuse.
16484 (arena_get2) [!PER_THREAD]: Likewise.
16485 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16486 memory_arena_reuse_realloc.
16487 * manual/probes.texi: Document them.
16489 * malloc/malloc.c (__libc_free): Add
16490 memory_mallopt_free_dyn_thresholds probe.
16491 (__libc_mallopt): Add multiple memory_mallopt probes.
16492 * manual/probes.texi: Document them.
16494 * malloc/malloc.c: Include stap-probe.h.
16495 (__libc_mallopt): Add memory_mallopt probe.
16496 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16497 * manual/probes.texi: New.
16498 * manual/Makefile (chapters): Add probes.
16499 * manual/threads.texi: Set next node.
16501 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16503 [BZ #15963, #13985]
16504 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16505 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16506 Add `Chinese' to `nan' entry name.
16508 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16510 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16511 (POLYNOMIAL): Likewise.
16512 (TAYLOR_SINCOS): Likewise.
16513 (TAYLOR_SLOW): Likewise.
16514 (__sin): Use TAYLOR_SINCOS.
16516 (slow): Use TAYLOR_SLOW.
16518 (bsloww): Likewise.
16519 (csloww): Likewise.
16521 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16523 * stdlib/strtod_l.c: Fix buffer overrun.
16525 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16527 * benchtests/Makefile (bench): Add sincos.
16528 * benchtests/bench-sincos.c: New file.
16530 * math/libm-test.inc (cos_test_data): New test inputs.
16531 (sin_test_data): Likewise.
16533 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16539 (sloww1): Likewise.
16540 (sloww2): Likewise.
16541 (bsloww1): Likewise.
16542 (bsloww2): Likewise.
16543 (cslow2): Likewise.
16544 (csloww1): Likewise.
16545 (csloww2): Likewise.
16547 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16552 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16556 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16558 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16559 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16560 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16561 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16562 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16563 * elf/cache.c (print_entry): Handle the new cache flags.
16565 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16566 Aldy Hernandez <aldyh@redhat.com>
16568 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16569 Change condition to [_SOFT_FLOAT].
16570 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16571 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16572 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16573 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16574 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16575 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16576 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16577 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16578 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16579 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16580 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16581 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16582 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16583 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16584 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16585 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16588 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16590 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16591 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16592 (__longjmp): Use LOAD_GP to load saved GPRs.
16593 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16594 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16595 (__sigsetjmp): Use SAVE_GP to save GPRs.
16597 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16598 Do not append -msoft-float.
16599 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16601 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16603 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16605 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16608 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16609 (_FPU_GETCW): Use initial "__" on variable and field names but not
16610 on macro parameter name.
16611 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16612 parentheses around reference to macro parameter.
16614 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16616 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16618 (ctype_startup): Use uint32_t in cast and sizeof for
16621 2013-09-11 Jia Liu <proljc@gmail.com>
16623 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16625 [__FreeBSD__]: Likewise.
16627 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16629 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16630 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16631 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16632 (strchr): Remove __strchr_sse42 ifunc selection.
16633 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16634 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16636 2013-09-11 Will Newton <will.newton@linaro.org>
16638 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16639 parameter to RES. Remove hardcoded 1000 value.
16640 * benchtests/bench-skeleton.c (main): Pass RES parameter
16641 to TIMING_INIT and multiply result by 1000.
16643 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16647 2013-09-11 Andreas Schwab <schwab@suse.de>
16649 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16651 (O_TMPFILE) [__USE_GNU]: Define.
16652 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16655 2013-09-11 Will Newton <will.newton@linaro.org>
16658 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16661 2013-09-11 Will Newton <will.newton@linaro.org>
16664 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16667 2013-09-11 Will Newton <will.newton@linaro.org>
16670 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16673 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16675 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16676 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16677 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16678 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16679 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16681 2013-09-10 Allan McRae <allan@archlinux.org>
16684 * manual/arith.texi (Parsing of Floats): Clarify
16688 * manual/install.texi (Running make install): Mention
16690 * INSTALL: Regenerated.
16692 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16694 * csu/init-first.c (_init): Remove the !SHARED condition around
16695 FPU control word initialization.
16696 * elf/dl-support.c (_dl_fpu_control): New variable.
16697 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16698 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16699 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16700 * math/test-fpucw-static.c: New file.
16701 * math/test-fpucw-ieee.c: New file.
16702 * math/test-fpucw-ieee-static.c: New file.
16703 * math/Makefile (tests): Add `test-fpucw-ieee' and
16705 (tests-static): New variable.
16706 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16708 [($(build-shared),yes)]
16709 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16711 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16714 2013-09-09 Allan McRae <allan@archlinux.org>
16717 * manual/string.texi (Collation Functions): Fix typo in
16719 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16722 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16725 * libio/memstream.c (open_memstream): Fix memory leak.
16726 * libio/wmemstream.c (open_wmemstream): Likewise.
16729 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16731 2013-09-09 Will Newton <will.newton@linaro.org>
16733 * malloc/Makefile: Add tst-realloc to tests.
16734 * malloc/tst-realloc.c: New file.
16736 2013-09-09 Allan McRae <allan@archlinux.org>
16739 * COPYING: Update from GNU website to fix FSF address.
16740 * COPYING.LIB: Likewise.
16742 2013-09-06 David S. Miller <davem@davemloft.net>
16744 * po/zh_TW.po: Update Chinese (traditional) translation from
16745 translation project.
16747 2013-09-06 Richard Sandiford <richard@codesourcery.com>
16748 Joseph Myers <joseph@codesourcery.com>
16750 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16752 (obstack_chunk_alloc): New macro.
16753 (obstack_chunk_free): Likewise.
16754 (record_offset): New function.
16755 (init_locale_data): Likewise.
16756 (align_locale_data): Likewise.
16757 (add_locale_empty): Likewise.
16758 (add_locale_raw_data): Likewise.
16759 (add_locale_raw_obstack): Likewise.
16760 (add_locale_string): Likewise.
16761 (add_locale_wstring): Likewise.
16762 (add_locale_uint32): Likewise.
16763 (add_locale_uint32_array): Likewise.
16764 (add_locale_char): Likewise.
16765 (start_locale_structure): Likewise.
16766 (end_locale_structure): Likewise.
16767 (start_locale_prelude): Likewise.
16768 (end_locale_prelude): Likewise.
16769 (write_locale_data): Take locale_file structure rather than an
16771 * locale/programs/locfile.h: Include "obstack.h".
16772 (struct locale_file): Change to store locale file contents instead
16774 (init_locale_data): New prototype.
16775 (align_locale_data): Likewise.
16776 (add_locale_empty): Likewise.
16777 (add_locale_raw_data): Likewise.
16778 (add_locale_raw_obstack): Likewise.
16779 (add_locale_string): Likewise.
16780 (add_locale_wstring): Likewise.
16781 (add_locale_uint32): Likewise.
16782 (add_locale_uint32_array): Likewise.
16783 (add_locale_char): Likewise.
16784 (start_locale_structure): Likewise.
16785 (end_locale_structure): Likewise.
16786 (start_locale_prelude): Likewise.
16787 (end_locale_prelude): Likewise.
16788 (write_locale_data): Update prototype.
16789 * locale/programs/3level.h (struct TABLE): Remove result field.
16790 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16791 Use new locale_file interface.
16792 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16793 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16794 * locale/programs/ld-address.c (address_output): Use new
16795 locale_file interface.
16796 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16798 (collate_finish): Don't call collseq_table_finalize.
16799 (collate_output): Use new locale_file interface.
16800 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16802 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16803 (TABLE): Move defines earlier in file.
16804 (ELEMENT): Likewise.
16805 (DEFAULT): Likewise.
16806 (wctrans_table_add): Move macro and inline function earlier in
16808 (struct wctype_table): Move type earlier in file.
16809 (add_locale_wctype_table): New static prototype.
16810 (struct locale_ctype_t): Use logical types instead of struct iovec
16811 pointers for members.
16812 (ctype_output): Use new locale_file interface.
16813 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16814 new locale_file interface.
16815 (allocate_arrays): Update for use of new locale_file interface.
16816 * locale/programs/ld-identification.c (identification_output): Use
16817 new locale_file interface.
16818 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16819 * locale/programs/ld-messages.c (messages_output): Likewise.
16820 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16821 * locale/programs/ld-name.c (name_output): Likewise.
16822 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16823 * locale/programs/ld-paper.c (paper_output): Likewise.
16824 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16825 * locale/programs/ld-time.c (time_output): Likewise.
16827 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16829 * benchtests/Makefile: Add memrchr benchmark.
16830 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16831 benchmark as memrchr.
16832 * benchtests/bench-memrchr-ifunc.c: New file.
16833 * benchtests/bench-memrchr.c: New file.
16835 2013-09-06 Will Newton <will.newton@linaro.org>
16837 * benchtests/Makefile (string-bench): Add memcpy.
16839 2013-09-05 Carlos O'Donell <carlos@redhat.com>
16840 Cong Wang <amwang@redhat.com>
16843 * sysdeps/unix/sysv/linux/bits/in.h
16844 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16845 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16846 before __USE_KERNEL_IPV6_DEFS uses.
16847 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16849 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16850 sockaddr_in6, or ipv6_mreq.
16852 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16854 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16855 memory access for final bytes in some large inputs.
16856 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16858 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16860 * string/test-memrchr.c: New file.
16861 * string/test-memrchr-ifunc.c: New file.
16862 * string/Makefile: Add new memrchr testcase.
16864 2013-09-05 Mike Frysinger <vapier@gentoo.org>
16866 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16867 fanotify_init returns EPERM.
16869 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16871 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16873 (top level): Treat second token from macro or constant entries for
16874 allowed headers as allowed.
16875 * include/complex.h: Condition internal declarations on
16877 * include/fenv.h: Condition include of <stdbool.h> and internal
16878 declarations on [!_ISOMAC].
16880 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16883 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16885 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16887 * configure.in (--enable-versioning): Remove configure option.
16888 (libc_cv_asm_symver_directive): Remove configure test.
16889 (libc_cv_ld_version_script_option): Likewise.
16890 (VERSIONING): Remove variable and AC_SUBST.
16891 (DO_VERSIONING): Remove AC_DEFINE.
16892 * configure: Regenerated.
16893 * config.h.in (DO_VERSIONING): Remove macro.
16894 * Makerules [$(versioning) = yes]: Change conditionals to
16895 [$(build-shared) = yes].
16896 * config.make.in (versioning): Remove variable.
16897 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16898 [$(build-shared) = yes].
16899 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16900 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16901 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16902 [$(build-shared) = yes].
16903 * extra-lib.mk [$(versioning) = yes]: Likewise.
16904 * hurd/Makefile [$(versioning) = yes]: Likewise.
16905 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16907 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16909 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16910 [SHARED && !NO_HIDDEN].
16911 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16913 [SHARED && DO_VERSIONING]: Likewise..
16914 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16915 [$(build-shared) = yes].
16916 * manual/install.texi (--disable-versioning): Remove
16918 * INSTALL: Regenerated.
16919 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16921 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16922 [$(build-shared) = yes].
16923 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16924 * sysdeps/i386/i686/multiarch/strstr-c.c
16925 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16926 [SHARED && !NO_HIDDEN].
16927 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16928 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16929 * sysdeps/powerpc/powerpc32/dl-machine.c
16930 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16931 * sysdeps/powerpc/powerpc32/sysdep.h
16932 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16933 to [SHARED && PIC && !NO_HIDDEN].
16934 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16935 conditional to [SHARED].
16937 2013-09-04 Will Newton <will.newton@linaro.org>
16939 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16940 * benchtests/bench-string.h: Include bench-timing.h instead
16941 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16942 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16943 call to HP_TIMING_DIFF_INIT.
16944 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16945 instead of hp-timing.h macros.
16946 * benchtests/bench-memchr.c: Likewise.
16947 * benchtests/bench-memcmp.c: Likewise.
16948 * benchtests/bench-memcpy.c: Likewise.
16949 * benchtests/bench-memmem.c: Likewise.
16950 * benchtests/bench-memmove.c: Likewise.
16951 * benchtests/bench-memset.c: Likewise.
16952 * benchtests/bench-rawmemchr.c: Likewise.
16953 * benchtests/bench-strcasecmp.c: Likewise.
16954 * benchtests/bench-strcasestr.c: Likewise.
16955 * benchtests/bench-strcat.c: Likewise.
16956 * benchtests/bench-strchr.c: Likewise.
16957 * benchtests/bench-strcmp.c: Likewise.
16958 * benchtests/bench-strcpy.c: Likewise.
16959 * benchtests/bench-strcpy_chk.c: Likewise.
16960 * benchtests/bench-strlen.c: Likewise.
16961 * benchtests/bench-strncasecmp.c: Likewise.
16962 * benchtests/bench-strncat.c: Likewise.
16963 * benchtests/bench-strncmp.c: Likewise.
16964 * benchtests/bench-strncpy.c: Likewise.
16965 * benchtests/bench-strnlen.c: Likewise.
16966 * benchtests/bench-strpbrk.c: Likewise.
16967 * benchtests/bench-strrchr.c: Likewise.
16968 * benchtests/bench-strspn.c: Likewise.
16969 * benchtests/bench-strstr.c: Likewise.
16971 2013-09-04 Will Newton <will.newton@linaro.org>
16973 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16975 2013-09-03 Joseph Myers <joseph@codesourcery.com>
16978 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16979 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16980 * math/libm-test.inc (lgamma_test_data): Add more tests.
16981 * sysdeps/i386/fpu/libm-test-ulps: Update.
16982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16984 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
16986 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16987 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16990 Add strcmp-sse2-unaligned
16991 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16993 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16995 * Versions.def (libc): Add GLIBC_2.19.
16997 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16999 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17000 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17002 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17005 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17006 intermediate calculations in recurrence.
17007 (__ieee754_ynf): Likewise.
17008 * math/libm-test.inc (jn_test_data): Do not allow spurious
17009 underflow exception. Add more tests.
17010 (yn_test_data): Add more tests.
17011 * sysdeps/i386/fpu/libm-test-ulps: Update.
17012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17014 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17016 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17018 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17020 * csu/init-first.c: Fix then/than typos.
17021 * locale/programs/ld-collate.c: Likewise.
17022 * locale/programs/linereader.h: Likewise.
17023 * manual/charset.texi: Likewise.
17024 * manual/filesys.texi: Likewise.
17025 * manual/stdio.texi: Likewise.
17026 * manual/string.texi: Likewise.
17027 * stdlib/fmtmsg.c: Likewise.
17028 * sysdeps/i386/stpncpy.S: Likewise.
17029 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17030 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17031 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17032 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17034 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17036 * elf/dl-open.c: Fix typos.
17037 * iconvdata/gbbig5.c: Likewise.
17038 * iconvdata/iso-2022-jp.c: Likewise.
17039 * iconv/gconv_int.h: Likewise.
17040 * iconv/loop.c: Likewise.
17041 * nis/rpcsvc/nis.h: Likewise.
17042 * resolv/ns_name.c: Likewise.
17043 * stdio-common/vfscanf.c: Likewise.
17044 * streams/stropts.h: Likewise.
17045 * sunrpc/rpc_thread.c: Likewise.
17046 * sysdeps/i386/strpbrk.S: Likewise.
17047 * sysdeps/ieee754/k_standard.c: Likewise.
17048 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17049 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17050 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17051 * sysdeps/mach/hurd/profil.c: Likewise.
17052 * sysdeps/s390/dl-procinfo.h: Likewise.
17053 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17054 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17055 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17056 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17057 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17059 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17061 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17062 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17064 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17066 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17067 aix specific files.
17068 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17069 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17070 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17071 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17072 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17073 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17074 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17075 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17077 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17078 Roland McGrath <roland@hack.frob.com>
17080 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17081 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17083 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17085 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17086 __executable_start symbol instead of _start.
17088 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17090 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17091 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17093 * sysdeps/gnu/ldsodefs.h: ... this new file.
17095 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17096 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17097 instead of ELFOSABI_LINUX.
17099 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17100 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17101 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17102 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17104 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17105 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17106 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17108 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17109 (ibm_extended_long_double): Add ieee_nan member.
17110 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17111 (do_test): New function.
17113 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17115 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17116 functions, renamed from truncdfsf_test, trunctfsf_test,
17118 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17120 (do_test): Run all these.
17122 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17124 * argp/argp-help.c: Fix typos.
17125 * argp/argp-parse.c: Likewise.
17126 * debug/backtracesyms.c: Likewise.
17127 * elf/elf.h: Likewise.
17128 * malloc/malloc.c: Likewise.
17129 * nis/nis_print.c: Likewise.
17130 * resolv/res_comp.c: Likewise.
17131 * stdlib/stdlib.h: Likewise.
17132 * sunrpc/clnt_tcp.c: Likewise.
17133 * sunrpc/clnt_udp.c: Likewise.
17134 * sunrpc/clnt_unix.c: Likewise.
17135 * sysdeps/unix/bsd/ptsname.c: Likewise.
17136 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17137 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17144 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17146 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17148 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17151 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17154 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17155 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17156 ($(objpfx)bug-dl-leaf): New rule.
17157 ($(objpfx)bug-dl-leaf.so): Likewise.
17158 ($(objpfx)bug-dl-leaf.out): Likewise.
17159 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17160 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17161 * dlfcn/bug-dl-leaf.c: New test.
17162 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17163 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17164 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17165 (dlclose): Likewise.
17166 (dlmopen): Likewise.
17168 2013-08-27 Roland McGrath <roland@hack.frob.com>
17170 * include/netdb.h [!_ISOMAC]:
17171 Don't include <tls.h>.
17172 (h_errno, __libc_h_errno): Move declaration and macros out of
17175 * include/resolv.h [_RESOLV_H_]:
17176 Don't include <tls.h>.
17177 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17178 * resolv/res_libc.c: Don't include <tls.h>.
17179 (_res): Use __attribute__ ((nocommon)) in place of
17180 __attribute__ ((section (".bss"))).
17182 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17183 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17185 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17187 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17188 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17190 * resolv/res_mkquery.c: Include <sys/time.h>.
17192 * inet/ifreq.c: Moved to ...
17193 * sysdeps/unix/ifreq.c: ... here.
17194 * inet/ifreq.c: New file, true stub version.
17196 * socket/sa_len.c: New file.
17197 * socket/Makefile (aux): Add it.
17198 * sysdeps/unix/sysv/linux/Makefile
17199 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17200 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17201 and #include <socket/sa_len.c>.
17202 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17203 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17205 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17206 * bits/socket.h: ... here.
17208 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17209 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17210 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17212 2013-08-27 Andreas Schwab <schwab@suse.de>
17215 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17216 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17217 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17218 * string/test-strcasecmp.c (test_main): Run tests in several
17220 * string/test-strncasecmp.c (test_main): Likewise.
17222 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17223 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17224 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17225 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17226 (__strncasecmp_ssse3) [PIC]: Likewise.
17228 2013-08-26 Roland McGrath <roland@hack.frob.com>
17230 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17232 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17233 instead of explicitly declaring xdecrypt.
17234 * nis/nss_nis/nis-publickey.c: Likewise.
17236 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17239 * nscd/aicache.c: Include res_hconf.h.
17240 (addhstaiX): Initialize res_hconf.
17242 2013-08-26 Andreas Schwab <schwab@suse.de>
17244 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17245 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17247 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17249 * nscd/aicache.c (addhstaiX): Fix indentation.
17251 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17253 * configure.ac: Quote $build_pt_chown test.
17254 * configure: Regenerated.
17256 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17259 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17260 * math/s_cexpf.c (__cexpf): Likewise.
17261 * math/s_cexpl.c (__cexpl): Likewise.
17262 * math/libm-test.inc (cexp_test_data): Correct expected return
17263 value for NaN + i0. Add another test.
17265 2013-08-22 David S. Miller <davem@davemloft.net>
17267 * po/ca.po: Update Catalan translation from translation project.
17268 * po/uk.po: Add Ukrainian translations from translation project.
17270 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17273 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17274 is infinite, not alongside NaN test.
17275 * math/s_fdimf.c (__fdimf): Likewise.
17276 * math/s_fdiml.c (__fdiml): Likewise.
17277 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17278 errno is unchanged.
17280 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17282 * argp/argp-help.c: Fix typos.
17283 * crypt/speeds.c: Likewise.
17284 * csu/check_fds.c: Likewise.
17285 * elf/dl-load.c: Likewise.
17286 * elf/dl-open.c: Likewise.
17287 * elf/reldep3.c: Likewise.
17288 * elf/reldep.c: Likewise.
17289 * elf/sprof.c: Likewise.
17290 * iconv/iconv_charmap.c: Likewise.
17291 * iconv/skeleton.c: Likewise.
17292 * iconv/strtab.c: Likewise.
17293 * io/lockf64.c: Likewise.
17294 * libio/libioP.h: Likewise.
17295 * resolv/gai_notify.c: Likewise.
17296 * resolv/ns_name.c: Likewise.
17297 * resolv/ns_samedomain.c: Likewise.
17298 * resolv/res_send.c: Likewise.
17299 * stdlib/random.c: Likewise.
17300 * sunrpc/rpc/xdr.h: Likewise.
17301 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17302 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17303 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17304 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17305 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17306 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17307 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17308 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17309 * sysdeps/mach/hurd/check_fds.c: Likewise.
17310 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17311 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17312 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17313 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17314 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17315 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17316 * sysdeps/pthread/aio_notify.c: Likewise.
17317 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17318 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17319 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17320 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17321 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17323 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17325 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17326 version if bit_Slow_SSE4_2 is set.
17327 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17328 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17330 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17333 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17334 trampoline stack frame information.
17335 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17336 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17337 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17338 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17339 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17340 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17341 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17342 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17344 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17345 interrupting a syscall and set with option SA_SIGINFO.
17347 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17350 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17351 argument is infinite.
17352 * math/s_cprojf.c (__cprojf): Likewise.
17353 * math/s_cprojl.c (__cprojl): Likewise.
17354 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17355 * math/libm-test.inc (cproj_test_data): Add more tests.
17357 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17359 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17360 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17361 size. Use __ffs to determine corresponding shift.
17363 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17364 Roland McGrath <roland@hack.frob.com>
17366 * Makefile (INSTALL): Remove trailing blank lines from output of
17369 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17371 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17372 Align 32 bit compat elf_greg to 8 bytes.
17374 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17376 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17378 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17380 * string/strcoll_l.c (coll_seq): New structure.
17381 (get_next_seq_cached): New function.
17382 (get_next_seq): New function.
17383 (do_compare): New function.
17384 (STRCOLL): Use GNU style definition. Simplify implementation
17385 by using get_next_seq, get_next_seq_cached and do_compare.
17387 2013-08-16 Florian Weimer <fweimer@redhat.com>
17391 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17393 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17395 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17396 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17397 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17399 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17400 GETDENTS_64BIT_ALIGNED.
17401 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17402 * manual/filesys.texi (Reading/Closing Directory): Document
17403 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17405 * manual/conf.texi (Limits for Files): Add portability note to
17406 NAME_MAX, PATH_MAX.
17407 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17409 2013-08-13 Andreas Schwab <schwab@suse.de>
17412 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17414 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17415 LDBL_MAX_EXP >= 16384]: Add tests for it.
17417 2013-08-12 David S. Miller <davem@davemloft.net>
17419 * version.h (RELEASE): Set to "development".
17420 (VERSION): Set to "2.18.90".
17421 * NEWS: Add 2.19 section.
17423 2013-08-03 David S. Miller <davem@davemloft.net>
17425 * po/ko.po: Update Korean translation from translation project.
17427 2013-08-01 David S. Miller <davem@davemloft.net>
17429 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17430 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17433 2013-07-30 David S. Miller <davem@davemloft.net>
17435 * po/fr.po: Update French translation from translation project.
17437 2013-07-28 David S. Miller <davem@davemloft.net>
17439 * po/cs.po: Update Czech translation from translation project.
17441 * po/sv.po: Update Swedish translation from translation project.
17443 2013-07-27 David S. Miller <davem@davemloft.net>
17445 * po/eo.po: Update Esperanto translation from translation project.
17447 * po/vi.po: Update Vietnamese translation from translation project.
17449 * po/de.po: Update German translation from translation project.
17451 2013-07-26 David S. Miller <davem@davemloft.net>
17453 * po/bg.po: Update Bulgarian translation from translation project.
17455 * po/nl.po: Update Dutch translation from translation project.
17456 * po/pl.po: Update Polish translation from translation project.
17457 * po/ru.po: Update Russian translation from translation project.
17459 2013-07-24 David S. Miller <davem@davemloft.net>
17461 * po/libc.pot: Update.
17463 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17465 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17466 variable page size.
17467 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17468 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17469 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17471 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17473 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17475 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17476 Andreas Schwab <schwab@suse.de>
17477 Roland McGrath <roland@hack.frob.com>
17478 Joseph Myers <joseph@codesourcery.com>
17479 Carlos O'Donell <carlos@redhat.com>
17482 * config.h.in: Define HAVE_PT_CHOWN.
17483 * config.make.in (build-pt-chown): New variable.
17484 * configure.in (--enable-pt_chown): New configure option.
17485 * configure: Regenerate.
17486 * login/Makefile: Include Makeconfig. Build pt_chown only if
17487 build-pt-chown is enabled.
17488 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17489 pt_chown to fix pty ownership.
17490 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17492 * manual/install.texi (Configuring and compiling): Mention
17493 --enable-pt_chown. Add @findex for grantpt.
17494 * INSTALL: Regenerate.
17496 2013-07-20 David S. Miller <davem@davemloft.net>
17498 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17499 difference between 32-bit and 64-bit.
17501 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17504 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17505 Avoid system header dependency with -ffreestanding.
17506 ($(objpfx)bits/syscall%d): Likewise.
17508 2013-07-13 David S. Miller <davem@davemloft.net>
17510 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17511 underflows from atanl/atan2l due to bug 15319.
17512 (casinh_test_data): Likewise.
17514 2013-07-07 David S. Miller <davem@davemloft.net>
17516 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17518 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17520 * sysdeps/i386/fpu/libm-test-ulps: Update.
17521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17523 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17525 * configure.in (--enable-lock-elision): Fix message text.
17526 * INSTALL: Regenerate.
17527 * configure: Regenerate.
17529 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17533 2013-07-03 Andreas Jaeger <aj@suse.de>
17535 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17537 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17538 (ptrace_peeksiginfo_args): Add.
17539 (__ptrace_peeksiginfo_flags): Add.
17540 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17541 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17542 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17544 2013-07-03 Allan McRae <allan@archlinux.org>
17546 * sysdeps/i386/fpu/libm-test-ulps: Update.
17548 2013-07-02 David S. Miller <davem@davemloft.net>
17550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17552 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17556 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17558 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17561 2013-07-02 Andi Kleen <ak@linux.intel.com>
17563 * config.h.in (ENABLE_LOCK_ELISION): Add.
17564 * configure.in (--enable-lock-elision): Add option.
17565 * manual/install.texi: Document --enable lock elision.
17566 * configure: Regenerate
17567 * INSTALL: Regenerate.
17569 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17571 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17572 SSE4.2 strcasecmp for libc.a.
17573 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17575 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17578 * soft-fp/op-common.h (_FP_FMA): New macro.
17579 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17580 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17581 (_FP_MUL_MEAT_1_imm): ... here.
17582 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17583 (_FP_MUL_MEAT_1_wide): ... here.
17584 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17585 (_FP_MUL_MEAT_1_hard): ... here.
17586 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17587 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17588 (_FP_MUL_MEAT_2_wide): ... here.
17589 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17590 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17591 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17592 (_FP_MUL_MEAT_2_gmp): ... here.
17593 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17594 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17595 (_FP_MUL_MEAT_4_wide): ... here.
17596 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17597 (_FP_MUL_MEAT_4_gmp): ... here.
17598 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17599 (_FP_WFRACBITS_DW_S): Likewise.
17600 (_FP_WFRACXBITS_DW_S): Likewise.
17601 (_FP_HIGHBIT_DW_S): Likewise.
17602 (FP_FMA_S): Likewise.
17603 (_FP_FRAC_HIGH_DW_S): Likewise.
17604 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17605 (_FP_WFRACBITS_DW_D): Likewise.
17606 (_FP_WFRACXBITS_DW_D): Likewise.
17607 (_FP_HIGHBIT_DW_D): Likewise.
17608 (FP_FMA_D): Likewise.
17609 (_FP_FRAC_HIGH_DW_D): Likewise.
17610 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17611 (_FP_WFRACBITS_DW_E): Likewise.
17612 (_FP_WFRACXBITS_DW_E): Likewise.
17613 (_FP_HIGHBIT_DW_E): Likewise.
17614 (FP_FMA_E): Likewise.
17615 (_FP_FRAC_HIGH_DW_E): Likewise.
17616 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17617 (_FP_WFRACBITS_DW_Q): Likewise.
17618 (_FP_WFRACXBITS_DW_Q): Likewise.
17619 (_FP_HIGHBIT_DW_Q): Likewise.
17620 (FP_FMA_Q): Likewise.
17621 (_FP_FRAC_HIGH_DW_Q): Likewise.
17622 * soft-fp/fmasf4.c: New file.
17623 * soft-fp/fmadf4.c: Likewise.
17624 * soft-fp/fmatf4.c: Likewise.
17626 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17628 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17629 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17631 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17633 (index_Slow_SSE4_2): Likewise.
17634 (index_Prefer_PMINUB_for_stringop): Likewise.
17635 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17636 bit_Slow_SSE4_2 is set.
17637 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17638 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17640 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17642 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17643 rtld_global._dl_hwcap2.
17644 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17646 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17647 POWER8 feature descriptions defined in _dl_hwcap2.
17648 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17649 string handling for POWER8 feature bits.
17650 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17651 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17652 _dl_powerpc_cap_flags.
17653 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17654 * sysdeps/powerpc/rtld-global-offsets.sym
17655 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17656 _dl_hwcap2 in the rtld_global_ro structure.
17658 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17660 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17661 hardware capabilities in support of AT_HWCAP2.
17662 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17663 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17665 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17666 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17667 explicitly the unknown a_type display mechanism is used.
17668 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17669 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17671 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17672 to macro prototype for AT_HWCAP2 support.
17673 * sysdeps/i386/dl-procinfo.h: Likewise.
17674 * sysdeps/s390/dl-procinfo.h: Likewise.
17675 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17676 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17677 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17678 return -1 for unknown a_type display fallback.
17679 * sysdeps/sparc/dl-procinfo.h: Likewise.
17680 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17681 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17683 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17685 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17686 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17688 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17691 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17692 mprotect making __stack_prot writable.
17694 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17695 Joseph Myers <joseph@codesourcery.com>
17697 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17698 as being properly aligned.
17700 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17702 * dlfcn/modstatic5.c: New file.
17703 * dlfcn/tststatic5.c: New file.
17704 * dlfcn/Makefile (tests): Add tststatic5.
17705 (tests-static): Likewise.
17706 (modules-names): Add modstatic5.
17707 (tststatic5-ENV): New variable.
17708 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17711 * elf/dl-support.c (_dl_main_map): New variable.
17712 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17713 (_dl_nns, _dl_load_adds): Set to 1.
17714 (_dl_initial_searchlist): Refer to _dl_main_map.
17715 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17716 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17717 call to _dl_get_origin.
17718 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17720 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17721 * dlfcn/modstatic3.c: New file.
17722 * dlfcn/tststatic3.c: New file.
17723 * dlfcn/tststatic4.c: New file.
17724 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17725 (tests-static): Likewise.
17726 (modules-names): Add modstatic3.
17727 (tststatic3-ENV, tststatic4-ENV): New variables.
17728 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17729 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17731 2013-06-26 Joseph Myers <joseph@codesourcery.com>
17733 * configure.in (CC): Require GCC version 4.4 or later.
17734 * configure: Regenerated.
17735 * manual/install.texi (Tools for Compilation): Update GCC version
17737 * INSTALL: Regenerated.
17739 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17742 * string/test-memcmp.c (check2): New.
17743 (main): Call check2.
17745 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17747 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17750 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17752 (dl_open_worker) [!SHARED]: ... here.
17754 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17756 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17758 2013-06-25 Richard Henderson <rth@redhat.com>
17760 * locale/programs/locarchive.c: Include <libc-internal.h>
17762 2013-06-25 Joseph Myers <joseph@codesourcery.com>
17764 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17765 trailing whitespace removed.
17767 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17770 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17771 * locale/programs/locarchive.c: Include libc-mmap.h.
17772 (prepare_address_space): Take two new outputs (the mmap base and len).
17773 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17775 (create_archive): Declare new mmap base and len values for
17776 prepare_address_space, and store the result in ah.
17777 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17778 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17779 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17780 Declare new mmap base and len values for
17781 prepare_address_space, and store the result in new_ah.
17782 (open_archive): Declare new mmap base and len values for
17783 prepare_address_space, and store the result in ah.
17784 (close_archive): If ah->mmap_base is not NULL, use that and
17785 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17786 * sysdeps/generic/libc-mmap.h: New file.
17788 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17790 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17791 (ALIGN_UP): Likewise.
17792 (PTR_ALIGN_DOWN): Likewise.
17793 (PTR_ALIGN_UP): Likewise.
17795 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17797 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17798 entry mapped to PPC_PLATFORM_POWER8.
17799 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17801 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17802 (_dl_string_platform): Add case for exporting platform position for
17804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17805 search path to sysdeps/powerpc/powerpc32/power8 directory.
17806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17807 search path to sysdeps/powerpc/powerpc64/power8 directory.
17808 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17809 power7 directories.
17810 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17811 power7 directories.
17813 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17815 * INSTALL: Regenerate.
17817 * nscd/connections.c (nscd_init): Fix comment.
17819 2013-06-22 Joseph Myers <joseph@codesourcery.com>
17821 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17824 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17825 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17827 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17829 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17831 (DL_DST_REQ_STATIC): Remove macro.
17833 2013-06-21 Joseph Myers <joseph@codesourcery.com>
17836 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17837 with a shift of 0 bits.
17839 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17841 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17844 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17847 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17849 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17851 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17852 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17853 accepts -fno-tree-loop-distribute-patterns.
17854 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17855 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17857 * string/memset.c (memset): Likewise.
17858 * string/test-memmove.c (simple_memmove): Disable loop transformation
17860 * string/test-memset.c (simple_memset): Likewise.
17861 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17862 * benchtests/bench-memset.c (simple_memset): Likewise.
17863 * configure: Regenerated.
17865 2013-06-20 Joseph Myers <joseph@codesourcery.com>
17867 * math/test-misc.c (main): Ignore fesetround failure when failures
17868 of subsequent rounding tests would be ignored.
17871 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17872 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17873 * math/fegetenv.c (__fegetenv): Return 0.
17874 * math/fegetexcept.c (fegetexcept): Return 0.
17875 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17877 * math/feholdexcpt.c (feholdexcept): Return 0.
17878 * math/fesetenv.c (__fesetenv): Return 0.
17879 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17880 argument FE_TONEAREST.
17881 * math/feupdateenv.c (__feupdateenv): Return 0.
17882 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17884 2013-06-18 Roland McGrath <roland@hack.frob.com>
17886 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17887 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17888 ($(objpfx)rtld-%.os rules): Use them.
17890 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17892 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17895 2013-06-17 Roland McGrath <roland@hack.frob.com>
17897 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17898 length of target pattern, then descending length of dependency pattern.
17899 * configure.in (AWK): Require gawk 3.1.2 or newer.
17900 * manual/install.texi (Tools for Compilation): Say that we do.
17901 * configure: Regenerated.
17903 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17904 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17905 * scripts/sysd-rules.awk: ... this new script.
17906 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17907 than a glob-style pattern.
17909 2013-06-17 Joseph Myers <joseph@codesourcery.com>
17911 * math/test-misc.c (main): Do not treat incorrectly rounded
17912 conversions as failure unless ROUNDING_TESTS passes.
17914 2013-06-15 Joseph Myers <joseph@codesourcery.com>
17917 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17918 restore exception state around main square root computation, then
17919 check for inexactness explicitly.
17921 * math/libm-test.inc (fma_test_data): Add another test.
17923 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17925 * manual/threads.texi (Non-POSIX Extensions): New document
17926 node. Document pthread_getattr_default_np and
17927 pthread_setattr_default_np.
17929 * Versions.def (libpthread): Add GLIBC_2.18.
17930 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17939 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17950 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17952 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17953 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17955 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17956 H.J. Lu <hjl.tools@gmail.com>
17959 * sysdeps/x86_64/rtld-memset.c: Remove file.
17960 * sysdeps/x86_64/rtld-memset.S: New file.
17962 2013-06-14 Joseph Myers <joseph@codesourcery.com>
17964 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17965 (test_in_one_mode): Take arguments for whether the rounding mode
17966 is supported for each floating-point type.
17967 (do_test): Pass new arguments to test_in_one_mode using
17970 2013-06-13 Roland McGrath <roland@hack.frob.com>
17972 * posix/tst-waitid.c (do_test): Distinguish different instances of
17973 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17974 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17975 before entering the kernel for waitpid.
17977 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17979 * NEWS: Fix note on clock function precision. Text by Roland
17982 2013-06-13 Roland McGrath <roland@hack.frob.com>
17984 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17985 it into place only when and if the sanity check passes.
17987 2013-06-13 Joseph Myers <joseph@codesourcery.com>
17989 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17990 output for whether conversion result is exact. Take argument
17991 indicating whether type is IBM long double.
17992 (round_for_all): Change need_exact field to ibm_ld.
17993 * stdlib/tst-strtod-round.c (struct exactness): New type.
17994 (struct test): Change bool ld_ok field to struct exactness exact.
17995 (TEST): Update all definitions for change to field.
17996 (tests): Regenerate array contents.
17997 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17998 field value. Check for IBM long double here.
17999 (do_test): Update calls to test_in_one_mode.
18001 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18004 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18005 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18007 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18010 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18011 generated by the compiler on loop optimizations.
18012 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18013 general definitions.
18015 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18017 * math/bug-nextafter.c: Include <math-tests.h>.
18018 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18020 * math/bug-nexttoward.c: Include <math-tests.h>.
18021 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18023 * math/test-misc.c: Include <math-tests.h>.
18024 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18027 2013-06-12 Andreas Jaeger <aj@suse.de>
18029 * po/ia.po: Update Interlingua translation from translation
18032 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18034 * include/fenv.h: Include stdbool.h.
18035 (struct rm_ctx): New structure.
18036 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18038 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18039 (SET_RESTORE_ROUNDF): Likewise.
18040 (SET_RESTORE_ROUNDL): Likewise.
18041 (SET_RESTORE_ROUND_NOEX): Likewise.
18042 (SET_RESTORE_ROUND_NOEXF): Likewise.
18043 (SET_RESTORE_ROUND_NOEXL): Likewise.
18044 (SET_RESTORE_ROUND_53BIT): Likewise.
18045 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18046 (libc_feresetround_noexf_ctx): Likewise.
18047 (libc_feresetround_noexl_ctx): Likewise.
18048 (libc_feholdsetround_53bit_ctx): Likewise.
18049 (libc_feresetround_53bit_ctx): Likewise.
18050 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18051 (libc_feholdexcept_setround_sse_ctx): New function.
18052 (libc_fesetenv_sse_ctx): Likewise.
18053 (libc_feupdateenv_sse_ctx): Likewise.
18054 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18055 (libc_feholdexcept_setround_387_ctx): Likewise.
18056 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18057 (libc_feholdsetround_387_prec_ctx): Likewise.
18058 (libc_feholdsetround_387_ctx): Likewise.
18059 (libc_feholdsetround_387_53bit_ctx): Likewise.
18060 (libc_feholdsetround_sse_ctx): Likewise.
18061 (libc_feresetround_sse_ctx): Likewise.
18062 (libc_feresetround_387_ctx): Likewise.
18063 (libc_feupdateenv_387_ctx): Likewise.
18064 (libc_feholdexcept_setroundf_ctx): Define macro.
18065 (libc_fesetenvf_ctx): Likewise.
18066 (libc_feupdateenvf_ctx): Likewise.
18067 (libc_feholdsetroundf_ctx): Likewise.
18068 (libc_feresetroundf_ctx): Likewise.
18069 (libc_feholdexcept_setround_ctx): Likewise.
18070 (libc_fesetenv_ctx): Likewise.
18071 (libc_feupdateenv_ctx): Likewise.
18072 (libc_feholdsetround_ctx): Likewise.
18073 (libc_feresetround_ctx): Likewise.
18074 (libc_feholdexcept_setroundl_ctx): Likewise.
18075 (libc_feupdateenvl_ctx): Likewise.
18076 (libc_feholdsetroundl_ctx): Likewise.
18077 (libc_feresetroundl_ctx): Likewise.
18078 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18079 (libc_feresetround_53bit_ctx): Likewise.
18081 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18083 * locale/iso-639.def: Convert to UTF-8.
18085 2013-06-11 Joseph Myers <joseph@codesourcery.com>
18087 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18088 (EXCEPTION_TESTS_double): Likewise.
18089 (EXCEPTION_TESTS_long_double): Likewise.
18090 (EXCEPTION_TESTS): Likewise.
18091 * math/libm-test.inc (test_exceptions): Only test exceptions if
18092 EXCEPTION_TESTS (FLOAT).
18094 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18096 * benchtests/Makefile (string-bench): Add strcpy_chk and
18098 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18099 * benchtests/bench-stpcpy_chk.c: New file.
18100 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18101 * benchtests/bench-strcpy_chk.c: New file.
18102 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18104 (do_test): Likewise.
18106 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18108 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18109 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18110 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18111 with tabs where appropriate.
18112 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18114 [PPC_PLATFORM_PPC440]: Likewise.
18115 [PPC_PLATFORM_PPC464]: Likewise.
18116 [PPC_PLATFORM_PPC476]: Likewise.
18117 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18118 ppc464, and ppc476 platform strings merging from ports/
18121 2013-06-11 Andreas Schwab <schwab@suse.de>
18124 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18125 (from_ucs4_idx): Regenerate.
18126 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18127 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18128 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18129 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18130 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18131 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18132 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18133 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18134 from FROM_LOOP and TO_LOOP specific macros.
18135 (BODY): Handle combining characters.
18136 * iconvdata/BIG5HKSCS.irreversible: Update.
18137 * iconvdata/BIG5HKSCS.precomposed: New file.
18138 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18140 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18142 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18144 * include/sys/time.h: Fix indentation and add copyright header.
18146 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18147 (do_test): Likewise.
18148 * string/test-memchr.c (do_one_test): Likewise.
18149 (do_test): Likewise.
18150 * string/test-memcmp.c (do_one_test): Likewise.
18151 (do_test): Likewise.
18152 * string/test-memcpy.c (do_one_test): Likewise.
18153 (do_test): Likewise.
18154 * string/test-memmem.c (do_one_test): Likewise.
18155 (do_test): Likewise.
18156 (do_random_tests): Likewise.
18157 * string/test-memmove.c (do_one_test): Likewise.
18158 (do_test): Likewise.
18159 * string/test-memset.c (do_one_test): Likewise.
18160 (do_test): Likewise.
18161 * string/test-rawmemchr.c (do_one_test): Likewise.
18162 (do_test): Likewise.
18163 * string/test-strcasecmp.c (do_one_test): Likewise.
18164 (do_test): Likewise.
18165 * string/test-strcasestr.c (do_one_test): Likewise.
18166 (do_test): Likewise.
18167 * string/test-strcat.c (do_one_test): Likewise.
18168 (do_test): Likewise.
18169 * string/test-strchr.c (do_one_test): Likewise.
18170 (do_test): Likewise.
18171 * string/test-strcmp.c (do_one_test): Likewise.
18172 (do_test): Likewise.
18173 * string/test-strcpy.c (do_one_test): Likewise.
18174 (do_test): Likewise.
18175 * string/test-string.h: Likewise.
18176 (test_init): Likewise.
18177 * string/test-strlen.c (do_one_test): Likewise.
18178 (do_test): Likewise.
18179 * string/test-strncasecmp.c (do_one_test): Likewise.
18180 (do_test): Likewise.
18181 * string/test-strncat.c (do_one_test): Likewise.
18182 (do_test): Likewise.
18183 * string/test-strncmp.c (do_one_test): Likewise.
18184 (do_test_limit): Likewise.
18185 (do_test): Likewise.
18186 * string/test-strncpy.c (do_one_test): Likewise.
18187 (do_test): Likewise.
18188 * string/test-strnlen.c (do_one_test): Likewise.
18189 (do_test): Likewise.
18190 * string/test-strpbrk.c (do_one_test): Likewise.
18191 (do_test): Likewise.
18192 * string/test-strrchr.c (do_one_test): Likewise.
18193 (do_test): Likewise.
18194 * string/test-strspn.c (do_one_test): Likewise.
18195 (do_test): Likewise.
18196 * string/test-strstr.c (do_one_test): Likewise.
18197 (do_test): Likewise.
18199 * benchtests/Makefile (string-bench): Add string benchmarks.
18200 * benchtests/bench-bcopy-ifunc.c: New file.
18201 * benchtests/bench-bcopy.c: New file.
18202 * benchtests/bench-bzero-ifunc.c: New file.
18203 * benchtests/bench-bzero.c: New file.
18204 * benchtests/bench-memccpy-ifunc.c: New file.
18205 * benchtests/bench-memccpy.c: New file.
18206 * benchtests/bench-memchr-ifunc.c: New file.
18207 * benchtests/bench-memchr.c: New file.
18208 * benchtests/bench-memcmp-ifunc.c: New file.
18209 * benchtests/bench-memcmp.c: New file.
18210 * benchtests/bench-memmem-ifunc.c: New file.
18211 * benchtests/bench-memmem.c: New file.
18212 * benchtests/bench-memmove-ifunc.c: New file.
18213 * benchtests/bench-memmove.c: New file.
18214 * benchtests/bench-mempcpy-ifunc.c: New file.
18215 * benchtests/bench-mempcpy.c: New file.
18216 * benchtests/bench-memset-ifunc.c: New file.
18217 * benchtests/bench-memset.c: New file.
18218 * benchtests/bench-rawmemchr-ifunc.c: New file.
18219 * benchtests/bench-rawmemchr.c: New file.
18220 * benchtests/bench-stpcpy-ifunc.c: New file.
18221 * benchtests/bench-stpcpy.c: New file.
18222 * benchtests/bench-stpncpy-ifunc.c: New file.
18223 * benchtests/bench-stpncpy.c: New file.
18224 * benchtests/bench-strcasecmp-ifunc.c: New file.
18225 * benchtests/bench-strcasecmp.c: New file.
18226 * benchtests/bench-strcasestr-ifunc.c: New file.
18227 * benchtests/bench-strcasestr.c: New file.
18228 * benchtests/bench-strcat-ifunc.c: New file.
18229 * benchtests/bench-strcat.c: New file.
18230 * benchtests/bench-strchr-ifunc.c: New file.
18231 * benchtests/bench-strchr.c: New file.
18232 * benchtests/bench-strchrnul-ifunc.c: New file.
18233 * benchtests/bench-strchrnul.c: New file.
18234 * benchtests/bench-strcmp-ifunc.c: New file.
18235 * benchtests/bench-strcmp.c: New file.
18236 * benchtests/bench-strcpy-ifunc.c: New file.
18237 * benchtests/bench-strcpy.c: New file.
18238 * benchtests/bench-strcspn-ifunc.c: New file.
18239 * benchtests/bench-strcspn.c: New file.
18240 * benchtests/bench-strlen-ifunc.c: New file.
18241 * benchtests/bench-strlen.c: New file.
18242 * benchtests/bench-strncasecmp-ifunc.c: New file.
18243 * benchtests/bench-strncasecmp.c: New file.
18244 * benchtests/bench-strncat-ifunc.c: New file.
18245 * benchtests/bench-strncat.c: New file.
18246 * benchtests/bench-strncmp-ifunc.c: New file.
18247 * benchtests/bench-strncmp.c: New file.
18248 * benchtests/bench-strncpy-ifunc.c: New file.
18249 * benchtests/bench-strncpy.c: New file.
18250 * benchtests/bench-strnlen-ifunc.c: New file.
18251 * benchtests/bench-strnlen.c: New file.
18252 * benchtests/bench-strpbrk-ifunc.c: New file.
18253 * benchtests/bench-strpbrk.c: New file.
18254 * benchtests/bench-strrchr-ifunc.c: New file.
18255 * benchtests/bench-strrchr.c: New file.
18256 * benchtests/bench-strspn-ifunc.c: New file.
18257 * benchtests/bench-strspn.c: New file.
18258 * benchtests/bench-strstr-ifunc.c: New file.
18259 * benchtests/bench-strstr.c: New file.
18261 * benchtests/Makefile: Disable parallel execution of targets.
18262 (string-bench): Add memcpy.
18263 (benchset): New variable to store a list of benchmark sets.
18264 (bench-func): Renamed from bench.
18265 (bench-set): New target.
18266 (bench): Depend on bench-func and bench-set.
18267 * benchtests/README: Add section on benchmark sets.
18268 * benchtests/bench-memcpy-ifunc.c: New file.
18269 * benchtests/bench-memcpy.c: New file.
18270 * benchtests/bench-string.h: New file.
18272 2013-06-11 Andreas Schwab <schwab@suse.de>
18275 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18276 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18277 values in the triple.
18278 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18279 terminator in the group key.
18281 2013-06-11 Andreas Jaeger <aj@suse.de>
18283 * po/zh_TW.po: Update Chinese (traditional) translation from
18284 translation project.
18286 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18288 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18289 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18290 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18291 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18292 (clock_getcpuclockid): Likewise.
18293 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18294 Add weak_alias and libc_hidden_def.
18295 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18296 * rt/clock_gettime.c (clock_gettime): Rename to
18297 __clock_gettime. Add weak_alias and libc_hidden_def.
18298 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18299 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18300 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18301 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18302 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18304 * rt/clock_settime.c (clock_settime): Rename to
18305 __clock_settime. Add weak_alias and libc_hidden_def.
18306 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18308 2013-06-10 Joseph Myers <joseph@codesourcery.com>
18310 * mach/err_boot.sub: Remove trailing whitespace.
18311 * mach/err_ipc.sub: Likewise.
18312 * mach/err_mach.sub: Likewise.
18314 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18315 (ROUNDING_TESTS_double): Likewise.
18316 (ROUNDING_TESTS_long_double): Likewise.
18317 (ROUNDING_TESTS): Likewise.
18318 * math/libm-test.inc: Include <math-tests.h>.
18319 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18320 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18321 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18322 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18324 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18326 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18329 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18331 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18332 otherwise empty TRANS lines.
18333 * sysdeps/gnu/errlist.c: Regenerated.
18335 * catgets/gencat.c (error_print): Use (void) in function
18337 * crypt/crypt_util.c (__init_des): Likewise.
18338 * crypt/speeds.c (Stop): Likewise.
18340 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18341 * inet/ruserpass.c (token): Likewise.
18342 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18343 * intl/localealias.c (extend_alias_table): Likewise.
18344 * intl/plural-exp.c (init_germanic_plural): Likewise.
18345 * libio/fcloseall.c (__fcloseall): Likewise.
18346 * libio/genops.c (_IO_flush_all): Likewise.
18347 (_IO_flush_all_linebuffered): Likewise.
18348 (_IO_cleanup): Likewise.
18349 (_IO_iter_begin): Likewise.
18350 (_IO_iter_end): Likewise.
18351 (_IO_list_lock): Likewise.
18352 (_IO_list_unlock): Likewise.
18353 (_IO_list_resetlock): Likewise.
18354 * libio/getchar.c (getchar): Likewise.
18355 * libio/getchar_u.c (getchar_unlocked): Likewise.
18356 * libio/getwchar.c (getwchar): Likewise.
18357 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18358 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18359 * login/getpt.c (__getpt): Likewise.
18360 * login/tst-utmp.c (main): Likewise.
18361 * malloc/hooks.c (__malloc_check_init): Likewise.
18362 * malloc/malloc.c (__malloc_stats): Likewise.
18363 * malloc/mtrace.c (tr_break): Likewise.
18364 (mtrace): Likewise.
18365 (muntrace): Likewise.
18366 * misc/fstab.c (endfsent): Likewise.
18367 * misc/getclktck.c (__getclktck): Likewise.
18368 * misc/getdtsz.c (__getdtablesize): Likewise.
18369 * misc/gethostid.c (gethostid): Likewise.
18370 * misc/getpagesize.c (__getpagesize): Likewise.
18371 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18372 (__get_nprocs): Likewise.
18373 (__get_phys_pages): Likewise.
18374 (__get_avphys_pages): Likewise.
18375 * misc/getttyent.c (getttyent): Likewise.
18376 (setttyent): Likewise.
18377 (endttyent): Likewise.
18378 * misc/getusershell.c (getusershell): Likewise.
18379 (endusershell): Likewise.
18380 (setusershell): Likewise.
18381 (initshells): Likewise.
18382 * misc/hsearch.c (__hdestroy): Likewise.
18383 * misc/sync.c (sync): Likewise.
18384 * misc/syslog.c (closelog_internal): Likewise.
18385 (closelog): Likewise.
18386 * misc/ttyslot.c (ttyslot): Likewise.
18387 * misc/vhangup.c (vhangup): Likewise.
18388 * posix/fork.c (__fork): Likewise.
18389 * posix/getegid.c (__getegid): Likewise.
18390 * posix/geteuid.c (__geteuid): Likewise.
18391 * posix/getgid.c (__getgid): Likewise.
18392 * posix/getpid.c (__getpid): Likewise.
18393 * posix/getppid.c (__getppid): Likewise.
18394 * posix/getuid.c (__getuid): Likewise.
18395 * posix/pause.c (pause): Likewise.
18396 * posix/setpgrp.c (setpgrp): Likewise.
18397 * posix/setsid.c (__setsid): Likewise.
18398 * posix/test-vfork.c (noop): Likewise.
18399 * resolv/gethnamaddr.c (_endhtent): Likewise.
18400 (_gethtent): Likewise.
18401 (ht_endhostent): Likewise.
18402 (gethostent): Likewise.
18403 (dns_service): Likewise.
18404 * stdlib/drand48.c (drand48): Likewise.
18405 * stdlib/lrand48.c (lrand48): Likewise.
18406 * stdlib/mrand48.c (mrand48): Likewise.
18407 * stdlib/rand.c (rand): Likewise.
18408 * stdlib/random.c (__random): Likewise.
18409 * stdlib/setenv.c (clearenv): Likewise.
18410 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18411 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18412 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18413 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18414 (__get_nprocs): Likewise.
18415 (__get_phys_pages): Likewise.
18416 (__get_avphys_pages): Likewise.
18417 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18418 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18419 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18420 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18421 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18422 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18423 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18424 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18425 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18426 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18427 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18428 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18429 * sysdeps/posix/clock.c (clock): Likewise.
18430 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18431 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18432 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18433 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18434 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18435 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18436 (__get_nprocs_conf): Likewise.
18437 (__get_phys_pages): Likewise.
18438 (__get_avphys_pages): Likewise.
18439 * time/clock.c (clock): Likewise.
18440 * time/tzset.c (__tzname_max): Likewise.
18442 2013-06-07 Joseph Myers <joseph@codesourcery.com>
18444 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18445 (__bswap_32): Do not use "register".
18446 * crypt/crypt.c (_ufc_doit_r): Likewise.
18447 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18448 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18449 * gmon/gmon.c (__monstartup): Likewise.
18450 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18451 * hurd/hurdmalloc.c (more_memory): Likewise.
18452 (malloc): Likewise.
18454 (realloc): Likewise.
18455 (malloc_fork_prepare): Likewise.
18456 (malloc_fork_parent): Likewise.
18457 (malloc_fork_child): Likewise.
18458 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18459 (_svcauth_des): Likewise.
18460 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18461 * inet/inet_net.c (inet_network): Likewise.
18462 * inet/inet_netof.c (inet_netof): Likewise.
18463 * inet/rcmd.c (__validuser2_sa): Likewise.
18464 * io/fts.c (fts_open): Likewise.
18465 (fts_load): Likewise.
18466 (fts_close): Likewise.
18467 (fts_read): Likewise.
18468 (fts_children): Likewise.
18469 (fts_build): Likewise.
18470 (fts_stat): Likewise.
18471 (fts_sort): Likewise.
18472 (fts_alloc): Likewise.
18473 (fts_lfree): Likewise.
18474 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18475 (_IO_file_xsgetn): Likewise.
18476 (_IO_file_xsgetn_mmap): Likewise.
18477 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18478 (_IO_cookie_write): Likewise.
18479 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18480 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18481 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18482 * malloc/obstack.c (_obstack_begin): Likewise.
18483 (_obstack_begin_1): Likewise.
18484 (_obstack_newchunk): Likewise.
18485 (_obstack_allocated_p): Likewise.
18486 (obstack_free): Likewise.
18487 (_obstack_memory_used): Likewise.
18488 * misc/getttyent.c (getttynam): Likewise.
18489 (getttyent): Likewise.
18492 * misc/getusershell.c (initshells): Likewise.
18493 * misc/syslog.c (__vsyslog_chk): Likewise.
18494 * misc/ttyslot.c (ttyslot): Likewise.
18495 * nis/nis_hash.c (__nis_hash): Likewise.
18496 * posix/fnmatch_loop.c (FCT): Likewise.
18497 * posix/getconf.c (print_all): Likewise.
18499 * posix/getopt.c (exchange): Likewise.
18500 * posix/glob.c (globfree): Likewise.
18501 (prefix_array): Likewise.
18502 (__glob_pattern_type): Likewise.
18503 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18504 (NS_GET32): Likewise.
18505 (NS_PUT16): Likewise.
18506 (NS_PUT32): Likewise.
18507 * resolv/gethnamaddr.c (getanswer): Likewise.
18508 (gethostbyname2): Likewise.
18509 (gethostbyaddr): Likewise.
18510 (_gethtent): Likewise.
18511 (_gethtbyname2): Likewise.
18512 (_gethtbyaddr): Likewise.
18513 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18514 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18515 * resolv/res_init.c (__res_vinit): Likewise.
18516 (net_mask): Likewise.
18517 * resolv/res_mkquery.c (outchar): Likewise.
18519 * stdio-common/printf_fp.c (outchar): Likewise.
18521 * stdio-common/printf_fphex.c (outchar): Likewise.
18523 * stdio-common/printf_size.c (outchar): Likewise.
18525 * stdio-common/test_rdwr.c (main): Likewise.
18526 * stdio-common/tfformat.c (matches): Likewise.
18527 * stdio-common/vfprintf.c (outchar): Likewise.
18528 (printf_unknown): Likewise.
18529 (buffered_vfprintf): Likewise.
18530 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18531 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18532 (ReadFile): Likewise.
18533 * stdlib/qsort.c (SWAP): Likewise.
18534 (_quicksort): Likewise.
18535 * stdlib/setenv.c (__add_to_environ): Likewise.
18536 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18537 * stdlib/strtol_l.c (__strtol_l): Likewise.
18538 * stdlib/tst-strtod.c (main): Likewise.
18539 * stdlib/tst-strtol.c (main): Likewise.
18540 * stdlib/tst-strtoll.c (main): Likewise.
18541 * string/bits/string2.h (__strcmp_cc): Likewise.
18542 (__strcmp_cg): Likewise.
18543 (__strcspn_c1): Likewise.
18544 (__strcspn_c2): Likewise.
18545 (__strcspn_c3): Likewise.
18546 (__strspn_c1): Likewise.
18547 (__strspn_c2): Likewise.
18548 (__strspn_c3): Likewise.
18549 (__strsep_1c): Likewise.
18550 (__strsep_2c): Likewise.
18551 (__strsep_3c): Likewise.
18552 * string/memccpy.c (__memccpy): Likewise.
18553 * string/stpcpy.c (__stpcpy): Likewise.
18554 * string/strcmp.c (strcmp): Likewise.
18555 * string/strrchr.c (strrchr): Likewise.
18556 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18558 * sysdeps/mach/hurd/getcwd.c
18559 (_hurd_canonicalize_directory_name_internal): Likewise.
18560 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18561 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18562 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18563 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18564 Likewise, in both definitions.
18565 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18567 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18568 64] (__bswap_64): Likewise.
18569 * time/test_time.c (main): Likewise.
18570 * time/tzfile.c (__tzfile_read): Likewise.
18571 (__tzfile_compute): Likewise.
18572 * time/tzset.c (__tzset_parse_tz): Likewise.
18573 (tzset_internal): Likewise.
18574 (compute_change): Likewise.
18575 * wcsmbs/wcscat.c (__wcscat): Likewise.
18576 * wcsmbs/wcschr.c (wcschr): Likewise.
18577 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18578 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18579 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18580 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18581 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18582 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18583 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18584 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18585 * wcsmbs/wmemset.c (wmemset): Likewise.
18587 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18589 * scripts/config.guess: Update to version 2013-05-16.
18590 * scripts/config.sub: Update to version 2013-04-24.
18591 * scripts/install-sh: Update to version 2011-11-20.07.
18592 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18593 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18595 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18597 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18598 * elf/sln.c: Likewise.
18599 * hurd/hurd/ioctl.h: Likewise.
18600 * hurd/hurdmalloc.c: Likewise.
18601 * hurd/xattr.c: Likewise.
18602 * include/shlib-compat.h: Likewise.
18603 * inet/ruserpass.c: Likewise.
18604 * libio/iofgets_u.c: Likewise.
18605 * libio/iofgetws_u.c: Likewise.
18606 * locale/programs/ld-identification.c: Likewise.
18607 * locale/programs/ld-time.c: Likewise.
18608 * mach/msg-destroy.c: Likewise.
18609 * nss/nss_files/files-netgrp.c: Likewise.
18610 * resolv/res_data.c: Likewise.
18611 * soft-fp/op-1.h: Likewise.
18612 * soft-fp/op-2.h: Likewise.
18613 * soft-fp/op-4.h: Likewise.
18614 * soft-fp/op-common.h: Likewise.
18615 * stdio-common/printf_fphex.c: Likewise.
18616 * stdlib/strtod_l.c: Likewise.
18617 * sunrpc/rpc/clnt.h: Likewise.
18618 * sysdeps/generic/framestate.c: Likewise.
18619 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18620 * sysdeps/i386/bsd-setjmp.S: Likewise.
18621 * sysdeps/i386/__longjmp.S: Likewise.
18622 * sysdeps/i386/setjmp.S: Likewise.
18623 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18624 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18625 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18626 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18627 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18628 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18629 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18630 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18631 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18632 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18633 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18634 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18635 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18636 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18637 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18638 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18639 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18640 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18641 * sysdeps/ieee754/support.c: Likewise.
18642 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18643 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18644 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18645 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18646 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18647 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18648 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18649 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18650 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18651 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18652 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18653 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18654 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18655 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18656 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18657 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18658 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18661 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18663 * posix/transbug.c: Remove executable mode.
18665 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18667 * crypt/speeds.c: Remove trailing whitespace.
18668 * dlfcn/default.c: Likewise.
18669 * elf/ifuncdep2.c: Likewise.
18670 * elf/ifuncmain1.c: Likewise.
18671 * elf/ifuncmain1vis.c: Likewise.
18672 * elf/testobj.h: Likewise.
18673 * elf/tst-stackguard1.c: Likewise.
18674 * gmon/sys/gmon.h: Likewise.
18675 * hurd/hurdmsg.c: Likewise.
18676 * hurd/new-fd.c: Likewise.
18677 * hurd/ports-get.c: Likewise.
18678 * iconvdata/ibm1008_420.c: Likewise.
18679 * inet/tst-getni1.c: Likewise.
18680 * inet/tst-getni2.c: Likewise.
18681 * libio/ioungetc.c: Likewise.
18682 * libio/wfiledoalloc.c: Likewise.
18683 * manual/libm-err-tab.pl: Likewise.
18684 * math/w_dremf.c: Likewise.
18685 * misc/ftruncate.c: Likewise.
18686 * posix/bug-glob2.c: Likewise.
18687 * posix/tst-pcre.c: Likewise.
18688 * posix/wait4.c: Likewise.
18689 * resolv/README: Likewise.
18690 * resolv/res_debug.h: Likewise.
18691 * resolv/tst-inet_ntop.c: Likewise.
18692 * setjmp/bug269-setjmp.c: Likewise.
18693 * soft-fp/extended.h: Likewise.
18694 * soft-fp/op-1.h: Likewise.
18695 * soft-fp/op-2.h: Likewise.
18696 * soft-fp/op-4.h: Likewise.
18697 * soft-fp/op-8.h: Likewise.
18698 * soft-fp/testit.c: Likewise.
18699 * stdio-common/bug16.c: Likewise.
18700 * stdlib/random.c: Likewise.
18701 * sunrpc/rpcsvc/rquota.x: Likewise.
18702 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18703 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18704 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18705 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18706 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18707 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18708 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18709 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18710 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18711 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18712 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18713 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18714 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18715 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18716 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18717 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18718 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18719 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18720 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18721 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18722 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18723 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18724 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18725 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18726 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18727 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18728 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18729 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18730 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18731 * sysdeps/ieee754/s_lib_version.c: Likewise.
18732 * sysdeps/mach/hurd/check_fds.c: Likewise.
18733 * sysdeps/mach/hurd/getsockname.c: Likewise.
18734 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18735 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18736 * sysdeps/powerpc/bits/link.h: Likewise.
18737 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18738 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18739 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18740 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18741 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18742 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18743 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18744 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18745 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18746 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18747 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18748 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18749 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18750 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18751 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18752 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18753 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18754 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18755 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18756 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18757 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18758 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18759 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18760 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18761 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18762 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18763 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18764 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18765 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18766 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18767 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18768 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18769 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18770 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18771 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18772 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18773 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18774 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18775 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18776 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18777 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18778 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18779 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18780 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18781 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18782 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18783 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18784 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18785 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18786 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18787 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18788 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18789 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18790 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18791 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18792 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18793 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18794 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18795 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18796 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18797 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18798 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18799 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18800 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18801 * sysdeps/powerpc/sysdep.h: Likewise.
18802 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18803 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18804 * sysdeps/sh/dl-trampoline.S: Likewise.
18805 * sysdeps/sh/memset.S: Likewise.
18806 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18807 * sysdeps/sh/strlen.S: Likewise.
18808 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18809 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18810 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18811 * sysdeps/sparc/sparc32/rem.S: Likewise.
18812 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18813 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18814 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18815 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18816 * sysdeps/sparc/sparc32/urem.S: Likewise.
18817 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18818 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18819 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18820 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18821 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18822 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18823 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18824 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18825 * sysdeps/unix/bsd/times.c: Likewise.
18826 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18827 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18831 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18832 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18833 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18834 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18835 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18836 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18837 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18838 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18839 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18840 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18841 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18842 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18843 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18844 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18845 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18846 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18847 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18848 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18849 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18850 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18851 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18852 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18853 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18854 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18855 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18856 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18857 * sysdeps/x86_64/strcspn.S: Likewise.
18859 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18861 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18862 generated file. Regenerate properly from gen-translit.pl.
18863 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18864 locale/C-translit.h.
18866 2013-06-05 Andreas Schwab <schwab@suse.de>
18869 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18870 week as 6 instead of -1.
18871 * time/tst-strptime.c (day_tests): Add test case.
18873 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18875 * sysdeps/generic/math_private.h
18876 (libc_feholdexcept_setround_53bit): Replace with
18877 libc_feholdsetround_53bit.
18878 (libc_feupdateenv_53bit): Replace with
18879 libc_feresetround_53bit.
18880 (SET_RESTORE_ROUND_53BIT): Adjust.
18882 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18884 * string/test-strchrnul.c: Add copyright header.
18886 * posix/tst-getaddrinfo4.c: Increase test timeout.
18888 2013-06-03 Carlos O'Donell <carlos@redhat.com>
18891 * math/libm-test.inc (MAX_EXP): Remove
18893 (ulp): Use MIN_EXP - MANT_DIG.
18894 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18896 2013-05-31 Carlos O'Donell <carlos@redhat.com>
18898 * po/be.po: Revert last change.
18899 * po/zh_CN.po: Likewise.
18900 * po/header.pot: Likewise.
18902 2013-05-31 Joseph Myers <joseph@codesourcery.com>
18904 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18905 link-libc-deps to empty as target-specific variable.
18906 * Makerules (link-libc-args): New variable.
18907 (libc-for-link): Likewise.
18908 (link-libc-deps): Likewise.
18909 (lib%.so): Depend on $(link-libc-deps). Link with
18911 (build-module): Link with $(link-libc-args).
18912 (build-module-asneeded): Likewise.
18913 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18915 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18916 target-specific variable.
18917 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18918 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18919 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18921 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18923 ($(objpfx)libpcprofile.so): Likewise.
18924 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18926 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18927 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18928 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18930 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18931 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18932 * login/Makefile ($(objpfx)libutil.so): Likewise.
18933 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18934 * math/Makefile ($(objpfx)libm.so): Likewise.
18935 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18936 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18937 variable instead of depending directly on libc.
18938 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18939 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18941 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18943 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18944 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18945 ($(objpfx)libanl.so): Likewise.
18946 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18948 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18950 * sysdeps/i386/fpu/Makefile: Remove file.
18951 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18952 ($(objpfx)libm.so): Remove dependency on ld.so.
18954 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
18957 * nis/yp_xdr.c (XDRMAXNAME): Define.
18958 (XDRMAXRECORD): Define.
18959 (xdr_domainname): Use XDRMAXNAME.
18960 (xdr_mapname): Likewise.
18961 (xdr_peername): Likewise.
18962 (xdr_keydat): Use XDRMAXRECORD.
18963 (xdr_valdat): Likewise.
18965 2013-05-30 Jeff Law <law@redhat.com>
18968 * manual/errno.texi (ESTALE): Update to account for more than
18969 just NFS file systems.
18970 * sysdeps/gnu/errlist.c: Regenerated.
18972 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18975 * elf/Makefile (tests): Add tst-null-argv.
18976 (modules-names): Add tst-null-argv-lib.
18977 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18978 (tst-null-argv-ENV): Set environment for tst-null-argv.
18979 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18980 (RTLD_PROGNAME): New macro.
18981 * elf/tst-null-argv.c: New test case.
18982 * elf/tst-null-argv-lib.c: Library for test case.
18983 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18984 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18985 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18986 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18987 * elf/dl-init.c (call_init): Likewise.
18988 (_dl_init): Likewise.
18989 * elf/dl-load.c (print_search_path): Likewise.
18990 (_dl_map_object): Likewise.
18991 * elf/dl-lookup.c (do_lookup_x): Likewise.
18992 (add_dependency): Likewise.
18993 (_dl_lookup_symbol_x): Likewise.
18994 (_dl_debug_bindings): Likewise.
18995 * elf/dl-open.c (_dl_show_scope): Likewise.
18996 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18997 * elf/dl-version.c (match_symbol): Likewise.
18998 (_dl_check_map_versions): Likewise.
18999 * elf/rtld.c (dl_main): Likewise.
19000 (print_unresolved): Use RTLD_PROGNAME.
19001 (print_missing_version): Likewise.
19002 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19003 (elf_machine_rela): Likewise.
19004 * sysdeps/powerpc/powerpc32/dl-machine.c
19005 (__process_machine_rela): Likewise.
19006 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19008 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19010 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19012 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19013 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19015 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19017 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19019 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19021 * po/be.po: Add descriptive title.
19022 * po/zh_CN.po: Likewise.
19023 * po/header.pot: Likewise.
19025 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19027 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19029 (enlarge_archive): Likewise.
19031 2013-05-28 Ben North <ben@redfrontdoor.org>
19033 * manual/arith.texi (frexp): It is the magnitude of the return
19034 value which lies in [0.5, 1), not the return value itself.
19036 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19040 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19042 * stdio-common/bug26.c (main): Correct fscanf template.
19044 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19045 declare _dl_skip_args.
19047 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19050 * manual/platform.texi: Add missing @end deftypefun.
19052 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19055 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19056 bit of mantissa of 2^16382.
19057 * math/libm-test.inc (hypot_test_data): Add more tests.
19059 * math/libm-test.inc: Add drem and pow10 to list of tested
19061 (pow10_test): New function.
19062 (drem_test): Likewise.
19063 (drem_test_tonearest): Likewise.
19064 (drem_test_towardzero): Likewise.
19065 (drem_test_downward): Likewise.
19066 (drem_test_upward): Likewise.
19067 (main): Call the new functions.
19069 * math/libm-test.inc (finite_test_data): Remove.
19070 (finite_test): Run tests from isfinite_test_data.
19071 (gamma_test_data): Remove.
19072 (gamma_test): Run tests from lgamma_test_data.
19073 * sysdeps/i386/fpu/libm-test-ulps: Update.
19074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19076 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19078 * manual/platform.texi: Add PowerPC PPR function set documentation.
19079 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19082 2013-05-24 Carlos O'Donell <carlos@redhat.com>
19084 * math/libm-test.inc (MAX_EXP): Define.
19086 (ulp): New function.
19087 (check_float_internal): Use ULPDIFF.
19088 (cpow_test): Disable failing test.
19089 (check_ulp): Test ulp() implemetnation.
19090 (main): Call check_ulp before starting tests.
19092 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19094 * math/gen-libm-test.pl (generate_testfile): Do not handle
19095 START_DATA and END_DATA.
19096 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19098 (acos_tonearest_test_data): Likewise.
19099 (acos_towardzero_test_data): Likewise.
19100 (acos_downward_test_data): Likewise.
19101 (acos_upward_test_data): Likewise.
19102 (acosh_test_data): Likewise.
19103 (asin_test_data): Likewise.
19104 (asin_tonearest_test_data): Likewise.
19105 (asin_towardzero_test_data): Likewise.
19106 (asin_downward_test_data): Likewise.
19107 (asin_upward_test_data): Likewise.
19108 (asinh_test_data): Likewise.
19109 (atan_test_data): Likewise.
19110 (atanh_test_data): Likewise.
19111 (atan2_test_data): Likewise.
19112 (cabs_test_data): Likewise.
19113 (cacos_test_data): Likewise.
19114 (cacosh_test_data): Likewise.
19115 (carg_test_data): Likewise.
19116 (casin_test_data): Likewise.
19117 (casinh_test_data): Likewise.
19118 (catan_test_data): Likewise.
19119 (catanh_test_data): Likewise.
19120 (cbrt_test_data): Likewise.
19121 (ccos_test_data): Likewise.
19122 (ccosh_test_data): Likewise.
19123 (ceil_test_data): Likewise.
19124 (cexp_test_data): Likewise.
19125 (cimag_test_data): Likewise.
19126 (clog_test_data): Likewise.
19127 (clog10_test_data): Likewise.
19128 (conj_test_data): Likewise.
19129 (copysign_test_data): Likewise.
19130 (cos_test_data): Likewise.
19131 (cos_tonearest_test_data): Likewise.
19132 (cos_towardzero_test_data): Likewise.
19133 (cos_downward_test_data): Likewise.
19134 (cos_upward_test_data): Likewise.
19135 (cosh_test_data): Likewise.
19136 (cosh_tonearest_test_data): Likewise.
19137 (cosh_towardzero_test_data): Likewise.
19138 (cosh_downward_test_data): Likewise.
19139 (cosh_upward_test_data): Likewise.
19140 (cpow_test_data): Likewise.
19141 (cproj_test_data): Likewise.
19142 (creal_test_data): Likewise.
19143 (csin_test_data): Likewise.
19144 (csinh_test_data): Likewise.
19145 (csqrt_test_data): Likewise.
19146 (ctan_test_data): Likewise.
19147 (ctan_tonearest_test_data): Likewise.
19148 (ctan_towardzero_test_data): Likewise.
19149 (ctan_downward_test_data): Likewise.
19150 (ctan_upward_test_data): Likewise.
19151 (ctanh_test_data): Likewise.
19152 (ctanh_tonearest_test_data): Likewise.
19153 (ctanh_towardzero_test_data): Likewise.
19154 (ctanh_downward_test_data): Likewise.
19155 (ctanh_upward_test_data): Likewise.
19156 (erf_test_data): Likewise.
19157 (erfc_test_data): Likewise.
19158 (exp_test_data): Likewise.
19159 (exp_tonearest_test_data): Likewise.
19160 (exp_towardzero_test_data): Likewise.
19161 (exp_downward_test_data): Likewise.
19162 (exp_upward_test_data): Likewise.
19163 (exp10_test_data): Likewise.
19164 (exp2_test_data): Likewise.
19165 (expm1_test_data): Likewise.
19166 (fabs_test_data): Likewise.
19167 (fdim_test_data): Likewise.
19168 (finite_test_data): Likewise.
19169 (floor_test_data): Likewise.
19170 (fma_test_data): Likewise.
19171 (fma_towardzero_test_data): Likewise.
19172 (fma_downward_test_data): Likewise.
19173 (fma_upward_test_data): Likewise.
19174 (fmax_test_data): Likewise.
19175 (fmin_test_data): Likewise.
19176 (fmod_test_data): Likewise.
19177 (fpclassify_test_data): Likewise.
19178 (frexp_test_data): Likewise.
19179 (gamma_test_data): Likewise.
19180 (hypot_test_data): Likewise.
19181 (ilogb_test_data): Likewise.
19182 (isfinite_test_data): Likewise.
19183 (isgreater_test_data): Likewise.
19184 (isgreaterequal_test_data): Likewise.
19185 (isinf_test_data): Likewise.
19186 (isless_test_data): Likewise.
19187 (islessequal_test_data): Likewise.
19188 (islessgreater_test_data): Likewise.
19189 (isnan_test_data): Likewise.
19190 (isnormal_test_data): Likewise.
19191 (issignaling_test_data): Likewise.
19192 (isunordered_test_data): Likewise.
19193 (j0_test_data): Likewise.
19194 (j1_test_data): Likewise.
19195 (jn_test_data): Likewise.
19196 (ldexp_test_data): Likewise.
19197 (lgamma_test_data): Likewise.
19198 (lrint_test_data): Likewise.
19199 (lrint_tonearest_test_data): Likewise.
19200 (lrint_towardzero_test_data): Likewise.
19201 (lrint_downward_test_data): Likewise.
19202 (lrint_upward_test_data): Likewise.
19203 (llrint_test_data): Likewise.
19204 (llrint_tonearest_test_data): Likewise.
19205 (llrint_towardzero_test_data): Likewise.
19206 (llrint_downward_test_data): Likewise.
19207 (llrint_upward_test_data): Likewise.
19208 (log_test_data): Likewise.
19209 (log10_test_data): Likewise.
19210 (log1p_test_data): Likewise.
19211 (log2_test_data): Likewise.
19212 (logb_test_data): Likewise.
19213 (logb_downward_test_data): Likewise.
19214 (lround_test_data): Likewise.
19215 (llround_test_data): Likewise.
19216 (modf_test_data): Likewise.
19217 (nearbyint_test_data): Likewise.
19218 (nextafter_test_data): Likewise.
19219 (nexttoward_test_data): Likewise.
19220 (pow_test_data): Likewise.
19221 (pow_tonearest_test_data): Likewise.
19222 (pow_towardzero_test_data): Likewise.
19223 (pow_downward_test_data): Likewise.
19224 (pow_upward_test_data): Likewise.
19225 (remainder_test_data): Likewise.
19226 (remainder_tonearest_test_data): Likewise.
19227 (remainder_towardzero_test_data): Likewise.
19228 (remainder_downward_test_data): Likewise.
19229 (remainder_upward_test_data): Likewise.
19230 (remquo_test_data): Likewise.
19231 (rint_test_data): Likewise.
19232 (rint_tonearest_test_data): Likewise.
19233 (rint_towardzero_test_data): Likewise.
19234 (rint_downward_test_data): Likewise.
19235 (rint_upward_test_data): Likewise.
19236 (round_test_data): Likewise.
19237 (scalb_test_data): Likewise.
19238 (scalbn_test_data): Likewise.
19239 (scalbln_test_data): Likewise.
19240 (signbit_test_data): Likewise.
19241 (sin_test_data): Likewise.
19242 (sin_tonearest_test_data): Likewise.
19243 (sin_towardzero_test_data): Likewise.
19244 (sin_downward_test_data): Likewise.
19245 (sin_upward_test_data): Likewise.
19246 (sincos_test_data): Likewise.
19247 (sinh_test_data): Likewise.
19248 (sinh_tonearest_test_data): Likewise.
19249 (sinh_towardzero_test_data): Likewise.
19250 (sinh_downward_test_data): Likewise.
19251 (sinh_upward_test_data): Likewise.
19252 (sqrt_test_data): Likewise.
19253 (tan_test_data): Likewise.
19254 (tan_tonearest_test_data): Likewise.
19255 (tan_towardzero_test_data): Likewise.
19256 (tan_downward_test_data): Likewise.
19257 (tan_upward_test_data): Likewise.
19258 (tanh_test_data): Likewise.
19259 (tgamma_test_data): Likewise.
19260 (trunc_test_data): Likewise.
19261 (y0_test_data): Likewise.
19262 (y1_test_data): Likewise.
19263 (yn_test_data): Likewise.
19264 (significand_test_data): Likewise.
19266 * math/gen-libm-test.pl (@functions): Remove variable.
19267 (generate_testfile): Don't handle START and END lines.
19268 * math/libm-test.inc (START): New macro.
19270 (END_COMPLEX): Likewise.
19271 (acos_test): Use END macro without arguments.
19272 (acos_test_tonearest): Likewise.
19273 (acos_test_towardzero): Likewise.
19274 (acos_test_downward): Likewise.
19275 (acos_test_upward): Likewise.
19276 (acosh_test): Likewise.
19277 (asin_test): Likewise.
19278 (asin_test_tonearest): Likewise.
19279 (asin_test_towardzero): Likewise.
19280 (asin_test_downward): Likewise.
19281 (asin_test_upward): Likewise.
19282 (asinh_test): Likewise.
19283 (atan_test): Likewise.
19284 (atanh_test): Likewise.
19285 (atan2_test): Likewise.
19286 (cabs_test): Likewise.
19287 (cacos_test): Use END_COMPLEX macro without arguments.
19288 (cacosh_test): Likewise.
19289 (carg_test): Use END macro without arguments.
19290 (casin_test): Use END_COMPLEX macro without arguments.
19291 (casinh_test): Likewise.
19292 (catan_test): Likewise.
19293 (catanh_test): Likewise.
19294 (cbrt_test): Use END macro without arguments.
19295 (ccos_test): Use END_COMPLEX macro without arguments.
19296 (ccosh_test): Likewise.
19297 (ceil_test): Use END macro without arguments.
19298 (cexp_test): Use END_COMPLEX macro without arguments.
19299 (cimag_test): Use END macro without arguments.
19300 (clog_test): Use END_COMPLEX macro without arguments.
19301 (clog10_test): Likewise.
19302 (conj_test): Likewise.
19303 (copysign_test): Use END macro without arguments.
19304 (cos_test): Likewise.
19305 (cos_test_tonearest): Likewise.
19306 (cos_test_towardzero): Likewise.
19307 (cos_test_downward): Likewise.
19308 (cos_test_upward): Likewise.
19309 (cosh_test): Likewise.
19310 (cosh_test_tonearest): Likewise.
19311 (cosh_test_towardzero): Likewise.
19312 (cosh_test_downward): Likewise.
19313 (cosh_test_upward): Likewise.
19314 (cpow_test): Use END_COMPLEX macro without arguments.
19315 (cproj_test): Likewise.
19316 (creal_test): Use END macro without arguments.
19317 (csin_test): Use END_COMPLEX macro without arguments.
19318 (csinh_test): Likewise.
19319 (csqrt_test): Likewise.
19320 (ctan_test): Likewise.
19321 (ctan_test_tonearest): Likewise.
19322 (ctan_test_towardzero): Likewise.
19323 (ctan_test_downward): Likewise.
19324 (ctan_test_upward): Likewise.
19325 (ctanh_test): Likewise.
19326 (ctanh_test_tonearest): Likewise.
19327 (ctanh_test_towardzero): Likewise.
19328 (ctanh_test_downward): Likewise.
19329 (ctanh_test_upward): Likewise.
19330 (erf_test): Use END macro without arguments.
19331 (erfc_test): Likewise.
19332 (exp_test): Likewise.
19333 (exp_test_tonearest): Likewise.
19334 (exp_test_towardzero): Likewise.
19335 (exp_test_downward): Likewise.
19336 (exp_test_upward): Likewise.
19337 (exp10_test): Likewise.
19338 (exp2_test): Likewise.
19339 (expm1_test): Likewise.
19340 (fabs_test): Likewise.
19341 (fdim_test): Likewise.
19342 (finite_test): Likewise.
19343 (floor_test): Likewise.
19344 (fma_test): Likewise.
19345 (fma_test_towardzero): Likewise.
19346 (fma_test_downward): Likewise.
19347 (fma_test_upward): Likewise.
19348 (fmax_test): Likewise.
19349 (fmin_test): Likewise.
19350 (fmod_test): Likewise.
19351 (fpclassify_test): Likewise.
19352 (frexp_test): Likewise.
19353 (gamma_test): Likewise.
19354 (hypot_test): Likewise.
19355 (ilogb_test): Likewise.
19356 (isfinite_test): Likewise.
19357 (isgreater_test): Likewise.
19358 (isgreaterequal_test): Likewise.
19359 (isinf_test): Likewise.
19360 (isless_test): Likewise.
19361 (islessequal_test): Likewise.
19362 (islessgreater_test): Likewise.
19363 (isnan_test): Likewise.
19364 (isnormal_test): Likewise.
19365 (issignaling_test): Likewise.
19366 (isunordered_test): Likewise.
19367 (j0_test): Likewise.
19368 (j1_test): Likewise.
19369 (jn_test): Likewise.
19370 (ldexp_test): Likewise.
19371 (lgamma_test): Likewise.
19372 (lrint_test): Likewise.
19373 (lrint_test_tonearest): Likewise.
19374 (lrint_test_towardzero): Likewise.
19375 (lrint_test_downward): Likewise.
19376 (lrint_test_upward): Likewise.
19377 (llrint_test): Likewise.
19378 (llrint_test_tonearest): Likewise.
19379 (llrint_test_towardzero): Likewise.
19380 (llrint_test_downward): Likewise.
19381 (llrint_test_upward): Likewise.
19382 (log_test): Likewise.
19383 (log10_test): Likewise.
19384 (log1p_test): Likewise.
19385 (log2_test): Likewise.
19386 (logb_test): Likewise.
19387 (logb_test_downward): Likewise.
19388 (lround_test): Likewise.
19389 (llround_test): Likewise.
19390 (modf_test): Likewise.
19391 (nearbyint_test): Likewise.
19392 (nextafter_test): Likewise.
19393 (nexttoward_test): Likewise.
19394 (pow_test): Likewise.
19395 (pow_test_tonearest): Likewise.
19396 (pow_test_towardzero): Likewise.
19397 (pow_test_downward): Likewise.
19398 (pow_test_upward): Likewise.
19399 (remainder_test): Likewise.
19400 (remainder_test_tonearest): Likewise.
19401 (remainder_test_towardzero): Likewise.
19402 (remainder_test_downward): Likewise.
19403 (remainder_test_upward): Likewise.
19404 (remquo_test): Likewise.
19405 (rint_test): Likewise.
19406 (rint_test_tonearest): Likewise.
19407 (rint_test_towardzero): Likewise.
19408 (rint_test_downward): Likewise.
19409 (rint_test_upward): Likewise.
19410 (round_test): Likewise.
19411 (scalb_test): Likewise.
19412 (scalbn_test): Likewise.
19413 (scalbln_test): Likewise.
19414 (signbit_test): Likewise.
19415 (sin_test): Likewise.
19416 (sin_test_tonearest): Likewise.
19417 (sin_test_towardzero): Likewise.
19418 (sin_test_downward): Likewise.
19419 (sin_test_upward): Likewise.
19420 (sincos_test): Likewise.
19421 (sinh_test): Likewise.
19422 (sinh_test_tonearest): Likewise.
19423 (sinh_test_towardzero): Likewise.
19424 (sinh_test_downward): Likewise.
19425 (sinh_test_upward): Likewise.
19426 (sqrt_test): Likewise.
19427 (tan_test): Likewise.
19428 (tan_test_tonearest): Likewise.
19429 (tan_test_towardzero): Likewise.
19430 (tan_test_downward): Likewise.
19431 (tan_test_upward): Likewise.
19432 (tanh_test): Likewise.
19433 (tgamma_test): Likewise.
19434 (trunc_test): Likewise.
19435 (y0_test): Likewise.
19436 (y1_test): Likewise.
19437 (yn_test): Likewise.
19438 (significand_test): Likewise.
19440 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
19443 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19445 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19448 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19449 __ppc_mdoio and __ppc_mdoom.
19450 * manual/platform.texi: Document new functions __ppc_yield,
19451 __ppc_mdoio and __ppc_mdoom.
19453 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19455 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19456 (main): Mention "tls" pseudo-hwcap is legacy.
19457 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19459 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19461 * math/gen-libm-test.pl (parse_args): Output only string of
19462 arguments as text for test name, not full call or descriptions of
19463 tests for extra outputs.
19464 (generate_testfile): Do not pass function name to parse_args.
19465 Generate this_func variable from START.
19466 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19468 (struct test_ff_f_data): Likewise.
19469 (test_ff_f_data_nexttoward): Likewise.
19470 (struct test_fi_f_data): Likewise.
19471 (struct test_fl_f_data): Likewise.
19472 (struct test_if_f_data): Likewise.
19473 (struct test_fff_f_data): Likewise.
19474 (struct test_c_f_data): Likewise.
19475 (struct test_f_f1_data): Likewise. Remove field extra_name.
19476 (struct test_fF_f1_data): Likewise.
19477 (struct test_ffI_f1_data): Likewise.
19478 (struct test_c_c_data): Rename test_name field to arg_str.
19479 (struct test_cc_c_data): Likewise.
19480 (struct test_f_i_data): Likewise.
19481 (struct test_ff_i_data): Likewise.
19482 (struct test_f_l_data): Likewise.
19483 (struct test_f_L_data): Likewise.
19484 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19486 (COMMON_TEST_SETUP): New macro.
19487 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19488 (COMMON_TEST_CLEANUP): Likewise.
19489 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19490 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19492 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19493 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19495 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19496 (RUN_TEST_fff_f): Take argument string. Call new setup and
19498 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19499 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19501 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19502 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19504 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19505 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19507 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19508 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19510 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19511 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19513 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19514 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19516 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19517 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19519 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19520 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19522 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19523 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19525 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19526 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19528 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19529 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19531 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19532 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19534 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19535 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19537 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19538 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19540 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19541 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19543 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19545 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19547 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19548 to _sifields.sigfault.
19549 (si_addr_lsb): Define new macro.
19550 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19551 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19552 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19554 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19557 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19559 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19561 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19562 loading the domain.
19564 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19566 * math/gen-libm-test.pl (parse_args): Do not include expected
19567 result in test name.
19568 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19569 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19570 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19571 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19572 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19575 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19577 * benchtests/Makefile: Sort function entries.
19579 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19580 tanh, asinh, acosh, atanh.
19581 * benchtests/acos-inputs: New file.
19582 * benchtests/acosh-inputs: New file.
19583 * benchtests/asin-inputs: New file.
19584 * benchtests/asinh-inputs: New file.
19585 * benchtests/atanh-inputs: New file.
19586 * benchtests/cosh-inputs: New file.
19587 * benchtests/log-inputs: New file.
19588 * benchtests/sinh-inputs: New file.
19589 * benchtests/tanh-inputs: New file.
19591 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19594 * posix/tst-getaddrinfo4.c: New test.
19595 * posix/Makefile (tests): Add it.
19597 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19600 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19601 when no services were used.
19602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19603 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19605 2013-05-21 Andreas Schwab <schwab@suse.de>
19608 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19609 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19611 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19612 redundant variable declarations and reallocation of buffer when
19613 parsing as IPv6 address. Always set NSS status when called from
19614 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19615 buffer too small. Correct computation of needed size.
19616 * nss/Makefile (tests): Add test-digits-dots.
19617 * nss/test-digits-dots.c: New test.
19619 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19621 * benchtests/Makefile: Remove instructions for adding
19623 * benchtests/README: New file to explain how to execute and
19624 enhance the benchmark tests.
19626 2013-05-21 Andreas Schwab <schwab@suse.de>
19629 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19630 * setjmp/tst-sigsetjmp.c: New test.
19632 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19634 * sysdeps/x86_64/memset.S (memset): New implementation.
19635 (__bzero): Likewise.
19636 (__memset_tail): New function.
19638 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19640 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19641 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19642 __memcpy_sse2_unaligned ifunc selection.
19643 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19644 Add memcpy-sse2-unaligned.S.
19645 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19646 Add: __memcpy_sse2_unaligned.
19648 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19651 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19652 math_force_eval before restoring floating-point envrionment.
19653 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19654 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19656 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19658 (__nearbyintl): Use math_force_eval before restoring
19659 floating-point environment.
19660 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19662 * math/gen-libm-test.pl (special_functions): Remove.
19663 (parse_args): Don't handle TEST_extra. Handle functions with no
19665 * math/libm-test.inc (struct test_sincos_data): Replace with
19666 struct test_fFF_11_data.
19667 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19668 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19669 (sincos_test_data): Change element type to struct
19670 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19671 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19672 RUN_TEST_LOOP_sincos.
19673 * math/README.libm-test: Don't mention special handling of
19674 individual functions.
19675 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19676 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19677 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19678 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19679 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19682 * math/gen-libm-test.pl (get_variable): Remove function.
19683 (parse_args): Don't show pointer parameters to call in test
19684 names. Use "extra output N" in test names for extra outputs
19685 rather than naming variables.
19687 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19690 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19691 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19692 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19694 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19696 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19699 * math/gen-libm-test.pl (@tests): Remove variable.
19700 ($count): Likewise.
19701 (new_test): Remove function.
19702 (show_exceptions): New function.
19703 (special_functions): Use show_exceptions instead of new_test.
19704 (parse_args): Likewise.
19705 (generate_testfile): Pass only function name in generated call to
19706 print_max_error or print_complex_max_error.
19707 (get_ulps): Do not handle complex tests specially.
19708 (output_test): Rename to ...
19709 (get_all_ulps_for_test): ... this. Return a string rather than
19710 printing to a file. Require ulps to be present.
19711 (output_ulps): Generate arrays rather than #defines.
19712 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19713 (struct ulp_data): New type.
19714 (BUILD_COMPLEX_ULP): Remove macro.
19715 (compare_ulp_data): New function.
19716 (find_ulps): Likewise.
19717 (find_test_ulps): Likewise.
19718 (find_function_ulps): Likewise.
19719 (find_complex_function_ulps): Likewise.
19720 (print_max_error): Determine allowed ulps using
19721 find_function_ulps.
19722 (print_complex_max_error): Determine allowed ulps using
19723 find_complex_function_ulps.
19724 (check_float_internal): Determine max ulps using find_test_ulps.
19725 (check_float): Do not take max_ulp parameter. Update call to
19726 check_float_internal.
19727 (check_complex): Likewise.
19728 (check_int): Do not take max_ulp parameter.
19729 (check_long): Likewise.
19730 (check_bool): Likewise.
19731 (check_longlong): Likewise.
19732 (struct test_f_f_data): Remove max_ulp field.
19733 (struct test_ff_f_data): Likewise.
19734 (struct test_ff_f_data_nexttoward): Likewise.
19735 (struct test_fi_f_data): Likewise.
19736 (struct test_fl_f_data): Likewise.
19737 (struct test_if_f_data): Likewise.
19738 (struct test_fff_f_data): Likewise.
19739 (struct test_c_f_data): Likewise.
19740 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19741 (struct test_fF_f1_data): Likewise.
19742 (struct test_ffI_f1_data): Likewise.
19743 (struct test_c_c_data): Remove max_ulp field.
19744 (struct test_cc_c_data): Likewise.
19745 (struct test_f_i_data): Likewise.
19746 (struct test_ff_i_data): Likewise.
19747 (struct test_f_l_data): Likewise.
19748 (struct test_f_L_data): Likewise.
19749 (struct test_sincos_data): Likewise.
19750 (RUN_TEST_f_f): Do not handle ulps.
19751 (RUN_TEST_LOOP_f_f): Likewise.
19752 (RUN_TEST_2_f): Likewise.
19753 (RUN_TEST_LOOP_2_f): Likewise.
19754 (RUN_TEST_fff_f): Likewise.
19755 (RUN_TEST_LOOP_fff_f): Likewise.
19756 (RUN_TEST_c_f): Likewise.
19757 (RUN_TEST_LOOP_c_f): Likewise.
19758 (RUN_TEST_f_f1): Likewise.
19759 (RUN_TEST_LOOP_f_f1): Likewise.
19760 (RUN_TEST_fF_f1): Likewise.
19761 (RUN_TEST_LOOP_fF_f1): Likewise.
19762 (RUN_TEST_fI_f1): Likewise.
19763 (RUN_TEST_LOOP_fI_f1): Likewise.
19764 (RUN_TEST_ffI_f1): Likewise.
19765 (RUN_TEST_LOOP_ffI_f1): Likewise.
19766 (RUN_TEST_c_c): Likewise.
19767 (RUN_TEST_LOOP_c_c): Likewise.
19768 (RUN_TEST_cc_c): Likewise.
19769 (RUN_TEST_LOOP_cc_c): Likewise.
19770 (RUN_TEST_f_i): Likewise.
19771 (RUN_TEST_LOOP_f_i): Likewise.
19772 (RUN_TEST_f_i_tg): Likewise.
19773 (RUN_TEST_LOOP_f_i_tg): Likewise.
19774 (RUN_TEST_ff_i_tg): Likewise.
19775 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19776 (RUN_TEST_f_b): Likewise.
19777 (RUN_TEST_LOOP_f_b): Likewise.
19778 (RUN_TEST_f_b_tg): Likewise.
19779 (RUN_TEST_LOOP_f_b_tg): Likewise.
19780 (RUN_TEST_f_l): Likewise.
19781 (RUN_TEST_LOOP_f_l): Likewise.
19782 (RUN_TEST_f_L): Likewise.
19783 (RUN_TEST_LOOP_f_L): Likewise.
19784 (RUN_TEST_sincos): Likewise.
19785 (RUN_TEST_LOOP_sincos): Likewise.
19787 2013-05-17 Joseph Myers <joseph@codesourcery.com>
19791 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19792 main case of finite arguments, set rounding mode to FE_TONEAREST
19793 and discard exceptions.
19794 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19796 (remainder_tonearest_test_data): New variable.
19797 (remainder_test_tonearest): New function.
19798 (remainder_towardzero_test_data): New variable.
19799 (remainder_test_towardzero): New function.
19800 (remainder_downward_test_data): New variable.
19801 (remainder_test_downward): New function.
19802 (remainder_upward_test_data): New variable.
19803 (remainder_test_upward): New function.
19804 (main): Call the new test functions.
19806 * math/libm-test.inc (struct test_f_f1_data): Remove field
19808 (struct test_fF_f1_data): Likewise.
19809 (struct test_ffI_f1_data): Likewise.
19810 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19811 based on value of EXTRA_EXPECTED.
19812 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19813 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19814 EXTRA_VAR based on value of EXTRA_EXPECTED.
19815 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19816 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19817 EXTRA_VAR based on value of EXTRA_EXPECTED.
19818 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19819 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19820 EXTRA_VAR based on value of EXTRA_EXPECTED.
19821 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19822 * math/gen-libm-test.pl (parse_args): Don't output initializers
19823 for extra output values.
19825 * math/libm-test.inc (check_int): Expect result to be exactly
19826 equal to expected value and do not handle ulps.
19827 (check_long): Likewise.
19828 (check_longlong): Likewise.
19830 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19832 (cimag_test_data): Likewise.
19833 (conj_test_data): Likewise.
19834 (copysign_test_data): Likewise.
19835 (cproj_test_data): Likewise.
19836 (creal_test_data): Likewise.
19837 (fabs_test_data): Likewise.
19838 (fdim_test_data): Likewise.
19839 (finite_test_data): Likewise.
19840 (floor_test_data): Likewise.
19841 (fmax_test_data): Likewise.
19842 (fmin_test_data): Likewise.
19843 (fmod_test_data): Likewise.
19844 (fpclassify_test_data): Likewise.
19845 (frexp_test_data): Likewise.
19846 (ilogb_test_data): Likewise.
19847 (isfinite_test_data): Likewise.
19848 (isgreater_test_data): Likewise.
19849 (isgreaterequal_test_data): Likewise.
19850 (isinf_test_data): Likewise.
19851 (isless_test_data): Likewise.
19852 (islessequal_test_data): Likewise.
19853 (islessgreater_test_data): Likewise.
19854 (isnan_test_data): Likewise.
19855 (isnormal_test_data): Likewise.
19856 (issignaling_test_data): Likewise.
19857 (isunordered_test_data): Likewise.
19858 (ldexp_test_data): Likewise.
19859 (lrint_test_data): Likewise.
19860 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19861 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19862 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19863 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19864 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19865 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19867 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19868 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19869 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19870 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19872 (lrint_downward_test_data): Test for "inexact" exceptions.
19873 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19874 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19875 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19877 (lrint_upward_test_data): Test for "inexact" exceptions.
19878 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19880 (llrint_test_data): Test for "inexact" exceptions.
19881 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19882 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19883 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19884 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19885 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19886 (llrint_downward_test_data): Test for "inexact" exceptions.
19887 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19888 (llrint_upward_test_data): Test for "inexact" exceptions.
19889 (logb_test_data): Likewise.
19890 (logb_downward_test_data): Likewise.
19891 (nextafter_test_data): Likewise.
19892 (nexttoward_test_data): Likewise.
19893 (remainder_test_data): Likewise.
19894 (remquo_test_data): Likewise.
19895 (scalbn_test_data): Likewise.
19896 (scalbln_test_data): Likewise.
19897 (signbit_test_data): Likewise.
19898 (sqrt_test_data): Likewise.
19899 (significand_test_data): Likewise.
19901 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19904 * benchtests/bench-modf.c (struct args): Mark arg0 as
19906 * scripts/bench.pl: Mark members of struct args as volatile.
19908 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19911 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19912 negative infinity on POWER6 or lower.
19913 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19915 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19918 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19919 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19920 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19921 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19922 (_FP_SETQNAN): New macro.
19923 (_FP_SETQNAN_SEMIRAW): Likewise.
19924 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19925 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19926 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19927 (FP_EXTEND): Use _FP_FRAC_SNANP.
19928 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19929 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19931 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19933 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19936 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19938 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19939 with DIVIDE_BY_ZERO_EXCEPTION.
19940 (gamma_test_data): Likewise.
19941 (lgamma_test_data): Likewise.
19942 (log_test_data): Likewise.
19943 (log10_test_data): Likewise.
19944 (log2_test_data): Likewise.
19945 (tgamma_test_data): Likewise.
19947 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19948 (acos_test_tonearest): Likewise.
19949 (acos_test_towardzero): Likewise.
19950 (acos_test_downward): Likewise.
19951 (acos_test_upward): Likewise.
19952 (acosh_test): Likewise.
19953 (asin_test): Likewise.
19954 (asin_test_tonearest): Likewise.
19955 (asin_test_towardzero): Likewise.
19956 (asin_test_downward): Likewise.
19957 (asin_test_upward): Likewise.
19958 (asinh_test): Likewise.
19959 (atan_test): Likewise.
19960 (atanh_test): Likewise.
19961 (atan2_test): Likewise.
19962 (cabs_test): Likewise.
19963 (cacos_test): Likewise.
19964 (cacosh_test): Likewise.
19965 (casin_test): Likewise.
19966 (casinh_test): Likewise.
19967 (catan_test): Likewise.
19968 (catanh_test): Likewise.
19969 (cbrt_test): Likewise.
19970 (ccos_test): Likewise.
19971 (ccosh_test): Likewise.
19972 (cexp_test): Likewise.
19973 (clog_test): Likewise.
19974 (clog10_test): Likewise.
19975 (cos_test): Likewise.
19976 (cos_test_tonearest): Likewise.
19977 (cos_test_towardzero): Likewise.
19978 (cos_test_downward): Likewise.
19979 (cos_test_upward): Likewise.
19980 (cosh_test): Likewise.
19981 (cosh_test_tonearest): Likewise.
19982 (cosh_test_towardzero): Likewise.
19983 (cosh_test_downward): Likewise.
19984 (cosh_test_upward): Likewise.
19985 (cpow_test): Likewise.
19986 (csin_test): Likewise.
19987 (csinh_test): Likewise.
19988 (csqrt_test): Likewise.
19989 (ctan_test): Likewise.
19990 (ctan_test_tonearest): Likewise.
19991 (ctan_test_towardzero): Likewise.
19992 (ctan_test_downward): Likewise.
19993 (ctan_test_upward): Likewise.
19994 (ctanh_test): Likewise.
19995 (ctanh_test_tonearest): Likewise.
19996 (ctanh_test_towardzero): Likewise.
19997 (ctanh_test_downward): Likewise.
19998 (ctanh_test_upward): Likewise.
19999 (erf_test): Likewise.
20000 (erfc_test): Likewise.
20001 (exp_test): Likewise.
20002 (exp_test_tonearest): Likewise.
20003 (exp_test_towardzero): Likewise.
20004 (exp_test_downward): Likewise.
20005 (exp_test_upward): Likewise.
20006 (exp10_test): Likewise.
20007 (exp2_test): Likewise.
20008 (expm1_test): Likewise.
20009 (fmod_test): Likewise.
20010 (gamma_test): Likewise.
20011 (hypot_test): Likewise.
20012 (j0_test): Likewise.
20013 (j1_test): Likewise.
20014 (jn_test): Likewise.
20015 (lgamma_test): Likewise.
20016 (log_test): Likewise.
20017 (log10_test): Likewise.
20018 (log1p_test): Likewise.
20019 (log2_test): Likewise.
20020 (logb_test_downward): Likewise.
20021 (pow_test): Likewise.
20022 (pow_test_tonearest): Likewise.
20023 (pow_test_towardzero): Likewise.
20024 (pow_test_downward): Likewise.
20025 (pow_test_upward): Likewise.
20026 (remainder_test): Likewise.
20027 (remquo_test): Likewise.
20028 (sin_test): Likewise.
20029 (sin_test_tonearest): Likewise.
20030 (sin_test_towardzero): Likewise.
20031 (sin_test_downward): Likewise.
20032 (sin_test_upward): Likewise.
20033 (sincos_test): Likewise.
20034 (sinh_test): Likewise.
20035 (sinh_test_tonearest): Likewise.
20036 (sinh_test_towardzero): Likewise.
20037 (sinh_test_downward): Likewise.
20038 (sinh_test_upward): Likewise.
20039 (sqrt_test): Likewise.
20040 (tan_test): Likewise.
20041 (tan_test_tonearest): Likewise.
20042 (tan_test_towardzero): Likewise.
20043 (tan_test_downward): Likewise.
20044 (tan_test_upward): Likewise.
20045 (tanh_test): Likewise.
20046 (tgamma_test): Likewise.
20047 (y0_test): Likewise.
20048 (y1_test): Likewise.
20049 (yn_test): Likewise.
20051 * math/gen-libm-test.pl (adjust_arg): Remove function.
20052 (special_function): Remove argument $in_func. Only handle
20053 generating output for tables of tests, not inside functions.
20054 (parse_args): Likewise.
20055 (generate_testfile): Remove variable $in_func. Update call to
20057 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20058 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20059 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20060 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20061 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20062 (MAX_VALUE_INIT): Rename macro to max_value.
20063 (MIN_VALUE_INIT): Rename macro to min_value.
20064 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20065 (plus_zero): Remove variable.
20066 (minus_zero): Likewise.
20067 (plus_infty): Likewise.
20068 (minus_infty): Likewise.
20069 (qnan_value): Likewise.
20070 (max_value): Likewise.
20071 (min_value): Likewise.
20072 (min_subnorm_value): Likewise.
20074 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20076 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20077 uint64_t or uint32_t usage.
20078 * crypt/sha256-block.c: Likewise.
20079 * crypt/sha256-crypt.c: Likewise.
20080 * crypt/sha256.c: Likewise.
20081 * crypt/sha512-block.c: Likewise.
20082 * crypt/sha512-crypt.c: Likewise.
20083 * crypt/sha512.c: Likewise.
20084 * debug/backtrace-tst.c: Likewise.
20085 * debug/pcprofiledump.c: Likewise.
20086 * elf/cache.c: Likewise.
20087 * elf/dl-cache.c: Likewise.
20088 * elf/dl-misc.c: Likewise.
20089 * elf/dl-profile.c: Likewise.
20090 * elf/dl-support.c: Likewise.
20091 * elf/ldconfig.c: Likewise.
20092 * elf/sprof.c: Likewise.
20093 * iconv/dummy-repertoire.c: Likewise.
20094 * iconv/iconv_charmap.c: Likewise.
20095 * iconv/skeleton.c: Likewise.
20096 * iconvdata/8bit-generic.c: Likewise.
20097 * iconvdata/cp737.h: Likewise.
20098 * iconvdata/cp775.h: Likewise.
20099 * iconvdata/ibm1008.h: Likewise.
20100 * iconvdata/ibm1025.h: Likewise.
20101 * iconvdata/ibm1046.h: Likewise.
20102 * iconvdata/ibm1097.h: Likewise.
20103 * iconvdata/ibm1112.h: Likewise.
20104 * iconvdata/ibm1122.h: Likewise.
20105 * iconvdata/ibm1123.h: Likewise.
20106 * iconvdata/ibm1124.h: Likewise.
20107 * iconvdata/ibm1129.h: Likewise.
20108 * iconvdata/ibm1130.h: Likewise.
20109 * iconvdata/ibm1132.h: Likewise.
20110 * iconvdata/ibm1133.h: Likewise.
20111 * iconvdata/ibm1137.h: Likewise.
20112 * iconvdata/ibm1140.h: Likewise.
20113 * iconvdata/ibm1141.h: Likewise.
20114 * iconvdata/ibm1142.h: Likewise.
20115 * iconvdata/ibm1143.h: Likewise.
20116 * iconvdata/ibm1144.h: Likewise.
20117 * iconvdata/ibm1145.h: Likewise.
20118 * iconvdata/ibm1146.h: Likewise.
20119 * iconvdata/ibm1147.h: Likewise.
20120 * iconvdata/ibm1148.h: Likewise.
20121 * iconvdata/ibm1149.h: Likewise.
20122 * iconvdata/ibm1153.h: Likewise.
20123 * iconvdata/ibm1154.h: Likewise.
20124 * iconvdata/ibm1155.h: Likewise.
20125 * iconvdata/ibm1156.h: Likewise.
20126 * iconvdata/ibm1157.h: Likewise.
20127 * iconvdata/ibm1158.h: Likewise.
20128 * iconvdata/ibm1160.h: Likewise.
20129 * iconvdata/ibm1161.h: Likewise.
20130 * iconvdata/ibm1162.h: Likewise.
20131 * iconvdata/ibm1163.h: Likewise.
20132 * iconvdata/ibm1164.h: Likewise.
20133 * iconvdata/ibm1166.h: Likewise.
20134 * iconvdata/ibm1167.h: Likewise.
20135 * iconvdata/ibm12712.h: Likewise.
20136 * iconvdata/ibm1390.h: Likewise.
20137 * iconvdata/ibm1399.h: Likewise.
20138 * iconvdata/ibm16804.h: Likewise.
20139 * iconvdata/ibm4517.h: Likewise.
20140 * iconvdata/ibm4899.h: Likewise.
20141 * iconvdata/ibm4909.h: Likewise.
20142 * iconvdata/ibm4971.h: Likewise.
20143 * iconvdata/ibm5347.h: Likewise.
20144 * iconvdata/ibm803.h: Likewise.
20145 * iconvdata/ibm856.h: Likewise.
20146 * iconvdata/ibm901.h: Likewise.
20147 * iconvdata/ibm902.h: Likewise.
20148 * iconvdata/ibm9030.h: Likewise.
20149 * iconvdata/ibm9066.h: Likewise.
20150 * iconvdata/ibm921.h: Likewise.
20151 * iconvdata/ibm922.h: Likewise.
20152 * iconvdata/ibm9448.h: Likewise.
20153 * iconvdata/isiri-3342.h: Likewise.
20154 * iconvdata/jis0201.h: Likewise.
20155 * include/link.h: Likewise.
20156 * include/netdb.h: Likewise.
20157 * inet/check_native.c: Likewise.
20158 * inet/check_pf.c: Likewise.
20159 * inet/getipv4sourcefilter.c: Likewise.
20160 * inet/getnameinfo.c: Likewise.
20161 * inet/getsourcefilter.c: Likewise.
20162 * inet/htonl.c: Likewise.
20163 * inet/setipv4sourcefilter.c: Likewise.
20164 * inet/setsourcefilter.c: Likewise.
20165 * inet/test-inet6_opt.c: Likewise.
20166 * inet/tst-network.c: Likewise.
20167 * locale/C-collate.c: Likewise.
20168 * locale/C-ctype.c: Likewise.
20169 * locale/C-time.c: Likewise.
20170 * locale/C-translit.h: Likewise.
20171 * locale/loadarchive.c: Likewise.
20172 * locale/programs/3level.h: Likewise.
20173 * locale/programs/charmap.c: Likewise.
20174 * locale/programs/charmap.h: Likewise.
20175 * locale/programs/ld-address.c: Likewise.
20176 * locale/programs/ld-collate.c: Likewise.
20177 * locale/programs/ld-ctype.c: Likewise.
20178 * locale/programs/ld-identification.c: Likewise.
20179 * locale/programs/ld-measurement.c: Likewise.
20180 * locale/programs/ld-messages.c: Likewise.
20181 * locale/programs/ld-monetary.c: Likewise.
20182 * locale/programs/ld-name.c: Likewise.
20183 * locale/programs/ld-numeric.c: Likewise.
20184 * locale/programs/ld-paper.c: Likewise.
20185 * locale/programs/ld-telephone.c: Likewise.
20186 * locale/programs/ld-time.c: Likewise.
20187 * locale/programs/linereader.c: Likewise.
20188 * locale/programs/locale.c: Likewise.
20189 * locale/programs/locarchive.c: Likewise.
20190 * locale/programs/locfile.h: Likewise.
20191 * locale/programs/repertoire.c: Likewise.
20192 * locale/programs/simple-hash.c: Likewise.
20193 * locale/programs/simple-hash.h: Likewise.
20194 * malloc/memusage.c: Likewise.
20195 * malloc/memusagestat.c: Likewise.
20196 * nis/nis_defaults.c: Likewise.
20197 * nis/nis_hash.c: Likewise.
20198 * nis/nis_print.c: Likewise.
20199 * nis/nis_xdr.c: Likewise.
20200 * nscd/connections.c: Likewise.
20201 * nscd/hstcache.c: Likewise.
20202 * nscd/nscd_gethst_r.c: Likewise.
20203 * nscd/nscd_getserv_r.c: Likewise.
20204 * nscd/nscd_helper.c: Likewise.
20205 * nscd/servicescache.c: Likewise.
20206 * nss/makedb.c: Likewise.
20207 * nss/nss_db/db-XXX.c: Likewise.
20208 * nss/nss_db/db-initgroups.c: Likewise.
20209 * nss/nss_db/db-netgrp.c: Likewise.
20210 * nss/nss_files/files-network.c: Likewise.
20211 * nss/nss_files/files-parse.c: Likewise.
20212 * posix/bug-regex5.c: Likewise.
20213 * posix/fnmatch_loop.c: Likewise.
20214 * posix/regcomp.c: Likewise.
20215 * posix/regexec.c: Likewise.
20216 * posix/tst-rfc3484-2.c: Likewise.
20217 * posix/tst-rfc3484-3.c: Likewise.
20218 * posix/tst-rfc3484.c: Likewise.
20219 * resolv/nss_dns/dns-canon.c: Likewise.
20220 * resolv/nss_dns/dns-network.c: Likewise.
20221 * resolv/res_init.c: Likewise.
20222 * resolv/res_mkquery.c: Likewise.
20223 * resolv/tst-aton.c: Likewise.
20224 * stdlib/cxa_atexit.c: Likewise.
20225 * stdlib/cxa_finalize.c: Likewise.
20226 * stdlib/gen-fpioconst.c: Likewise.
20227 * stdlib/strtol_l.c: Likewise.
20228 * string/tst-endian.c: Likewise.
20229 * sunrpc/auth_des.c: Likewise.
20230 * sunrpc/clnt_udp.c: Likewise.
20231 * sunrpc/rtime.c: Likewise.
20232 * sunrpc/svcauth_des.c: Likewise.
20233 * sunrpc/xdr.c: Likewise.
20234 * sunrpc/xdr_intXX_t.c: Likewise.
20235 * sunrpc/xdr_rec.c: Likewise.
20236 * sysdeps/generic/ldconfig.h: Likewise.
20237 * sysdeps/generic/ldsodefs.h: Likewise.
20238 * sysdeps/generic/memusage.h: Likewise.
20239 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20240 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20241 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20242 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20243 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20244 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20245 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20246 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20247 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20248 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20249 * sysdeps/posix/getaddrinfo.c: Likewise.
20250 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20251 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20252 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20253 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20254 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20255 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20256 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20257 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20258 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20259 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20260 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20261 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20262 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20263 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20264 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20265 * sysdeps/x86_64/dl-tls.h: Likewise.
20266 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20267 * time/alt_digit.c: Likewise.
20268 * time/era.c: Likewise.
20269 * wcsmbs/tst-c16c32-1.c: Likewise.
20271 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20273 * math/libm-test.inc (struct test_sincos_data): New type.
20274 (RUN_TEST_LOOP_sincos): New macro.
20275 (sincos_test_data): New variable.
20276 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20278 2013-05-16 Richard Henderson <rth@redhat.com>
20280 * math/atest-exp2.c (LIMB64): New macro.
20281 (CONSTSZ): New macro.
20282 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20284 (print_mpn_fp): ... to function scope.
20285 (read_mpn_hex): Remove.
20286 (get_log2): Remove.
20287 (exp2_mpn): Use mp_log2.
20288 (main): Use mp_exp1.
20290 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20292 * math/libm-test.inc: Remove comment about not testing "inexact"
20294 (INEXACT_EXCEPTION): New macro.
20295 (NO_INEXACT_EXCEPTION): Likewise.
20296 (INVALID_EXCEPTION_OK): Update value.
20297 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20298 (OVERFLOW_EXCEPTION_OK): Likewise.
20299 (UNDERFLOW_EXCEPTION_OK): Likewise.
20300 (IGNORE_ZERO_INF_SIGN): Likewise.
20301 (ERRNO_UNCHANGED): Likewise.
20302 (ERRNO_EDOM): Likewise.
20303 (ERRNO_ERANGE): Likewise.
20304 (test_exceptions): Handle testing "inexact" exceptions.
20305 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20306 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20307 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20308 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20310 (rint_towardzero_test_data): Likewise.
20311 (rint_downward_test_data): Likewise.
20312 (rint_upward_test_data): Likewise.
20314 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20315 with OVERFLOW_EXCEPTION.
20316 (exp10_test_data): Likewise.
20317 (exp2_test_data): Likewise.
20318 (expm1_test_data): Likewise.
20319 (lgamma_test_data): Likewise.
20320 (pow_test_data): Likewise.
20321 (tgamma_test_data): Likewise.
20322 (yn_test_data): Remove duplicate test of overflow.
20324 * math/libm-test.inc (struct test_cc_c_data): New type.
20325 (RUN_TEST_LOOP_cc_c): New macro.
20326 (cpow_test_data): New variable.
20327 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20329 * math/libm-test.inc (struct test_f_L_data): New type.
20330 (RUN_TEST_LOOP_f_L): New macro.
20331 (llrint_test_data): New variable.
20332 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20333 (llrint_tonearest_test_data): New variable.
20334 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20335 (llrint_towardzero_test_data): New variable.
20336 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20337 (llrint_downward_test_data): New variable.
20338 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20339 (llrint_upward_test_data): New variable.
20340 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20341 (llround_test_data): New variable.
20342 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20344 2013-05-13 Peter Collingbourne <pcc@google.com>
20346 * math/atest-exp2.c (get_log2): Remove const attribute.
20348 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20350 * math/libm-test.inc (struct test_f_l_data): New type.
20351 (RUN_TEST_LOOP_f_l): New macro.
20352 (lrint_test_data): New variable.
20353 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20354 (lrint_tonearest_test_data): New variable.
20355 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20356 (lrint_towardzero_test_data): New variable.
20357 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20358 (lrint_downward_test_data): New variable.
20359 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20360 (lrint_upward_test_data): New variable.
20361 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20362 (lround_test_data): New variable.
20363 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20365 2013-05-15 Peter Collingbourne <pcc@google.com>
20367 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20368 (EXTRACT_WORDS64) Use where appropriate.
20369 (INSERT_WORDS64) Likewise.
20371 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20372 constraints with x constraints.
20373 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20375 * malloc/obstack.c (_obstack_compat): Add initializer.
20377 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20379 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20380 si_trapno and add si_addr_lsb to _sifields.sigfault.
20381 (si_trapno): Remove macro.
20382 (si_addr_lsb): Define new macro.
20383 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20385 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20387 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20388 instead of TEST_f_l.
20389 (llrint_test_tonearest): Likewise.
20390 (llrint_test_towardzero): Likewise.
20391 (llrint_test_downward): Likewise.
20392 (llrint_test_upward): Likewise.
20393 (llround_test): Likewise.
20395 * math/libm-test.inc (struct test_f_i_data): Add comment.
20396 (RUN_TEST_LOOP_f_b): New macro.
20397 (RUN_TEST_LOOP_f_b_tg): Likewise.
20398 (finite_test_data): New variable.
20399 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20400 (isfinite_test_data): New variable.
20401 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20402 (isinf_test_data): New variable.
20403 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20404 (isnan_test_data): New variable.
20405 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20406 (isnormal_test_data): New variable.
20407 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20408 (issignaling_test_data): New variable.
20409 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20410 (signbit_test_data): New variable.
20411 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20413 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20414 with INVALID_EXCEPTION.
20415 (acosh_test_data): Likewise.
20416 (asin_test_data): Likewise.
20417 (atanh_test_data): Likewise.
20418 (fmod_test_data): Likewise.
20419 (log_test_data): Likewise.
20420 (log10_test_data): Likewise.
20421 (log2_test_data): Likewise.
20422 (pow_test_data): Likewise.
20423 (sqrt_test_data): Likewise.
20424 (y0_test_data): Likewise.
20425 (y1_test_data): Likewise.
20426 (yn_test_data): Likewise.
20428 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20431 * math/libm-test.inc (struct test_ff_i_data): New type.
20432 (RUN_TEST_LOOP_ff_i_tg): New macro.
20433 (isgreater_test_data): New variable.
20434 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20435 (isgreaterequal_test_data): New variable.
20436 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20437 (isless_test_data): New variable.
20438 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20439 (islessequal_test_data): New variable.
20440 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20441 (islessgreater_test_data): New variable.
20442 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20443 (isunordered_test_data): New variable.
20444 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20446 2013-05-14 David S. Miller <davem@davemloft.net>
20448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20450 2013-05-14 Joseph Myers <joseph@codesourcery.com>
20452 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20454 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20456 (struct test_f_i_data): Change type of max_ulp to int.
20458 * math/libm-test.inc (test_ffI_f1_data): New type.
20459 (RUN_TEST_LOOP_ffI_f1): New macro.
20460 (remquo_test_data): New variable.
20461 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20463 * setjmp/tst-setjmp-fp.c: New file.
20464 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20465 (link-libm): New variable.
20466 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20468 * math/libm-test.inc (struct test_f_i_data): New type.
20469 (RUN_TEST_LOOP_f_i): New macro.
20470 (RUN_TEST_LOOP_f_i_tg): Likewise.
20471 (fpclassify_test_data): New variable.
20472 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20473 (ilogb_test_data): New variable.
20474 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20476 * math/libm-test.inc (scalbln_test): Correct function name in END
20479 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20480 (RUN_TEST_LOOP_fI_f1): New macro.
20481 (frexp_test_data): New variable.
20482 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20484 * math/libm-test.inc (struct test_fF_f1_data): New type.
20485 (RUN_TEST_LOOP_fF_f1): New macro.
20486 (modf_test_data): New variable.
20487 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20489 * math/libm-test.inc (struct test_f_f1_data): New type.
20490 (RUN_TEST_LOOP_f_f1): New macro.
20491 (gamma_test_data): New variable.
20492 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20493 (lgamma_test_data): New variable.
20494 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20496 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20498 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20499 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20500 (main): Comment "tls" pseudo-hwcap.
20502 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20504 * math/libm-test.inc (struct test_fl_f_data): New type.
20505 (RUN_TEST_LOOP_fl_f): New variable.
20506 (scalbln_test_data): New variable.
20507 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20509 * math/libm-test.inc (struct test_fi_f_data): New type.
20510 (RUN_TEST_LOOP_fi_f): New macro.
20511 (ldexp_test_data): New variable.
20512 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20513 (scalbn_test_data): New variable.
20514 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20516 * math/libm-test.inc (struct test_c_f_data): New type.
20517 (RUN_TEST_LOOP_c_f): New macro.
20518 (cabs_test_data): New variable.
20519 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20520 (carg_test_data): New variable.
20521 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20522 (cimag_test_data): New variable.
20523 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20524 (creal_test_data): New variable.
20525 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20527 * math/libm-test.inc (struct test_if_f_data): New type.
20528 (RUN_TEST_LOOP_if_f): New macro.
20529 (jn_test_data): New variable.
20530 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20531 (yn_test_data): New variable.
20532 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20534 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20536 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20538 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20539 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20541 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20543 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20544 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20545 (bench-deps): Add bench-timing.h.
20546 * benchtests-bench-skeleton.c: Include bench-timing.h.
20547 (main): Use TIMING_* macros instead of clock_gettime.
20548 * benchtests/bench-timing.h: New file.
20551 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20552 Renamed from _LIB_VERSION.
20553 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20555 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20557 * math/libm-test.inc (struct test_fff_f_data): New type.
20558 (RUN_TEST_LOOP_fff_f): New macro.
20559 (fma_test_data): New variable.
20560 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20561 (fma_towardzero_test_data): New variable.
20562 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20563 (fma_downward_test_data): New variable.
20564 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20565 (fma_upward_test_data): New variable.
20566 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20568 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20569 (struct test_c_c_data): New type.
20570 (RUN_TEST_LOOP_c_c): New macro.
20571 (cacos_test_data): New variable.
20572 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20573 (cacosh_test_data): New variable.
20574 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20575 (casin_test_data): New variable.
20576 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20577 (casinh_test_data): New variable.
20578 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20579 (catan_test_data): New variable.
20580 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20581 (catanh_test_data): New variable.
20582 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20583 (ccos_test_data): New variable.
20584 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20585 (ccosh_test_data): New variable.
20586 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20587 (cexp_test_data): New variable.
20588 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20589 (clog_test_data): New variable.
20590 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20591 (clog10_test_data): New variable.
20592 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20593 (conj_test_data): New variable.
20594 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20595 (cproj_test_data): New variable.
20596 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20597 (csin_test_data): New variable.
20598 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20599 (csinh_test_data): New variable.
20600 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20601 (csqrt_test_data): New variable.
20602 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20603 (ctan_test_data): New variable.
20604 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20605 (ctan_tonearest_test_data): New variable.
20606 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20607 (ctan_towardzero_test_data): New variable.
20608 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20609 (ctan_downward_test_data): New variable.
20610 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20611 (ctan_upward_test_data): New variable.
20612 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20613 (ctanh_test_data): New variable.
20614 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20615 (ctanh_tonearest_test_data): New variable.
20616 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20617 (ctanh_towardzero_test_data): New variable.
20618 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20619 (ctanh_downward_test_data): New variable.
20620 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20621 (ctanh_upward_test_data): New variable.
20622 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20623 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20626 * math/libm-test.inc (struct test_ff_f_data): New type.
20627 (struct test_ff_f_data_nexttoward): Likewise.
20628 (RUN_TEST_LOOP_2_f): New macro.
20629 (RUN_TEST_LOOP_ff_f): Likewise.
20630 (atan2_test_data): New variable.
20631 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20632 (copysign_test_data): New variable.
20633 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20634 (fdim_test_data): New variable.
20635 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20636 (fmax_test_data): New variable.
20637 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20638 (fmin_test_data): New variable.
20639 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20640 (fmod_test_data): New variable.
20641 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20642 (hypot_test_data): New variable.
20643 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20644 (nextafter_test_data): New variable.
20645 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20646 (nexttoward_test_data): New variable.
20647 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20648 (pow_test_data): New variable.
20649 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20650 (pow_tonearest_test_data): New variable.
20651 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20652 (pow_towardzero_test_data): New variable.
20653 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20654 (pow_downward_test_data): New variable.
20655 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20656 (pow_upward_test_data): New variable.
20657 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20658 (remainder_test_data): New variable.
20659 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20660 (scalb_test_data): New variable.
20661 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20662 * sysdeps/i386/fpu/libm-test-ulps: Update.
20664 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20666 * math/libm-test.inc (fma_test): Use max_value instead of local
20668 (nextafter_test): Likewise.
20670 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20671 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20672 (acos_downward_test_data): New variable.
20673 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20674 (acos_upward_test_data): New variable.
20675 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20676 (acosh_test_data): New variable.
20677 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20678 (asin_test_data): New variable.
20679 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20680 (asin_tonearest_test_data): New variable.
20681 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20682 (asin_towardzero_test_data): New variable.
20683 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20684 (asin_downward_test_data): New variable.
20685 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20686 (asin_upward_test_data): New variable.
20687 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20688 (asinh_test_data): New variable.
20689 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20690 (atan_test_data): New variable.
20691 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20692 (atanh_test_data): New variable.
20693 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20694 (cbrt_test_data): New variable.
20695 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20696 (ceil_test_data): New variable.
20697 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20698 (cos_test_data): New variable.
20699 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20700 (cos_tonearest_test_data): New variable.
20701 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20702 (cos_towardzero_test_data): New variable.
20703 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20704 (cos_downward_test_data): New variable.
20705 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20706 (cos_upward_test_data): New variable.
20707 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20708 (cosh_test_data): New variable.
20709 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20710 (cosh_tonearest_test_data): New variable.
20711 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20712 (cosh_towardzero_test_data): New variable.
20713 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20714 (cosh_downward_test_data): New variable.
20715 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20716 (cosh_upward_test_data): New variable.
20717 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20718 (erf_test_data): New variable.
20719 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20720 (erfc_test_data): New variable.
20721 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20722 (exp_test_data): New variable.
20723 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20724 (exp_tonearest_test_data): New variable.
20725 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20726 (exp_towardzero_test_data): New variable.
20727 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20728 (exp_downward_test_data): New variable.
20729 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20730 (exp_upward_test_data): New variable.
20731 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20732 (exp10_test_data): New variable.
20733 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20734 (exp2_test_data): New variable.
20735 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20736 (expm1_test_data): New variable.
20737 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20738 (fabs_test_data): New variable.
20739 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20740 (floor_test_data): New variable.
20741 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20742 (j0_test_data): New variable.
20743 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20744 (j1_test_data): New variable.
20745 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20746 (log_test_data): New variable.
20747 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20748 (log10_test_data): New variable.
20749 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20750 (log1p_test_data): New variable.
20751 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20752 (log2_test_data): New variable.
20753 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20754 (logb_test_data): New variable.
20755 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20756 (logb_downward_test_data): New variable.
20757 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20758 (nearbyint_test_data): New variable.
20759 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20760 (rint_test_data): New variable.
20761 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20762 (rint_tonearest_test_data): New variable.
20763 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20764 (rint_towardzero_test_data): New variable.
20765 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20766 (rint_downward_test_data): New variable.
20767 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20768 (rint_upward_test_data): New variable.
20769 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20770 (round_test_data): New variable.
20771 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20772 (sin_test_data): New variable.
20773 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20774 (sin_tonearest_test_data): New variable.
20775 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20776 (sin_towardzero_test_data): New variable.
20777 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20778 (sin_downward_test_data): New variable.
20779 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20780 (sin_upward_test_data): New variable.
20781 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20782 (sinh_test_data): New variable.
20783 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20784 (sinh_tonearest_test_data): New variable.
20785 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20786 (sinh_towardzero_test_data): New variable.
20787 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20788 (sinh_downward_test_data): New variable.
20789 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20790 (sinh_upward_test_data): New variable.
20791 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20792 (sqrt_test_data): New variable.
20793 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20794 (tan_test_data): New variable.
20795 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20796 (tan_tonearest_test_data): New variable.
20797 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20798 (tan_towardzero_test_data): New variable.
20799 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20800 (tan_downward_test_data): New variable.
20801 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20802 (tan_upward_test_data): New variable.
20803 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20804 (tanh_test_data): New variable.
20805 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20806 (tgamma_test_data): New variable.
20807 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20808 (trunc_test_data): New variable.
20809 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20810 (y0_test_data): New variable.
20811 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20812 (y1_test_data): New variable.
20813 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20814 (significand_test_data): New variable.
20815 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20817 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20820 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20822 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20824 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20826 2013-05-10 Andreas Jaeger <aj@suse.de>
20829 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20830 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20832 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20834 * math/gen-libm-test.pl (adjust_arg): New function.
20835 (special_functions): Handle generating output in both functions
20837 (parse_args): Likewise.
20838 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20839 $in_func argument to parse_args.
20840 * math/libm-test.inc (struct test_f_f_data): New type.
20841 (IF_ROUND_INIT_): New macro.
20842 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20843 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20844 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20845 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20846 (ROUND_RESTORE_): Likewise.
20847 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20848 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20849 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20850 (ROUND_RESTORE_FE_UPWARD): Likewise.
20851 (RUN_TEST_LOOP_f_f): New macro.
20852 (acos_test_data): New variable.
20853 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20854 (acos_tonearest_test_data): New variable.
20855 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20857 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20859 * benchtests/bench-skeleton.c (startup): Fix coding style.
20861 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20864 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20865 negative infinity argument.
20866 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20867 negative infinity argument.
20868 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20869 negative infinity argument.
20870 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20873 2013-05-10 Florian Weimer <fweimer@redhat.com>
20875 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20876 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20877 * iconv/iconv_prog.c (main): Likewise.
20878 * locale/programs/charmap-dir.c (charmap_readdir)
20879 (fopen_uncompressed): Likewise.
20880 * locale/programs/locfile.c (siblings_uncached)
20881 (write_locale_data): Use lstat64 instead of lstat.
20882 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20885 2013-05-10 Andreas Jaeger <aj@suse.de>
20888 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20890 Include <locale.h>.
20892 2013-05-09 Carlos O'Donell <carlos@redhat.com>
20894 * elf/dl-close.c (_dl_close_worker): Add comments.
20896 2013-05-09 Joseph Myers <joseph@codesourcery.com>
20899 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20901 (__ieee754_rem_pio2l): Update comments.
20904 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20906 (__ieee754_rem_pio2l): Update comments.
20908 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20909 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20911 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20914 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20915 (M_PI_34_LOG10El): Likewise.
20916 (M_PI2_LOG10El): Likewise.
20917 (M_PI4_LOG10El): Likewise.
20918 (M_PI_LOG10El): Likewise.
20920 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20924 2013-05-08 Joseph Myers <joseph@codesourcery.com>
20926 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20927 (MINUS_ZERO_INIT): Likewise.
20928 (PLUS_INFTY_INIT): Likewise.
20929 (MINUS_INFTY_INIT): Likewise.
20930 (QNAN_VALUE_INIT): Likewise.
20931 (MAX_VALUE_INIT): Likewise.
20932 (MIN_VALUE_INIT): Likewise.
20933 (MIN_SUBNORM_VALUE_INIT): Likewise.
20934 (plus_zero): Initialize with PLUS_ZERO_INIT.
20935 (minus_zero): Initialize with MINUS_ZERO_INIT.
20936 (plus_infty): Initialize with PLUS_INFTY_INIT.
20937 (minus_infty): Initialize with MINUS_INFTY_INIT.
20938 (qnan_value): Initialize with QNAN_VALUE_INIT.
20939 (max_value): Initialize with MAX_VALUE_INIT.
20940 (min_value): Initialize with MIN_VALUE_INIT.
20941 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20943 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20944 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20945 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20946 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20948 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20949 (RUN_TEST_2_f): Likewise.
20950 (RUN_TEST_ff_f): Likewise.
20951 (RUN_TEST_fi_f): Likewise.
20952 (RUN_TEST_fl_f): Likewise.
20953 (RUN_TEST_fff_f): Likewise.
20954 (RUN_TEST_c_f): Likewise.
20955 (RUN_TEST_f_f1): Likewise.
20956 (RUN_TEST_fF_f1): Likewise.
20957 (RUN_TEST_fI_f1): Likewise.
20958 (RUN_TEST_ffI_f1): Likewise.
20959 (RUN_TEST_c_c): Likewise.
20960 (RUN_TEST_cc_c): Likewise.
20961 (RUN_TEST_f_i): Likewise.
20962 (RUN_TEST_f_i_tg): Likewise.
20963 (RUN_TEST_ff_i_tg): Likewise.
20964 (RUN_TEST_f_b): Likewise.
20965 (RUN_TEST_f_b_tg): Likewise.
20966 (RUN_TEST_f_l): Likewise.
20967 (RUN_TEST_f_L): Likewise.
20968 (RUN_TEST_sincos): Likewise.
20969 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20970 whether to show exceptions. Do not include ");\n" in return
20972 (special_functions): Output call to RUN_TEST_sincos instead of
20973 check_float calls. Update calls to new_test.
20974 (parse_args): Output call to single RUN_TEST_* macro instead of
20975 check_* calls and other assignments. Update calls to new_test.
20981 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20982 input to result for tgamma overflow.
20983 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20984 (gamma_coeff): New variable.
20985 (NCOEFF): New macro.
20986 (gamma_positive): New function.
20987 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20988 underflow here. Use gamma_positive instead of exp (lgamma) for
20990 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20991 (gamma_coeff): New variable.
20992 (NCOEFF): New macro.
20993 (gammaf_positive): New function.
20994 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20995 underflow here. Use gamma_positive instead of exp (lgamma) for
20997 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20998 (gamma_coeff): New variable.
20999 (NCOEFF): New macro.
21000 (gammal_positive): New function.
21001 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21002 underflow here. Use gamma_positive instead of exp (lgamma) for
21004 * sysdeps/ieee754/ldbl-128ibm/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, overflow and
21009 underflow here. Handle NaN the same as positive infinity. Remove
21010 check x < 0xffffffff for negative integers. Use gamma_positive
21011 instead of exp (lgamma) for other arguments.
21012 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21013 (gamma_coeff): New variable.
21014 (NCOEFF): New macro.
21015 (gammal_positive): New function.
21016 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21017 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21018 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21019 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21020 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21021 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21022 * sysdeps/generic/math_private.h (__gamma_productf): New
21024 (__gamma_product): Likewise.
21025 (__gamma_productl): Likewise.
21026 * math/Makefile (libm-calls): Add gamma_product.
21027 * math/libm-test.inc (tgamma_test): Add more tests.
21028 * sysdeps/i386/fpu/libm-test-ulps: Update.
21029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21031 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21033 * benchtests/bench-skeleton.c (main): Preheat CPU.
21035 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21037 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21039 2013-05-07 Roland McGrath <roland@hack.frob.com>
21041 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21042 and _dl_skip_args_internal.
21044 2013-05-07 Carlos O'Donell <carlos@redhat.com>
21046 * manual/message.texi (Message Translation): Talk about users.
21047 Message to key mapping impacts design.
21049 2013-05-06 Roland McGrath <roland@hack.frob.com>
21051 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21053 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21055 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21056 * sysdeps/wordsize-64/glob64.c: ... here.
21058 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21059 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21062 * debug/getlogin_r_chk.c: Moved to ...
21063 * login/getlogin_r_chk.c: ... here.
21064 * debug/Makefile (routines): Move getlogin_r_chk to ...
21065 * login/Makefile (routines): ... here.
21066 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21067 * login/Versions (libc: GLIBC_2.4): ... here.
21069 * io/poll.c (__poll): Renamed from poll.
21070 Add libc_hidden_def.
21071 (poll): Define as weak alias.
21073 * debug/ptsname_r_chk.c: Moved to ...
21074 * login/ptsname_r_chk.c: ... here.
21075 * debug/Makefile (routines): Move ptsname_r_chk to ...
21076 * login/Makefile (routines): ... here.
21077 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21078 * login/Versions (libc: GLIBC_2.4): ... here.
21080 * posix/getlogin.c: Moved to ...
21081 * login/getlogin.c: ... here.
21082 * posix/getlogin_r.c: Moved to ...
21083 * login/getlogin_r.c: ... here.
21084 * posix/getlogin_r.c: Moved to ...
21085 * login/getlogin_r.c: ... here.
21086 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21087 * login/Makefile (routines): ... here.
21088 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21089 * login/Versions (libc: GLIBC_2.0): ... here.
21091 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21092 (setrlimit): Define as weak alias.
21094 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21095 Call __ names for open, ftruncate, and close.
21096 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21097 (truncate): Define as weak alias.
21099 2013-05-06 Joseph Myers <joseph@codesourcery.com>
21101 * math/gen-libm-test.pl (parse_args): Initialize x before each
21102 test of frexp, modf and remquo.
21104 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21105 test signgam value.
21107 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21111 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21113 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21115 2013-05-06 Roland McGrath <roland@hack.frob.com>
21117 * elf/dl-writev.h: New file.
21118 * elf/dl-misc.c: Include it.
21119 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21120 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21122 2013-05-04 Joseph Myers <joseph@codesourcery.com>
21124 * math/libm-test.inc (noXFails): Remove variable.
21125 (noXPasses): Likewise.
21126 (BUILD_COMPLEX_INT): Remove macro.
21127 (print_screen): Remove xfail argument.
21128 (print_screen_max_error): Likewise.
21129 (update_stats): Likewise.
21130 (print_max_error): Likewise. Update calls to other affected
21132 (print_complex_max_error): Likewise.
21133 (test_single_exception): Update calls to print_screen.
21134 (test_single_errno): Likewise.
21135 (check_float_internal): Remove xfail argument. Update calls to
21136 other affected functions.
21137 (check_float): Likewise.
21138 (check_complex): Likewise.
21139 (check_int): Likewise.
21140 (check_long): Likewise.
21141 (check_bool): Likewise.
21142 (check_longlong): Likewise.
21143 (main): Don't print noXFails and noXPasses.
21144 * math/gen-libm-test.pl (top level): Don't mention expected
21145 failure handling in comment.
21146 (new_test): Don't handle expected failures.
21147 (parse_args): Don't mention expected failure handling in comment.
21148 (generate_testfile): Don't handle expected failures.
21149 (parse_ulps): Likewise.
21150 (print_ulps_file): Likewise.
21151 (get_failure): Remove function.
21152 (output_test): Don't handle expected failures.
21153 * make/README.libm-test: Don't mention expected failure handling.
21155 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21156 (minus_zero): Likewise.
21157 (plus_infty): Likewise.
21158 (minus_infty): Likewise.
21159 (qnan_value): Likewise.
21160 (max_value): Likewise.
21161 (min_value): Likewise.
21162 (min_subnorm_value): Likewise.
21163 (initialize): Do not initialize those variables dynamically.
21165 2013-05-03 Roland McGrath <roland@hack.frob.com>
21167 * io/open.c (__open_2): Moved to ...
21168 * io/open_2.c: ... this new file.
21169 * io/open64.c (__open64_2): Moved to ...
21170 * io/open64_2.c: ... this new file.
21171 * io/openat.c (__openat_2): Moved to ...
21172 * io/openat_2.c: ... this new file.
21173 * io/openat64.c (__openat64_2): Moved to ...
21174 * io/openat64_2.c: ... this new file.
21175 * io/Makefile (routines): Add them.
21176 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21177 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21178 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21179 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21180 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21181 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21182 (__openat64): Add hidden_ver.
21183 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21184 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21186 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21187 Separately conditionalize setting of GLRO(dl_sysinfo) so
21188 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21189 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21191 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21193 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21194 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21196 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21197 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21198 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21199 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21200 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21202 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21204 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21205 test signgam value.
21207 * math/libm-test.inc (hypot_test): Do not use
21208 IGNORE_ZERO_INF_SIGN.
21210 2013-05-03 Andreas Jaeger <aj@suse.de>
21212 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21214 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21215 (PF_MAX): Adjust for VSOCK change.
21217 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21221 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21224 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21225 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21226 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21228 2013-05-02 David S. Miller <davem@davemloft.net>
21230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21232 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21234 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21236 2013-05-01 Roland McGrath <roland@hack.frob.com>
21238 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21240 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21243 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21244 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21245 Use __attribute__ ((__gnu_inline__)).
21246 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21247 Don't use __attribute__ ((__gnu_inline__)).
21249 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21252 * math/s_catan.c (__catan): Handle small real or imaginary part of
21253 input specially to avoid spurious underflow.
21254 * math/s_catanf.c (__catanf): Likewise.
21255 * math/s_catanh.c (__catanh): Likewise.
21256 * math/s_catanhf.c (__catanhf): Likewise.
21257 * math/s_catanhl.c (__catanhl): Likewise.
21258 * math/s_catanl.c (__catanl): Likewise.
21259 * math/libm-test.inc (catan_test): Add more tests.
21260 (catanh_test): Likewise.
21261 * sysdeps/i386/fpu/libm-test-ulps: Update.
21262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21264 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21268 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21271 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21272 accurately for denominator in atan2.
21273 * math/s_catanf.c (__catanf): Likewise.
21274 * math/s_catanh.c (__catanh): Likewise.
21275 * math/s_catanhf.c (__catanhf): Likewise.
21276 * math/s_catanhl.c (__catanhl): Likewise.
21277 * math/s_catanl.c (__catanl): Likewise.
21278 * math/libm-test.inc (catan_test): Add more tests.
21279 (catanh_test): Likewise.
21280 * sysdeps/i386/fpu/libm-test-ulps: Update.
21281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21283 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21285 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21287 * benchtests/Makefile (bench): Remove slow benchmarks.
21288 * benchtests/atan-inputs: Add slow benchmark inputs.
21289 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21290 (BENCH_FUNC): Accept variant offset.
21292 * benchtests/bench-skeleton.c (main): Run benchmark for each
21294 * benchtests/cos-inputs: Add slow benchmark inputs.
21295 * benchtests/exp-inputs: Likewise.
21296 * benchtests/pow-inputs: Likewise.
21297 * benchtests/sin-inputs: Likewise.
21298 * benchtests/slowatan-inputs: Remove.
21299 * benchtests/slowatan.c: Remove.
21300 * benchtests/slowcos-inputs: Remove.
21301 * benchtests/slowcos.c: Remove.
21302 * benchtests/slowexp-inputs: Remove.
21303 * benchtests/slowexp.c: Remove.
21304 * benchtests/slowpow-inputs: Remove.
21305 * benchtests/slowpow.c: Remove.
21306 * benchtests/slowsin-inputs: Remove.
21307 * benchtests/slowsin.c: Remove.
21308 * benchtests/slowtan-inputs: Remove.
21309 * benchtests/slowtan.c: Remove.
21310 * benchtests/tan-inputs: Add slow benchmark inputs.
21311 * scripts/bench.pl: Parse comments and directives.
21313 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21315 ($(objpfx)bench-%.c): Remove *-ITER.
21316 * benchtests/bench-modf.c: Remove definition of ITER.
21317 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21318 (main): Loop for DURATION seconds instead of fixed number of
21320 * scripts/bench.pl: Don't expect iterations in parameters.
21322 2013-04-29 Roland McGrath <roland@hack.frob.com>
21324 * io/fchdir.c (__fchdir): Renamed from fchdir.
21325 (fchdir): Define as weak alias.
21327 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21329 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21330 (ERRNO_EDOM): Likewise.
21331 (ERRNO_ERANGE): Likewise.
21332 (noErrnoTests): New variable.
21333 (init_max_error): Set errno to 0.
21334 (test_single_errno): New function.
21335 (test_errno): Likewise.
21336 (check_float_internal): Call test_errno. Set errno to 0.
21337 (check_complex): Refer to errno tests in comment.
21338 (check_int): Call test_errno. Set errno to 0.
21339 (check_long): Likewise.
21340 (check_bool): Likewise.
21341 (check_longlong): Likewise.
21342 (cos_test): Use ERRNO_* flags for errno tests instead of
21344 (expm1_test): Likewise.
21345 (fmod_test): Likewise.
21346 (ilogb_test): Likewise.
21347 (lgamma_test): Likewise.
21348 (pow_test): Likewise.
21349 (remainder_test): Likewise.
21350 (sin_test): Likewise.
21351 (tan_test): Likewise.
21352 (yn_test): Likewise.
21353 (initialize): Set errno to 0.
21354 (main): Print number of errno tests.
21355 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21357 2013-04-29 Andreas Jaeger <aj@suse.de>
21360 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21364 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21365 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21369 * stdlib/random.c (__initstate): Return NULL if
21373 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21374 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21377 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21381 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21383 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21384 of individual tests.
21385 (casin_test): Likewise.
21386 (casinh_test): Likewise.
21388 2013-04-27 Joseph Myers <joseph@codesourcery.com>
21391 * math/s_catan.c (__catan): Handle arguments with large real or
21392 imaginary part separately without squaring.
21393 * math/s_catanf.c (__catanf): Likewise.
21394 * math/s_catanh.c (__catanh): Likewise.
21395 * math/s_catanhf.c (__catanhf): Likewise.
21396 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21398 (__catanhl): Handle arguments with large real or imaginary part
21399 separately without squaring.
21400 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21402 (__catanl): Handle arguments with large real or imaginary part
21403 separately without squaring.
21404 * math/libm-test.inc (catan_test): Add more tests.
21405 (catanh_test): Likewise.
21406 * sysdeps/i386/fpu/libm-test-ulps: Update.
21407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21409 2013-04-27 Andreas Jaeger <aj@suse.de>
21412 * stdlib/stdlib.h: Update guards for qecvt.
21413 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21416 2013-04-27 Allan McRae <allan@archlinux.org>
21418 * sysdeps/i386/fpu/libm-test-ulps: Update.
21420 2013-04-26 Joseph Myers <joseph@codesourcery.com>
21423 * math/s_catan.c: Include <float.h>.
21424 (__catan): Ensure underflow exception occurs for underflowed
21426 * math/s_catanf.c: Include <float.h>.
21427 (__catanf): Ensure underflow exception occurs for underflowed
21429 * math/s_catanh.c: Include <float.h>.
21430 (__catanh): Ensure underflow exception occurs for underflowed
21432 * math/s_catanhf.c: Include <float.h>.
21433 (__catanhf): Ensure underflow exception occurs for underflowed
21435 * math/s_catanhl.c: Include <float.h>.
21436 (__catanhl): Ensure underflow exception occurs for underflowed
21438 * math/s_catanl.c: Include <float.h>.
21439 (__catanl): Ensure underflow exception occurs for underflowed
21441 * math/libm-test.inc (catan_test): Add more tests.
21442 (catanh_test): Likewise.
21445 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21446 underflowed result.
21447 * math/s_ccoshf.c (__ccoshf): Likewise.
21448 * math/s_ccoshl.c (__ccoshl): Likewise.
21449 * math/s_csin.c (__csin): Likewise.
21450 * math/s_csinf.c (__csinf): Likewise.
21451 * math/s_csinh.c (__csinh): Likewise.
21452 * math/s_csinhf.c (__csinhf): Likewise.
21453 * math/s_csinhl.c (__csinhl): Likewise.
21454 * math/s_csinl.c (__csinl): Likewise.
21455 * math/libm-test.inc (ccos_test): Add more tests.
21456 (ccosh_test): Likewise.
21457 (csin_test): Likewise.
21458 (csinh_test): Likewise.
21460 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21462 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21463 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21464 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21465 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21466 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21467 powerpc/power5+/fpu folders.
21468 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21471 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21475 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21477 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21478 additions to variable.
21479 [$(config-machine) = x86_64] (modules-names): Likewise.
21480 ($(objpfx)tst-audit3): Remove dependency.
21481 ($(objpfx)tst-audit3.out): Likewise.
21482 ($(objpfx)tst-audit4): Likewise.
21483 ($(objpfx)tst-audit4.out): Likewise.
21484 ($(objpfx)tst-audit5): Likewise.
21485 ($(objpfx)tst-audit5.out): Likewise.
21486 ($(objpfx)tst-audit6): Likewise.
21487 ($(objpfx)tst-audit6.out): Likewise.
21488 ($(objpfx)tst-audit7): Likewise.
21489 ($(objpfx)tst-audit7.out): Likewise.
21490 (tst-audit3-ENV): Remove variable.
21491 (tst-audit4-ENV): Likewise.
21492 (tst-audit5-ENV): Likewise.
21493 (tst-audit6-ENV): Likewise.
21494 (tst-audit7-ENV): Likewise.
21495 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21496 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21497 addition to variable.
21498 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21499 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21500 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21501 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21502 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21503 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21504 tst-audit3, tst-audit4 and tst-audit5.
21505 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21506 tst-audit6 and tst-audit7.
21507 [$(subdir) = elf] (modules-names): Add audit modules for those
21509 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21510 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21511 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21512 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21513 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21514 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21515 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21516 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21517 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21518 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21519 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21520 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21521 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21522 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21523 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21524 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21526 [$(subdir) = elf && $(config-cflags-avx) = yes]
21527 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21528 [$(subdir) = elf && $(config-cflags-avx) = yes]
21529 (CFLAGS-tst-auditmod4a.c): Likewise.
21530 [$(subdir) = elf && $(config-cflags-avx) = yes]
21531 (CFLAGS-tst-auditmod4b.c): Likewise.
21532 [$(subdir) = elf && $(config-cflags-avx) = yes]
21533 (CFLAGS-tst-auditmod6b.c): Likewise.
21534 [$(subdir) = elf && $(config-cflags-avx) = yes]
21535 (CFLAGS-tst-auditmod6c.c): Likewise.
21536 [$(subdir) = elf && $(config-cflags-avx) = yes]
21537 (CFLAGS-tst-auditmod7b.c): Likewise.
21538 * elf/tst-audit3.c: Move to ...
21539 * sysdeps/x86_64/tst-audit3.c: ... here.
21540 * elf/tst-audit4.c: Move to ...
21541 * sysdeps/x86_64/tst-audit4.c: ... here.
21542 * elf/tst-audit5.c: Move to ...
21543 * sysdeps/x86_64/tst-audit5.c: ... here.
21544 * elf/tst-audit6.c: Move to ...
21545 * sysdeps/x86_64/tst-audit6.c: ... here.
21546 * elf/tst-audit7.c: Move to ...
21547 * sysdeps/x86_64/tst-audit7.c: ... here.
21548 * elf/tst-auditmod3a.c: Move to ...
21549 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21550 * elf/tst-auditmod3b.c: Move to ...
21551 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21552 * elf/tst-auditmod4a.c: Move to ...
21553 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21554 * elf/tst-auditmod4b.c: Move to ...
21555 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21556 * elf/tst-auditmod5a.c: Move to ...
21557 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21558 * elf/tst-auditmod5b.c: Move to ...
21559 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21560 * elf/tst-auditmod6a.c: Move to ...
21561 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21562 * elf/tst-auditmod6b.c: Move to ...
21563 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21564 * elf/tst-auditmod6c.c: Move to ...
21565 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21566 * elf/tst-auditmod7a.c: Move to ...
21567 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21568 * elf/tst-auditmod7b.c: Move to ...
21569 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21571 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21574 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21575 define unconditionally.
21576 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21577 define unconditionally.
21578 (INT8_C, INT16_C, etc.): Likewise.
21580 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21582 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21583 __ehdr_start with hidden visibility.
21585 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21587 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21589 * math/libm-test.inc (cos_test): Use accurate hex constants.
21590 (sincost_test): Likewise.
21592 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21594 * math/libm-test.inc (catan_test): Add more tests.
21595 (catanh_test): Likewise.
21597 * math/s_catanf.c (__catanf): Use suffixed floating-point
21599 * math/s_catanhf.c (__catanhf): Likewise.
21600 * math/s_catanhl.c (__catanhl): Likewise.
21601 * math/s_catanl.c (__catanl): Likewise.
21604 * math/s_catan.c (__catan): Calculate imaginary part of result
21605 with log1p not log unless computing log of number close to 0.
21606 * math/s_catanf.c (__catanf): Likewise.
21607 * math/s_catanl.c (__catanl): Likewise.
21608 * math/s_catanh.c (__catanh): Calculate real part of result with
21609 log1p not log unless computing log of number close to 0.
21610 * math/s_catanhf.c (__catanhf): Likewise.
21611 * math/s_catanhl.c (__catanhl): Likewise.
21612 * math/libm-test.inc (catan_test): Add more tests.
21613 (catanh_test): Likewise.
21614 * sysdeps/i386/fpu/libm-test-ulps: Update.
21615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21617 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21619 * benchtests/Makefile: Mention files in which fast and slow
21620 paths of math functions are implemented.
21622 2013-04-23 Roland McGrath <roland@hack.frob.com>
21624 * sysdeps/posix/timespec_get.c: New file.
21626 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21628 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21630 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21632 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21633 powerpc/power5/fpu folders.
21634 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21635 * benchtests/Makefile: Add modf testcase.
21636 * benchtests/bench-modf.c: New file: Benchmark test for mo
21638 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21641 * time/Makefile (tests): Add tst-strptime-whitespace.
21642 * time/strptime_l.c (get_number): Use ISSPACE.
21643 (__strptime_internal): Likewise.
21644 * time/tst-strptime-whitespace.c: New test case.
21646 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21648 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21650 (_nss_files_init): Set it here.
21652 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21654 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21655 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21658 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21660 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21662 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21664 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21667 2013-04-21 David S. Miller <davem@davemloft.net>
21669 * po/ru.po: Update Russion translation from translation project.
21671 2013-04-17 Adam Conrad <adconrad@0c3.net>
21673 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21676 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21678 * configure.in: Remove i386 configure warning. Remove i386 case.
21679 * configure: Regenerate.
21680 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21681 Add example to error message.
21682 * sysdeps/i386/configure: Regenerate.
21684 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21686 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21688 * benchtests/cos-inputs: New file.
21689 * benchtests/slowcos-inputs: New file.
21690 * benchtests/slowcos.c: New file.
21691 * benchtests/slowtan-inputs: New file.
21692 * benchtests/slowtan.c: New file.
21693 * benchtests/tan-inputs: New file.
21695 2013-04-16 Roland McGrath <roland@hack.frob.com>
21697 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21700 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21702 * benchtests/Makefile: Include cppflags-iterator.mk to add
21703 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21705 * Makefile.in (bench-clean): New target.
21706 * benchtests/Makefile (bench-clean): Likewise.
21708 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21710 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21712 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21714 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21716 2013-04-15 Andreas Schwab <schwab@suse.de>
21718 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21719 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21720 * nscd/pwdcache.c (cache_addpw): Likewise.
21721 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21724 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21726 * benchtests/Makefile (bench): Write all output to
21727 bench-out.tmp together.
21729 2013-04-15 Andreas Schwab <schwab@suse.de>
21731 * nscd/nscd.c (main): Don't fork again after closing files.
21733 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21735 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21737 * benchtests/Rules (bench-deps): Collect dependencies into a
21738 single variable. Add Makefile to dependencies.
21739 ($(objpfx)bench-%.c): Depend on bench-deps.
21741 2013-04-12 Roland McGrath <roland@hack.frob.com>
21742 Xavier Roche <roche+kml2@exalead.com>
21745 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21746 just that it's a file descriptor.
21747 * manual/llio.texi (Synchronizing AIO Operations): Update description
21748 for EBADF error from aio_fsync.
21750 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21752 * Rules (bench): Move target definition...
21753 * benchtests/Makefile: ... here.
21755 2013-04-11 Carlos O'Donell <carlos@redhat.com>
21757 * math/libm-test.inc (cos_test): Fix PI/2 test.
21758 (sincos_test): Likewise.
21759 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21760 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21762 2013-04-11 Andreas Schwab <schwab@suse.de>
21765 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21766 accept exponent character only when digits were seen.
21767 * stdio-common/Makefile (tests): Add bug26.
21768 * stdio-common/bug26.c: New file.
21771 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21774 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21776 * Makeconfig (rtld-prefix): Define built linker prefix.
21777 * Rules (run-bench): Use it.
21778 * math/Makefile (run-regen-ulps): Likewise.
21780 * Rules (bench): Remove eval.
21782 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21783 Roland McGrath <roland@hack.frob.com>
21784 Ondrej Bilka <neleai@seznam.cz>
21787 * time/getdate.c: Include ctype.h and alloca.h.
21788 (__getdate_r): Trim leading and trailing spaces of input.
21789 * time/tst-getdate.c (tests): Add tests with leading and
21792 2013-04-08 Roland McGrath <roland@hack.frob.com>
21795 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21796 when computing value.
21798 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21800 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21801 Use testrun.sh to run libm tests.
21804 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21806 2013-04-06 Marko Myllynen <myllynen@redhat.com>
21809 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21811 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21813 * Makefile.in (regen-ulps): New target.
21814 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21815 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21816 [ifneq (no,$(PERL)] (regen-ulps): New target.
21817 [ifeq (no,$(PERL)] (regen-ulps): New target.
21818 * math/libm-test.inc (ulps_file_name): Define.
21819 (output_dir): New variable.
21820 (options): Add "output-dir" option.
21821 (parse_opt): Handle 'o' case.
21822 (main): If output_dir is non-NULL use it as a prefix
21824 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21826 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21828 [BZ #10060, #10062]
21829 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21830 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21831 fail configure if __sync_val_compare_and_swap is not inlined.
21832 * sysdeps/i386/configure: Regenerate.
21833 * configure.in: Build for i686 when configured for i386.
21834 * configure: Regenerate.
21835 * README: Remove i386 reference.
21837 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21839 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21840 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21842 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21844 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21845 (lmsnanval): New variables.
21846 (F): Add conversion tests.
21847 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21848 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21850 * stdio-common/tstdiomisc.c (F): Properly collect individual
21853 [BZ #14686, #15336]
21854 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21855 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21856 Instead, use input NaN values or generate a qNaN by arithmetic
21857 operation. Also fix bugs to comply with the standard.
21858 * math/libm-test.inc (remainder_test): Add more tests.
21860 [BZ #15335, #15342]
21861 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21862 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21863 input NaN values or generate a qNaN by arithmetic operation.
21865 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21868 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21871 2013-04-03 Joseph Myers <joseph@codesourcery.com>
21874 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21875 underflowed result.
21876 * math/s_cexpf.c (__cexpf): Likewise.
21877 * math/s_cexpl.c (__cexpl): Likewise.
21878 * math/libm-test.inc (cexp_test): Add more tests.
21880 2013-04-03 Andreas Schwab <schwab@suse.de>
21883 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21884 order arrays from heap if bigger than alloca cutoff.
21886 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21888 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21889 (SNAN_TESTS_double): Refer to GCC PR56831.
21890 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21893 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21895 * Rules (bench): Move bench.out after the run is complete.
21897 * Rules (bench): Echo currently running benchmark.
21899 * benchtests/Makefile (bench): Add atan and slowatan.
21900 * benchtests/atan-inputs: New file.
21901 * benchtests/slowatan-inputs: New file.
21902 * benchtests/slowatan.c: New file.
21904 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21905 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21909 * sysdeps/unix/sysv/linux/kernel-features.h
21910 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21911 __ASSUME_XFS_RESTRICTED_CHOWN.
21912 * sysdeps/unix/sysv/linux/pathconf.c
21913 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21914 Save and restore errno.
21916 2013-04-02 Joseph Myers <joseph@codesourcery.com>
21919 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21920 arguments using __kernel_casinh.
21921 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21922 arguments using __kernel_casinhf.
21923 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21924 arguments using __kernel_casinhl.
21925 * math/libm-test.inc (cacosh_test): Add more tests.
21926 * sysdeps/i386/fpu/libm-test-ulps: Update.
21927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21929 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21931 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21932 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21934 * bench/Makefile (bench): Add sin and slowsin.
21935 * benchtests/sin-inputs: New file.
21936 * benchtests/slowsin-inputs: New file.
21937 * benchtests/slowsin.c: New file.
21939 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21940 (bench): Add slowexp and slowpow.
21941 (exp-ITER): Increase iterations.
21942 (pow-ITER): Likewise.
21943 * benchtests/exp-inputs: Change input.
21944 * benchtests/pow-inputs: Likewise.
21945 * benchtests/slowexp-inputs: New file.
21946 * benchtests/slowexp.c: New file.
21947 * benchtests/slowpow-inputs: New file.
21948 * benchtests/slowpow.c: New file.
21950 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21952 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21954 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21955 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21956 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21957 * benchtests/Makefile: Add rint benchtest.
21958 * benchtests/rint-inputs: Input for rint benchtest.
21960 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21962 * Versions.def (libm): Add GLIBC_2.18.
21963 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21964 hidden libm prototypes.
21965 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21966 * math/Makefile (libm-calls): Add s_issignaling.
21967 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21968 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21969 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21971 * math/math.h [__USE_GNU] (issignaling): New macro.
21972 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21973 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21974 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21975 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21976 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21977 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21978 * manual/arith.texi (issignaling): New section.
21979 * manual/libm-err-tab.pl (@all_functions): Update comment.
21980 * math/gen-libm-test.pl (parse_args): Apply special handling for
21982 * math/libm-test.inc (print_float, issignaling_test): New
21984 (check_float_internal): Add issignaling checks.
21985 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21986 default definition.
21987 * sysdeps/powerpc/math-tests.h: New file.
21988 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21990 * math/test-snan.c (TEST_FUNC): Likewise.
21992 2013-03-30 David S. Miller <davem@davemloft.net>
21994 * po/de.po: Update from translation team.
21996 2013-03-30 Joseph Myers <joseph@codesourcery.com>
21999 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22000 imaginary part less than 1.0 and real part less than 0.5
22002 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22003 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22004 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22005 (cacos_test): Add more tests.
22006 (casin_test): Likewise.
22007 (casinh_test): Likewise.
22008 * sysdeps/i386/fpu/libm-test-ulps: Update.
22009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22011 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22013 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22014 ONE with its value.
22016 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22017 (__pow_mp): Replace ONE and MONE with their values.
22018 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22019 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22020 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22021 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22022 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22023 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22025 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22027 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22028 (__pow_mp): Replace ZERO and MZERO with their values.
22029 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22030 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22031 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22032 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22033 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22034 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22037 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22039 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22041 2013-03-28 Roland McGrath <roland@hack.frob.com>
22043 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22044 Declare with __attribute__ ((weak)).
22045 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22046 Call __call_tls_dtors only if it's not NULL.
22048 2013-03-28 Roland McGrath <roland@hack.frob.com>
22050 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22051 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22052 magic __ehdr_start linker symbol if it's defined.
22053 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22054 them up here if it was already done.
22056 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22057 (_dl_aux_init): Use const in cast when setting it.
22058 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22059 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22060 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22062 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22064 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22065 * csu/libc-tls.c: Nor here.
22066 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22068 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22069 (__libc_message): Never call vsyslog.
22071 2013-03-28 Alan Modra <amodra@gmail.com>
22073 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22075 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22078 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22081 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22085 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22088 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22089 Don't add gid passed as argument.
22091 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22093 2013-03-27 Joseph Myers <joseph@codesourcery.com>
22096 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22097 imaginary part between 1.0 and 1.5 and real part less than 0.5
22099 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22100 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22101 * math/libm-test.inc (cacos_test): Add more tests.
22102 (casin_test): Likewise.
22103 (casinh_test): Likewise.
22104 * sysdeps/i386/fpu/libm-test-ulps: Update.
22105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22107 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22109 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22112 (denorm): Likewise.
22113 (__dbl_mp): Likewise.
22114 (add_magnitudes): Likewise.
22115 (sub_magnitudes): Likewise.
22123 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22125 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22126 (__dubcos): Likewise.
22127 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22128 (__ieee754_acos): Likewise.
22129 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22130 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22131 (__exp1): Likewise.
22132 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22133 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22135 (my_log2): Likewise.
22136 (checkint): Likewise.
22137 * sysdeps/ieee754/dbl-64/e_remainder.c
22138 (__ieee754_remainder): Likewise.
22139 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22140 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22141 (bsloww): Likewise.
22142 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22144 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22145 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22146 MANTISSA_STORE_T to store computations on mantissa. Use
22147 macros for rounding and division.
22148 (denorm): Likewise.
22149 (__dbl_mp): Likewise.
22150 (add_magnitudes): Likewise.
22151 (sub_magnitudes): Likewise.
22154 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22155 powers of two in terms of TWOPOW macro.
22156 (mp_no): Make type of mantissa as MANTISSA_T.
22157 [!RADIXI]: Define RADIXI.
22158 [!TWO52]: Define TWO52.
22159 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22161 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22163 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22164 llroundl symbol when building for PPC32.
22166 2013-03-24 Mark H Weaver <mhw@netris.org>
22168 * manual/arith.texi (Normalization Functions): Fix prototypes for
22169 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22171 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22174 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22175 high value to check if expl overflow.
22176 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22177 to check for underflow and overflow.
22178 * math/libm-test.inc: Add exp test.
22180 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22183 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22186 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22188 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22191 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22193 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22194 wrap blocks consisting of several statements.
22196 * sysdeps/generic/math-tests.h: New file.
22197 * sysdeps/i386/fpu/math-tests.h: Likewise.
22198 * math/test-snan.c: Include it.
22199 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22201 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22204 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22205 (__ieee754_j0l): Do not improve calculations using cos of twice
22206 input for inputs above LDBL_MAX / 2.0L.
22207 (__ieee754_y0l): Likewise.
22208 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22209 (__ieee754_j1l): Do not improve calculations using cos of twice
22210 input for inputs above LDBL_MAX / 2.0L.
22211 (__ieee754_y1l): Likewise.
22212 * math/libm-test.inc (j0_test): Add another test.
22213 (j1_test): Likewise.
22214 (y0_test): Likewise.
22215 (y1_test): Likewise.
22216 * sysdeps/i386/fpu/libm-test-ulps: Update.
22218 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22220 * Rules ($(objpfx)bench-%.c): Include code from a C source
22223 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22226 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22227 imaginary part 1.0 and real part less than 0.5 specially.
22228 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22229 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22230 * math/libm-test.inc (cacos_test): Add more tests.
22231 (casin_test): Likewise.
22232 (casinh_test): Likewise.
22233 * sysdeps/i386/fpu/libm-test-ulps: Update.
22234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22236 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22238 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22239 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22241 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22243 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22244 * config.make.in (config-cflags-sse4): Remove variable.
22245 (config-cflags-avx): Likewise.
22246 (config-cflags-sse2avx): Likewise.
22247 (config-cflags-novzeroupper): Likewise.
22248 (config-asflags-i686): Likewise.
22249 (have-mfma4): Likewise.
22250 (have-as-vis3): Likewise.
22252 * configure.in (MIG): Do not AC_SUBST.
22253 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22254 (libc_cv_cc_sse4): Do not AC_SUBST.
22255 (libc_cv_cc_avx): Likewise.
22256 (libc_cv_cc_sse2avx): Likewise.
22257 (libc_cv_cc_novzeroupper): Likewise.
22258 (libc_cv_cc_fma4): Likewise.
22259 (libc_cv_as_i686): Likewise.
22260 (libc_cv_sparc_as_vis3): Likewise.
22261 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22263 (config-asflags-i686): Likewise.
22264 (config-cflags-avx): Likewise.
22265 (config-cflags-sse2avx): Likewise.
22266 (have-mfma4): Likewise.
22267 (config-cflags-novzeroupper): Likewise.
22268 * sysdeps/mach/configure.in (MIG): Likewise.
22269 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22270 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22272 (config-cflags-avx): Likewise.
22273 (config-cflags-sse2avx): Likewise.
22274 (have-mfma4): Likewise.
22275 (config-cflags-novzeroupper): Likewise.
22276 * configure: Regenerated.
22277 * sysdeps/i386/configure: Likewise.
22278 * sysdeps/mach/configure: Likewise.
22279 * sysdeps/sparc/configure: Likewise.
22280 * sysdeps/x86_64/configure: Likewise.
22282 2013-03-20 Roland McGrath <roland@hack.frob.com>
22285 * locale/programs/localedef.c (options): Put N_ translation marker
22286 on argument names, not just descriptions.
22288 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22290 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22292 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
22295 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22297 2013-03-19 Roland McGrath <roland@hack.frob.com>
22299 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22300 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22301 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22302 [!BEFORE_ABORT] (before_abort): New function.
22303 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22304 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22305 (writev_for_fatal): New function.
22306 (WRITEV_FOR_FATAL): New macro; call that.
22307 (backtrace_and_maps): New function.
22308 (BEFORE_ABORT): New macro; call that.
22309 (struct str_list): Type removed.
22310 (__libc_message, __libc_fatal): Functions removed.
22311 Include <sysdeps/posix/libc_fatal.c> instead.
22313 2013-03-19 Joseph Myers <joseph@codesourcery.com>
22315 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22317 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22320 2013-03-19 Andreas Schwab <schwab@suse.de>
22322 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22323 * sysdeps/gnu/configure: Regenerate.
22325 * configure.in: Substitute libc_cv_rtlddir.
22326 * configure: Regenerate.
22327 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22328 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22329 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22330 * elf/Makefile (install-others, CFLAGS-interp.c)
22331 (ldso_install, common-ldd-rewrite): Likewise.
22332 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22333 $(inst_slibdir)/$(rtld-installed-name).
22334 * scripts/rellns-sh: Add -p option.
22335 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22338 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22340 * manual/nptl.texi: Renamed to ...
22341 * manual/threads.texi: ... this.
22342 * manual/Makefile (chapters): Update.
22344 2013-03-18 Roland McGrath <roland@hack.frob.com>
22347 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22348 on argument names, not just descriptions.
22349 * malloc/memusagestat.c (options): Likewise.
22350 * nss/getent.c (options): Likewise.
22352 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
22355 * iconv/iconv_prog.c (options): Put N_ translation marker
22356 on argument names, not just descriptions.
22357 * iconv/iconvconfig.c (options): Likewise.
22359 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
22361 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22362 implementation which is faster on all x86_64 architectures.
22363 Tested on AMD, Intel Nehalem, SNB, IVB.
22364 * sysdeps/x86_64/strnlen.S: Likewise.
22366 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22367 Remove all multiarch strlen and strnlen versions.
22368 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22369 Remove strlen and strnlen related parts.
22371 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22372 Inline strlen part.
22373 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22375 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22376 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22377 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22378 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22379 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22380 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22382 2013-03-17 Carlos O'Donell <carlos@redhat.com>
22384 * manual/memory.texi (Malloc Tunable Parameters):
22385 Sort parameters alphabetically. Add comments for missing entries.
22387 2013-03-17 David S. Miller <davem@davemloft.net>
22389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22391 2013-03-16 Joseph Myers <joseph@codesourcery.com>
22394 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22395 for arguments at most half maximum finite value.
22396 * math/libm-test.inc (j0_test): Add more tests.
22397 (j1_test): Likewise.
22398 (y0_test): Likewise.
22399 (y1_test): Likewise.
22400 * sysdeps/i386/fpu/libm-test-ulps: Update.
22401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22404 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22405 1 / x and functions P and Q for arguments above 0x1p256L.
22406 (__ieee754_y0l): Likewise.
22407 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22408 (__ieee754_y1l): Likewise.
22409 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22410 (j1_test): Likewise.
22411 (y0_test): Likewise.
22412 (y1_test): Likewise.
22414 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22416 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22419 2013-03-15 Roland McGrath <roland@hack.frob.com>
22421 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22422 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22423 zero since it's initialized to EXEC_PAGESIZE.
22425 * sysdeps/unix/sysv/linux/ldsodefs.h
22426 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22427 * sysdeps/generic/ldsodefs.h: ... here.
22429 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22431 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22433 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22435 * math/test-snan.c: Renamed from
22436 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22437 * math/Makefile (tests): Add test-snan.
22438 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22441 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22442 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22444 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22445 __builtin_nan family of functions.
22446 * math/libm-test.inc (initialize): Initialize qnan_value with
22447 __builtin_nan family of functions.
22448 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22450 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22452 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22453 storage class. Initialize qNaN_var and sNaN_var with
22454 __builtin_nan and __builtin_nans families of functions,
22457 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22458 (sqrt_test): Remove duplicate test with qNaN input.
22459 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22460 (round_test, signbit_test, significand_test): Note missing +/-Inf
22461 as well as qNaN tests.
22463 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22464 qNaN_var. Fix a few strings, too.
22465 * math/libm-test.inc (nan_value): Rename to qnan_value.
22466 * math/gen-libm-test.pl (%beautify): Adjust to that.
22467 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22468 * math/test-misc.c (main): Likewise.
22469 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22470 to __qnan_bytes, and __qnan_union, respectively.
22471 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22473 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22474 and lqnanval, respectively.
22475 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22476 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22477 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22478 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22480 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22481 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22484 * math/test-misc.c (main): Fix copy'n'pastos.
22485 * misc/tst-efgcvt.c (special): Likewise.
22487 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22488 Remove declarations.
22490 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22492 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22493 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22494 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22495 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22497 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22499 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22500 macro to return vdso values correctly in IFUNC implementations.
22501 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22502 Optimization by using IFUNC.
22504 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22505 Richard Henderson <rth@redhat.com>
22506 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22508 * Makefile.in (bench): New target.
22509 * NEWS: Mention the benchmark framework.
22510 * Rules (bench): Likewise.
22511 (binaries-bench): Generate binaries for functions to
22513 * benchtests/Makefile: New makefile for benchmark tests.
22514 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22516 * benchtests/exp-inputs: New input file for EXP function.
22517 * benchtests/pow-inputs: New input file for POW function.
22518 * scripts/bench.pl: New script to generate source files for
22519 benchmark programs.
22521 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22523 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22524 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22525 computations on mantissa. Use macros for rounding and
22527 (denorm): Likewise.
22528 (__dbl_mp): Likewise.
22529 (add_magnitudes): Likewise.
22530 (sub_magnitudes): Likewise.
22533 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22534 powers of two in terms of TWOPOW macro.
22535 (mp_no): Make type of mantissa as MANTISSA_T.
22536 [!RADIXI]: Define RADIXI.
22537 [!TWO52]: Define TWO52.
22538 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22540 * manual/nptl.texi (cindex): Modify threads to pthreads.
22542 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22544 * sysdeps/x86_64/preconfigure: Regenerated.
22546 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22549 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22551 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22552 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22554 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22555 * math/libm-test.inc (j0_test): Do not allow one spurious
22556 underflow exception.
22557 (y1_test): Likewise.
22559 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22561 * manual/Makefile (chapters): Add nptl.
22562 * manual/debug.texi (Debugging Support): Add link to Threads
22564 * manual/nptl.texi: New file.
22566 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22568 2013-03-14 Petr Baudis <pasky@ucw.cz>
22570 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22571 for non-NULL pointer before the memory validity test. Pointed
22572 out by Holger Brunck <holger.brunck@keymile.com>.
22574 2013-03-13 Andreas Schwab <schwab@suse.de>
22576 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22579 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22581 * timezone/zic.c: Update from tzcode 2013b.
22583 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22585 * manual/install.texi (Configuring and compiling):
22586 Mention i686 and i586.
22587 * INSTALL: Regenerate.
22589 2013-03-12 Roland McGrath <roland@hack.frob.com>
22591 * sysdeps/init_array/elf-init.c: New file.
22593 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22594 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22596 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22597 __gmon_start__ as global, but as static with a .preinit_array pointer.
22598 * sysdeps/init_array/gmon-start.c: New file. Use that.
22599 * sysdeps/init_array/crti.S: New file, empty except for comments.
22600 * sysdeps/init_array/crtn.S: Likewise.
22602 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22604 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22607 Remove Prefer_SSE_for_memop.
22608 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22609 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22610 HAS_PREFER_SSE_FOR_MEMOP.
22611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22613 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22614 Remove bzero, memset ifunc support.
22615 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22616 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22617 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22618 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22620 2013-03-11 Andreas Schwab <schwab@suse.de>
22623 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22626 (GLIBC_2.16): Remove pthread_atfork.
22628 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22630 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22631 (ptestcases.h): Likewise.
22633 2013-03-08 Roland McGrath <roland@hack.frob.com>
22635 * Makeconfig ($(common-objpfx)config.status): Depend on
22636 sysdeps/*/preconfigure{,.in} too.
22638 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22640 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22641 (__free_hook): Use void * instead of __malloc_ptr_t.
22642 (__malloc_hook): Likewise.
22643 (__realloc_hook): Likewise.
22644 (__memalign_hook): Likewise.
22645 (__after_morecore_hook): Likewise.
22646 * malloc/arena.c (save_malloc_hook): Likewise.
22647 (save_free_hook): Likewise.
22648 * malloc/hooks.c (malloc_hook_ini): Likewise.
22649 (realloc_hook_ini): Likewise.
22650 (memalign_hook_ini): Likewise.
22651 * malloc/malloc.c (malloc_hook_ini): Likewise.
22652 (realloc_hook_ini): Likewise.
22653 (memalign_hook_ini): Likewise.
22654 (__free_hook): Likewise.
22655 (__malloc_hook): Likewise.
22656 (__realloc_hook): Likewise.
22657 (__memalign_hook): Likewise.
22658 (__libc_malloc): Likewise.
22659 (__libc_free): Likewise.
22660 (__libc_realloc): Likewise.
22661 (__libc_memalign): Likewise.
22662 (__libc_valloc): Likewise.
22663 (__libc_pvalloc): Likewise.
22664 (__libc_calloc): Likewise.
22665 (__posix_memalign): Likewise.
22666 * malloc/morecore.c (__sbrk): Likewise.
22667 (__default_morecore): Likewise.
22669 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22671 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22672 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22673 __malloc_ptrdiff_t.
22675 * malloc/malloc.h (__malloc_size_t): Remove macro.
22676 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22678 (old_memalign_hook): Likewise.
22679 (old_realloc_hook): Likewise.
22680 (struct hdr): Likewise.
22682 (mallochook): Likewise.
22683 (memalignhook): Likewise.
22684 (reallochook): Likewise.
22685 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22686 (tr_old_realloc_hook): Likewise.
22687 (tr_old_memalign_hook): Likewise.
22688 (tr_mallochook): Likewise.
22689 (tr_reallochook): Likewise.
22690 (tr_memalignhook): Likewise.
22692 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22694 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22695 default_ldbl_pack and using as default implementation.
22696 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22698 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22699 redundant definition.
22700 (ldbl_insert_mantissa): Likewise.
22701 (ldbl_canonicalize): Likewise.
22702 (ldbl_nearbyint): Likewise.
22703 (ldbl_pack): Rename to ldbl_pack_ppc.
22704 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22705 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22706 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22708 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22711 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22712 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22713 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22714 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22715 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22716 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22717 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22719 2013-03-07 Andreas Jaeger <aj@suse.de>
22721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22724 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22726 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22727 Include mpa.h and declare __MPEXP.
22728 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22729 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22730 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22731 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22732 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22733 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22734 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22736 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22737 (__slowpow): Use long double EXPL and LOGL functions to
22739 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22740 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22741 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22742 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22743 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22744 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22747 intermediate variable to calculate exponent.
22749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22753 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22754 [!NO__SQR]: Define __sqr.
22755 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22756 and NO__SQR. Remove all code except __mul and __sqr. Include
22757 sysdeps/ieee754/dbl-64/mpa.c.
22758 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22761 * posix/Makefile (tests): Add tst-pathconf.
22762 * posix/tst-pathconf.c: New test case.
22763 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22765 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22767 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
22769 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22771 2013-03-06 Andreas Jaeger <aj@suse.de>
22773 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22774 definition via __MAP_ANONYMOUS.
22776 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22777 it's not part of Linux headers.
22779 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22780 (MAP_HUGE_MASK): Define.
22782 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22784 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22785 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22787 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22788 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22790 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22791 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22793 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22795 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22796 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22797 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22798 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22799 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22800 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22802 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22805 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22806 Handle f2fs and efivarfs.
22808 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22811 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22812 (EFIVARFS_MAGIC): Add.
22813 (F2FS_LINK_MAX): Add.
22815 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22817 * stdio-common/vfprintf.c: Replace __builtin_expect with
22820 2013-03-06 Joseph Myers <joseph@codesourcery.com>
22823 * sysdeps/generic/bp-sym.h: Remove file.
22824 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22825 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22826 <bp-sym.h> and <bp-asm.h>.
22827 (__longjmp): Don't use BP_SYM.
22828 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22830 (memcpy): Don't use BP_SYM.
22831 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22832 <bp-sym.h> and <bp-asm.h>.
22833 (memcpy): Don't use BP_SYM.
22834 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22836 (memcpy): Don't use BP_SYM.
22837 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22839 (memset): Don't use BP_SYM.
22840 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22841 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22842 (__bzero): Don't use BP_SYM.
22843 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22844 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22845 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22846 <bp-sym.h> and <bp-asm.h>.
22847 (memcmp): Don't use BP_SYM. Remove comment about bounded
22849 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22850 <bp-sym.h> and <bp-asm.h>.
22851 (memcpy): Don't use BP_SYM.
22852 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22853 <bp-sym.h> and <bp-asm.h>.
22854 (memset): Don't use BP_SYM.
22855 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22856 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22857 (__bzero): Don't use BP_SYM.
22858 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22859 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22860 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22861 <bp-sym.h> and <bp-asm.h>.
22862 (strncmp): Don't use BP_SYM. Remove comment about bounded
22864 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22865 <bp-sym.h> and <bp-asm.h>.
22866 (memcpy): Don't use BP_SYM.
22867 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22868 <bp-sym.h> and <bp-asm.h>.
22869 (memset): Don't use BP_SYM.
22870 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22871 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22872 (__bzero): Don't use BP_SYM.
22873 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22874 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22875 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22876 <bp-sym.h> and <bp-asm.h>.
22877 (__memchr): Don't use BP_SYM.
22878 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22879 <bp-sym.h> and <bp-asm.h>.
22880 (memcmp): Don't use BP_SYM. Remove comment about bounded
22882 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22883 <bp-sym.h> and <bp-asm.h>.
22884 (memcpy): Don't use BP_SYM.
22885 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22886 <bp-sym.h> and <bp-asm.h>.
22887 (__mempcpy): Don't use BP_SYM.
22888 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22889 <bp-sym.h> and <bp-asm.h>.
22890 (__memrchr): Don't use BP_SYM.
22891 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22892 <bp-sym.h> and <bp-asm.h>.
22893 (memset): Don't use BP_SYM.
22894 (__bzero): Likewise.
22895 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22896 <bp-sym.h> and <bp-asm.h>.
22897 (__rawmemchr): Don't use BP_SYM.
22898 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22899 <bp-sym.h> and <bp-asm.h>.
22900 (__STRCMP): Don't use BP_SYM.
22901 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22902 <bp-sym.h> and <bp-asm.h>.
22903 (strchr): Don't use BP_SYM.
22904 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22905 <bp-sym.h> and <bp-asm.h>.
22906 (__strchrnul): Don't use BP_SYM.
22907 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22908 <bp-sym.h> and <bp-asm.h>.
22909 (strlen): Don't use BP_SYM.
22910 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22911 <bp-sym.h> and <bp-asm.h>.
22912 (strncmp): Don't use BP_SYM. Remove comment about bounded
22914 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22915 <bp-sym.h> and <bp-asm.h>.
22916 (__strnlen): Don't use BP_SYM.
22917 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22918 <bp-sym.h> and <bp-asm.h>.
22919 (__GI__setjmp): Don't use BP_SYM.
22920 (_setjmp): Likewise.
22921 (__sigsetjmp): Likewise.
22922 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22923 (L(start_addresses)): Don't use BP_SYM.
22924 (_start): Likewise.
22925 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22927 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22928 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22929 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22930 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22931 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22933 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22934 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22935 about bounded pointers.
22936 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22937 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22938 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22940 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22941 about bounded pointers. Remove GKM FIXME comments.
22942 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22943 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22945 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22946 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22947 Remove GKM FIXME comments.
22948 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22949 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22950 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22952 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22953 about bounded pointers. Remove GKM FIXME comment.
22954 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22956 (strncmp): Don't use BP_SYM. Remove comment about bounded
22958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22959 <bp-sym.h> and <bp-asm.h>.
22960 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22962 <bp-sym.h> and <bp-asm.h>.
22963 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22966 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22968 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22971 2013-03-05 David S. Miller <davem@davemloft.net>
22973 * po/es.po: Update from translation team.
22975 2013-03-05 Andreas Jaeger <aj@suse.de>
22977 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22978 <bits/mman-linux.h>.
22979 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22981 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22982 <bits/mman-linux.h> to end of file.
22983 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22985 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22986 <bits/mman-linux.h> to end of file.
22987 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22989 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22990 <bits/mman-linux.h> to end of file.
22992 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22993 (MCL_CURRENT, MCL_FUTURE): Define here.
22995 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22998 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23000 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23002 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23004 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23005 fourth parameter needed for rt_sigprocmask syscall.
23006 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23007 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23008 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23009 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23010 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23011 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23013 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23016 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23017 comment about bounded pointers.
23018 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23019 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23021 2013-03-04 Andreas Jaeger <aj@suse.de>
23023 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23024 common definitions.
23026 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23027 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23028 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23029 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23030 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23031 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23033 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23036 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23037 __ieee754_sqrl instead of __sqrl.
23039 2013-03-01 Joseph Myers <joseph@codesourcery.com>
23041 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23042 * sysdeps/powerpc/fpu_control.h: ... here.
23043 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23044 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23045 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23046 * sysdeps/powerpc/bits/mathinline.h: ... here.
23048 2013-03-01 Roland McGrath <roland@hack.frob.com>
23050 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23051 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23052 to just [NEED_DL_SYSINFO_DSO].
23053 * elf/dl-support.c: Likewise.
23054 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23055 * elf/rtld.c (dl_main): Likewise.
23056 * elf/setup-vdso.h (setup_vdso): Likewise.
23057 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23058 * sysdeps/unix/sysv/linux/dl-sysdep.c
23059 (_dl_discover_osversion): Likewise.
23061 2013-03-01 Carlos O'Donell <carlos@redhat.com>
23063 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23064 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23066 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23068 * NEWS: Mention libm performance improvements and non-x86 PI
23071 * csu/libc-start.c (__pthread_initialize_minimal): Change
23072 function arguments.
23073 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23075 2013-02-28 Joseph Myers <joseph@codesourcery.com>
23078 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23079 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23080 <bp-sym.h> and <bp-asm.h>.
23081 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23082 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23084 (memcpy): Don't use BP_SYM.
23085 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23087 (__mpn_add_n): Don't use BP_SYM.
23088 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23089 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23091 (__mpn_addmul_1): Don't use BP_SYM.
23092 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23093 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23095 (_setjmp): Don't use BP_SYM.
23096 (__novmx_setjmp): Likewise.
23097 (__GI__setjmp): Likewise.
23098 (__vmx_setjmp): Likewise.
23099 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23101 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23102 (__bzero): Don't use BP_SYM.
23103 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23104 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23105 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23106 <bp-sym.h> and <bp-asm.h>.
23107 (memcpy): Don't use BP_SYM.
23108 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23109 <bp-sym.h> and <bp-asm.h>.
23110 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23111 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23112 <bp-sym.h> and <bp-asm.h>.
23113 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23114 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23116 (__mpn_lshift): Don't use BP_SYM.
23117 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23118 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23120 (memset): Don't use BP_SYM.
23121 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23122 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23123 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23125 (__mpn_mul_1): Don't use BP_SYM.
23126 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23127 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23128 <bp-sym.h> and <bp-asm.h>.
23129 (memcmp): Don't use BP_SYM.
23130 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23131 <bp-sym.h> and <bp-asm.h>.
23132 (memcpy): Don't use BP_SYM.
23133 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23134 <bp-sym.h> and <bp-asm.h>.
23135 (memset): Don't use BP_SYM.
23136 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23137 <bp-sym.h> and <bp-asm.h>.
23138 (strncmp): Don't use BP_SYM.
23139 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23140 <bp-sym.h> and <bp-asm.h>.
23141 (memcpy): Don't use BP_SYM.
23142 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23143 <bp-sym.h> and <bp-asm.h>.
23144 (memset): Don't use BP_SYM.
23145 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23146 <bp-sym.h> and <bp-asm.h>.
23147 (__memchr): Don't use BP_SYM.
23148 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23149 <bp-sym.h> and <bp-asm.h>.
23150 (memcmp): Don't use BP_SYM.
23151 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23152 <bp-sym.h> and <bp-asm.h>.
23153 (memcpy): Don't use BP_SYM.
23154 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23155 <bp-sym.h> and <bp-asm.h>.
23156 (__mempcpy): Don't use BP_SYM.
23157 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23158 <bp-sym.h> and <bp-asm.h>.
23159 (__memrchr): Don't use BP_SYM.
23160 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23161 <bp-sym.h> and <bp-asm.h>.
23162 (memset): Don't use BP_SYM.
23163 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23164 <bp-sym.h> and <bp-asm.h>.
23165 (__rawmemchr): Don't use BP_SYM.
23166 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23167 <bp-sym.h> and <bp-asm.h>.
23168 (__STRCMP): Don't use BP_SYM.
23169 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23170 <bp-sym.h> and <bp-asm.h>.
23171 (strchr): Don't use BP_SYM.
23172 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23173 <bp-sym.h> and <bp-asm.h>.
23174 (__strchrnul): Don't use BP_SYM.
23175 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23176 <bp-sym.h> and <bp-asm.h>.
23177 (strlen): Don't use BP_SYM.
23178 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23179 <bp-sym.h> and <bp-asm.h>.
23180 (strncmp): Don't use BP_SYM.
23181 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23182 <bp-sym.h> and <bp-asm.h>.
23183 (__strnlen): Don't use BP_SYM.
23184 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23186 (__mpn_rshift): Don't use BP_SYM.
23187 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23188 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23189 <bp-sym.h> and <bp-asm.h>.
23190 (__sigsetjmp): Don't use BP_SYM.
23191 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23192 (L(start_addresses)): Don't use BP_SYM.
23193 (_start): Likewise.
23194 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23196 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23197 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23198 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23199 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23201 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23202 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23203 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23204 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23206 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23208 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23209 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23211 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23213 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23214 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23215 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23217 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23219 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23221 (strncmp): Don't use BP_SYM,
23222 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23224 (__mpn_sub_n): Don't use BP_SYM.
23225 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23226 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23228 (__mpn_submul_1): Don't use BP_SYM.
23229 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23231 <bp-sym.h> and <bp-asm.h>.
23232 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23234 <bp-sym.h> and <bp-asm.h>.
23235 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23238 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23241 Use ZK to minimize writes to Z.
23242 (sub_magnitudes): Simplify code a bit.
23243 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23244 Use ZK to minimize writes to Z.
23245 (sub_magnitudes): Simplify code a bit.
23247 2013-02-27 Roland McGrath <roland@hack.frob.com>
23249 * csu/gmon-start.c: Add special exception to license text.
23251 2013-02-27 Richard Henderson <rth@redhat.com>
23253 * scripts/config.guess: Update from config.git.
23254 * scripts/config.sub: Likewise.
23256 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23258 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23260 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23262 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23264 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23266 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23268 2013-02-26 Roland McGrath <roland@hack.frob.com>
23270 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23271 [$(build-shared = yes].
23273 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23275 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23276 (__mul): Reduce iterations for calculating mantissa.
23278 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23280 (__mpranred): Likewise.
23283 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23284 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23286 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23288 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23289 Define __attribute__.
23291 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23293 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23295 * posix/regex_internal.h (__attribute): Remove.
23296 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23297 (re_string_context_at): Likewise.
23298 (bitset_not): Use __attribute__ and mark function as possibly
23300 (bitset_merge): Likewise.
23301 (bitset_mask): Likewise.
23302 (re_string_char_size_at): Likewise.
23303 (re_string_wchar_at): Likewise.
23304 (re_string_elem_size_at): Likewise.
23306 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23308 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23312 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23316 (denorm): Likewise.
23317 (__dbl_mp): Likewise.
23318 (add_magnitudes): Likewise.
23319 (sub_magnitudes): Likewise.
23323 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23326 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23329 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23333 up changes with default code.
23334 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23337 2013-02-24 Allan McRae <allan@archlinux.org>
23339 * manual/socket.texi (The Internet Namespace): Order menu items
23340 to match that in the file.
23342 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23343 node listing of the info page menu.
23345 2013-02-21 Joseph Myers <joseph@codesourcery.com>
23348 * sysdeps/i386/bp-asm.h: Remove file.
23349 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23350 (PARMS): Do not use macros from bp-asm.h.
23354 (__mpn_add_n): Do not use BP_SYM
23355 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23357 (PARMS): Do not use macros from bp-asm.h.
23360 (__mpn_addmul_1): Do not use BP_SYM
23361 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23363 (PARMS): Do not use macros from bp-asm.h.
23364 (SIGMSK): Likewise.
23365 (_setjmp): Likewise. Do not use BP_SYM.
23366 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23368 (PARMS): Do not use macros from bp-asm.h.
23369 (SIGMSK): Likewise.
23370 (setjmp): Likewise. Do not use BP_SYM.
23371 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23373 (PARMS): Do not use macros from bp-asm.h.
23374 (__frexp): Do not use BP_SYM.
23376 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23378 (PARMS): Do not use macros from bp-asm.h.
23379 (__frexpf): Do not use BP_SYM.
23380 (frexpf): Likewise.
23381 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23383 (PARMS): Do not use macros from bp-asm.h.
23384 (__frexpl): Do not use BP_SYM.
23385 (frexpl): Likewise.
23386 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23388 (PARMS): Do not use macros from bp-asm.h.
23389 (__remquo): Do not use BP_SYM.
23390 (remquo): Likewise.
23391 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23393 (PARMS): Do not use macros from bp-asm.h.
23394 (__remquof): Do not use BP_SYM.
23395 (remquof): Likewise.
23396 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23398 (PARMS): Do not use macros from bp-asm.h.
23399 (__remquol): Do not use BP_SYM.
23400 (remquol): Likewise.
23401 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23403 (PARMS): Do not use macros from bp-asm.h.
23406 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23407 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23409 (PARMS): Do not use macros from bp-asm.h.
23410 (strlen): Do not use BP_SYM.
23411 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23413 (PARMS): Do not use macros from bp-asm.h.
23417 (__mpn_add_n): Do not use BP_SYM.
23418 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23420 (PARMS): Do not use macros from bp-asm.h.
23423 (__mpn_addmul_1): Do not use BP_SYM.
23424 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23427 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23429 (PARMS): Do not use macros from bp-asm.h.
23432 (__mpn_lshift): Do not use BP_SYM.
23433 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23435 (PARMS): Do not use macros from bp-asm.h.
23439 (memcpy): Likewise. Do not use BP_SYM.
23440 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23441 libc_hidden_def and weak_alias.
23442 (mempcpy): Do not use BP_SYM in weak_alias.
23443 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23445 (PARMS): Do not use macros from bp-asm.h.
23448 [!BZERO_P] (CHR): Likewise.
23449 (memset): Likewise. Do not use BP_SYM.
23450 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23452 (PARMS): Do not use macros from bp-asm.h.
23455 (__mpn_mul_1): Do not use BP_SYM.
23456 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23458 (PARMS): Do not use macros from bp-asm.h.
23461 (__mpn_rshift): Do not use BP_SYM.
23462 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23464 (PARMS): Do not use macros from bp-asm.h.
23467 (strchr): Likewise. Do not use BP_SYM.
23468 (index): Do not use BP_SYM in weak_alias.
23469 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23471 (PARMS): Do not use macros from bp-asm.h.
23474 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23475 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23477 (PARMS): Do not use macros from bp-asm.h.
23478 (strlen): Do not use BP_SYM.
23479 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23481 (PARMS): Do not use macros from bp-asm.h.
23485 (__mpn_sub_n): Do not use BP_SYM.
23486 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23488 (PARMS): Do not use macros from bp-asm.h.
23491 (__mpn_submul_1): Do not use BP_SYM.
23492 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23494 (PARMS): Do not use macros from bp-asm.h.
23498 (__mpn_add_n): Do not use BP_SYM.
23499 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23502 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23504 (PARMS): Do not use macros from bp-asm.h.
23507 (memcmp): Do not use BP_SYM.
23508 (bcmp): Do not use BP_SYM in weak_alias.
23509 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23511 (PARMS): Do not use macros from bp-asm.h.
23515 (memcpy): Likewise. Do not use BP_SYM.
23516 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23518 (PARMS): Do not use macros from bp-asm.h.
23522 (memmove): Likewise. Do not use BP_SYM.
23523 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23525 (PARMS): Do not use macros from bp-asm.h.
23529 (__mempcpy): Likewise. Do not use BP_SYM.
23530 (mempcpy): Do not use BP_SYM in weak_alias.
23531 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23533 (PARMS): Do not use macros from bp-asm.h.
23536 [!BZERO_P] (CHR): Likewise.
23537 (memset): Likewise. Do not use BP_SYM.
23538 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23540 (PARMS): Do not use macros from bp-asm.h.
23542 (strcmp): Do not use BP_SYM.
23543 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23545 (PARMS): Do not use macros from bp-asm.h.
23548 [USE_AS_STRTOK_R] (SAVE): Likewise.
23549 (FUNCTION): Likewise. Do not use BP_SYM.
23550 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23552 (strtok_r): Likewise.
23553 (__GI___strtok_r): Likewise.
23554 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23555 (PARMS): Do not use macros from bp-asm.h.
23558 (__mpn_lshift): Do not use BP_SYM.
23559 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23560 (PARMS): Do not use macros from bp-asm.h.
23563 (__memchr): Do not use BP_SYM.
23564 (memchr): Do not use BP_SYM in weak_alias.
23565 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23566 (PARMS): Do not use macros from bp-asm.h.
23569 (memcmp): Do not use BP_SYM.
23570 (bcmp): Do not use BP_SYM in weak_alias.
23571 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23572 (PARMS): Do not use macros from bp-asm.h.
23575 (__mpn_mul_1): Do not use BP_SYM.
23576 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23578 (PARMS): Do not use macros from bp-asm.h.
23581 (__rawmemchr): Do not use BP_SYM.
23582 (rawmemchr): Do not use BP_SYM in weak_alias.
23583 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23584 (PARMS): Do not use macros from bp-asm.h.
23587 (__mpn_rshift): Do not use BP_SYM.
23588 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23589 (PARMS): Do not use macros from bp-asm.h.
23590 (SIGMSK): Likewise.
23591 (__sigsetjmp): Likewise. Do not use BP_SYM.
23592 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23593 (_start): Do not use BP_SYM.
23594 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23595 (PARMS): Do not use macros from bp-asm.h.
23598 (__stpcpy): Likewise. Do not use BP_SYM.
23599 (stpcpy): Do not use BP_SYM in weak_alias.
23600 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23602 (PARMS): Do not use macros from bp-asm.h.
23606 (__stpncpy): Likewise. Do not use BP_SYM.
23607 (stpncpy): Do not use BP_SYM in weak_alias.
23608 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23609 (PARMS): Do not use macros from bp-asm.h.
23612 (strchr): Likewise. Do not use BP_SYM.
23613 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23615 (PARMS): Do not use macros from bp-asm.h.
23618 (__strchrnul): Likewise. Do not use BP_SYM.
23619 (strchrnul): Do not use BP_SYM in weak_alias.
23620 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23622 (PARMS): Do not use macros from bp-asm.h.
23624 (strcspn): Do not use BP_SYM.
23625 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23627 (PARMS): Do not use macros from bp-asm.h.
23630 (strpbrk): Likewise. Do not use BP_SYM.
23631 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23633 (PARMS): Do not use macros from bp-asm.h.
23636 (strrchr): Likewise. Do not use BP_SYM.
23637 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23638 (PARMS): Do not use macros from bp-asm.h.
23640 (strspn): Do not use BP_SYM.
23641 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23642 (PARMS): Do not use macros from bp-asm.h.
23646 (FUNCTION): Likewise. Do not use BP_SYM.
23647 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23649 (strtok_r): Likewise.
23650 (__GI___strtok_r): Likewise.
23651 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23652 (PARMS): Do not use macros from bp-asm.h.
23656 (__mpn_sub_n): Do not use BP_SYM.
23657 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23659 (PARMS): Do not use macros from bp-asm.h.
23662 (__mpn_submul_1): Do not use BP_SYM.
23663 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23665 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23667 (PARMS): Do not use macros from bp-asm.h.
23672 (__clone): Do not use BP_SYM.
23673 (clone): Do not use BP_SYM in weak_alias.
23674 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23676 (PARMS): Do not use macros from bp-asm.h.
23678 (__mmap64): Do not use BP_SYM.
23679 (mmap64): Do not use BP_SYM in weak_alias.
23680 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23681 <bp-sym.h> and <bp-asm.h>.
23682 (PARMS): Do not use macros from bp-asm.h.
23683 (__posix_fadvise64_l64): Do not use BP_SYM.
23684 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23685 (PARMS): Do not use macros from bp-asm.h.
23687 (semtimedop): Do not use BP_SYM.
23688 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23691 2013-02-21 Allan McRae <allan@archlinux.org>
23693 * manual/message.texi (Charset conversion in gettext):
23694 Move @end statement to beginning of line.
23696 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23698 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23700 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23703 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23704 (denorm): Likewise.
23705 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23706 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23708 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23710 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23711 tail-call to the resolved function if pltexit isn't needed.
23713 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23715 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23716 or Y being zero as being unlikely.
23717 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23720 2013-02-20 Carlos O'Donell <carlos@redhat.com>
23722 * manual/nss.texi (System Databases and Name Service Switch):
23723 Remove frobnicate @pxref.
23725 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23727 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23728 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23730 2013-02-20 Petr Machata <pmachata@redhat.com>
23732 * elf/elf.h (R_ARM_TARGET1): New macro.
23733 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23734 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23735 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23736 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23737 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23738 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23739 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23740 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23741 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23742 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23743 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23744 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23745 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23746 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23747 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23748 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23749 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23750 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23751 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23752 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23753 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23754 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23755 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23756 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23757 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23758 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23759 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23760 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23761 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23762 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23763 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23764 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23765 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23766 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23767 (R_ARM_THM_GOT_BREL12): Likewise.
23768 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23769 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23770 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23771 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23772 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23773 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23774 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23775 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23776 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23778 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23780 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23781 __attribute_used__ to __attribute__ ((unused)).
23783 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23785 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23788 comment formatting.
23789 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23791 2013-02-19 Joseph Myers <joseph@codesourcery.com>
23794 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23796 (ENTER): Remove both macro definitions.
23798 (CHECK_BOUNDS_LOW): Likewise.
23799 (CHECK_BOUNDS_HIGH): Likewise.
23800 (CHECK_BOUNDS_BOTH): Likewise.
23801 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23802 (RETURN_BOUNDED_POINTER): Likewise.
23803 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23804 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23805 (POP_ERRNO_LOCATION_RETURN): Likewise.
23806 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23807 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23808 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23810 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23811 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23812 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23813 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23814 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23815 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23816 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23817 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23818 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23819 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23820 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23821 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23822 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23823 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23825 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23826 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23828 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23829 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23830 * sysdeps/i386/i586/memset.S (memset): Likewise.
23831 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23832 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23833 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23835 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23836 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23837 Change uses of L(2) to L(out).
23838 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23839 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23840 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23841 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23842 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23844 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23845 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23847 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23848 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23849 (RETURN): Do not use macro LEAVE.
23850 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23851 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23852 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23853 * sysdeps/i386/i686/memset.S (memset): Likewise.
23854 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23855 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23856 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23857 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23859 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23860 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23861 L(1_2) and L(1_3) into L(1).
23862 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23863 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23864 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23865 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23866 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23867 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23868 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23869 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23870 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23872 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23873 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23874 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23875 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23876 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23877 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23878 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23879 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23880 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23881 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23882 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23883 * sysdeps/i386/strspn.S (strspn): Likewise.
23884 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23886 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23887 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23888 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23889 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23890 L(1_3) into L(1_1).
23891 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23892 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23893 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23895 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23897 2013-02-19 Jakub Jelinek <jakub@redhat.com>
23899 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23902 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23904 * math/atest-exp.c (exp_mpn): Remove ROUND.
23905 * math/atest-exp2.c (exp_mpn): Likewise.
23906 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23908 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23909 * stdlib/tst-tls-atexit-lib.c: Likewise.
23910 * stdlib/tst-tls-atexit.c: Likewise.
23912 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23914 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23915 and __attribute_alloc_size__.
23917 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23919 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23920 __attribute_alloc_size__.
23921 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23922 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23924 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23926 * include/programs/xmalloc.h: New file.
23927 * catgets/gencat.c: Include it.
23928 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23929 * elf/pldd.c: Likewise.
23930 * iconv/iconv_charmap.c: Likewise.
23931 * iconv/iconvconfig.c: Likewise.
23932 * iconv/strtab.c: Likewise.
23933 * locale/programs/locale.c: Likewise.
23934 * locale/programs/localedef.h: Likewise.
23935 * locale/programs/simple-hash.c: Likewise.
23936 * nscd/nscd.h: Likewise.
23937 * nss/makedb.c: Likewise.
23938 * sysdeps/generic/ldconfig.h: Likewise.
23940 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23942 * Versions.def: Add GLIBC_2.18.
23943 * include/link.h (struct link_map): New member l_tls_dtor_count.
23944 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23945 (__call_tls_dtors): Likewise.
23946 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23947 __cxa_thread_atexit_impl.
23948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23956 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23964 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23965 (tests): Add test case tst-tls-atexit.
23966 (modules-names): Add shared library for tst-tls-atexit.
23967 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23968 (GLIBC_PRIVATE): Add __call_tls_dtors.
23969 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23971 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23972 * stdlib/tst-tls-atexit.c: New test case.
23973 * stdlib/tst-tls-atexit-lib.c: New test case.
23975 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23977 * elf/Versions (ld): Add _dl_find_dso_for_object.
23978 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23979 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23980 (dl_open_worker): Use _dl_find_dso_for_object.
23981 * elf/dl-sym.c (do_sym): Likewise.
23982 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23984 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23986 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23987 Syntactic changes only.
23988 (_dl_runtime_profile): Do a tail-call to the resolved function.
23990 2013-02-17 Joseph Myers <joseph@codesourcery.com>
23993 * sysdeps/x86_64/bp-asm.h: Remove file.
23994 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23995 <bp-sym.h> and <bp-asm.h>.
23996 (__clone): Do not use BP_SYM.
23997 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23998 <bp-sym.h> and <bp-asm.h>.
23999 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24000 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24002 (_setjmp): Do not use BP_SYM.
24003 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24005 (setjmp): Do not use BP_SYM.
24006 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24008 (mempcpy): Do not use BP_SYM in weak_alias.
24009 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24011 (strchr): Do not use BP_SYM.
24012 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24014 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24015 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24016 (_start): Do not use BP_SYM.
24017 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24019 (strcat): Do not use BP_SYM.
24020 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24022 (STRCMP): Do not use BP_SYM.
24023 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24025 (STRCPY): Do not use BP_SYM.
24026 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24028 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24030 (FUNCTION): Do not use BP_SYM.
24031 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24033 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24035 2013-02-17 Andreas Jaeger <aj@suse.de>
24037 * time/Versions: Sort entries.
24038 * string/Versions: Likewise.
24039 * resolv/Versions: Likewise.
24040 * posix/Versions: Likewise.
24041 * iconv/Versions: Likewise.
24042 * elf/Versions: Likewise.
24043 * wcsmbs/Versions: Likewise.
24045 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24047 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24048 loop termination condition.
24050 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24051 variable to calculate EZ.
24054 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24055 the lower precision input.
24057 2013-02-15 Joseph Myers <joseph@codesourcery.com>
24060 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24061 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24062 (run-via-rtld-prefix): Do not handle %-bp tests.
24063 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24064 (all-object-suffixes): Remove .ob.
24065 (bppfx): Remove variable.
24066 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24067 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24068 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24069 [$(build-bounded) = yes] (libtype.ob): Likewise.
24070 * Makerules (elide-routines.ob): Remove variable.
24071 (do-tests-clean): Do not handle *-bp.out.
24072 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24073 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24074 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24075 (tests): Do not include $(tests-bp.out).
24076 (xtests): Do not include $(xtests-bp.out).
24077 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24078 [$(build-bounded) = yes] ($(addprefix
24079 $(objpfx),$(binaries-bounded))): Remove rule.
24080 ($(objpfx)%-bp.out): Remove rule.
24081 * config.make.in (build-bounded): Remove variable.
24082 * crypt/Makefile [$(build-bounded) = yes]
24083 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24084 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24085 append to variable.
24086 [$(build-bounded) = yes] (install-lib): Likewise.
24087 [$(build-bounded) = yes] (generated): Likewise.
24088 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24090 * intl/Makefile [$(build-bounded) = yes]
24091 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24092 * math/Makefile [$(build-bounded) = yes]
24093 ($(tests:%=$(objpfx)%-bp): Likewise.
24094 * misc/Makefile [$(build-bounded) = yes]
24095 ($(objpfx)tst-tsearch-bp): Likewise.
24096 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24097 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24099 * string/Makefile (o-objects.ob): Remove variable.
24100 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24101 (CFLAGS-.ob): Remove variable.
24102 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24103 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24104 both definitions of variable.
24105 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24106 (ASFLAGS-.ob): Remove variable.
24108 2013-02-14 Joseph Myers <joseph@codesourcery.com>
24111 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24112 Remove __BOUNDED_POINTERS__ from condition.
24113 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24114 * string/bits/string2.h [!__NO_STRING_INLINES &&
24115 !__BOUNDED_POINTERS__]: Likewise.
24116 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24118 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24119 Remove conditional code.
24120 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24121 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24122 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24126 * csu/libc-start.c: Do not include <bp-sym.h>.
24127 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24128 * elf/dl-open.c: Do not include <bp-sym.h>.
24129 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24130 * math/fegetenv.c: Do not include <bp-sym.h>.
24131 (fegetenv): Do not use BP_SYM in versioned symbols.
24132 * nptl/sysdeps/pthread/bits/libc-lockP.h
24133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24136 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24138 (__pthread_mutex_destroy): Likewise.
24139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24140 (__pthread_mutex_lock): Likewise.
24141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24142 (__pthread_mutex_trylock): Likewise.
24143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24144 (__pthread_mutex_unlock): Likewise.
24145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24146 (__pthread_mutexattr_init): Likewise.
24147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24148 (__pthread_mutexattr_destroy): Likewise.
24149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24150 (__pthread_mutexattr_settype): Likewise.
24151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24152 (__pthread_rwlock_init): Likewise.
24153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24154 (__pthread_rwlock_destroy): Likewise.
24155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24156 (__pthread_rwlock_rdlock): Likewise.
24157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24158 (__pthread_rwlock_tryrdlock): Likewise.
24159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24160 (__pthread_rwlock_wrlock): Likewise.
24161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24162 (__pthread_rwlock_trywrlock): Likewise.
24163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24164 (__pthread_rwlock_unlock): Likewise.
24165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24166 (__pthread_key_create): Likewise.
24167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24168 (__pthread_setspecific): Likewise.
24169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24170 (__pthread_getspecific): Likewise.
24171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24174 (_pthread_cleanup_push_defer): Likewise.
24175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24176 (_pthread_cleanup_pop_restore): Likewise.
24177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24178 (pthread_setcancelstate): Likewise.
24179 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24181 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24182 (memchr): Do not use BP_SYM in weak_alias.
24183 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24184 (fegetenv): Do not use BP_SYM in versioned symbols.
24185 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24186 (fesetenv): Do not use BP_SYM in versioned symbols.
24187 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24188 (feupdateenv): Do not use BP_SYM in versioned symbols.
24189 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24190 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24191 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24192 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24193 (open64): Do not use BP_SYM in weak_alias.
24194 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24195 (fegetenv): Do not use BP_SYM in versioned symbols.
24196 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24197 (fesetenv): Do not use BP_SYM in versioned symbols.
24198 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24199 (feupdateenv): Do not use BP_SYM in versioned symbols.
24200 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24201 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24202 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24203 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24204 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24205 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24206 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24208 (__libc_start_main): Do not use BP_SYM.
24210 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24212 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24213 redundant return line.
24215 (denorm): Likewise.
24216 (dbl_mp): Likewise.
24217 (sub_magnitudes): Likewise.
24223 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24225 (denorm): Likewise.
24226 (dbl_mp): Likewise.
24227 (sub_magnitudes): Likewise.
24234 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24236 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24237 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24240 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24241 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24242 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24243 of __mul for squares.
24244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24248 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24249 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24251 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24254 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24256 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24257 prototype or function definition. Rename ubp_* variables and
24258 parameters. Remove argv definitions conditional on
24259 [__BOUNDED_POINTERS__].
24260 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24261 * elf/dl-runtime.c (_dl_fixup): Likewise.
24262 * include/set-hooks.h (RUN_HOOK): Likewise.
24263 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24265 * string/strcpy.c (strcpy): Do not use __unbounded.
24266 * sysdeps/generic/frame.h (struct layout): Likewise.
24267 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24268 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24269 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24270 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24271 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24272 (__backtrace): Likewise.
24273 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24275 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24276 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24277 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24279 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24280 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24281 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24282 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24283 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24284 Do not use __unbounded.
24285 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24286 Rename __unboundedrlimits parameter to rlimits in prototype.
24287 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24288 Do not use __unbounded.
24289 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24290 not use __ptrvalue.
24291 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24292 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24293 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24294 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24295 __ptrvalue or __unbounded.
24296 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24297 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24299 (__new_msgctl): Do not use __ptrvalue.
24300 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24302 (__libc_msgrcv): Do not use __ptrvalue.
24303 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24304 startup_info): Do not use __unbounded.
24305 (__libc_start_main): Likewise. Rename ubp_* variables and
24306 parameters. Remove argv definitions conditional on
24307 [__BOUNDED_POINTERS__].
24308 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24310 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24312 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24314 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24316 (__new_shmctl): Do not use __ptrvalue.
24317 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24318 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24320 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24321 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24322 (__libc_sigaction): Likewise.
24323 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24324 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24326 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24328 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24330 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24332 * string/mempcpy.c: Implement by calling memcpy.
24334 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24336 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24338 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24341 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24342 values in the mantissa.
24344 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24345 minimize writes to Z.
24346 (sub_magnitudes): Simplify code a bit.
24348 2013-02-12 Roland McGrath <roland@hack.frob.com>
24350 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24351 from the message. The linker prefixes all warnings with that already.
24353 2013-02-12 Andreas Schwab <schwab@suse.de>
24356 * posix/regexec.c (extend_buffers): Add parameter min_len.
24357 (check_matching): Pass minimum needed length.
24358 (clean_state_log_if_needed): Likewise.
24359 (get_subexp): Likewise.
24360 * posix/Makefile (tests): Add bug-regex34.
24361 (bug-regex34-ENV): Define.
24362 * posix/bug-regex34.c: New file.
24365 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24366 elements compare against the byte sequence of it, not its name.
24367 * posix/Makefile (tests): Add bug-regex35.
24368 (bug-regex35-ENV): Define.
24369 * posix/bug-regex35.c: New file.
24371 2013-02-11 Tom de Vries <tom@codesourcery.com>
24373 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24375 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24376 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24377 (CHECK_EOL): Add undef.
24379 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
24381 * bits/stdlib-bsearch.h: New file.
24382 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24383 * stdlib/stdlib.h: Likewise.
24385 2013-02-11 Roland McGrath <roland@hack.frob.com>
24387 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24388 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24390 * manual/search.texi (Array Search Function): Add missing const in
24392 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24393 declaration to use rlim_t.
24394 (Basic Scheduling Functions): Remove erroneous const from
24395 sched_getparam prototype. Remove erroneous * from
24396 sched_get_priority_max and sched_get_priority_min prototypes.
24397 (Resource Usage): Fix summary @comment on vtimes to refer to
24398 sys/vtimes.h rather than vtimes.h.
24399 Add missing *s in vtimes prototype.
24400 (Limits on Resources): Fix ulimit prototype to return long int.
24401 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24402 prototypes to use long int rather than double.
24403 (BSD Random): Fix initstate and setstate to use char *, not void *.
24404 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24405 prototype to make second argument 'struct aiocb64 *const[]'.
24406 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24407 (Status of AIO Operations): Remove erroneous const in aio_return and
24408 aio_return64 prototypes.
24409 (Synchronizing I/O): Fix sync prototype to return void.
24410 * manual/startup.texi (Suboptions): Remove an erroneous const in
24411 getsubopt prototype.
24412 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24413 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24414 use size_t rather than int.
24415 (Scanning All Users): Likewise for getpwent_r.
24416 (Setting Groups): Add missing const to setgroups prototype.
24417 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24418 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24419 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24420 'const void *' rather than 'const char *'.
24421 (Host Address Functions): Likewise for inet_ntop.
24422 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24423 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24424 ssize_t for return value.
24425 (Sending Data): Likewise for send, sendto, sendmsg.
24426 (Socket Option Functions): Add a missing const in setsockopt prototype.
24427 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24428 use wchar_t for the argument.
24429 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24430 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24432 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24433 double/float/long double for second argument.
24434 Fix return types of significand, significandf, significandl.
24435 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24436 argument in fchmod prototype.
24437 (File Owner): Use uid_t and gid_t in fchown prototype.
24438 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24439 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24440 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24441 use 'const struct dirent **' as argument types to CMP function pointer
24443 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24444 (File Times): Fix summary magic @comment for struct utimbuf and utime
24445 to refer to utime.h, not time.h.
24446 * manual/string.texi (Argz Functions): Add missing const in
24447 argz_extract and argz_next prototypes.
24448 (Finding Tokens in a String): Likewise for basename.
24449 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24450 (Copying and Concatenation): Fix typo in wmemmove prototype.
24451 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24452 (Signal Stack): Remove erroneous const in sigstack prototype.
24453 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24455 (Simple Calendar Time): Likewise for stime.
24456 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24458 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24459 say sys/sysctl.h instead.
24460 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24461 and vsyslog prototypes.
24463 2013-02-11 Tom de Vries <tom@codesourcery.com>
24465 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24468 2013-02-11 Roland McGrath <roland@hack.frob.com>
24470 * misc/sys/mman.h: Fix typo in mremap comment.
24472 2013-02-08 Roland McGrath <roland@hack.frob.com>
24474 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24475 the '\0' terminator.
24477 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24480 * debug/segfault.c: Don't include <bp-checks.h>.
24481 * sysdeps/generic/bp-checks.h: Remove file.
24482 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24483 (__GETDENTS): Don't use CHECK_N.
24484 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24485 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24486 (__getgroups): Don't use CHECK_N.
24487 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24488 (setgroups): Don't use CHECK_N.
24489 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24490 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24491 (__libc_msgrcv): Don't use CHECK_N.
24492 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24493 (__libc_msgsnd): Don't use CHECK_N.
24494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24496 (__libc_pread): Don't use CHECK_N.
24497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24498 include <bp-checks.h>.
24499 (__libc_pread64): Don't use CHECK_N.
24500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24501 include <bp-checks.h>.
24502 (__libc_pwrite): Don't use CHECK_N.
24503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24504 include <bp-checks.h>.
24505 (__libc_pwrite64): Don't use CHECK_N.
24506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24508 (__libc_pread): Don't use CHECK_N.
24509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24510 include <bp-checks.h>.
24511 (__libc_pread64): Don't use CHECK_N.
24512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24513 include <bp-checks.h>.
24514 (__libc_pwrite): Don't use CHECK_N.
24515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24516 include <bp-checks.h>.
24517 (__libc_pwrite64): Don't use CHECK_N.
24518 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24519 (do_pread): Don't use CHECK_N.
24520 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24521 (do_pread64): Don't use CHECK_N.
24522 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24523 (do_pwrite): Don't use CHECK_N.
24524 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24525 (do_pwrite64): Don't use CHECK_N.
24526 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24527 (__libc_readv): Don't use CHECK_N.
24528 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24529 (semop): Don't use CHECK_N.
24530 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24532 (semtimedop): Don't use CHECK_N.
24533 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24534 (__libc_pread): Don't use CHECK_N.
24535 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24537 (__libc_pread64): Don't use CHECK_N.
24538 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24540 (__libc_pwrite): Don't use CHECK_N.
24541 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24543 (__libc_pwrite64): Don't use CHECK_N.
24544 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24546 (__libc_msgrcv): Don't use CHECK_N.
24547 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24548 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24549 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24550 (__libc_writev): Don't use CHECK_N.
24552 2013-02-08 Roland McGrath <roland@hack.frob.com>
24554 * string/strcpy.c: Removed unused variable.
24556 * Makeconfig (+sysdep-includes): Define with := rather than =.
24557 Use an existing include/ subdir of each sysdeps dir before it.
24559 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24561 * nscd/connection.c (register_traced_file): Comment function.
24562 [HAVE_INOTIFY] (union __inev): Define.
24563 [HAVE_INOTIFY] (inotify_check_files): New function.
24564 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24565 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24567 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24569 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24571 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24572 loaded if not already and that a failure is permanent.
24574 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24577 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24578 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24580 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24583 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24584 (CHECK_1_NULL_OK): Likewise.
24585 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24586 (__fxstat): Do not use CHECK_1.
24587 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24589 (___fxstat64): Do not use CHECK_1.
24590 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24592 (__fxstatat): Do not use CHECK_1.
24593 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24595 (__fxstatat64): Do not use CHECK_1.
24596 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24598 (__fxstat): Do not use CHECK_1.
24599 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24601 (__fxstatat): Do not use CHECK_1.
24602 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24604 (__getresgid): Do not use CHECK_1.
24605 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24607 (__getresuid): Do not use CHECK_1.
24608 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24610 (__lxstat): Do not use CHECK_1.
24611 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24613 (__old_msgctl): Do not use CHECK_1.
24614 (__new_msgctl): Likewise.
24615 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24617 (__new_setrlimit): Do not use CHECK_1.
24618 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24620 (__old_shmctl): Do not use CHECK_1.
24621 (__new_shmctl): Likewise.
24622 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24624 (__xstat): Do not use CHECK_1.
24625 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24626 (__lxstat): Do not use CHECK_1.
24627 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24629 (___lxstat64): Do not use CHECK_1.
24630 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24631 (__old_msgctl): Do not use CHECK_1.
24632 (__new_msgctl): Likewise.
24633 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24635 (__gettimeofday): Do not use CHECK_1.
24636 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24637 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24638 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24640 (__gettimeofday): Do not use CHECK_1.
24641 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24642 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24643 (__new_shmctl): Do not use CHECK_1.
24644 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24646 (do_sigtimedwait): Do not use CHECK_1.
24647 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24649 (do_sigwaitinfo): Do not use CHECK_1.
24650 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24652 (msgctl): Do not use CHECK_1.
24653 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24655 (shmctl): Do not use CHECK_1.
24656 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24657 (ustat): Do not use CHECK_1.
24658 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24660 (__fxstat): Do not use CHECK_1.
24661 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24663 (__fxstatat): Do not use CHECK_1.
24664 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24666 (__lxstat): Do not use CHECK_1.
24667 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24669 (__xstat): Do not use CHECK_1.
24670 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24671 (__xstat): Do not use CHECK_1.
24672 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24673 (___xstat64): Do not use CHECK_1.
24676 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24678 (CHECK_BOUNDS_HIGH): Likewise.
24679 * string/strcpy.c: Do not include <bp-checks.h>.
24680 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24682 2013-02-07 Roland McGrath <roland@hack.frob.com>
24684 * nscd/nscd-client.h (__nscd_drop_map_ref):
24685 Add __attribute__ ((unused)).
24686 * nis/nss-nisplus.h (niserr2nss): Likewise.
24688 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24689 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24691 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24692 Remove inline keyword.
24693 * include/rounding-mode.h (round_away): Likewise.
24694 * libio/wfileops.c (adjust_wide_data): Likewise.
24695 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24696 (__m128i_strloadu_tolower): Likewise.
24697 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24698 (__m128i_strloadu_tolower): Likewise.
24699 * time/mktime.c (ydhms_diff): Likewise.
24700 * locale/elem-hash.h (elem_hash): Likewise.
24701 * locale/setlocale.c (setdata): Likewise.
24702 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24703 (re_string_wchar_at): Likewise.
24704 (bitset_not, bitset_merge, bitset_mask): Likewise.
24705 [!(__GNUC__ > 3)] (inline): Remove macro.
24706 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24707 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24708 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24709 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24710 * string/memcmp.c (memcmp_bytes): Likewise.
24711 * locale/programs/locarchive.c (compute_hashval): Likewise.
24712 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24713 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24714 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24715 * nss/getent.c (print_rpc, print_protocols): Likewise.
24716 (print_passwd, print_group, print_aliases): Likewise.
24717 * nis/nss-nisplus.h (niserr2nss): Likewise.
24718 * nscd/connections.c (restart_p): Likewise.
24719 Change return type to bool.
24721 2013-02-05 Roland McGrath <roland@hack.frob.com>
24723 * Makeconfig (all-Depend-files): Add existing
24724 $(sorted-subdirs:=/Depend) files.
24725 (all-subdirs): Remove nss.
24726 * sysdeps/unix/inet/Subdirs: Add it here instead.
24727 * hesiod/Depend: New file.
24729 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24730 instead of calling alloca.
24732 * io/lseek.c (__lseek): Rename to __libc_lseek.
24733 Define __lseek as an alias.
24735 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24737 2013-02-04 Carlos O'Donell <carlos@redhat.com>
24739 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24740 else clause and remove check for non-standard endianness.
24742 2013-02-04 David S. Miller <davem@davemloft.net>
24744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24746 2013-02-04 Joseph Myers <joseph@codesourcery.com>
24749 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24750 (__ubp_memchr): Remove prototype.
24751 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24752 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24753 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24754 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24755 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24757 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24758 (__ubp_memchr): Likewise.
24759 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24760 (__ubp_memchr): Likewise.
24761 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24762 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24763 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24764 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24766 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24767 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24768 (__getcwd): Do not use CHECK_STRING.
24769 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24771 (__real_chown): Do not use CHECK_STRING.
24772 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24774 (fchownat): Do not use CHECK_STRING.
24775 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24777 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24779 (__lchown): Do not use CHECK_STRING.
24780 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24781 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24782 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24783 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24785 include <bp-checks.h>.
24786 (truncate64): Do not use CHECK_STRING.
24787 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24789 (__real_chown): Do not use CHECK_STRING.
24790 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24792 (__lchown): Do not use CHECK_STRING.
24793 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24795 (__chown): Do not use CHECK_STRING.
24796 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24798 (truncate64): Do not use CHECK_STRING.
24799 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24801 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24802 (__xmknod): Do not use CHECK_STRING.
24803 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24805 (__xmknodat): Do not use CHECK_STRING.
24806 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24807 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24809 2013-02-04 Andreas Schwab <schwab@suse.de>
24812 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24813 * include/netdb.h: Likewise for h_errno.
24814 * elf/tst-stackguard1.c: Include <tls.h>.
24816 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24818 * elf/link.h (struct link_map): Extend the l_addr comment.
24819 * include/link.h (struct link_map): Likewise.
24821 2013-02-01 Joseph Myers <joseph@codesourcery.com>
24824 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24825 (BOUNDED_1): Remove macro.
24826 * debug/backtrace.c: Don't include <bp-checks.h>.
24827 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24828 (__backtrace): Likewise.
24829 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24831 (__backtrace): Don't use BOUNDED_1.
24832 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24834 (__backtrace): Don't use BOUNDED_1.
24835 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24836 (__backtrace): Don't use BOUNDED_1.
24837 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24838 (shmat): Don't use BOUNDED_N.
24840 2013-01-31 Joseph Myers <joseph@codesourcery.com>
24843 * sysdeps/generic/bp-start.h: Remove file.
24844 * csu/libc-start.c: Don't include <bp-start.h>.
24845 (LIBC_START_MAIN): Set up __environ directly instead of using
24846 INIT_ARGV_and_ENVIRON.
24847 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24851 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24853 (CHECK_FCNTL): Likewise.
24854 (CHECK_N_PAGES): Likewise.
24857 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24859 (CHECK_SIGSET_NULL_OK): Likewise.
24860 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24862 (sigpending): Don't use CHECK_SIGSET.
24863 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24865 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24866 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24868 (do_sigsuspend): Don't use CHECK_SIGSET.
24869 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24871 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24872 (do_sigwait): Don't use CHECK_SIGSET.
24873 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24875 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24876 include <bp-checks.h>.
24877 (sigpending): Don't use CHECK_SIGSET.
24878 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24879 include <bp-checks.h>.
24880 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24881 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24883 (sigpending): Don't use CHECK_SIGSET.
24884 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24886 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24889 * sysdeps/generic/bp-semctl.h: Remove file.
24890 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24891 <bp-checks.h> and <bp-semctl.h>.
24892 (__old_semctl): Don't use CHECK_SEMCTL.
24893 (__new_semctl): Likewise.
24894 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24896 (__old_semctl): Don't use CHECK_SEMCTL.
24897 (__new_semctl): Likewise.
24898 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24899 <bp-checks.h> and <bp-semctl.h>.
24900 (__old_semctl): Don't use CHECK_SEMCTL.
24901 (__new_semctl): Likewise.
24902 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24903 <bp-checks.h> and <bp-semctl.h>.
24904 (semctl): Don't use CHECK_SEMCTL.
24907 * Makerules (elide-bp-thunks): Remove variable.
24908 (elide-routines.oS): Don't use $(elide-bp-thunks).
24909 (elide-routines.os): Likewise.
24910 (elide-routines.o): Likewise.
24911 (elide-routines.op): Likewise.
24912 (elide-routines.og): Likewise.
24913 (objects): Don't use $(bp-thunks).
24914 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24916 (common-generated): Do not add s-proto-bp.d.
24917 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24920 Do not generate makefile rules for bounded-pointer thunks.
24921 * sysdeps/generic/bp-thunks.h: Remove file.
24922 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24923 * sysdeps/unix/s-proto-bp.S: Likewise.
24926 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24927 parts of result separately when argument is not close to line from
24928 -i to i and one part of argument is small.
24929 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24930 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24931 * math/libm-test.inc (cacos_test): Add more tests.
24932 (casin_test): Likewise.
24933 (casinh_test): Likewise.
24934 * sysdeps/i386/fpu/libm-test-ulps: Update.
24935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24937 2013-01-31 David S. Miller <davem@davemloft.net>
24939 * po/de.po: Update from translation team.
24941 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24943 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24945 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24947 * configure.in (_AC_PROG_CC_C89): New definition.
24948 * configure: Regenerate.
24950 * configure.in (AC_PROG_CPP): New definition.
24951 * configure: Regenerate.
24953 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24955 * debug/tst-backtrace.h: New file.
24956 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24957 (ret): Remove variable.
24959 (FAIL): Remove macro.
24960 (NO_INLINE): Likewise.
24961 (fn1): Use match function instead of strstr.
24962 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24963 (ret): Remove variable.
24965 (FAIL): Remove macro.
24966 (NO_INLINE): Likewise.
24967 (fn): Use match function instead of strstr.
24968 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24969 (ret): Remove variable.
24971 (FAIL): Remove macro.
24972 (NO_INLINE): Likewise.
24973 (handle_signal): Use match function instead of strstr.
24974 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24975 (ret): Remove variable.
24977 (FAIL): Remove macro.
24978 (NO_INLINE): Likewise.
24979 (handle_signal): Use match function instead of strstr.
24981 2013-01-23 Roland McGrath <roland@hack.frob.com>
24983 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24985 2013-01-23 David S. Miller <davem@davemloft.net>
24987 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24988 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24989 argument of CAS if possible.
24990 * sysdeps/sparc/sparc64/bits/atomic.h
24991 (__arch_compare_and_exchange_val_32_acq): Likewise.
24992 (__arch_compare_and_exchange_val_64_acq): Likewise.
24994 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24996 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24997 * sysdeps/posix/ulimit.c: ... this.
24998 Include <limits.h>.
24999 * sysdeps/unix/bsd/ulimit.c: Remove file.
25001 2013-01-23 Adam Conrad <adconrad@0c3.net>
25003 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25004 (LDFLAGS-tst-array5): Likewise.
25006 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25009 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25010 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25011 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25012 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25014 2013-01-21 David S. Miller <davem@davemloft.net>
25016 * sysdeps/sparc/backtrace.c: New file.
25017 * sysdeps/sparc/sparc32/backtrace.h: New file.
25018 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25019 * sysdeps/sparc/sparc64/backtrace.h: New file.
25020 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25021 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25024 2013-01-21 Andreas Schwab <schwab@suse.de>
25027 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25030 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25036 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25037 Mark Mitchell <mark@codesourcery.com>
25038 Tom de Vries <tom@codesourcery.com>
25039 Paul Pluzhnikov <ppluzhnikov@google.com>
25041 * debug/tst-backtrace2.c: New file.
25042 * debug/tst-backtrace3.c: Likewise.
25043 * debug/tst-backtrace4.c: Likewise.
25044 * debug/tst-backtrace5.c: Likewise.
25045 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25046 (CFLAGS-tst-backtrace3.c): Likewise.
25047 (CFLAGS-tst-backtrace4.c): Likewise.
25048 (CFLAGS-tst-backtrace5.c): Likewise.
25049 (LDFLAGS-tst-backtrace2): Likewise.
25050 (LDFLAGS-tst-backtrace3): Likewise.
25051 (LDFLAGS-tst-backtrace4): Likewise.
25052 (LDFLAGS-tst-backtrace5): Likewise.
25053 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25054 tst-backtrace4 and tst-backtrace5.
25056 2013-01-18 Anton Blanchard <anton@samba.org>
25057 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25059 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25060 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25061 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25062 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25064 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25065 "+r" and remove output regs list as redundant. Add explicit inline
25066 asm to specify register of return val to work around compiler codegen
25067 bug. Remove (int) cast on return value. Add return type parameter to
25068 use in macro so that this macro does not truncate return value for
25070 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25071 pass to INTERNAL_VSYSCALL_NCS.
25072 (INLINE_VSYSCALL): Add 'long int' as return type to
25073 INTERNAL_VSYSCALL_NCS macro invocation.
25074 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25075 INTERNAL_VSYSCALL_NCS macro invocation.
25076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25078 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25081 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25082 Fix application of SIMD FP exception mask.
25084 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25085 mp_no from a power of two.
25086 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25087 __mpexp_twomm1. Use __pow_mp.
25089 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25092 2013-01-17 David S. Miller <davem@davemloft.net>
25094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25096 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25099 * include/complex.h: Condition contents on [!_COMPLEX_H].
25100 (__kernel_casinhf): New prototype.
25101 (__kernel_casinh): Likewise.
25102 (__kernel_casinhl): Likewise.
25103 * math/Makefile (libm_calls): Add k_casinh.
25104 * math/k_casinh.c: New file.
25105 * math/k_casinhf.c: Likewise.
25106 * math/k_casinhl.c: Likewise.
25107 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25108 finite nonzero arguments.
25109 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25110 finite nonzero arguments.
25111 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25112 finite nonzero arguments.
25113 * math/s_casinh.c: Do not include <float.h>.
25114 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25115 * math/s_casinhf.c: Do not include <float.h>.
25116 (__casinhf): Move code for finite nonzero arguments to
25118 * math/s_casinhl.c: Do not include <float.h>.
25119 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25121 (__casinhl): Move code for finite nonzero arguments to
25123 * math/libm-test.inc (cacos_test): Add more tests.
25124 * sysdeps/i386/fpu/libm-test-ulps: Update.
25125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25127 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25129 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25130 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25131 [!HAVE_MREMAP]: Remove [defined linux] case.
25132 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25134 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25136 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25138 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
25140 * elf/elf.h (R_386_SIZE32): New relocation.
25141 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25143 (elf_machine_rela): Likewise.
25144 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25145 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25147 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25149 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25150 (FP_FAST_FMA): Do not define.
25151 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25152 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25153 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25154 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25155 !_SOFT_FLOAT]: Likewise.
25156 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25157 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25159 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25160 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25161 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25162 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25163 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25164 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25167 2013-01-16 Andreas Schwab <schwab@suse.de>
25170 * include/stdlib.h (__mktemp): Add declaration.
25171 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25172 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25174 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25176 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25178 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25179 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25180 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25182 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25183 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25185 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25187 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25188 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25189 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25191 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25192 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25194 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25196 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25198 2013-01-15 David S. Miller <davem@davemloft.net>
25200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25201 trunc{,f} to libm-sysdep_routes.
25202 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25212 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25213 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25214 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25215 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25216 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25217 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25220 nearbyint{,f} to libm-sysdep_routes.
25221 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25232 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25234 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25235 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25237 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25238 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25239 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25241 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25242 libc_feholdexcept and libc_fesetenv.
25244 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25246 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25248 2013-01-14 David S. Miller <davem@davemloft.net>
25250 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25251 (SPARC_ASM_VIS2_IFUNC): Likewise.
25252 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25254 use of 'siam' instruction.
25255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25261 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25262 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25263 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25264 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25284 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25285 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25288 routines to libm-sysdep_routines.
25289 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25292 fdim/fdimf to libm-sysdep_routines.
25293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25301 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25302 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25303 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25304 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25306 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25308 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25309 to optimize copies.
25311 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25315 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25316 local variable MPTWO.
25317 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25320 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25322 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25325 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25327 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25329 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25331 * manual/pattern.texi (glob_t): Document gl_flags.
25332 (glob64_t): Likewise.
25334 2013-01-11 David S. Miller <davem@davemloft.net>
25336 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25337 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25338 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25339 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25340 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25341 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25342 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25343 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25344 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25345 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25346 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25347 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25348 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25350 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25351 sparc V9 rather than using V8 code.
25352 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25353 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25355 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25357 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25360 2013-01-11 Roland McGrath <roland@hack.frob.com>
25362 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25363 not in the main loop.
25364 * configure: Regenerated.
25366 2013-01-11 Joseph Myers <joseph@codesourcery.com>
25368 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25369 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25371 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25372 [!__GLIBC_HAVE_LONG_LONG] case.
25373 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25374 condition to just #else.
25375 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25376 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25377 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25378 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25380 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25381 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25382 #elif condition to just #else.
25383 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25384 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25385 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25386 #elif condition to just #else.
25388 2013-01-11 Steve Ellcey <sellcey@mips.com>
25390 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25391 (EF_MIPS_ARCH_64): Fix value.
25392 (EF_MIPS_ARCH_32R2): New.
25393 (EF_MIPS_ARCH_64R2): New.
25395 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25397 * Makeconfig (+link-pie-before-libc): New.
25398 (+link-pie-after-libc): Likewise.
25399 (+link-pie-tests): Likewise.
25400 (+link-pie): Rewritten.
25401 (link-before-libc): Remove $(config-LDFLAGS).
25402 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25403 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25404 (config-LDFLAGS): Renamed to ...
25405 (rtld-LDFLAGS): This.
25406 (rtld-tests-LDFLAGS): New macro.
25407 (link-libc-rpath-link): Likewise.
25408 (link-libc-tests-rpath-link): Likewise.
25409 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25410 (link-libc): Prepand $(link-libc-rpath-link).
25411 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25412 (test-program-prefix): New macro.
25413 (test-via-rtld-prefix): Likewise.
25414 (test-program-cmd): Likewise.
25415 (host-test-program-cmd): Likewise.
25416 * Makefile ($(common-objpfx)testrun.sh): Replace
25417 $(run-program-prefix) with $(test-program-prefix).
25418 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25420 ($(common-objpfx)shlib.lds): Likewise.
25421 (build-module-helper): Likewise.
25422 ($(common-objpfx)format.lds): Likewise.
25423 * Rules (binaries-pie-tests): New.
25424 (binaries-pie-notests): Likewise.
25425 (binaries-pie): Rewritten.
25426 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25427 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25428 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25429 (make-test-out): Replace $(host-built-program-cmd) with
25430 $(host-test-program-cmd).
25431 * config.make.in (build-hardcoded-path-in-tests): New variable.
25432 * configure.in (--enable-hardcoded-path-in-tests): New configure
25434 (hardcoded_path_in_tests): New AC_SUBST.
25435 * configure: Regenerated.
25436 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25437 $(built-program-cmd) with $(test-program-cmd).
25438 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25439 (test_program_cmd): This.
25440 * elf/Makefile ($(objpfx)order.out): Run test with
25441 $(test-program-prefix).
25442 ($(objpfx)order2.out): Likewise.
25443 ($(objpfx)tst-initorder.out): Likewise.
25444 ($(objpfx)tst-initorder2.out): Likewise.
25445 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25446 $(test-program-cmd).
25447 ($(objpfx)tst-array1-static.out): Likewise.
25448 ($(objpfx)tst-array2.out): Likewise.
25449 ($(objpfx)tst-array3.out): Likewise.
25450 ($(objpfx)tst-array4.out): Likewise.
25451 ($(objpfx)tst-array5.out): Likewise.
25452 ($(objpfx)tst-array5-static.out): Likewise.
25453 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25454 $(test-program-cmd).
25455 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25456 $(run-program-prefix) with $(test-program-prefix).
25457 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25458 (test_program_prefix): This.
25459 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25460 $(run-program-prefix) with $(test-program-prefix).
25461 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25462 (test_program_prefix): This.
25463 * iconvdata/tst-tables.sh: Likewise.
25464 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25465 $(run-program-prefix) with $(test-program-prefix).
25466 ($(objpfx)tst-translit.out): Likewise.
25467 ($(objpfx)tst-gettext2.out): Likewise.
25468 ($(objpfx)tst-gettext4.out): Likewise.
25469 ($(objpfx)tst-gettext6.out): Likewise.
25470 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25471 (test_program_prefix): This.
25472 * intl/tst-gettext2.sh: Likewise.
25473 * intl/tst-gettext4.sh Likewise.
25474 * intl/tst-gettext6.sh: Likewise.
25475 * intl/tst-translit.sh: Likewise.
25476 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25477 with $(test-program-cmd).
25478 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25479 $(run-program-prefix) with $(test-program-prefix).
25480 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25481 (test_program_prefix): This.
25482 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25483 $(run-program-prefix) with $(test-program-prefix).
25484 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25485 (test_program_prefix): This.
25486 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25487 * posix/Makefile ($(objpfx)globtest.out): Replace
25488 $(run-via-rtld-prefix) and $(test-wrapper) with
25489 $(test-program-prefix) and $(test-via-rtld-prefix).
25490 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25491 $(test-program-prefix).
25492 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25493 $(host-test-program-cmd).
25494 (tst-spawn-ARGS): Likewise.
25495 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25496 $(test-program-prefix).
25497 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25498 (test_via_rtld_prefix): This.
25499 (test_wrapper): Renamed to ...
25500 (test_program_prefix): This.
25501 (run_program_prefix): Replaced by test_program_prefix.
25502 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25503 (test_program_prefix): This.
25504 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25505 with $(host-test-program-cmd).
25506 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25507 $(run-program-prefix) with $(test-program-prefix).
25508 ($(objpfx)tst-printf.out): Likewise.
25509 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25510 $(test-program-cmd).
25511 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25512 (test_program_prefix): This.
25513 * stdio-common/tst-unbputc.sh: Likewise.
25514 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25515 $(run-program-prefix) with $(test-program-prefix).
25516 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25517 (test_program_prefix): This.
25518 * string/Makefile ($(objpfx)tst-svc.out): Replace
25519 $(built-program-cmd) with $(test-program-cmd).
25521 2013-01-11 Andreas Jaeger <aj@suse.de>
25524 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25525 value. Sync with Linux 3.7.
25527 2013-01-10 David S. Miller <davem@davemloft.net>
25529 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25530 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25531 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25533 2013-01-10 Roland McGrath <roland@hack.frob.com>
25535 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25537 * configure: Regenerated.
25539 2013-01-10 David S. Miller <davem@davemloft.net>
25541 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25542 sparc V9 rather than using V8 code.
25543 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25544 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25546 2013-01-10 Roland McGrath <roland@hack.frob.com>
25548 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25549 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25550 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25551 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25552 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25553 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25554 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25555 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25556 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25557 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25558 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25559 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25560 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25561 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25562 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25563 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25564 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25565 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25566 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25567 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25568 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25569 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25570 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25571 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25572 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25573 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25574 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25576 2013-01-10 David S. Miller <davem@davemloft.net>
25578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25580 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25582 * posix/Makefile (tests-static): New variable.
25583 (tests): Add $(tests-static).
25584 (tst-exec-static-ARGS): New variable.
25585 (tst-spawn-static-ARGS): Likewise.
25586 * posix/tst-exec-static.c: New file.
25587 * posix/tst-spawn-static.c: Likewise.
25588 * posix/tst-exec.c: Support run directly.
25589 * posix/tst-spawn.c: Likewise.
25591 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25593 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25595 * math/bits/mathcalls.h (llrint): Likewise.
25596 (llround): Likewise.
25597 * stdlib/stdlib.h (struct drand48_data): Likewise.
25598 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25599 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25600 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25602 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25604 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25605 (elf_greg_t): Likewise.
25606 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25607 (__jmp_buf): Likewise.
25608 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25610 (llrint): Likewise, for all definitions.
25611 (llrintl): Likewise.
25613 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25614 Remove [__GNUC__] condition.
25615 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25616 condition to just [__USE_ISOC99].
25617 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25619 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25622 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25623 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25625 (_POSIX_V6_ILP32_OFF32): Likewise.
25626 (_XBS5_ILP32_OFF32): Likewise.
25627 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25628 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25630 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25632 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25634 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25635 doubles __mpexp_twomm1. Adjust usage.
25636 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25639 2013-01-10 Andreas Schwab <schwab@suse.de>
25642 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25643 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25645 2013-01-09 David S. Miller <davem@davemloft.net>
25648 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25649 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25650 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25651 (TCP_FASTOPEN): Define.
25652 (tcp_repair_opt): New structure.
25653 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25655 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25656 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25657 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25658 (tcp_cookie_transactions): New structure.
25660 2013-01-09 Anton Blanchard <anton@samba.org>
25662 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25663 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25664 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25665 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25667 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25669 * include/features.h (__USE_ANSI): Remove.
25671 2013-01-09 Roland McGrath <roland@hack.frob.com>
25673 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25675 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25677 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25679 * sysdeps/s390/fpu/libm-test-ulps: Update.
25681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25683 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25687 (denorm): Likewise.
25688 (__mp_dbl): Likewise.
25689 (__dbl_mp): Likewise.
25690 (add_magnitudes): Likewise.
25691 (sub_magnitudes): Likewise.
25697 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25701 (denorm): Likewise.
25702 (__mp_dbl): Likewise.
25703 (__dbl_mp): Likewise.
25704 (add_magnitudes): Likewise.
25705 (sub_magnitudes): Likewise.
25711 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25715 (denorm): Likewise.
25716 (__mp_dbl): Likewise.
25717 (__dbl_mp): Likewise.
25718 (add_magnitudes): Likewise.
25719 (sub_magnitudes): Likewise.
25726 2013-01-08 Joseph Myers <joseph@codesourcery.com>
25728 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25729 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25730 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25731 2 && __USE_EXTERN_INLINES]: Likewise.
25733 2013-01-08 Andreas Jaeger <aj@suse.de>
25736 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25738 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25739 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25741 2013-01-07 Anton Blanchard <anton@samba.org>
25743 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25744 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25745 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25746 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25747 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25748 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25749 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25750 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25752 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25753 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25754 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25755 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25756 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25757 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25758 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25759 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25760 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25761 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25762 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25763 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25764 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25765 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25766 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25767 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25768 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25769 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25770 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25771 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25772 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25773 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25774 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25775 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25776 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25777 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25778 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25779 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25780 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25781 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25782 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25783 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25784 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25785 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25787 2013-01-07 Joseph Myers <joseph@codesourcery.com>
25789 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25790 (__MALLOC_PMT): Likewise.
25791 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25792 [__GNUC__], only on [_LIBC].
25793 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25794 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25795 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25796 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25797 forward declaration.
25798 (realloc_hook_ini): Likewise.
25799 (memalign_hook_ini): Likewise.
25800 (__libc_memalign): Do not use __MALLOC_PMT in variable
25802 (__libc_valloc): Likewise.
25803 (__libc_pvalloc): Likewise.
25804 (__libc_calloc): Likewise.
25805 (__posix_memalign): Likewise.
25808 * math/s_casinh.c: Include <float.h>.
25809 (__casinh): Do not do computation with squaring and square root
25810 for large arguments.
25811 * math/s_casinhf.c: Include <float.h>.
25812 (__casinhf): Do not do computation with squaring and square root
25813 for large arguments.
25814 * math/s_casinhl.c: Include <float.h>.
25815 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25816 (__casinhl): Do not do computation with squaring and square root
25817 for large arguments.
25818 * math/libm-test.inc (casin_test): Add more tests.
25819 (casinh_test): Likewise.
25820 * sysdeps/i386/fpu/libm-test-ulps: Update.
25821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25823 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25825 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25826 (__x86_64_raw_data_cache_size): Likewise.
25827 (__x86_64_data_cache_size_half): Likewise.
25828 (__x86_64_raw_data_cache_size_half): Likewise.
25829 (__x86_64_shared_cache_size): Likewise.
25830 (__x86_64_raw_shared_cache_size): Likewise.
25831 (__x86_64_shared_cache_size_half): Likewise.
25832 (__x86_64_raw_shared_cache_size_half): Likewise.
25833 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25835 (__x86_data_cache_size): This.
25836 (__x86_64_raw_data_cache_size): Renamed to ...
25837 (__x86_raw_data_cache_size): This.
25838 (__x86_64_data_cache_size_half): Renamed to ...
25839 (__x86_data_cache_size_half): This.
25840 (__x86_64_raw_data_cache_size_half): Renamed to ...
25841 (__x86_raw_data_cache_size_half): This.
25842 (__x86_64_shared_cache_size): Renamed to ...
25843 (__x86_shared_cache_size): This.
25844 (__x86_64_raw_shared_cache_size): Renamed to ...
25845 (__x86_raw_shared_cache_size): This.
25846 (__x86_64_shared_cache_size_half): Renamed to ...
25847 (__x86_shared_cache_size_half): This.
25848 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25849 (__x86_raw_shared_cache_size_half): This.
25850 * sysdeps/x86_64/memcpy.S: Updated.
25851 * sysdeps/x86_64/memset.S: Likewise.
25852 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25853 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25854 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25856 2013-01-04 David S. Miller <davem@davemloft.net>
25858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25860 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25862 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25863 1 to avoid redefinition warning.
25864 (__USE_GNU): Don't define.
25865 (init_signaling_nan): Protoize.
25867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25869 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25871 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25873 (__cpymn): Likewise.
25874 (norm): Remove commented code.
25875 (denorm): Likewise.
25876 (__mp_dbl): Likewise.
25878 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25879 (__cpymn): Likewise.
25880 (norm): Remove commented code.
25881 (denorm): Likewise.
25882 (__mp_dbl): Likewise.
25885 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25886 mp_no value for 1.0 and 2.0.
25887 (norm): Use RADIXI instead of radixi.d.
25888 (denorm): Likewise.
25889 (__mul): Use 0.0 instead of zero.d.
25890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25891 mp_no value for 1.0 and 2.0.
25892 (norm): Use RADIXI instead of radixi.d.
25893 (denorm): Likewise.
25894 (__mul): Use 0.0 instead of zero.d.
25896 2013-01-04 Joseph Myers <joseph@codesourcery.com>
25899 * math/s_casinh.c (__casinh): Reduce finite argument to first
25900 quadrant then set signs of results at the end.
25901 * math/s_casinhf.c (__casinhf): Likewise.
25902 * math/s_casinhl.c (__casinhl): Likewise.
25903 * math/libm-test.inc (casin_test): Add more tests.
25904 (casinh_test): Likewise.
25905 * sysdeps/i386/fpu/libm-test-ulps: Update.
25906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25908 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25910 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25912 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25914 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25916 (denorm): Likewise.
25917 (__mp_dbl): Likewise.
25920 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25921 and adjust the header comment.
25923 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25924 variable name from declaration.
25926 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25929 Initialize COMMON_CPUID_INDEX_7 element.
25930 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25931 (CPUID_RTM): Likewise.
25932 (HAS_RTM): Likewise.
25933 (COMMON_CPUID_INDEX_7): New enum.
25935 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25938 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25939 size is zero, record memory as freed.
25941 2013-01-03 Andreas Jaeger <aj@suse.de>
25943 * po/ia.po: Add new Interlingua translation.
25945 2012-01-03 Allan McRae <allan@archlinux.org>
25947 * locale/programs/localedef.c: Fix description of '--posix' flag.
25949 2013-01-02 Joseph Myers <joseph@codesourcery.com>
25951 * NEWS: Update dates in second copyright notice.
25952 * README: Update copyright dates in example.
25953 * manual/libc.texinfo: Update copyright dates.
25954 * scripts/test-installation.pl: Update copyright date in --version
25957 * hurd/ctty-input.c: Fix copyright notice formatting.
25958 * hurd/ctty-output.c: Likewise.
25959 * hurd/dtable.c: Likewise.
25960 * hurd/hurd-raise.c: Likewise.
25961 * hurd/hurdprio.c: Likewise.
25962 * hurd/msgportdemux.c: Likewise.
25963 * misc/sys/file.h: Likewise.
25964 * misc/sys/ioctl.h: Likewise.
25965 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25966 * sysdeps/mach/hurd/chdir.c: Likewise.
25967 * sysdeps/mach/hurd/fchdir.c: Likewise.
25968 * sysdeps/mach/hurd/rename.c: Likewise.
25969 * sysdeps/mach/hurd/rmdir.c: Likewise.
25970 * sysdeps/mach/hurd/seekdir.c: Likewise.
25971 * sysdeps/mach/hurd/setsid.c: Likewise.
25972 * sysdeps/posix/wait3.c: Likewise.
25974 * All files with FSF copyright notices: Update copyright dates
25975 using scripts/update-copyrights.
25976 * intl/plural.c: Regenerated.
25977 * locale/programs/charmap-kw.h: Likewise.
25978 * locale/programs/locfile-kw.h: Likewise.
25980 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25982 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25985 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25986 calculation loop and add branch prediction.
25988 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25989 check access beyond bounds of m1np.
25991 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25993 (__inv): Remove local variable MPTWO to use the global
25995 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25996 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25998 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25999 MP3HALFS static const.
26001 2013-01-01 David S. Miller <davem@davemloft.net>
26003 * po/ca.po: Update from translation team.
26005 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26007 * scripts/update-copyrights: New file.
26008 * Makeconfig: Reformat copyright notice.
26009 * ctype/ctype.h: Likewise.
26010 * debug/swprintf_chk.c: Likewise.
26011 * elf/dl-cache.c: Likewise.
26012 * elf/dl-debug.c: Likewise.
26013 * elf/dl-object.c: Likewise.
26014 * grp/initgroups.c: Likewise.
26015 * hurd/Makefile: Likewise.
26016 * hurd/hurd/signal.h: Likewise.
26017 * hurd/hurdfault.c: Likewise.
26018 * hurd/hurdioctl.c: Likewise.
26019 * hurd/hurdlookup.c: Likewise.
26020 * hurd/intr-msg.c: Likewise.
26021 * iconv/gconv_open.c: Likewise.
26022 * libio/swprintf.c: Likewise.
26023 * locale/lc-ctype.c: Likewise.
26024 * locale/nl_langinfo.c: Likewise.
26025 * mach/Machrules: Likewise.
26026 * mach/Makefile: Likewise.
26027 * malloc/obstack.h: Likewise.
26028 * manual/Makefile: Likewise.
26029 * manual/tsort.awk: Likewise.
26030 * misc/bits/stab.def: Likewise.
26031 * nis/nis_print_group_entry.c: Likewise.
26032 * nis/nis_table.c: Likewise.
26033 * nis/nss_compat/compat-pwd.c: Likewise.
26034 * nis/nss_compat/compat-spwd.c: Likewise.
26035 * po/Makefile: Likewise.
26036 * posix/fnmatch.c: Likewise.
26037 * posix/regex.h: Likewise.
26038 * resolv/Makefile: Likewise.
26039 * resolv/nss_dns/dns-network.c: Likewise.
26040 * resolv/res_hconf.c: Likewise.
26041 * scripts/gen-sorted.awk: Likewise.
26042 * soft-fp/soft-fp.h: Likewise.
26043 * stdio-common/printf.h: Likewise.
26044 * stdlib/monetary.h: Likewise.
26045 * stdlib/random.c: Likewise.
26046 * stdlib/random_r.c: Likewise.
26047 * sysdeps/generic/Makefile: Likewise.
26048 * sysdeps/gnu/Makefile: Likewise.
26049 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26050 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26051 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26052 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26053 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26054 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26055 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26056 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26057 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26058 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26059 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26060 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26061 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26062 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26063 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26064 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26065 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26066 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26067 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26068 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26069 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26070 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26071 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26072 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26073 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26074 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26075 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26076 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26077 * sysdeps/mach/hurd/errnos.awk: Likewise.
26078 * sysdeps/mach/hurd/fork.c: Likewise.
26079 * sysdeps/mach/hurd/getcwd.c: Likewise.
26080 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26081 * sysdeps/mach/hurd/mmap.c: Likewise.
26082 * sysdeps/mach/hurd/utimes.c: Likewise.
26083 * sysdeps/mach/hurd/xmknod.c: Likewise.
26084 * sysdeps/posix/profil.c: Likewise.
26085 * sysdeps/posix/readdir_r.c: Likewise.
26086 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26087 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26088 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26089 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26090 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26091 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26092 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26093 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26094 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26095 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26096 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26097 * sysdeps/pthread/lio_listio.c: Likewise.
26098 * sysdeps/sparc/dl-procinfo.h: Likewise.
26099 * sysdeps/unix/i386/sysdep.S: Likewise.
26100 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26101 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26102 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26103 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26105 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26106 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26107 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26108 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26109 * sysdeps/wordsize-32/divdi3.c: Likewise.
26110 * time/sys/time.h: Likewise.
26111 * wcsmbs/Makefile: Likewise.
26113 2013-01-01 David S. Miller <davem@davemloft.net>
26115 * po/fr.po: Update from translation team.
26117 * catgets/gencat.c: Update copyright year.
26118 * csu/version.c: Likewise.
26119 * debug/catchsegv.sh: Likewise.
26120 * debug/pcprofiledump.c: Likewise.
26121 * debug/xtrace.sh: Likewise.
26122 * elf/ldconfig.c: Likewise.
26123 * elf/ldd.bash.in: Likewise.
26124 * elf/pldd.c: Likewise.
26125 * elf/sotruss.ksh: Likewise.
26126 * elf/sprof.c: Likewise.
26127 * iconv/iconv_prog.c: Likewise.
26128 * iconv/iconvconfig.c: Likewise.
26129 * locale/programs/locale.c: Likewise.
26130 * locale/programs/localedef.c: Likewise.
26131 * login/programs/pt_chown.c: Likewise.
26132 * malloc/memusage.sh: Likewise.
26133 * malloc/memusagestat.c: Likewise.
26134 * malloc/mtrace.pl: Likewise.
26135 * nscd/nscd.c: Likewise.
26136 * nss/getent.c: Likewise.
26137 * nss/makedb.c: Likewise.
26138 * posix/getconf.c: Likewise.
26140 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26142 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26145 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26147 * math/bits/mathcalls.h (modf): Use __nonnull.
26149 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26151 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26152 (split): Use macro CN instead of the bare value.
26153 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26155 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26156 instead of the bare value.
26157 (power1): Likewise.
26159 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26161 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26163 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26165 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26167 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26168 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26169 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26170 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26172 2012-12-28 Andreas Jaeger <aj@suse.de>
26174 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26175 values are from Linux 3.7.
26177 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26178 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26180 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26182 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26185 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26187 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26188 variables with preprocessor constants.
26189 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26190 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26191 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26193 2012-12-27 Bruno Haible <bruno@clisp.org>
26196 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26199 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26201 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26202 and use variable directly.
26203 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26205 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26207 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26208 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26210 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26211 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26212 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26213 include directive. Remove local variable MPONE.
26214 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26215 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26216 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26218 2012-12-25 David S. Miller <davem@davemloft.net>
26220 * version.h (RELEASE): Set to "development".
26221 (VERSION): Set to "2.17.90".
26222 * NEWS: Add 2.18 section.
26224 2012-12-21 David S. Miller <davem@davemloft.net>
26226 * po/hr.po: Update from translation team.
26228 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26230 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26232 2012-12-19 Steve Ellcey <sellcey@mips.com>
26234 * NEWS: Mention new memcpy for MIPS.
26236 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26238 * manual/contrib.texi (Contributors): Spelling correction.
26240 2012-12-15 David S. Miller <davem@davemloft.net>
26242 * po/ru.po: Update from translation team.
26244 2012-12-13 David S. Miller <davem@davemloft.net>
26246 * NEWS: Mention IFUNC testsuite enhancements.
26248 * po/pl.po: Update from translation team.
26249 * po/bg.po: Likewise.
26251 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26252 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26254 2012-12-11 David S. Miller <davem@davemloft.net>
26256 * po/sv.po: Update from translation team.
26258 * po/vi.po: Update from translation team.
26260 * po/cs.po: Update from translation team.
26262 * po/de.po: Update from translation team.
26263 * po/eo.po: Likewise.
26264 * po/nl.po: Likewise.
26266 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26269 * manual/argp.texi (Argp Helper Functions): Move node to follow
26270 Argp Parsing State.
26273 * manual/conf.texi (Limits on File System Capacity): Mention if
26274 terminating null is included in the max size.
26276 2012-12-10 Andreas Jaeger <aj@suse.de>
26278 * po/cs.po: Update from translation team.
26280 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26282 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26283 void pointer and cast to uintptr_t.
26284 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26286 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26287 * sysdeps/s390/s390-64/memset.S: Likewise.
26289 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
26292 * menual/message.texi (Message Translation): Fix typos.
26293 (Helper programs for gettext): Likewise.
26295 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26298 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26301 2012-12-07 David S. Miller <davem@davemloft.net>
26303 * po/libc.pot: Update.
26305 2012-12-07 Richard Henderson <rth@redhat.com>
26308 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26309 normal/normal case to before the switch.
26310 (_FP_DIV): Likewise.
26312 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26313 Mike Frysinger <vapier@gentoo.org>
26315 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26316 check for __NR_fadvise64_64.
26318 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26320 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26321 0, not just to plain "0" as a statement.
26322 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26325 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26327 * NEWS: Use sourceware.org in Bugzilla URL.
26329 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26332 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26334 * stdio-common/tst-put-error.c (do_test): Add newline to the
26335 padded test to ensure flush.
26337 2012-12-05 Jeff Law <law@redhat.com>
26339 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26341 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26343 * README: Don't refer to ports add-on as distributed separately.
26344 Mention AArch64 in list of systems supported in the ports add-on.
26346 * LICENSES: Add more non-FSF copyright and license notices.
26348 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26351 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26353 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26354 10000 as width of padded output.
26356 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26358 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26360 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26361 variable LX with __attribute__ ((unused)).
26362 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26364 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26365 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26366 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26367 with __attribute__ ((unused)).
26369 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
26371 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26373 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26375 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26376 (CFLAGS-nldbl-acos.c): New variable.
26377 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26378 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26379 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26380 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26381 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26382 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26383 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26384 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26385 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26386 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26387 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26388 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26389 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26390 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26391 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26392 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26393 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26394 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26395 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26396 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26397 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26398 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26399 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26400 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26401 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26402 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26403 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26404 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26405 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26406 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26407 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26408 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26409 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26410 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26411 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26412 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26413 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26414 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26415 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26416 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26417 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26418 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26419 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26420 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26421 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26422 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26423 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26424 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26425 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26426 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26427 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26428 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26429 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26430 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26431 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26432 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26433 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26434 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26435 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26436 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26437 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26438 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26439 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26440 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26441 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26442 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26443 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26444 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26445 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26446 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26447 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26448 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26449 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26450 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26451 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26452 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26453 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26454 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26455 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26456 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26457 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26458 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26459 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26460 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26461 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26462 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26463 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26464 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26465 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26466 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26467 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26468 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26469 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26470 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26471 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26472 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26473 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26476 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26479 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26480 whole low double instead of just low 47 bits when splitting values
26483 2012-12-03 Allan McRae <allan@archlinux.org>
26485 * manual/stdio.texi (Predefined Printf Handlers): Remove
26486 @hsep and @vsep usage.
26488 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26490 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26491 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26493 2012-12-03 Jeff Law <law@redhat.com>
26495 * time/sys/time.h (settimeofday): Do not mark TV argument
26498 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26500 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26501 when currently writing and seek to current position when not.
26502 * libio/Makefile (tests): Remove bug-fclose1.
26503 * libio/bug-fclose1.c: Delete.
26505 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26507 * manual/arith.texi (feenableexcept): Fix typo.
26508 (fedisableexcept): Likewise.
26510 2012-11-30 Roland McGrath <roland@hack.frob.com>
26512 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26513 second, differently-typed declaration, rather than a cast.
26515 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26517 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26518 * include/rpc/svc.h: ... here.
26520 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26523 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26524 depending n and resplen2 to catch cases where answer
26527 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26529 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26530 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26532 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26534 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26536 2012-11-29 Roland McGrath <roland@hack.frob.com>
26538 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26540 2012-11-28 Jeff Law <law@redhat.com>
26543 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26544 dataset_temporary. Track alloca usage into alloca_used.
26545 If dataset is large allocate and release it via malloc/free.
26547 2012-06-04 Florian Weimer <fweimer@redhat.com>
26550 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26552 2012-11-28 David S. Miller <davem@davemloft.net>
26554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26556 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26559 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26560 of pi/2 rounded to nearest to 64 bits.
26561 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26562 nearest to 64 bits.
26563 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26566 2012-11-28 Jeff Law <law@redhat.com>
26567 Martin Osvald <mosvald@redhat.com>
26570 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26571 * sunrpc/svc.c: Include time.h.
26572 (__svc_accept_failed): New function.
26573 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26574 any reason other than EINTR, call __svc_accept_failed.
26575 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26576 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26578 2012-11-28 Andreas Schwab <schwab@suse.de>
26580 * scripts/abilist.awk: Also handle indirect functions in .opd
26583 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26586 * sysdeps/x86/fpu/powl_helper.c: New file.
26587 * sysdeps/x86/fpu/Makefile: Likewise.
26588 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26590 (__ieee754_powl): Use __powl_helper for finite arguments except
26591 integer exponents below 8.
26592 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26594 (__ieee754_powl): Use __powl_helper for finite arguments except
26595 integer exponents below 8.
26596 * math/libm-test.inc (pow_test): Add more tests and enable some
26597 previously disabled tests.
26598 * sysdeps/i386/fpu/libm-test-ulps: Update.
26599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26601 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26602 Carlos O'Donell <carlos_odonell@mentor.com>
26604 * nss/makedb.c (is_prime): Assert that input is odd and greater
26605 than 4. Note that fact in a comment too.
26606 (next_prime): Add 4 to input.
26608 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26611 * libio/Makefile (tests): Add test case tst-fwrite-error.
26612 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26613 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26614 * libio/tst-fwrite-error.c: New test case.
26616 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26618 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26619 before casting to void *.
26620 * include/libc-internal.h (__pointer_type): New macro.
26621 (__integer_if_pointer_type_sub): Likewise.
26622 (__integer_if_pointer_type): Likewise.
26623 (cast_to_integer): Likewise.
26624 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26625 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26626 before casting to atomic64_t.
26627 (atomic_exchange_acq): Likewise.
26628 (__arch_exchange_and_add_body): Likewise.
26629 (__arch_add_body): Likewise.
26630 (atomic_add_negative): Likewise.
26631 (atomic_add_zero): Likewise.
26633 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26635 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26636 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26637 (add_fdes): Likewise.
26638 (linear_search_fdes): Likewise.
26639 (binary_search_unencoded_fdes): Likewise.
26641 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26643 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26645 2012-11-24 Adam Conrad <adconrad@0c3.net>
26647 * configure.in: Autodetect C++ header directories.
26648 * configure: Regenerated.
26650 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26652 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26654 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26658 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26660 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26661 LDBL_MANT_DIG == 106]: Disable some tests.
26662 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26664 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26668 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26669 input for small inputs. Return +/- pi/2 for large inputs.
26670 * math/libm-test.inc (atan_test): Add more tests.
26672 * sysdeps/generic/unwind-dw2-fde-glibc.c
26673 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26674 __attribute__ ((unused)).
26677 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26678 x * y if x and y are nonzero and z is zero.
26681 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26682 nonzero exponents with absolute value below 0x1p-117 to +/-
26686 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26687 up arguments below 2**-450, not just those below 2**-500.
26688 * math/libm-test.inc (hypot_test): Add another test.
26691 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26692 Return a+b for ratio over 2**120, not 2**60.
26693 * math/libm-test.inc (hypot_test): Add another test.
26695 * math/libm-test.inc (clog_test): Use
26696 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26697 (clog10_test): Likewise.
26700 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26702 2012-11-22 Andreas Schwab <schwab@suse.de>
26704 * sysdeps/i386/fpu/libm-test-ulps: Update.
26706 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26708 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26709 printf output with newline.
26711 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26714 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26715 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26716 -z nodlopen, -z initfirst and -z execstack support.
26717 * configure: Regenerated.
26719 * elf/elf.h (DF_1_NODIRECT): New macro.
26720 (DF_1_IGNMULDEF): Likewise.
26721 (DF_1_NOKSYMS): Likewise.
26722 (DF_1_NOHDR): Likewise.
26723 (DF_1_EDITED): Likewise.
26724 (DF_1_NORELOC): Likewise.
26725 (DF_1_SYMINTPOSE): Likewise.
26726 (DF_1_GLOBAUDIT): Likewise.
26727 (DF_1_SINGLETON): Likewise.
26728 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26729 DT_1_SUPPORTED_MASK bits.
26730 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26732 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26734 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26736 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26738 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26741 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26742 (sendmmsg): Move declarations...
26743 * socket/sys/socket.h: ... here.
26744 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26745 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26747 * socket/recvmmsg.c: ... this new file.
26748 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26749 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26750 definition of __sendmmsg hidden.
26751 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26752 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26753 Move ENOSYS stub into and include it from...
26754 * socket/sendmmsg.c: ... this new file.
26755 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26756 (sysdep_routines): Move recvmmsg and sendmmsg...
26757 * socket/Makefile (routines): ... here.
26758 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26759 (GLIBC_PRIVATE): Add __sendmmsg.
26760 * include/sys/socket.h (__sendmmsg): Add declarations.
26761 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26764 2012-11-20 Joseph Myers <joseph@codesourcery.com>
26766 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26767 variable I1 with __attribute__ ((unused)).
26768 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26770 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26772 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26773 DUMMY variables with __attribute__ ((unused)).
26775 * bits/byteswap.h: Include <bits/types.h>.
26776 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26778 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26780 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26781 string_t. Do not manually set errno.
26782 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26783 length with __strnlen. Make sure to both set errno and return it on
26786 2012-11-19 David S. Miller <davem@davemloft.net>
26788 With help from Joseph Myers.
26789 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26790 very large arguments properly.
26791 * math/libm-test.inc (atan_test): New tests.
26792 (atan2_test): New tests.
26793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26794 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26796 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26799 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26802 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26803 [POSIX] (EADDRNOTAVAIL): Likewise.
26804 [POSIX] (EAFNOSUPPORT): Likewise.
26805 [POSIX] (EALREADY): Likewise.
26806 [POSIX] (ECONNABORTED): Likewise.
26807 [POSIX] (ECONNREFUSED): Likewise.
26808 [POSIX] (ECONNRESET): Likewise.
26809 [POSIX] (EDESTADDRREQ): Likewise.
26810 [POSIX] (EDQUOT): Likewise.
26811 [POSIX] (EHOSTUNREACH): Likewise.
26812 [POSIX] (EIDRM): Likewise.
26813 [POSIX] (EISCONN): Likewise.
26814 [POSIX] (ELOOP): Likewise.
26815 [POSIX] (EMULTIHOP): Likewise.
26816 [POSIX] (ENETDOWN): Likewise.
26817 [POSIX] (ENETUNREACH): Likewise.
26818 [POSIX] (ENOBUFS): Likewise.
26819 [POSIX] (ENODATA): Likewise.
26820 [POSIX] (ENOLINK): Likewise.
26821 [POSIX] (ENOMSG): Likewise.
26822 [POSIX] (ENOPROTOOPT): Likewise.
26823 [POSIX] (ENOSR): Likewise.
26824 [POSIX] (ENOSTR): Likewise.
26825 [POSIX] (ENOTCONN): Likewise.
26826 [POSIX] (ENOTSOCK): Likewise.
26827 [POSIX] (EOPNOTSUPP): Likewise.
26828 [POSIX] (EOVERFLOW): Likewise.
26829 [POSIX] (EPROTO): Likewise.
26830 [POSIX] (EPROTONOSUPPORT): Likewise.
26831 [POSIX] (EPROTOTYPE): Likewise.
26832 [POSIX] (ESTALE): Likewise.
26833 [POSIX] (ETIME): Likewise.
26834 [POSIX] (ETXTBSY): Likewise.
26835 [POSIX] (EWOULDBLOCK): Likewise.
26836 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26837 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26838 [POSIX] (SEEK_CUR): Likewise.
26839 [POSIX] (SEEK_END): Likewise.
26840 [POSIX || UNIX98] (mode_t): Do not require.
26841 [POSIX] (off_t): Likewise.
26842 [POSIX] (pid_t): Likewise.
26843 [POSIX] (sys/stat.h): Do not allow header.
26844 [POSIX] (unistd.h): Likewise.
26845 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26846 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26847 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26848 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26850 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26851 sigevent): Specify elements.
26852 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26854 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26855 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26857 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26858 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26859 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26860 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26861 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26862 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26863 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26864 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26865 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26866 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26867 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26868 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26869 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26870 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26872 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26874 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26876 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26878 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26879 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26880 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26881 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26882 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26883 Specify lower bound on value.
26884 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26885 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26886 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26887 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26888 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26889 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26890 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26891 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26893 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26895 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26896 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26897 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26898 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26899 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26900 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26901 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26902 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26903 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26904 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26905 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26906 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26907 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26908 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26909 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26910 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26912 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26914 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26915 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26916 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26917 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26918 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26919 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26921 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26922 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26923 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26924 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26925 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26926 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26927 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26929 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26930 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26931 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26932 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26933 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26934 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26935 specify as optional.
26936 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26937 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26938 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26939 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26940 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26941 [XPG3] (NL_LANGMAX): Likewise.
26942 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26943 [POSIX || XPG3] (NL_NMAX): Likewise.
26944 [POSIX || XPG3] (NL_SETMAX): Likewise.
26945 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26946 [XPG3] (NZERO): Likewise.
26947 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26948 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26949 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26950 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26951 (REG_ERANGE): Expect.
26952 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26954 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26955 Use (void) in prototype.
26956 [POSIX] (*_t): Allow.
26957 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26958 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26959 (WRDE_BADVAL): Expect.
26961 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26963 [XPG3 || XPG4] (O_RSYNC): Likewise.
26964 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26966 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26967 [XPG3 || XPG4] (sigqueue): Likewise.
26968 [XPG3 || XPG4] (sigtimedwait): Likewise.
26969 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26970 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26971 [XPG3 || XPG4] (vsnprintf): Likewise.
26972 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26974 [XPG3 || XPG4] (blksize_t): Likewise.
26975 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26977 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26978 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26979 [XPG3 || XPG4] (struct itimerspec): Likewise.
26980 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26981 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26982 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26983 [XPG3 || XPG4] (clockid_t): Likewise.
26984 [XPG3 || XPG4] (timer_t): Likewise.
26985 [XPG3 || XPG4] (clock_getres): Likewise.
26986 [XPG3 || XPG4] (clock_gettime): Likewise.
26987 [XPG3 || XPG4] (clock_settime): Likewise.
26988 [XPG3 || XPG4] (nanosleep): Likewise.
26989 [XPG3 || XPG4] (timer_create): Likewise.
26990 [XPG3 || XPG4] (timer_delete): Likewise.
26991 [XPG3 || XPG4] (timer_gettime): Likewise.
26992 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26993 [XPG3 || XPG4] (timer_settime): Likewise.
26994 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26995 [XPG3 || XPG4] (getlogin_r): Likewise.
26996 [XPG3 || XPG4] (pread): Likewise.
26997 [XPG3 || XPG4] (pthread_atfork): Likewise.
26998 [XPG3 || XPG4] (pwrite): Likewise.
27001 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27004 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27006 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27007 finalizing MALLSTREAM.
27009 * sysdeps/mach/hurd/syncfs.c: New file.
27011 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27014 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27015 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27016 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27017 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27018 (_nss_dns_gethostbyname4_r): Likewise.
27019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27020 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27022 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27025 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27027 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27029 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27030 * elf/cache.c (print_entry): Print ",AArch64" for
27033 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27034 * elf/cache.c (print_entry): Print ",hard-float" for
27037 2012-11-18 David S. Miller <davem@davemloft.net>
27039 With help from Joseph Myers.
27040 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27042 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27044 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27045 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27047 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27048 * math/libm-test.inc (y0_test): New tests.
27049 (y1_test): New tests.
27050 * sysdeps/i386/fpu/libm-test-ulps: Update.
27051 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27054 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27056 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27058 * configure: Regenerated.
27060 2012-11-17 David S. Miller <davem@davemloft.net>
27063 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27064 nonzero exponents with absolute value below 0x1p-128 to +/-
27067 2012-11-17 Joseph Myers <joseph@codesourcery.com>
27069 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27071 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27073 * posix/getconf-speclist.c: New file.
27074 * posix/posix-envs.def: Likewise.
27075 * posix/confstr.c (START_ENV_GROUP): New macro.
27076 (END_ENV_GROUP): Likewise.
27077 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27078 (KNOWN_PRESENT_ENV_STRING): Likewise.
27079 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27080 (UNKNOWN_ENVIRONMENT): Likewise.
27081 (confstr): Include posix-envs.def instead of handling
27082 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27083 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27084 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27085 (END_ENV_GROUP): Likewise.
27086 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27087 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27088 (UNKNOWN_ENVIRONMENT): Likewise.
27089 (__sysconf): Include posix-envs.def instead of handling associated
27090 cases directly here.
27091 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27092 preprocessing getconf-speclist.c rather than running getconf or
27093 generating empty file.
27095 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27097 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27099 2012-11-16 Andrej Lajovic <natrij@gmail.com>
27102 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27104 2012-11-16 David S. Miller <davem@davemloft.net>
27106 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27107 smaller than LDBL_EPSILON/2.0L, just return xm1.
27109 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27111 * elf/tst-array1.c (init): Set constructor priority to 1000.
27112 (fini): Set destructor priority to 1000.
27113 * elf/tst-array2dep.c: Likewise.
27115 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27118 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27119 (_IO_new_file_xsputn): Also return EOF if none of the input
27120 data was written when overflow failed.
27121 * libio/iopadn.c (_IO_padn): Likewise.
27122 * libio/iowpadn.c (_IO_wpadn): Likewise.
27123 * stdio-common/tst-put-error.c: Add copyright notice.
27124 (do_test): Add case for printing padded string.
27125 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27126 _IO_padn returned error.
27127 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27128 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27131 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27133 * libio/libioP.h: Add comment note that the references to C++
27134 bits are now obsolete.
27136 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27138 * math/libm-test.inc (check_complex): Use asprintf.
27140 2012-11-14 Joseph Myers <joseph@codesourcery.com>
27142 * debug/pcprofiledump.c (print_version): Update copyright year.
27143 * malloc/memusagestat.c (print_version): Likewise.
27145 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27148 * elf/Makefile (tests): Add tst-audit8.
27149 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27150 ($(objpfx)tst-audit8.out): New target.
27151 (tst-audit8-ENV): New variable.
27152 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27153 audit if l_reloc_result is NULL.
27154 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27155 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27156 * elf/tst-audit8.c: New file.
27158 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27160 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27161 * misc/Makefile (CFLAGS-select.c): Define.
27162 * posix/Makefile (CFLAGS-pause.c): Define.
27164 2012-11-13 David S. Miller <davem@davemloft.net>
27166 * crypt/Makefile: Move test targets after toplevel Rules
27167 inclusion. Grab any necessary sysdep routines when linking.
27168 * crypt/md5.c (md5_process_block): Remove define, we will always
27169 name it __md5_process_block.
27170 (md5_finish_ctx): Update md5_process_block call.
27171 (md5_stream): Likewise.
27172 (md5_process_bytes): Likewise.
27173 (md5_process_block): Rename to __md5_process_block and move to ...
27174 * crypt/md5-block.c: ... here.
27175 * crypt/sha256.c (sha256_process_block): Move to ...
27176 * crypt/sha256-block.c: ... here.
27177 * crypt/sha512.c (sha512_process_block): Move to ...
27178 * crypt/sha512-block.c: ... here.
27179 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27181 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27182 * sysdeps/sparc/sparc64/multiarch/Makefile
27183 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27185 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27186 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27188 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27189 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27190 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27191 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27192 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27193 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27194 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27195 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27196 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27198 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27199 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27201 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27203 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27205 * timezone/tzselect.ksh: Update from tzcode git revision
27206 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27207 * timezone/zdump.c: Likewise.
27208 * timezone/zic.c: Likewise.
27209 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27210 in TZVERSION setting, not $(PKGVERSION).
27211 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27212 REPORT_BUGS_TO settings.
27215 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27218 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27220 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27221 detection to immediately after _FP_ROUND().
27222 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27225 2012-11-11 David S. Miller <davem@davemloft.net>
27227 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27229 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27230 __close rather than their public counterparts.
27232 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27234 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27236 [UNIX98] (sem_timedwait): Do not expect.
27237 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27238 [XPG4 || UNIX98] (sockatmark): Do not expect.
27239 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27240 (clock_getcpuclockid): Do not expect.
27241 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27242 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27244 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27245 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27246 [UNIX98] (vwscanf): Likewise.
27247 [UNIX98] (vswscanf): Likewise.
27249 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27251 * timezone/version.h: Remove file.
27252 * timezone/README: Do not refer to version.h.
27253 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27254 $(objpfx)version.h.
27255 ($(objpfx)zdump.o): Likewise.
27256 ($(objpfx)version.h): New target.
27258 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27260 * timezone/README: Don't mention modification to tzselect.ksh.
27261 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27262 work on unmodified tzselect.ksh. Substitute version numbers in
27265 * Makefile (format-me): Remove.
27266 (INSTALL): Adjust indentation. Use commands directly instead of
27267 using $(format-me).
27269 * aclocal.m4 (ACX_PKGVERSION): New macro.
27270 (ACX_BUGURL): Likewise.
27271 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27272 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27273 (REPORT_BUGS_TO): Likewise.
27274 * configure: Regenerated.
27275 * config.h.in (PKGVERSION): New macro.
27276 (REPORT_BUGS_TO): Likewise.
27277 * config.make.in (PKGVERSION): New variable.
27278 (PKGVERSION_TEXI): Likewise.
27279 (REPORT_BUGS_TO): Likewise.
27280 (REPORT_BUGS_TEXI): Likewise.
27281 * Makefile (format-me): Use -I$(common-objpfx)manual.
27282 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27283 ($(common-objpfx)manual/%): New target.
27284 (manual/%): Remove target.
27285 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27286 (print_version): Use PKGVERSION.
27287 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27288 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27289 and REPORT_BUGS_TO.
27290 ($(objpfx)xtrace): Likewise.
27291 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27292 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27293 (print_version): Use PKGVERSION.
27294 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27295 (do_version): Use PKGVERSION.
27296 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27298 (common-ldd-rewrite): Likewise.
27299 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27300 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27301 (print_version): Use PKGVERSION.
27302 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27303 * elf/pldd.c (argp_program_bug_address): Remove variable.
27304 (more_help): New function.
27305 (argp): Use more_help.
27306 (print_version): Use PKGVERSION.
27307 * elf/sln.c (main): Use PKGVERSION.
27308 (usage): Use REPORT_BUGS_TO.
27309 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27310 (top level): Use PKGVERSION.
27311 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27312 (print_version): Use PKGVERSION.
27313 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27314 (print_version): Use PKGVERSION.
27315 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27316 (print_version): Use PKGVERSION.
27317 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27318 (print_version): Use PKGVERSION.
27319 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27320 (print_version): Use PKGVERSION.
27321 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27322 (print_version): Use PKGVERSION.
27323 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27325 ($(objpfx)memusage): Likewise.
27326 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27327 (do_version): Use PKGVERSION.
27328 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27329 (print_version): Use PKGVERSION.
27330 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27331 ($PKGVERSION): New variable.
27332 ($REPORT_BUGS_TO): Likewise.
27333 (usage): Use $REPORT_BUGS_TO.
27334 (top level): Use $PKGVERSION.
27335 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27336 ($(objpfx)pkgvers.texi): New rule.
27337 ($(objpfx)stamp-pkgvers): Likewise.
27338 * manual/install.texi: Include pkgvers.texi.
27339 (--with-pkgversion): Document new configure option.
27340 (--with-bugurl): Likewise.
27341 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27342 than necessarily for this particular distribution. Use
27343 REPORT_BUGS_TO for where to report bugs.
27344 * INSTALL: Regenerated.
27345 * manual/libc.texinfo: Include pkgvers.texi.
27346 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27347 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27348 (print_version): Use PKGVERSION.
27349 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27350 (print_version): Use PKGVERSION.
27351 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27352 (print_version): Use PKGVERSION.
27353 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27354 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27356 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27357 (print_version): Use PKGVERSION.
27358 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27359 (print_version): Use PKGVERSION.
27360 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27363 * timezone/checktab.awk: Update from tzcode 2012i.
27364 * timezone/ialloc.c: Likewise.
27365 * timezone/private.h: Likewise.
27366 * timezone/scheck.c: Likewise.
27367 * timezone/tzfile.h: Likewise.
27368 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27369 (TZVERSION): Hardcode tzcode version number.
27370 * timezone/zdump.c: Update from tzcode 2012i.
27371 * timezone/zic.c: Likewise.
27372 * timezone/version.h: New file.
27373 * timezone/README: Describe version.h. Update upstream location.
27376 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27377 (mktemp): Enable declaration.
27378 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27379 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27380 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27381 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27383 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27385 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27387 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27389 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27391 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27395 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27396 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27397 for copies of such integer values.
27398 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27399 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27401 2012-11-09 Andreas Jaeger <aj@suse.de>
27403 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27404 definitions and declarations that are provided by
27405 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27407 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27409 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27410 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27411 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27414 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27416 * elf/elf.h: Update comment before AArch64 relocations.
27418 2012-11-07 David S. Miller <davem@davemloft.net>
27420 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27421 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27422 (__start_context): Declare.
27423 (__makecontext_ret): Delete.
27424 (__makecontext): Hook up __start_context instead of
27426 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27427 (sysdep_routines): Add __start_context when in stdlib.
27429 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27431 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27432 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27433 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27435 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27436 (READELF): New variable. Use it instead of hardcoded "readelf".
27438 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27440 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27441 * sysdeps/x86/Makefile: Here.
27442 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27443 * sysdeps/x86/tst-xmmymm.sh: This.
27445 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27447 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27449 [UNIX98] (pthread_barrier_t): Do not expect.
27450 [UNIX98] (pthread_barrierattr_t): Likewise.
27451 [UNIX98] (pthread_spinlock_t): Likewise.
27452 [UNIX98] (pthread_barrier_destroy): Likewise.
27453 [UNIX98] (pthread_barrier_init): Likewise.
27454 [UNIX98] (pthread_barrier_wait): Likewise.
27455 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27456 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27457 [UNIX98] (pthread_barrierattr_init): Likewise.
27458 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27459 [UNIX98] (pthread_getcpuclockid): Likewise.
27460 [UNIX98] (pthread_mutex_timedlock): Likewise.
27461 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27462 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27463 [UNIX98] (pthread_sigmask): Likewise.
27464 [UNIX98] (pthread_spin_destroy): Likewise.
27465 [UNIX98] (pthread_spin_init): Likewise.
27466 [UNIX98] (pthread_spin_lock): Likewise.
27467 [UNIX98] (pthread_spin_trylock): Likewise.
27468 [UNIX98] (pthread_spin_unlock): Likewise.
27469 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27471 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27472 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27473 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27474 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27475 [XPG3 || XPG4] (pthread_key_t): Likewise.
27476 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27477 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27478 [XPG3 || XPG4] (pthread_once_t): Likewise.
27479 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27480 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27481 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27482 [XPG3 || XPG4] (pthread_t): Likewise.
27484 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27486 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27488 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27489 Change function return type to int.
27491 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27492 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27493 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27494 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27495 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27496 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27497 [!POSIX] (posix_madvise): Likewise.
27498 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27500 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27501 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27502 (mode_t): Likewise.
27503 (posix_mem_offset): Likewise.
27504 (posix_typed_mem_get_info): Likewise.
27505 (posix_typed_mem_open): Likewise.
27507 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27508 Change condition to [XOPEN2K8].
27510 * conform/conformtest.pl: Preprocess allow-header data with -x c
27511 instead of from stdin.
27512 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27513 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27514 [C99-based standards] (cerfc): Likewise.
27515 [C99-based standards] (cexp2): Likewise.
27516 [C99-based standards] (cexpm1): Likewise.
27517 [C99-based standards] (clog10): Likewise.
27518 [C99-based standards] (clog1p): Likewise.
27519 [C99-based standards] (clog2): Likewise.
27520 [C99-based standards] (clgamma): Likewise.
27521 [C99-based standards] (ctgamma): Likewise.
27522 [C99-based standards] (cerff): Likewise.
27523 [C99-based standards] (cerfcf): Likewise.
27524 [C99-based standards] (cexp2f): Likewise.
27525 [C99-based standards] (cexpm1f): Likewise.
27526 [C99-based standards] (clog10f): Likewise.
27527 [C99-based standards] (clog1pf): Likewise.
27528 [C99-based standards] (clog2f): Likewise.
27529 [C99-based standards] (clgammaf): Likewise.
27530 [C99-based standards] (ctgammaf): Likewise.
27531 [C99-based standards] (cerfl): Likewise.
27532 [C99-based standards] (cerfcl): Likewise.
27533 [C99-based standards] (cexp2l): Likewise.
27534 [C99-based standards] (cexpm1l): Likewise.
27535 [C99-based standards] (clog10l): Likewise.
27536 [C99-based standards] (clog1pl): Likewise.
27537 [C99-based standards] (clog2l): Likewise.
27538 [C99-based standards] (clgammal): Likewise.
27539 [C99-based standards] (ctgammal): Likewise.
27540 * conform/data/inttypes.h-data [C99-based standards]: Include
27541 stdint.h-data. Remove all expectations for stdint.h contents.
27542 [C99-based standards] (PRI*): Do not allow.
27543 [C99-based standards] (SCN*): Likewise.
27544 [C99-based standards] (*_t): Likewise.
27545 [C99-based-standards] (PRId8): Expect macro.
27546 [C99-based-standards] (PRIi8): Likewise.
27547 [C99-based-standards] (PRIo8): Likewise.
27548 [C99-based-standards] (PRIu8): Likewise.
27549 [C99-based-standards] (PRIx8): Likewise.
27550 [C99-based-standards] (PRIX8): Likewise.
27551 [C99-based-standards] (SCNd8): Likewise.
27552 [C99-based-standards] (SCNi8): Likewise.
27553 [C99-based-standards] (SCNo8): Likewise.
27554 [C99-based-standards] (SCNu8): Likewise.
27555 [C99-based-standards] (SCNx8): Likewise.
27556 [C99-based-standards] (PRIdLEAST8): Likewise.
27557 [C99-based-standards] (PRIiLEAST8): Likewise.
27558 [C99-based-standards] (PRIoLEAST8): Likewise.
27559 [C99-based-standards] (PRIuLEAST8): Likewise.
27560 [C99-based-standards] (PRIxLEAST8): Likewise.
27561 [C99-based-standards] (PRIXLEAST8): Likewise.
27562 [C99-based-standards] (SCNdLEAST8): Likewise.
27563 [C99-based-standards] (SCNiLEAST8): Likewise.
27564 [C99-based-standards] (SCNoLEAST8): Likewise.
27565 [C99-based-standards] (SCNuLEAST8): Likewise.
27566 [C99-based-standards] (SCNxLEAST8): Likewise.
27567 [C99-based-standards] (PRIdFAST8): Likewise.
27568 [C99-based-standards] (PRIiFAST8): Likewise.
27569 [C99-based-standards] (PRIoFAST8): Likewise.
27570 [C99-based-standards] (PRIuFAST8): Likewise.
27571 [C99-based-standards] (PRIxFAST8): Likewise.
27572 [C99-based-standards] (PRIXFAST8): Likewise.
27573 [C99-based-standards] (SCNdFAST8): Likewise.
27574 [C99-based-standards] (SCNiFAST8): Likewise.
27575 [C99-based-standards] (SCNoFAST8): Likewise.
27576 [C99-based-standards] (SCNuFAST8): Likewise.
27577 [C99-based-standards] (SCNxFAST8): Likewise.
27578 [C99-based-standards] (PRId16): Likewise.
27579 [C99-based-standards] (PRIi16): Likewise.
27580 [C99-based-standards] (PRIo16): Likewise.
27581 [C99-based-standards] (PRIu16): Likewise.
27582 [C99-based-standards] (PRIx16): Likewise.
27583 [C99-based-standards] (PRIX16): Likewise.
27584 [C99-based-standards] (SCNd16): Likewise.
27585 [C99-based-standards] (SCNi16): Likewise.
27586 [C99-based-standards] (SCNo16): Likewise.
27587 [C99-based-standards] (SCNu16): Likewise.
27588 [C99-based-standards] (SCNx16): Likewise.
27589 [C99-based-standards] (PRIdLEAST16): Likewise.
27590 [C99-based-standards] (PRIiLEAST16): Likewise.
27591 [C99-based-standards] (PRIoLEAST16): Likewise.
27592 [C99-based-standards] (PRIuLEAST16): Likewise.
27593 [C99-based-standards] (PRIxLEAST16): Likewise.
27594 [C99-based-standards] (PRIXLEAST16): Likewise.
27595 [C99-based-standards] (SCNdLEAST16): Likewise.
27596 [C99-based-standards] (SCNiLEAST16): Likewise.
27597 [C99-based-standards] (SCNoLEAST16): Likewise.
27598 [C99-based-standards] (SCNuLEAST16): Likewise.
27599 [C99-based-standards] (SCNxLEAST16): Likewise.
27600 [C99-based-standards] (PRIdFAST16): Likewise.
27601 [C99-based-standards] (PRIiFAST16): Likewise.
27602 [C99-based-standards] (PRIoFAST16): Likewise.
27603 [C99-based-standards] (PRIuFAST16): Likewise.
27604 [C99-based-standards] (PRIxFAST16): Likewise.
27605 [C99-based-standards] (PRIXFAST16): Likewise.
27606 [C99-based-standards] (SCNdFAST16): Likewise.
27607 [C99-based-standards] (SCNiFAST16): Likewise.
27608 [C99-based-standards] (SCNoFAST16): Likewise.
27609 [C99-based-standards] (SCNuFAST16): Likewise.
27610 [C99-based-standards] (SCNxFAST16): Likewise.
27611 [C99-based-standards] (PRId32): Likewise.
27612 [C99-based-standards] (PRIi32): Likewise.
27613 [C99-based-standards] (PRIo32): Likewise.
27614 [C99-based-standards] (PRIu32): Likewise.
27615 [C99-based-standards] (PRIx32): Likewise.
27616 [C99-based-standards] (PRIX32): Likewise.
27617 [C99-based-standards] (SCNd32): Likewise.
27618 [C99-based-standards] (SCNi32): Likewise.
27619 [C99-based-standards] (SCNo32): Likewise.
27620 [C99-based-standards] (SCNu32): Likewise.
27621 [C99-based-standards] (SCNx32): Likewise.
27622 [C99-based-standards] (PRIdLEAST32): Likewise.
27623 [C99-based-standards] (PRIiLEAST32): Likewise.
27624 [C99-based-standards] (PRIoLEAST32): Likewise.
27625 [C99-based-standards] (PRIuLEAST32): Likewise.
27626 [C99-based-standards] (PRIxLEAST32): Likewise.
27627 [C99-based-standards] (PRIXLEAST32): Likewise.
27628 [C99-based-standards] (SCNdLEAST32): Likewise.
27629 [C99-based-standards] (SCNiLEAST32): Likewise.
27630 [C99-based-standards] (SCNoLEAST32): Likewise.
27631 [C99-based-standards] (SCNuLEAST32): Likewise.
27632 [C99-based-standards] (SCNxLEAST32): Likewise.
27633 [C99-based-standards] (PRIdFAST32): Likewise.
27634 [C99-based-standards] (PRIiFAST32): Likewise.
27635 [C99-based-standards] (PRIoFAST32): Likewise.
27636 [C99-based-standards] (PRIuFAST32): Likewise.
27637 [C99-based-standards] (PRIxFAST32): Likewise.
27638 [C99-based-standards] (PRIXFAST32): Likewise.
27639 [C99-based-standards] (SCNdFAST32): Likewise.
27640 [C99-based-standards] (SCNiFAST32): Likewise.
27641 [C99-based-standards] (SCNoFAST32): Likewise.
27642 [C99-based-standards] (SCNuFAST32): Likewise.
27643 [C99-based-standards] (SCNxFAST32): Likewise.
27644 [C99-based-standards] (PRId64): Likewise.
27645 [C99-based-standards] (PRIi64): Likewise.
27646 [C99-based-standards] (PRIo64): Likewise.
27647 [C99-based-standards] (PRIu64): Likewise.
27648 [C99-based-standards] (PRIx64): Likewise.
27649 [C99-based-standards] (PRIX64): Likewise.
27650 [C99-based-standards] (SCNd64): Likewise.
27651 [C99-based-standards] (SCNi64): Likewise.
27652 [C99-based-standards] (SCNo64): Likewise.
27653 [C99-based-standards] (SCNu64): Likewise.
27654 [C99-based-standards] (SCNx64): Likewise.
27655 [C99-based-standards] (PRIdLEAST64): Likewise.
27656 [C99-based-standards] (PRIiLEAST64): Likewise.
27657 [C99-based-standards] (PRIoLEAST64): Likewise.
27658 [C99-based-standards] (PRIuLEAST64): Likewise.
27659 [C99-based-standards] (PRIxLEAST64): Likewise.
27660 [C99-based-standards] (PRIXLEAST64): Likewise.
27661 [C99-based-standards] (SCNdLEAST64): Likewise.
27662 [C99-based-standards] (SCNiLEAST64): Likewise.
27663 [C99-based-standards] (SCNoLEAST64): Likewise.
27664 [C99-based-standards] (SCNuLEAST64): Likewise.
27665 [C99-based-standards] (SCNxLEAST64): Likewise.
27666 [C99-based-standards] (PRIdFAST64): Likewise.
27667 [C99-based-standards] (PRIiFAST64): Likewise.
27668 [C99-based-standards] (PRIoFAST64): Likewise.
27669 [C99-based-standards] (PRIuFAST64): Likewise.
27670 [C99-based-standards] (PRIxFAST64): Likewise.
27671 [C99-based-standards] (PRIXFAST64): Likewise.
27672 [C99-based-standards] (SCNdFAST64): Likewise.
27673 [C99-based-standards] (SCNiFAST64): Likewise.
27674 [C99-based-standards] (SCNoFAST64): Likewise.
27675 [C99-based-standards] (SCNuFAST64): Likewise.
27676 [C99-based-standards] (SCNxFAST64): Likewise.
27677 [C99-based-standards] (PRIdMAX): Likewise.
27678 [C99-based-standards] (PRIiMAX): Likewise.
27679 [C99-based-standards] (PRIoMAX): Likewise.
27680 [C99-based-standards] (PRIuMAX): Likewise.
27681 [C99-based-standards] (PRIxMAX): Likewise.
27682 [C99-based-standards] (PRIXMAX): Likewise.
27683 [C99-based-standards] (SCNdMAX): Likewise.
27684 [C99-based-standards] (SCNiMAX): Likewise.
27685 [C99-based-standards] (SCNoMAX): Likewise.
27686 [C99-based-standards] (SCNuMAX): Likewise.
27687 [C99-based-standards] (SCNxMAX): Likewise.
27688 [C99-based-standards] (PRIdPTR): Likewise.
27689 [C99-based-standards] (PRIiPTR): Likewise.
27690 [C99-based-standards] (PRIoPTR): Likewise.
27691 [C99-based-standards] (PRIuPTR): Likewise.
27692 [C99-based-standards] (PRIxPTR): Likewise.
27693 [C99-based-standards] (PRIXPTR): Likewise.
27694 [C99-based-standards] (SCNdPTR): Likewise.
27695 [C99-based-standards] (SCNiPTR): Likewise.
27696 [C99-based-standards] (SCNoPTR): Likewise.
27697 [C99-based-standards] (SCNuPTR): Likewise.
27698 [C99-based-standards] (SCNxPTR): Likewise.
27699 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27701 * conform/data/stdint.h-data: Update comments to clarify
27703 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27705 [C99-based standards] (INT8_MAX): Likewise.
27706 [C99-based standards] (INT16_MIN): Likewise.
27707 [C99-based standards] (INT16_MAX): Likewise.
27708 [C99-based standards] (INT32_MIN): Likewise.
27709 [C99-based standards] (INT32_MAX): Likewise.
27710 [C99-based standards] (INT64_MIN): Likewise.
27711 [C99-based standards] (INT64_MAX): Likewise.
27712 [C99-based standards] (UINT8_MAX): Likewise.
27713 [C99-based standards] (UINT16_MAX): Likewise.
27714 [C99-based standards] (UINT32_MAX): Likewise.
27715 [C99-based standards] (UINT64_MAX): Likewise.
27716 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27717 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27718 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27719 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27720 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27721 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27722 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27723 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27724 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27725 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27726 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27727 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27728 [C99-based standards] (INT_FAST8_MIN): Likewise.
27729 [C99-based standards] (INT_FAST8_MAX): Likewise.
27730 [C99-based standards] (INT_FAST16_MIN): Likewise.
27731 [C99-based standards] (INT_FAST16_MAX): Likewise.
27732 [C99-based standards] (INT_FAST32_MIN): Likewise.
27733 [C99-based standards] (INT_FAST32_MAX): Likewise.
27734 [C99-based standards] (INT_FAST64_MIN): Likewise.
27735 [C99-based standards] (INT_FAST64_MAX): Likewise.
27736 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27737 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27738 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27739 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27740 [C99-based standards] (INTPTR_MIN): Likewise.
27741 [C99-based standards] (INTPTR_MAX): Likewise.
27742 [C99-based standards] (UINTPTR_MAX): Likewise.
27743 [C99-based standards] (INTMAX_MIN): Likewise.
27744 [C99-based standards] (INTMAX_MAX): Likewise.
27745 [C99-based standards] (UINTMAX_MAX): Likewise.
27746 [C99-based standards] (PTRDIFF_MIN): Likewise.
27747 [C99-based standards] (PTRDIFF_MAX): Likewise.
27748 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27749 [C99-based standards] (SIZE_MAX): Likewise.
27750 [C99-based standards] (WCHAR_MAX): Likewise.
27751 [C99-based standards] (WINT_MAX): Likewise.
27752 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27753 constraint on value.
27754 [C99-based standards] (WCHAR_MIN): Likewise.
27755 [C99-based standards] (WINT_MIN): Likewise.
27756 [C99-based standards] (*_t): Allow.
27757 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27758 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27759 Include math.h-data and complex.h-data. Remove all expectations
27760 of math.h and complex.h contents.
27761 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27763 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27764 (struct tm): Expect tag.
27765 [C99-based-standards] (wcstof): Expect function.
27766 [C99-based-standards] (wcstold): Likewise.
27767 [C99-based-standards] (wcstoll): Likewise.
27768 [C99-based-standards] (wcstoull): Likewise.
27769 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27770 macro-int-constant. Specify type.
27771 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27772 constraint on value.
27773 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27775 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27777 [ISO C standards]: Do not allow headers.
27778 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27779 wcs[abcdefghijklmnopqrstuvwxyz]*.
27780 [ISO C standards] (*_t): Do not allow.
27781 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27783 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27784 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27786 [ISO C standards]: Do not allow headers.
27787 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27788 is[abcdefghijklmnopqrstuvwxyz]*.
27789 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27790 to[abcdefghijklmnopqrstuvwxyz]*.
27791 [ISO C standards] (*_t): Do not allow.
27792 * conform/data/stdalign.h-data: New file.
27793 * conform/data/stdbool.h-data: Likewise.
27794 * conform/data/stdnoreturn.h-data: Likewise.
27796 2012-11-07 Roland McGrath <roland@hack.frob.com>
27799 * manual/filesys.texi (Directory Entries): Typo fix.
27800 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27802 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27804 * elf/elf.h (EM_AARCH64): New macro.
27805 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27806 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27807 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27808 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27809 (R_AARCH64_TLSDESC): Likewise.
27810 (NT_ARM_TLS): Likewise.
27811 (NT_ARM_HW_BREAK): Likewise.
27812 (NT_ARM_HW_WATCH): Likewise.
27814 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27817 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27818 (__ieee754_powl): Saturate nonzero exponents with absolute value
27819 below 0x1p-79 to +/- 0x1p-79.
27820 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27821 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27822 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27823 nonzero exponents with absolute value below 0x1p-32 to +/-
27825 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27826 (__ieee754_powl): Saturate nonzero exponents with absolute value
27827 below 0x1p-79 to +/- 0x1p-79.
27828 * math/libm-test.inc (pow_test): Add more tests.
27830 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27832 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27833 _dl_s390_cap_flags with kernel. Increase string length.
27834 (_dl_s390_platforms): Add z196 and zEC12.
27836 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27838 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27839 Change XOPEN21K to XOPEN2K.
27841 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27843 * string/memmove.c: Use memcpy when possible.
27845 2012-11-06 Andreas Jaeger <aj@suse.de>
27847 * po/eo.po: Update from translation team.
27849 2012-11-06 Joseph Myers <joseph@codesourcery.com>
27852 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27853 exponent and small x and y exponents, scale x or y up. Increase
27854 by 2 the exponent used in scaling up.
27855 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27856 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27857 * math/libm-test.inc (fma_test): Add more tests.
27858 (fma_test_towardzero): Likewise.
27859 (fma_test_downward): Likewise.
27860 (fma_test_upward): Likewise.
27862 2012-11-05 Joseph Myers <joseph@codesourcery.com>
27865 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27869 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27870 namespace for names of struct fields.
27871 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27873 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27874 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27876 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27879 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27881 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27883 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27887 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27890 2012-11-04 Joseph Myers <joseph@codesourcery.com>
27893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27894 definitely overflow as x * y not x * y + z.
27895 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27896 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27897 * math/libm-test.inc (fma_test): Add more tests.
27898 (fma_test_towardzero): Likewise.
27899 (fma_test_downward): Likewise.
27900 (fma_test_upward): Likewise.
27902 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27906 * include/stub-tag.h: Remove file.
27907 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27909 * manual/maint.texi (Porting): Don't reference it.
27910 * Makerules ($(objpfx)stubs): Likewise.
27911 * dirent/closedir.c: Don't include <stub-tag.h>.
27912 * dirent/dirfd.c: Likewise.
27913 * dirent/fdopendir.c: Likewise.
27914 * dirent/getdents.c: Likewise.
27915 * dirent/getdents64.c: Likewise.
27916 * dirent/opendir.c: Likewise.
27917 * dirent/readdir.c: Likewise.
27918 * dirent/readdir64.c: Likewise.
27919 * dirent/readdir64_r.c: Likewise.
27920 * dirent/readdir_r.c: Likewise.
27921 * dirent/rewinddir.c: Likewise.
27922 * dirent/seekdir.c: Likewise.
27923 * dirent/telldir.c: Likewise.
27924 * gmon/profil.c: Likewise.
27925 * grp/setgroups.c: Likewise.
27926 * inet/if_index.c: Likewise.
27927 * io/access.c: Likewise.
27928 * io/chdir.c: Likewise.
27929 * io/chmod.c: Likewise.
27930 * io/chown.c: Likewise.
27931 * io/close.c: Likewise.
27932 * io/dup.c: Likewise.
27933 * io/dup2.c: Likewise.
27934 * io/dup3.c: Likewise.
27935 * io/euidaccess.c: Likewise.
27936 * io/faccessat.c: Likewise.
27937 * io/fchdir.c: Likewise.
27938 * io/fchmod.c: Likewise.
27939 * io/fchmodat.c: Likewise.
27940 * io/fchown.c: Likewise.
27941 * io/fchownat.c: Likewise.
27942 * io/fcntl.c: Likewise.
27943 * io/flock.c: Likewise.
27944 * io/fstatfs.c: Likewise.
27945 * io/fstatfs64.c: Likewise.
27946 * io/fstatvfs.c: Likewise.
27947 * io/fstatvfs64.c: Likewise.
27948 * io/futimens.c: Likewise.
27949 * io/fxstat.c: Likewise.
27950 * io/fxstat64.c: Likewise.
27951 * io/fxstatat.c: Likewise.
27952 * io/fxstatat64.c: Likewise.
27953 * io/getcwd.c: Likewise.
27954 * io/isatty.c: Likewise.
27955 * io/lchmod.c: Likewise.
27956 * io/lchown.c: Likewise.
27957 * io/link.c: Likewise.
27958 * io/linkat.c: Likewise.
27959 * io/lseek.c: Likewise.
27960 * io/lseek64.c: Likewise.
27961 * io/lxstat64.c: Likewise.
27962 * io/mkdir.c: Likewise.
27963 * io/mkdirat.c: Likewise.
27964 * io/mkfifo.c: Likewise.
27965 * io/mkfifoat.c: Likewise.
27966 * io/open.c: Likewise.
27967 * io/open64.c: Likewise.
27968 * io/openat.c: Likewise.
27969 * io/openat64.c: Likewise.
27970 * io/pipe.c: Likewise.
27971 * io/pipe2.c: Likewise.
27972 * io/poll.c: Likewise.
27973 * io/posix_fadvise.c: Likewise.
27974 * io/posix_fadvise64.c: Likewise.
27975 * io/posix_fallocate.c: Likewise.
27976 * io/posix_fallocate64.c: Likewise.
27977 * io/read.c: Likewise.
27978 * io/readlink.c: Likewise.
27979 * io/readlinkat.c: Likewise.
27980 * io/rmdir.c: Likewise.
27981 * io/sendfile.c: Likewise.
27982 * io/sendfile64.c: Likewise.
27983 * io/statfs.c: Likewise.
27984 * io/statfs64.c: Likewise.
27985 * io/statvfs.c: Likewise.
27986 * io/statvfs64.c: Likewise.
27987 * io/symlink.c: Likewise.
27988 * io/symlinkat.c: Likewise.
27989 * io/ttyname.c: Likewise.
27990 * io/ttyname_r.c: Likewise.
27991 * io/umask.c: Likewise.
27992 * io/unlink.c: Likewise.
27993 * io/unlinkat.c: Likewise.
27994 * io/utime.c: Likewise.
27995 * io/utimensat.c: Likewise.
27996 * io/write.c: Likewise.
27997 * io/xmknod.c: Likewise.
27998 * io/xmknodat.c: Likewise.
27999 * io/xstat.c: Likewise.
28000 * io/xstat64.c: Likewise.
28001 * login/getpt.c: Likewise.
28002 * login/grantpt.c: Likewise.
28003 * login/unlockpt.c: Likewise.
28004 * math/e_acoshl.c: Likewise.
28005 * math/e_acosl.c: Likewise.
28006 * math/e_asinl.c: Likewise.
28007 * math/e_atan2l.c: Likewise.
28008 * math/e_atanhl.c: Likewise.
28009 * math/e_coshl.c: Likewise.
28010 * math/e_expl.c: Likewise.
28011 * math/e_fmodl.c: Likewise.
28012 * math/e_gammal_r.c: Likewise.
28013 * math/e_hypotl.c: Likewise.
28014 * math/e_j0l.c: Likewise.
28015 * math/e_j1l.c: Likewise.
28016 * math/e_jnl.c: Likewise.
28017 * math/e_lgammal_r.c: Likewise.
28018 * math/e_log10l.c: Likewise.
28019 * math/e_log2l.c: Likewise.
28020 * math/e_logl.c: Likewise.
28021 * math/e_powl.c: Likewise.
28022 * math/e_rem_pio2l.c: Likewise.
28023 * math/e_sinhl.c: Likewise.
28024 * math/e_sqrtl.c: Likewise.
28025 * math/fclrexcpt.c: Likewise.
28026 * math/fedisblxcpt.c: Likewise.
28027 * math/feenablxcpt.c: Likewise.
28028 * math/fegetenv.c: Likewise.
28029 * math/fegetexcept.c: Likewise.
28030 * math/fegetround.c: Likewise.
28031 * math/feholdexcpt.c: Likewise.
28032 * math/fesetenv.c: Likewise.
28033 * math/fesetround.c: Likewise.
28034 * math/feupdateenv.c: Likewise.
28035 * math/fgetexcptflg.c: Likewise.
28036 * math/fraiseexcpt.c: Likewise.
28037 * math/fsetexcptflg.c: Likewise.
28038 * math/ftestexcept.c: Likewise.
28039 * math/k_cosl.c: Likewise.
28040 * math/k_rem_pio2l.c: Likewise.
28041 * math/k_sinl.c: Likewise.
28042 * math/k_tanl.c: Likewise.
28043 * math/s_asinhl.c: Likewise.
28044 * math/s_atanl.c: Likewise.
28045 * math/s_cbrtl.c: Likewise.
28046 * math/s_erfl.c: Likewise.
28047 * math/s_expm1l.c: Likewise.
28048 * math/s_log1pl.c: Likewise.
28049 * math/s_tanhl.c: Likewise.
28050 * misc/acct.c: Likewise.
28051 * misc/brk.c: Likewise.
28052 * misc/chflags.c: Likewise.
28053 * misc/chroot.c: Likewise.
28054 * misc/fchflags.c: Likewise.
28055 * misc/fgetxattr.c: Likewise.
28056 * misc/flistxattr.c: Likewise.
28057 * misc/fremovexattr.c: Likewise.
28058 * misc/fsetxattr.c: Likewise.
28059 * misc/fsync.c: Likewise.
28060 * misc/ftruncate.c: Likewise.
28061 * misc/futimes.c: Likewise.
28062 * misc/futimesat.c: Likewise.
28063 * misc/getdomain.c: Likewise.
28064 * misc/getdtsz.c: Likewise.
28065 * misc/gethostid.c: Likewise.
28066 * misc/gethostname.c: Likewise.
28067 * misc/getloadavg.c: Likewise.
28068 * misc/getpagesize.c: Likewise.
28069 * misc/getsysstats.c: Likewise.
28070 * misc/getxattr.c: Likewise.
28071 * misc/gtty.c: Likewise.
28072 * misc/ioctl.c: Likewise.
28073 * misc/lgetxattr.c: Likewise.
28074 * misc/listxattr.c: Likewise.
28075 * misc/llistxattr.c: Likewise.
28076 * misc/lremovexattr.c: Likewise.
28077 * misc/lsetxattr.c: Likewise.
28078 * misc/lutimes.c: Likewise.
28079 * misc/madvise.c: Likewise.
28080 * misc/mincore.c: Likewise.
28081 * misc/mlock.c: Likewise.
28082 * misc/mlockall.c: Likewise.
28083 * misc/mmap.c: Likewise.
28084 * misc/mprotect.c: Likewise.
28085 * misc/msync.c: Likewise.
28086 * misc/munlock.c: Likewise.
28087 * misc/munlockall.c: Likewise.
28088 * misc/munmap.c: Likewise.
28089 * misc/preadv.c: Likewise.
28090 * misc/preadv64.c: Likewise.
28091 * misc/ptrace.c: Likewise.
28092 * misc/pwritev.c: Likewise.
28093 * misc/pwritev64.c: Likewise.
28094 * misc/readv.c: Likewise.
28095 * misc/reboot.c: Likewise.
28096 * misc/remap_file_pages.c: Likewise.
28097 * misc/removexattr.c: Likewise.
28098 * misc/revoke.c: Likewise.
28099 * misc/select.c: Likewise.
28100 * misc/setdomain.c: Likewise.
28101 * misc/setegid.c: Likewise.
28102 * misc/seteuid.c: Likewise.
28103 * misc/sethostid.c: Likewise.
28104 * misc/sethostname.c: Likewise.
28105 * misc/setregid.c: Likewise.
28106 * misc/setreuid.c: Likewise.
28107 * misc/setxattr.c: Likewise.
28108 * misc/sstk.c: Likewise.
28109 * misc/stty.c: Likewise.
28110 * misc/swapoff.c: Likewise.
28111 * misc/swapon.c: Likewise.
28112 * misc/sync.c: Likewise.
28113 * misc/syncfs.c: Likewise.
28114 * misc/syscall.c: Likewise.
28115 * misc/truncate.c: Likewise.
28116 * misc/ualarm.c: Likewise.
28117 * misc/usleep.c: Likewise.
28118 * misc/ustat.c: Likewise.
28119 * misc/utimes.c: Likewise.
28120 * misc/vhangup.c: Likewise.
28121 * misc/writev.c: Likewise.
28122 * posix/_exit.c: Likewise.
28123 * posix/alarm.c: Likewise.
28124 * posix/execve.c: Likewise.
28125 * posix/fexecve.c: Likewise.
28126 * posix/fork.c: Likewise.
28127 * posix/fpathconf.c: Likewise.
28128 * posix/getaddrinfo.c: Likewise.
28129 * posix/getegid.c: Likewise.
28130 * posix/geteuid.c: Likewise.
28131 * posix/getgid.c: Likewise.
28132 * posix/getgroups.c: Likewise.
28133 * posix/getlogin.c: Likewise.
28134 * posix/getlogin_r.c: Likewise.
28135 * posix/getpgid.c: Likewise.
28136 * posix/getpid.c: Likewise.
28137 * posix/getppid.c: Likewise.
28138 * posix/getresgid.c: Likewise.
28139 * posix/getresuid.c: Likewise.
28140 * posix/getsid.c: Likewise.
28141 * posix/getuid.c: Likewise.
28142 * posix/glob64.c: Likewise.
28143 * posix/nanosleep.c: Likewise.
28144 * posix/pathconf.c: Likewise.
28145 * posix/pause.c: Likewise.
28146 * posix/posix_madvise.c: Likewise.
28147 * posix/pread.c: Likewise.
28148 * posix/pread64.c: Likewise.
28149 * posix/pwrite.c: Likewise.
28150 * posix/pwrite64.c: Likewise.
28151 * posix/sched_getaffinity.c: Likewise.
28152 * posix/sched_getp.c: Likewise.
28153 * posix/sched_gets.c: Likewise.
28154 * posix/sched_primax.c: Likewise.
28155 * posix/sched_primin.c: Likewise.
28156 * posix/sched_rr_gi.c: Likewise.
28157 * posix/sched_setaffinity.c: Likewise.
28158 * posix/sched_setp.c: Likewise.
28159 * posix/sched_sets.c: Likewise.
28160 * posix/sched_yield.c: Likewise.
28161 * posix/setgid.c: Likewise.
28162 * posix/setlogin.c: Likewise.
28163 * posix/setpgid.c: Likewise.
28164 * posix/setresgid.c: Likewise.
28165 * posix/setresuid.c: Likewise.
28166 * posix/setsid.c: Likewise.
28167 * posix/setuid.c: Likewise.
28168 * posix/sleep.c: Likewise.
28169 * posix/spawni.c: Likewise.
28170 * posix/sysconf.c: Likewise.
28171 * posix/times.c: Likewise.
28172 * posix/wait.c: Likewise.
28173 * posix/wait3.c: Likewise.
28174 * posix/wait4.c: Likewise.
28175 * posix/waitpid.c: Likewise.
28176 * resolv/gai_sigqueue.c: Likewise.
28177 * resource/getpriority.c: Likewise.
28178 * resource/getrlimit.c: Likewise.
28179 * resource/getrusage.c: Likewise.
28180 * resource/nice.c: Likewise.
28181 * resource/setpriority.c: Likewise.
28182 * resource/setrlimit.c: Likewise.
28183 * resource/ulimit.c: Likewise.
28184 * rt/aio_cancel.c: Likewise.
28185 * rt/aio_fsync.c: Likewise.
28186 * rt/aio_read.c: Likewise.
28187 * rt/aio_sigqueue.c: Likewise.
28188 * rt/aio_suspend.c: Likewise.
28189 * rt/aio_write.c: Likewise.
28190 * rt/clock_getres.c: Likewise.
28191 * rt/clock_gettime.c: Likewise.
28192 * rt/clock_nanosleep.c: Likewise.
28193 * rt/clock_settime.c: Likewise.
28194 * rt/lio_listio.c: Likewise.
28195 * rt/mq_close.c: Likewise.
28196 * rt/mq_getattr.c: Likewise.
28197 * rt/mq_notify.c: Likewise.
28198 * rt/mq_open.c: Likewise.
28199 * rt/mq_receive.c: Likewise.
28200 * rt/mq_send.c: Likewise.
28201 * rt/mq_setattr.c: Likewise.
28202 * rt/mq_timedreceive.c: Likewise.
28203 * rt/mq_timedsend.c: Likewise.
28204 * rt/mq_unlink.c: Likewise.
28205 * rt/shm_open.c: Likewise.
28206 * rt/shm_unlink.c: Likewise.
28207 * rt/timer_create.c: Likewise.
28208 * rt/timer_delete.c: Likewise.
28209 * rt/timer_getoverr.c: Likewise.
28210 * rt/timer_gettime.c: Likewise.
28211 * rt/timer_settime.c: Likewise.
28212 * setjmp/__longjmp.c: Likewise.
28213 * setjmp/setjmp.c: Likewise.
28214 * signal/kill.c: Likewise.
28215 * signal/killpg.c: Likewise.
28216 * signal/raise.c: Likewise.
28217 * signal/sigaction.c: Likewise.
28218 * signal/sigaltstack.c: Likewise.
28219 * signal/sigblock.c: Likewise.
28220 * signal/sigignore.c: Likewise.
28221 * signal/sigintr.c: Likewise.
28222 * signal/signal.c: Likewise.
28223 * signal/sigpause.c: Likewise.
28224 * signal/sigpending.c: Likewise.
28225 * signal/sigqueue.c: Likewise.
28226 * signal/sigreturn.c: Likewise.
28227 * signal/sigset.c: Likewise.
28228 * signal/sigsetmask.c: Likewise.
28229 * signal/sigstack.c: Likewise.
28230 * signal/sigsuspend.c: Likewise.
28231 * signal/sigtimedwait.c: Likewise.
28232 * signal/sigvec.c: Likewise.
28233 * signal/sigwait.c: Likewise.
28234 * signal/sigwaitinfo.c: Likewise.
28235 * signal/sysv_signal.c: Likewise.
28236 * socket/accept.c: Likewise.
28237 * socket/accept4.c: Likewise.
28238 * socket/bind.c: Likewise.
28239 * socket/connect.c: Likewise.
28240 * socket/getpeername.c: Likewise.
28241 * socket/getsockname.c: Likewise.
28242 * socket/getsockopt.c: Likewise.
28243 * socket/isfdtype.c: Likewise.
28244 * socket/listen.c: Likewise.
28245 * socket/recv.c: Likewise.
28246 * socket/recvfrom.c: Likewise.
28247 * socket/recvmsg.c: Likewise.
28248 * socket/send.c: Likewise.
28249 * socket/sendmsg.c: Likewise.
28250 * socket/sendto.c: Likewise.
28251 * socket/setsockopt.c: Likewise.
28252 * socket/shutdown.c: Likewise.
28253 * socket/sockatmark.c: Likewise.
28254 * socket/socket.c: Likewise.
28255 * socket/socketpair.c: Likewise.
28256 * stdio-common/ctermid.c: Likewise.
28257 * stdio-common/cuserid.c: Likewise.
28258 * stdio-common/remove.c: Likewise.
28259 * stdio-common/rename.c: Likewise.
28260 * stdio-common/renameat.c: Likewise.
28261 * stdio-common/tempname.c: Likewise.
28262 * stdlib/getcontext.c: Likewise.
28263 * stdlib/makecontext.c: Likewise.
28264 * stdlib/setcontext.c: Likewise.
28265 * stdlib/swapcontext.c: Likewise.
28266 * stdlib/system.c: Likewise.
28267 * streams/fattach.c: Likewise.
28268 * streams/fdetach.c: Likewise.
28269 * streams/getmsg.c: Likewise.
28270 * streams/getpmsg.c: Likewise.
28271 * streams/putmsg.c: Likewise.
28272 * streams/putpmsg.c: Likewise.
28273 * sysdeps/unix/bsd/getpt.c: Likewise.
28274 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28275 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28276 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28279 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28280 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28281 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28282 * sysvipc/msgctl.c: Likewise.
28283 * sysvipc/msgget.c: Likewise.
28284 * sysvipc/msgrcv.c: Likewise.
28285 * sysvipc/msgsnd.c: Likewise.
28286 * sysvipc/semctl.c: Likewise.
28287 * sysvipc/semget.c: Likewise.
28288 * sysvipc/semop.c: Likewise.
28289 * sysvipc/semtimedop.c: Likewise.
28290 * sysvipc/shmat.c: Likewise.
28291 * sysvipc/shmctl.c: Likewise.
28292 * sysvipc/shmdt.c: Likewise.
28293 * sysvipc/shmget.c: Likewise.
28294 * termios/tcdrain.c: Likewise.
28295 * termios/tcflow.c: Likewise.
28296 * termios/tcflush.c: Likewise.
28297 * termios/tcgetattr.c: Likewise.
28298 * termios/tcgetpgrp.c: Likewise.
28299 * termios/tcsendbrk.c: Likewise.
28300 * termios/tcsetattr.c: Likewise.
28301 * termios/tcsetpgrp.c: Likewise.
28302 * time/adjtime.c: Likewise.
28303 * time/clock.c: Likewise.
28304 * time/getitimer.c: Likewise.
28305 * time/gettimeofday.c: Likewise.
28306 * time/setitimer.c: Likewise.
28307 * time/settimeofday.c: Likewise.
28308 * time/stime.c: Likewise.
28309 * time/time.c: Likewise.
28311 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
28313 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28316 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28318 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28320 2012-11-03 Joseph Myers <joseph@codesourcery.com>
28323 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28324 FE_TONEAREST before applying Dekker multiplication and Knuth
28325 addition. Clear inexact exceptions and check for exact zero
28326 results afterwards.
28327 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28328 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28329 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28330 * math/libm-test.inc (fma_test): Add more tests.
28331 (fma_test_towardzero): Likewise.
28332 (fma_test_downward): Likewise.
28333 (fma_test_upward): Likewise.
28334 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28336 (libc_fesetround): New macro.
28337 (libc_fesetroundf): Likewise.
28338 (libc_fesetroundl): Likewise.
28339 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28341 (libc_fesetround_387): Likewise.
28342 (libc_fesetroundf): New macro.
28343 (libc_fesetround): Likewise.
28344 (libc_fesetroundl): Likewise.
28345 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28347 (libc_fesetroundf): New macro.
28348 (libc_fesetround): Likewise.
28349 (libc_fesetroundl): Likewise.
28350 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28351 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28352 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28354 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28355 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28357 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28358 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28360 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28364 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28365 integer constant usable in #if and use that to give value to enum
28367 (FE_DIVBYZERO): Likewise.
28368 (FE_UNDERFLOW): Likewise.
28369 (FE_OVERFLOW): Likewise.
28370 (FE_INVALID): Likewise.
28371 (FE_INVALID_SNAN): Likewise.
28372 (FE_INVALID_ISI): Likewise.
28373 (FE_INVALID_IDI): Likewise.
28374 (FE_INVALID_ZDZ): Likewise.
28375 (FE_INVALID_IMZ): Likewise.
28376 (FE_INVALID_COMPARE): Likewise.
28377 (FE_INVALID_SOFTWARE): Likewise.
28378 (FE_INVALID_SQRT): Likewise.
28379 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28380 (FE_TONEAREST): Likewise.
28381 (FE_TOWARDZERO): Likewise.
28382 (FE_UPWARD): Likewise.
28383 (FE_DOWNWARD): Likewise.
28384 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28385 (FE_DIVBYZERO): Likewise.
28386 (FE_OVERFLOW): Likewise.
28387 (FE_UNDERFLOW): Likewise.
28388 (FE_INEXACT): Likewise.
28389 (FE_TONEAREST): Likewise.
28390 (FE_DOWNWARD): Likewise.
28391 (FE_UPWARD): Likewise.
28392 (FE_TOWARDZERO): Likewise.
28393 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28394 (FE_UNDERFLOW): Likewise.
28395 (FE_OVERFLOW): Likewise.
28396 (FE_DIVBYZERO): Likewise.
28397 (FE_INVALID): Likewise.
28398 (FE_TONEAREST): Likewise.
28399 (FE_TOWARDZERO): Likewise.
28400 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28401 (FE_OVERFLOW): Likewise.
28402 (FE_UNDERFLOW): Likewise.
28403 (FE_DIVBYZERO): Likewise.
28404 (FE_INEXACT): Likewise.
28405 (FE_TONEAREST): Likewise.
28406 (FE_TOWARDZERO): Likewise.
28407 (FE_UPWARD): Likewise.
28408 (FE_DOWNWARD): Likewise.
28409 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28410 (FE_DIVBYZERO): Likewise.
28411 (FE_OVERFLOW): Likewise.
28412 (FE_UNDERFLOW): Likewise.
28413 (FE_INEXACT): Likewise.
28414 (FE_TONEAREST): Likewise.
28415 (FE_DOWNWARD): Likewise.
28416 (FE_UPWARD): Likewise.
28417 (FE_TOWARDZERO): Likewise.
28419 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28421 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28423 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28425 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28426 commands. Quote $PWD.
28427 (blacklist_exports): Don't use remove_newlines. Replace "declare
28429 (remove_newlines): Remove.
28431 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28433 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28434 * stdlib/stdlib.h (atof): Moved to ...
28435 * include/bits/stdlib-float.h: Here. New file.
28436 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28437 * stdlib/bits/stdlib-float.h: New file.
28438 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28440 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28443 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28445 * conform/conformtest.pl (@headers): Add fenv.h.
28446 * conform/data/fenv.h-data: New file.
28447 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28448 include of <math/fenv.h>.
28450 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28451 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28452 && !UNIX98]. Enables tests for XOPEN2K8.
28453 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28454 POSIX2008]: Likewise.
28456 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28457 (struct rusage): Do not expect type or its members.
28460 * math/math.h (FP_NAN): Define macro to integer constant usable in
28461 #if and use that to give value to enum constant.
28462 (FP_INFINITE): Likewise.
28463 (FP_ZERO): Likewise.
28464 (FP_SUBNORMAL): Likewise.
28465 (FP_NORMAL): Likewise.
28467 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28469 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28470 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28473 2012-11-02 Roland McGrath <roland@hack.frob.com>
28475 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28476 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28477 autoconf-time if not.
28478 * configure.in: Remove AC_PREREQ.
28480 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28482 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28483 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28484 of the internal implementation.
28486 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28488 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28489 except include of <misc/sys/syslog.h>.
28491 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28494 function returns with a NULL context exit with zero.
28496 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28498 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28500 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28502 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28503 (run_program_cmd): This.
28504 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28505 (tst_langinfo): New variable. Use it.
28507 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28509 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28510 floating point opcodes.
28512 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28514 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28517 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28519 * sysdeps/mach/hurd/powerpc: Remove directory.
28520 * sysdeps/mach/powerpc: Likewise.
28522 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28524 * scripts/check-local-headers.sh: Ignore c++ headers.
28526 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28528 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28529 __libc_cleanup_region_start argument.
28531 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28535 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28536 x * y using scaling, not as x * y + z.
28537 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28538 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28539 * math/libm-test.inc (fma_test): Add more tests.
28540 (fma_test_towardzero): Likewise.
28541 (fma_test_downward): Likewise.
28542 (fma_test_upward): Likewise.
28544 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28546 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28548 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28550 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28553 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28555 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28557 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28564 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28567 Fix the order of the list for glibc 2.17.
28568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28571 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28575 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28578 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28579 for low part of x being zero before using __atanl (y).
28580 * math/libm-test.inc (atan2_test): Add another test.
28582 * manual/install.texi (Configuring and compiling): Document
28583 general use of test-wrapper and test-wrapper-env.
28584 * INSTALL: Regenerated.
28586 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28587 (__fma): Do not extract and scale down low bits on after-rounding
28588 systems when result rounded to normal precision would have normal
28590 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28591 (__fmal): Do not extract and scale down low bits on after-rounding
28592 systems when result rounded to normal precision would have normal
28594 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28595 (__fmal): Do not extract and scale down low bits on after-rounding
28596 systems when result rounded to normal precision would have normal
28598 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28600 (fma_test): Add more tests.
28601 (fma_test_towardzero): Likewise.
28602 (fma_test_downward): Likewise.
28603 (fma_test_upward): Likewise.
28605 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28607 * sysdeps/i386/tininess.h: Renamed to ...
28608 * sysdeps/x86/tininess.h: This.
28609 * sysdeps/x86_64/tininess.h: Removed.
28611 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28613 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28614 input. Use $(build-program-cmd).
28615 ($(objpfx)tst-array1-static.out): Likewise.
28616 ($(objpfx)tst-array2.out): Likewise.
28617 ($(objpfx)tst-array3.out): Likewise.
28618 ($(objpfx)tst-array4.out): Likewise.
28619 ($(objpfx)tst-array5.out): Likewise.
28620 ($(objpfx)tst-array5-static.out): Likewise.
28622 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28624 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28627 * nss/nsswitch.h (nss_interface_function): Provide new
28628 macro for use with NSS functions.
28629 * grp/initgroups.c: Use new macro.
28630 * nss/getXXbyYY.c: Likewise.
28631 * nss/getXXbyYY_r.c: Likewise.
28632 * nss/getXXent.c: Likewise.
28633 * nss/getXXent_r.c: Likewise.
28634 * sysdeps/posix/getaddrinfo.c: Likewise.
28636 2012-10-30 Andreas Jaeger <aj@suse.de>
28638 * po/ru.po: Update Russion translation from translation project.
28640 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28644 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28645 result and shift together with sticky bit instead of replicating
28646 round-to-nearest rounding.
28647 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28648 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28649 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28650 missing underflow exceptions.
28651 (fma_test_towardzero): Add more tests.
28652 (fma_test_downward): Likewise.
28653 (fma_test_upward): Likewise.
28656 * sysdeps/generic/tininess.h: New file.
28657 * sysdeps/i386/tininess.h: Likewise.
28658 * sysdeps/sh/tininess.h: Likewise.
28659 * sysdeps/x86_64/tininess.h: Likewise.
28660 * stdlib/tst-strtod-underflow.c: Likewise.
28661 * stdlib/tst-tininess.c: Likewise.
28662 * stdlib/strtod_l.c: Include <tininess.h>.
28663 (round_and_return): Do not set errno for exact underflow cases.
28664 Force an underflow exception when setting errno for underflow.
28665 Determine underflow based on rounding to normal precision if
28666 TININESS_AFTER_ROUNDING.
28667 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28668 ERANGE for exact underflow cases.
28669 * stdlib/Makefile (tests): Add tst-tininess and
28670 tst-strtod-underflow.
28671 ($(objpfx)tst-tininess): Use $(link-libm).
28672 ($(objpfx)tst-strtod-underflow): Likewise.
28674 2012-10-30 Andreas Jaeger <aj@suse.de>
28677 * elf/Makefile (tests): Remove conditional for have-initfini-array
28678 since this is now always required and the variable does not exist
28680 (tests-static): Likewise.
28681 (modules-names): Likewise.
28683 * po/eo.po: Add Esperanto translation from translation project.
28685 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28686 merged with constructor/destructor.
28687 (init_array): Likewise.
28688 * elf/tst-array2dep.c (fini_array): Likewise.
28689 (init_array): Likewise.
28691 2012-10-29 Mike Frysinger <vapier@gentoo.org>
28693 * manual/message.texi: Delete @cartouche tags.
28695 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28697 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28699 * sysdeps/mach/hurd/fsync.c: Likewise.
28701 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28702 [_POSIX_REALTIME_SIGNALS]: Change condition to
28703 [_POSIX_REALTIME_SIGNALS > 0].
28705 2012-10-27 Andreas Jaeger <aj@suse.de>
28707 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28708 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28709 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28710 [__WORDSIZE != 64]: Likewise.
28712 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28714 * iconvdata/tst-table.sh: Remove ${SHELL}.
28715 * iconvdata/tst-tables.sh: Likewise.
28717 2012-10-25 David S. Miller <davem@davemloft.net>
28719 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28720 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28723 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28725 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28726 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28727 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28730 2012-10-25 Roland McGrath <roland@hack.frob.com>
28732 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28733 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28736 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28737 Jim Blandy <jimb@codesourcery.com>
28739 * scripts/cross-test-ssh.sh: New file.
28740 * manual/install.texi (Configuring and compiling): Document use of
28742 * INSTALL: Regenerated.
28744 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28746 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28749 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28751 * Makeconfig (run-program-prefix): Fix comment.
28753 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28754 Jim Blandy <jimb@codesourcery.com>
28756 * Makeconfig (test-wrapper): New variable,
28757 (test-wrapper-env): Likewise.
28758 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28759 (run-built-tests): Define to yes.
28760 (run-program-prefix): Use $(test-wrapper).
28761 (built-program-cmd): Likewise.
28762 * Rules (make-test-out): Use $(test-wrapper-env) and
28763 $(host-built-program-cmd).
28764 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28765 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28767 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28768 $(test-wrapper-env) to tst-rtld-load-self.sh.
28769 ($(objpfx)order2.out): Use $(test-wrapper).
28770 ($(objpfx)tst-initorder.out): Likewise.
28771 ($(objpfx)tst-initorder2.out): Likewise.
28772 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28773 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28774 (test_wrapper_env): New variable. Use it to run ld.so.
28775 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28776 Use it to run ld.so.
28777 (test_wrapper_env): Likewise.
28778 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28779 $(test-wrapper) to run-iconv-test.sh.
28780 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28781 (ICONV): Use $test_wrapper.
28782 * posix/Makefile ($(objpfx)globtest.out): Pass
28783 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28784 globtest.sh, not $(run-program-prefix).
28785 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28786 (test_wrapper): Likewise.
28787 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28788 set together with run_via_rtld_prefix.
28789 (run_program_prefix): Define in terms of test_wrapper and
28790 run_via_rtld_prefix.
28792 2012-10-24 Roland McGrath <roland@hack.frob.com>
28794 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28795 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28799 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28800 Declare __clock_getres, __clock_gettime, __clock_settime,
28801 __clock_nanosleep, and __clock_getcpuclockid.
28802 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28803 Remove librt_hidden_def (clock_gettime).
28804 * sysdeps/unix/clock_gettime.c: Likewise.
28805 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28806 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28807 * rt/clock_getres.c: Define __clock_getres as an alias.
28808 * sysdeps/posix/clock_getres.c: Likewise.
28809 * rt/clock_settime.c: Define __clock_settime as an alias.
28810 * sysdeps/unix/clock_settime.c: Likewise.
28811 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28812 * sysdeps/unix/clock_nanosleep.c: Likewise.
28813 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28814 * rt/clock-compat.c: New file.
28815 * rt/Makefile (librt-routines): Add clock-compat and move
28816 $(clock-routines) to ...
28817 (routines): ... here, new variable.
28818 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28819 Don't add get_clockfreq here.
28820 * rt/Versions (libc: GLIBC_2.17): New version set.
28821 Add clock_* symbols here.
28822 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28823 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28824 (GLIBC_2.17): Add clock_* symbols.
28825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28827 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28836 * NEWS: Mention the move.
28838 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28839 Use __open, __read, __close rather than their public counterparts.
28840 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28841 (__get_clockfreq_via_cpuinfo): Likewise.
28842 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28843 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28845 * config.h.in (HAVE_IFUNC): New #undef.
28846 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28848 * configure: Regenerated.
28850 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28852 * configure.in: Move READELF check to start of file.
28853 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28854 libc_cv_asm_gnu_indirect_function in the process.
28855 * configure: Regenerated.
28857 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28859 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28860 send the output to /dev/null.
28861 (libc_cv_cc_with_libunwind): Likewise.
28862 (libc_cv_as_noexecstack): Likewise.
28863 * configure: Regenerate.
28865 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28867 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28869 * posix/globtest.sh (TMPDIR): Do not set.
28870 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28871 (testout): Likewise.
28873 2012-10-24 Andreas Jaeger <aj@suse.de>
28875 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28876 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28877 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28878 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28879 posix_fadvise64, posix_fallocate64.
28881 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28882 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28883 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28885 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28887 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28889 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28890 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28891 <bits/fcntl-linux.h>.
28892 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28894 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28895 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28896 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28897 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28898 [__WORDSIZE != 64]: Likewise.
28900 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28902 * Makeconfig (run-built-tests): New variable.
28903 * Rules [$(cross-compiling) = yes]: Change condition to
28904 [$(run-built-tests) = no].
28905 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28906 to [$(run-built-tests) = yes].
28907 * elf/Makefile [$(cross-compiling) = no]: Likewise
28908 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28909 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28910 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28911 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28912 * io/Makefile [$(cross-compiling) = no]: Likewise.
28913 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28914 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28915 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28916 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28917 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28918 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28919 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28920 * string/Makefile [$(cross-compiling) = no]: Likewise.
28922 * posix/Makefile ($(objpfx)globtest.out): Pass
28923 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28924 $(rtld-installed-name).
28925 * posix/globtest.sh (elf_objpfx): Remove variable.
28926 (rtld_installed_name): Likewise.
28927 (library_path): Likewise.
28928 (run_program_prefix): New variable. Use for running globtest
28931 2012-10-23 Jim Blandy <jimb@codesourcery.com>
28932 Joseph Myers <joseph@codesourcery.com>
28934 * Makeconfig (host-built-program-cmd): New variable.
28935 * elf/Makefile (tst-stackguard1-ARGS): Use
28936 $(host-built-program-cmd).
28937 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28938 (tst-spawn-ARGS): Likewise.
28939 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28941 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28942 Jim Blandy <jimb@codesourcery.com>
28944 * Makeconfig (run-via-rtld-prefix): New variable.
28945 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28946 (built-program-cmd): Likewise.
28948 2012-10-22 Andreas Jaeger <aj@suse.de>
28950 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28951 __O_RSYNC if it exists, otherwise to O_SYNC.
28953 2012-10-22 Jim Blandy <jimb@codesourcery.com>
28954 Joseph Myers <joseph@codesourcery.com>
28956 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28958 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28960 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28963 2012-10-22 Andreas Jaeger <aj@suse.de>
28965 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28967 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28970 bits/fcntl-linux.h.
28972 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28973 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28975 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28977 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28980 2012-10-21 Jim Blandy <jimb@codesourcery.com>
28981 Joseph Myers <joseph@codesourcery.com>
28983 * config.make.in (NM): New variable.
28985 2012-10-21 Andreas Jaeger <aj@suse.de>
28987 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28988 definitions and declarations that are provided by
28989 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28991 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28994 * elf/Makefile (tests-static): Add tst-leaks1-static.
28995 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28996 ($(objpfx)tst-leaks1-static): New rule.
28997 ($(objpfx)tst-leaks1-static-mem): Likewise.
28998 (tst-leaks1-static-ENV): New macro.
28999 * elf/dl-open.c (dl_open_worker): Check the main application
29000 only if SHARED is defined.
29001 * elf/tst-leaks1-static.c: New file.
29003 2012-10-20 Andreas Jaeger <aj@suse.de>
29005 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29006 generic values for Linux.
29007 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29008 and declarations that are provided by <bits/fcntl-linux.h> and
29009 include <bits/fcntl-linux.h>.
29010 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29011 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29013 2012-10-20 Roland McGrath <roland@hack.frob.com>
29015 * io/fcntl.h: Move include of <bits/types.h> to the top and
29016 include it unconditionally.
29018 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29020 * wcsmbs/Makefile (tests-ifunc): New variable.
29021 (tests): Add $(tests-ifunc).
29022 * wcsmbs/test-wcschr-ifunc.c: New file.
29023 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29024 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29025 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29026 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29027 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29029 * string/Makefile (tests-ifunc): New variable.
29030 (tests): Add $(tests-ifunc).
29031 * string/test-memccpy.c (TEST_NAME): New macro.
29032 * string/test-memchr.c (TEST_NAME): Likewise.
29033 * string/test-memcmp.c (TEST_NAME): Likewise.
29034 * string/test-memcpy.c (TEST_NAME): Likewise.
29035 * string/test-memmem.c (TEST_NAME): Likewise.
29036 * string/test-memmove.c (TEST_NAME): Likewise.
29037 * string/test-memset.c (TEST_NAME): Likewise.
29038 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29039 * string/test-stpcpy.c (TEST_NAME): Likewise.
29040 * string/test-stpncpy.c (TEST_NAME): Likewise.
29041 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29042 * string/test-strcasestr.c (TEST_NAME): Likewise.
29043 * string/test-strcat.c (TEST_NAME): Likewise.
29044 * string/test-strchr.c (TEST_NAME): Likewise.
29045 * string/test-strcmp.c(TEST_NAME): Likewise.
29046 * string/test-strcpy.c (TEST_NAME): Likewise.
29047 * string/test-strcspn.c (TEST_NAME): Likewise.
29048 * string/test-strlen.c (TEST_NAME): Likewise.
29049 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29050 * string/test-strncmp.c (TEST_NAME): Likewise.
29051 * string/test-strncpy.c (TEST_NAME): Likewise.
29052 * string/test-strnlen.c (TEST_NAME): Likewise.
29053 * string/test-strpbrk.c (TEST_NAME): Likewise.
29054 * string/test-strrchr.c (TEST_NAME): Likewise.
29055 * string/test-strspn.c (TEST_NAME): Likewise.
29056 * string/test-strstr.c (TEST_NAME): Likewise.
29057 * string/test-bcopy-ifunc.c: New file.
29058 * string/test-bzero-ifunc.c: Likewise.
29059 * string/test-memccpy-ifunc.c: Likewise.
29060 * string/test-memchr-ifunc.c: Likewise.
29061 * string/test-memcmp-ifunc.c: Likewise.
29062 * string/test-memcpy-ifunc.c: Likewise.
29063 * string/test-memmem-ifunc.c: Likewise.
29064 * string/test-memmove-ifunc.c: Likewise.
29065 * string/test-mempcpy-ifunc.c: Likewise.
29066 * string/test-memset-ifunc.c: Likewise.
29067 * string/test-rawmemchr-ifunc.c: Likewise.
29068 * string/test-stpcpy-ifunc.c: Likewise.
29069 * string/test-stpncpy-ifunc.c: Likewise.
29070 * string/test-strcasecmp-ifunc.c: Likewise.
29071 * string/test-strcasestr-ifunc.c: Likewise.
29072 * string/test-strcat-ifunc.c: Likewise.
29073 * string/test-strchr-ifunc.c: Likewise.
29074 * string/test-strchrnul-ifunc.c: Likewise.
29075 * string/test-strcmp-ifunc.c: Likewise.
29076 * string/test-strcpy-ifunc.c: Likewise.
29077 * string/test-strcspn-ifunc.c: Likewise.
29078 * string/test-strlen-ifunc.c: Likewise.
29079 * string/test-strncasecmp-ifunc.c: Likewise.
29080 * string/test-strncat-ifunc.c: Likewise.
29081 * string/test-strncmp-ifunc.c: Likewise.
29082 * string/test-strncpy-ifunc.c: Likewise.
29083 * string/test-strnlen-ifunc.c: Likewise.
29084 * string/test-strpbrk-ifunc.c: Likewise.
29085 * string/test-strrchr-ifunc.c: Likewise.
29086 * string/test-strspn-ifunc.c: Likewise.
29087 * string/test-strstr-ifunc.c: Likewise.
29089 * debug/Makefile (tests-ifunc): New variable.
29090 (tests): Add $(tests-ifunc).
29091 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29092 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29093 * debug/test-stpcpy_chk-ifunc.c: New file.
29094 * debug/test-strcpy_chk-ifunc.c: Likewise.
29096 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29099 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29100 header is not read in.
29102 2012-10-19 Joseph Myers <joseph@codesourcery.com>
29104 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29105 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29106 directly. Pass built executable to script as
29107 $(built-program-cmd).
29108 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29109 $testprogram without using LD_LIBRARY_PATH and $ldso.
29111 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29112 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29113 $(rtld-installed-name).
29114 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29115 (rtld_installed_name): Likewise.
29116 (library_path): Likewise.
29117 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29118 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29119 $(run-program-prefix) to tst-tables.sh.
29120 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29121 it to run tst-table-from and tst-table-to.
29122 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29123 Pass it to tst-table.sh.
29124 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29125 $(run-program-prefix) to tst-gettext.sh.
29126 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29128 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29130 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29131 to run tst-gettext.
29132 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29133 to run tst-gettext2.
29134 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29135 to run tst-translit.
29136 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29137 $(run-program-prefix) to tst-mtrace.sh.
29138 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29140 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29141 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29142 $(rtld-installed-name).
29143 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29144 (rtld_installed_name): Likewise.
29145 (run_program_prefix): New variable. Use it to run wordexp-test.
29147 * Makeconfig (ARCH): Remove all definitions.
29148 (machine): Likewise.
29149 [ARCH]: Remove conditional code.
29150 [!objdir]: Give error.
29151 [!objdir] (objpfx): Remove.
29152 [!objdir] (common-objpfx): Likewise.
29153 [!objdir] (common-objdir): Likewise.
29154 * configure.in (config_makefile): Remove. Hardcode Makefile in
29155 AC_CONFIG_FILES call.
29156 * configure: Regenerated.
29159 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29161 (testout): Likewise.
29163 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29164 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29165 $(rtld-installed-name).
29166 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29167 (rtld_installed_name): Likwise.
29168 (runit): Remove function.
29169 (run_getconf): New variable, Use it for running getconf binary.
29171 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29174 * string/test-memmem.c (check_result): New function.
29175 (do_one_test): Use it.
29176 (check1): New function.
29177 (test_main): Use it.
29179 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29181 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29183 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29185 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29186 (_G_LSEEK64): Likewise.
29187 (_G_MMAP64): Likewise.
29188 (_G_FSTAT64): Likewise.
29189 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29190 (_G_LSEEK64): Likewise.
29191 (_G_MMAP64): Likewise.
29192 (_G_FSTAT64): Likewise.
29193 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29194 unconditional. Call __mmap64 directly.
29195 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29196 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29197 __lseek64 directly.
29198 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29199 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29201 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29202 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29203 __lseek64 directly.
29204 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29205 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29206 __lseek64 directly.
29207 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29208 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29209 __lseek64 directly.
29210 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29211 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29212 __fxstat64 directly.
29213 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29214 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29216 (freopen64) [!_G_OPEN64]: Remove conditional code.
29217 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29219 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29220 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29222 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29223 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29225 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29226 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29228 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29229 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29231 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29232 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29234 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29235 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29237 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29239 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29242 * manual/memory.texi (Malloc Tunable Parameters): Add note
29243 about free list pointers overwriting some perturb bytes.
29244 Wording suggested by Roland McGrath.
29246 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29248 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29249 (lgamma_test): Likewise.
29250 (tgamma_test): Likewise.
29252 2012-10-16 Florian Weimer <fweimer@redhat.com>
29255 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29256 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29258 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29260 * NEWS: Mention BZ #14716.
29261 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29262 when removing AVAILABLE1_USES_J macro.
29264 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29266 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29267 (__bswap_64): __uint64_t for unsigned 64-bit int.
29269 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29271 * include/string.h (memmem): Declare libc hidden alias.
29272 * string/memmem.c (memmem): Define libc hidden alias.
29273 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29274 __read, __close instead of open, read, close.
29276 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29278 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29279 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29281 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29282 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29283 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29285 (__rawmemchr_sse2): Likewise.
29286 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29287 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29288 (__strchr_sse2): Likewise.
29289 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29290 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29291 (__strcasecmp_sse2): Likewise.
29292 (__strncasecmp_sse2): Likewise.
29293 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29294 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29295 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29296 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29297 (__strrchr_sse2): Likewise.
29298 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29300 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29301 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29302 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29303 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29304 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29305 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29306 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29307 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29308 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29309 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29310 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29311 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29312 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29313 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29314 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29315 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29316 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29317 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29318 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29319 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29320 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29321 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29322 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29323 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29324 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29325 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29326 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29327 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29328 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29329 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29331 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29333 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29334 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29335 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29336 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29338 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29340 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29341 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29342 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29343 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29345 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29346 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29347 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29348 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29349 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29350 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29351 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29352 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29353 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29354 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29355 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29356 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29357 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29358 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29359 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29360 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29361 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29362 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29363 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29364 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29365 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29366 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29367 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29368 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29369 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29370 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29371 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29372 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29373 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29374 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29375 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29376 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29377 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29378 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29379 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29380 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29381 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29382 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29383 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29384 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29385 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29387 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29388 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29389 * include/ifunc-impl-list.h: New file.
29390 * misc/ifunc-impl-list.c: Likewise.
29391 * misc/Makefile (routines): Add ifunc-impl-list.
29392 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29393 * string/test-string.h: Include <ifunc-impl-list.h>.
29394 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29395 TEST_NAME]: New variables.
29396 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29398 (test_init): Call __libc_ifunc_impl_list to initialize
29399 func_list if TEST_IFUNC and TEST_NAME are defined.
29401 * string/Makefile (strop-tests): Add bcopy and bzero.
29402 * string/test-bcopy.c: New file.
29403 * string/test-bzero.c: Likewise.
29404 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29406 * string/test-memset.c: Support bzero test if TEST_BZERO is
29408 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29410 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29412 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29415 2012-10-10 Joseph Myers <joseph@codesourcery.com>
29417 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29418 * configure: Regenerated.
29420 * Makeconfig (+link-static-before-libc): Don't include
29421 $(link-static-libc).
29423 * libio/libio.h (_IO_pos_t): Remove.
29425 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29427 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29430 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29432 * crypt/crypt-entry.c: Include fips-private.h.
29433 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29434 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29435 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29436 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29438 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29440 * crypt/crypt-private.h: Include stdbool.h.
29441 (_ufc_setup_salt_r): Return bool.
29442 * crypt/crypt-entry.c: Include errno.h.
29443 (__crypt_r): Return NULL with EINVAL for bad salt.
29444 * crypt/crypt_util.c (bad_for_salt): New.
29445 (_ufc_setup_salt_r): Check that salt is long enough and within
29446 the specified alphabet.
29447 * crypt/badsalttest.c: New file.
29448 * crypt/Makefile (tests): Add it.
29449 ($(objpfx)badsalttest): New.
29451 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29453 * NEWS: Add entry for BZ #14602.
29455 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29457 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29459 * math/libm-test.inc: Update comment listing what functions and
29461 (isgreater_test): New function.
29462 (isgreaterequal_test): Likewise.
29463 (isless_test): Likewise.
29464 (islessequal_test): Likewise.
29465 (islessgreater_test): Likewise.
29466 (isunordered_test): Likewise.
29467 (main): Call the new functions.
29469 2012-10-09 Roland McGrath <roland@hack.frob.com>
29471 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29472 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29473 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29474 * sysdeps/i386/configure: Regenerated.
29475 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29476 * sysdeps/mach/configure: Regenerated.
29477 * sysdeps/mach/hurd/configure: Regenerated.
29478 * sysdeps/powerpc/configure: Regenerated.
29479 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29480 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29481 * sysdeps/s390/s390-32/configure: Regenerated.
29482 * sysdeps/s390/s390-64/configure: Regenerated.
29483 * sysdeps/sh/configure: Regenerated.
29484 * sysdeps/sparc/configure: Regenerated.
29485 * sysdeps/unix/sysv/linux/configure: Regenerated.
29486 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29487 * sysdeps/x86_64/configure: Regenerated.
29489 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29490 defined. Don't check if MAP is NULL.
29492 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29494 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29495 (_G_stat64): Likewise.
29496 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29497 (_G_stat64): Likewise.
29498 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29499 instead of struct _G_stat64.
29500 * libio/fileops.c (mmap_remap_check): Likewise.
29501 (decide_maybe_mmap): Likewise.
29502 (_IO_new_file_seekoff): Likewise.
29503 (_IO_file_stat): Likewise.
29504 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29506 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29507 instead of struct _G_stat64.
29508 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29510 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29513 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29515 (CHECK_EOL): New macro.
29516 (two_way_short_needle): Check beginning of haystack for EOL. Use
29518 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29519 Replace with CHECK_EOL.
29520 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29521 Replace with CHECK_EOL.
29523 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29525 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29527 * math/libm-test.inc: Update comment listing what functions and
29529 (finite_test): New function.
29530 (isinf_test): Likewise.
29531 (isnan_test): Likewise.
29532 (fpclassify_test): Test subnormal input.
29533 (isfinite_test): Likewise.
29534 (isnormal_test): Likewise.
29535 (main): Call the new functions.
29537 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29540 * Makerules (%.dynsym): Force C locale when running
29541 $(OBJDUMP) --dynamic-syms.
29543 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29545 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29548 2012-10-06 David S. Miller <davem@davemloft.net>
29550 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29551 upper 32-bits of the length value in %o2 since we use branch-on-register
29552 tests which consider the entire 64-bit register.
29554 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29556 * string/test-strstr.c (check2): Add a test for page boundary.
29558 2012-10-05 David S. Miller <davem@davemloft.net>
29560 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29561 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29563 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29565 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29566 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29567 and bzero when HWCAP_SPARC_CRYPTO is present.
29569 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29572 * string/test-strstr.c (check2): New function.
29573 (test_main): Call check2.
29575 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29577 * string/bug-strcasestr1.c (do_test): Moved to ...
29578 * string/test-strcasestr.c (check1): Here. New function.
29579 (do_one_test): Break out result checking code into ...
29580 (check_result): This. New function.
29581 (do_one_test): Call check_result.
29582 (test_main): Call check1.
29583 * string/bug-strchr1.c (do_test): Moved to ...
29584 * string/test-strchr.c (check1): Here. New function.
29585 (do_one_test): Break out result checking code into ...
29586 (check_result): This. New function.
29587 (do_one_test): Call check_result.
29588 (test_main): Call check1.
29589 * string/bug-strstr1.c (main): Moved to ...
29590 * string/test-strstr.c (check1): Here. New function.
29591 (do_one_test): Break out result checking code into ...
29592 (check_result): This. New function.
29593 (do_one_test): Call check_result.
29594 (test_main): Call check1.
29595 * string/bug-strcasestr1.c: Removed.
29596 * string/bug-strchr1.c: Likewise.
29597 * string/bug-strstr1.c: Likewise.
29599 * elf/Makefile (dl-routines): Add hwcaps.
29600 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29601 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29602 (_dl_important_hwcaps): Moved to ...
29603 * elf/dl-hwcaps.c: Here. New file.
29604 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29607 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29608 if IS_IN_rtld isn't defined.
29610 * elf/dl-support.c (_dl_sysinfo_map): New.
29611 Include "get-dynamic-info.h" and "setup-vdso.h".
29612 (_dl_non_dynamic_init): Call setup_vdso.
29613 * elf/dynamic-link.h: Don't include <assert.h>.
29614 (elf_get_dynamic_info): Moved to ...
29615 * elf/get-dynamic-info.h: Here. New file.
29616 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29617 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29618 * elf/setup-vdso.h: Here. New file.
29619 * elf/rtld.c: Include "setup-vdso.h".
29620 (dl_main): Call setup_vdso.
29622 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29624 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29625 creal in comment listing functions tested. List finite, isinf,
29626 isnan, isless, islessequal, isgreater, isgreaterequal,
29627 islessgreater, isunordered, lgamma_r and pow10 as functions and
29628 macros not tested. Mention which functions not tested are aliases
29629 for other functions. Fix typo. Note that signs of NaNs are not
29632 * scripts/config.guess: Update from config.git.
29633 * scripts/config.sub: Likewise.
29635 2012-10-04 Roland McGrath <roland@hack.frob.com>
29637 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29638 * misc/madvise.c (madvise): Renamed to __madvise.
29639 Make madvise a weak alias.
29640 * include/sys/mman.h: Declare __madvise.
29641 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29642 * sysdeps/unix/syscalls.list
29643 (madvise): Make __madvise the strong name, and madvise a weak alias.
29644 * sysdeps/unix/sysv/linux/syscalls.list
29645 (madvise, mmap): Remove redundant entries.
29646 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29647 * malloc/malloc.c (mtrim): Likewise.
29648 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29650 2012-10-03 Roland McGrath <roland@hack.frob.com>
29652 * sysdeps/mach/hurd/dl-cache.c: File removed.
29653 * config.h.in (USE_LDCONFIG): New #undef.
29654 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29655 * configure: Regenerated.
29656 * elf/Makefile (dl-routines): Add dl-cache only under
29657 [$(use-ldconfig) = yes].
29658 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29659 cache on [USE_LDCONFIG].
29660 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29662 * elf/rtld.c (dl_main): Likewise.
29664 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29666 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29667 _SC_LEVEL4_CACHE_LINESIZE.
29669 2012-10-03 Roland McGrath <roland@hack.frob.com>
29671 * sysdeps/unix/bsd/confstr.h: File removed.
29673 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29675 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29678 2012-10-02 Roland McGrath <roland@hack.frob.com>
29680 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29681 Make 'mapoff' field ElfW(Off) rather than off_t.
29683 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29685 * nscd/Makefile: Remove nscd-cflags and all its users.
29686 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29687 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29690 * malloc.c (malloc_printerr): Clarify error message.
29692 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29696 Set bit_FMA_Usable if FMA is supported.
29697 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29699 (bit_FMA4_Usable): Updated.
29700 (index_FMA_Usable): New macro.
29701 (CPUID_FMA): Likewise
29702 (HAS_FMA): Defined with bit_FMA_Usable.
29704 2012-10-01 Roland McGrath <roland@hack.frob.com>
29706 * bits/types.h (__swblk_t): Type removed.
29707 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29708 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29709 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29710 (__SWBLK_T_TYPE): Likewise.
29711 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29712 (__SWBLK_T_TYPE): Likewise.
29713 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29714 (__SWBLK_T_TYPE): Likewise.
29715 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29716 (__SWBLK_T_TYPE): Likewise.
29718 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
29719 Honza Horak <hhorak@redhat.com>
29721 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29722 (xdr_mapname): Use YPMAXMAP as maxsize.
29723 (xdr_peername): Use YPMAXPEER as maxsize.
29724 (xdr_keydat): Use YPAXRECORD as maxsize.
29725 (xdr_valdat): Use YPMAXRECORD as maxsize.
29727 2012-10-01 Roland McGrath <roland@hack.frob.com>
29729 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29731 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29732 * csu/init-first.c: ... here.
29733 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29734 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29735 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29736 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29737 * sysdeps/i386/init-first.c: File removed.
29738 * sysdeps/sh/init-first.c: File removed.
29740 2012-10-01 Joseph Myers <joseph@codesourcery.com>
29743 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29744 if x * y might underflow to zero and z is zero.
29745 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29746 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29747 * math/libm-test.inc (min_subnorm_value): New variable.
29748 (fma_test): Add more tests.
29749 (fma_test_towardzero): Likewise.
29750 (fma_test_downward): Likewise
29751 (fma_test_upward): Likewise.
29752 (initialize): Set min_subnorm_value.
29754 2012-09-29 Joseph Myers <joseph@codesourcery.com>
29757 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29759 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29760 mode for addition resulting in exact zero.
29761 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29762 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29764 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29765 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29766 * math/libm-test.inc (fma_test): Add more tests.
29767 (fma_test_towardzero): New function.
29768 (fma_test_downward): Likewise.
29769 (fma_test_upward): Likewise.
29770 (main): Call the new functions.
29772 2012-09-28 David S. Miller <davem@davemloft.net>
29774 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29776 2012-09-28 Roland McGrath <roland@hack.frob.com>
29778 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29779 instead of SIGALRM.
29781 * sysdeps/gnu/_G_config.h: Moved to ...
29782 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29783 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29784 * sysdeps/generic/_G_config.h: ... here.
29786 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29788 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29790 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29791 Conditionalize target on [libnss_test1.so-version].
29793 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29795 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29796 (elfobjdir): Move out of conditionals.
29798 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29799 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29800 (__nss_lookup_function): Conditionalize label remove_from_tree on
29801 [!DO_STATIC_NSS || SHARED], matching its only use.
29803 2012-09-28 David S. Miller <davem@davemloft.net>
29805 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29806 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29808 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29810 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29811 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29812 when HWCAP_SPARC_CRYPTO is present.
29814 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29816 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29818 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29821 * stdio-common/vfprintf.c (process_string_arg): Revert
29824 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29826 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29828 * stdio-common/tst-sprintf.c: Include <locale.h>
29829 (main): Test sprintf's handling of incomplete multibyte
29832 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29834 * elf/dl-runtime.c (VERSYMIDX): Removed.
29835 * elf/dl-version.c (VERSYMIDX): Likewise.
29836 * elf/do-rel.h (VERSYMIDX): Likewise.
29837 (VALIDX): Likewise.
29838 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29839 * elf/rtld.c (VALIDX): Likewise.
29840 (ADDRIDX): Likewise.
29841 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29842 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29843 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29844 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29845 (VALIDX): Likewise.
29846 (ADDRIDX): Likewise.
29848 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29850 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29852 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29855 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29857 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29858 addresses are in the same scope as 192.0.2/24.
29859 * posix/gai.conf: Document new scope table defaults.
29861 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29864 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29865 for ftell. Compute offsets from write pointers instead.
29866 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29868 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29871 * libio/Makefile (tests): New test case tst-fseek.
29872 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29873 combination works in wide mode.
29874 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29875 state when the external buffer state changes.
29877 2012-09-27 David S. Miller <davem@davemloft.net>
29880 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29881 pass reloc->r_addend in as the 'high' argument to
29882 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29886 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29888 * rt/tst-aio2.c: Include <pthread.h>.
29889 * rt/tst-aio3.c: Likewise.
29891 2012-09-27 Steve Ellcey <sellcey@mips.com>
29893 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29895 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29897 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29898 contents on [SHARED].
29900 2012-09-26 Marek Polacek <polacek@redhat.com>
29904 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29905 for C++ and GCC <4.3 as well as for non GCC compilers.
29907 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29909 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29911 2012-09-25 Roland McGrath <roland@hack.frob.com>
29913 * Makefile.in (all, install): Declare with .PHONY.
29914 Reported by Michael Hope <michael.hope@linaro.org>.
29916 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29918 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29919 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29921 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29923 (sydep_routines): Add the new and the internal functions.
29924 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29925 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29927 (GLIBC_2.17): Add the new function.
29928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29929 (GLIBC_2.17): Likewise.
29930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29931 (GLIBC_2.17): Likewise.
29932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29933 (GLIBC_2.17): Likewise.
29934 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29936 2012-09-25 Alan Modra <amodra@gmail.com>
29938 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29939 Add release barrier before setting once_control to say
29940 initialisation is done. Add hints on lwarx. Use macro in
29942 (clear_once_control): Add release barrier.
29944 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29947 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29949 * math/s_clog10.c (__clog10): Likewise.
29950 * math/s_clog10f.c (__clog10f): Likewise.
29951 * math/s_clog10l.c (__clog10l): Likewise.
29952 * math/s_clogf.c (__clogf): Likewise.
29953 * math/s_clogl.c (__clogl): Likewise.
29954 * math/Makefile (libm-calls): Add x2y2m1.
29955 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29956 (__x2y2m1): Likewise.
29957 (__x2y2m1l): Likewise.
29958 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29959 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29960 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29961 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29962 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29963 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29964 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29965 * sysdeps/i386/fpu/libm-test-ulps: Update.
29966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29969 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29970 int as type of variable DEPTH.
29971 (glob): Use size_t instead of int as type of variables NEWCOUNT
29974 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29976 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29977 Add s_sincosf-sse2.
29978 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29979 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29980 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29981 macros for using routine as __sincosf_ia32.
29982 Use macro for function declaration and weak_alias.
29983 * sysdeps/i386/fpu/libm-test-ulps: Update.
29985 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29986 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29988 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29989 subnormal argument.
29990 * math/s_cexpf.c (__cexpf): Likewise.
29991 * math/s_csinf.c (__csinf): Likewise.
29992 * math/s_csinhf.c (__csinhf): Likewise.
29993 * math/s_ctanf.c (__ctanf): Likewise.
29994 * math/s_ctanhf.c (__ctanhf): Likewise.
29995 * math/s_ccosh.c (__ccoshf): Likewise.
29996 * math/s_cexp.c (__cexpl): Likewise.
29997 * math/s_csin.c (__csin): Likewise.
29998 * math/s_csinh.c (__csinh): Likewise.
29999 * math/s_ctan.c (__ctan): Likewise.
30000 * math/s_ctanh.c (ctanh): Likewise.
30001 * math/s_ccoshl.c (__ccoshl): Likewise.
30002 * math/s_cexpl.c (__cexpl): Likewise.
30003 * math/s_csinl.c (__csinl): Likewise.
30004 * math/s_csinhl.c (__csinhl): Likewise.
30005 * math/s_ctanl.c (__ctanl): Likewise.
30006 * math/s_ctanhl.c (__ctanhl): Likewise.
30008 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30010 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30011 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30012 (_IO_off_t): Define to __off_t, not _G_off_t.
30013 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30014 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30015 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30016 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30017 type of __dummy and __dummy2 fields.
30018 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30019 (_G_ssize_t): Likewise.
30020 (_G_off_t): Likewise.
30021 (_G_pid_t): Likewise.
30022 (_G_uid_t): Likewise.
30023 (_G_wchar_t): Likewise.
30024 (_G_wint_t): Likewise.
30025 * sysdeps/gnu/_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/mach/hurd/_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.
30040 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30042 * malloc/arena.c: Include malloc-sysdep.h.
30043 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30044 is sufficient to shrink the heap or an unmap is needed.
30045 * sysdeps/generic/malloc-sysdep.h: New file. Define
30046 new function check_may_shrink_heap.
30047 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30048 new function check_may_shrink_heap.
30050 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30052 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30055 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30057 * catgets/test-gencat.sh: Add "set -e".
30058 * elf/tst-pathopt.sh: Likewise.
30059 * grp/tst_fgetgrent.sh: Likewise.
30060 * iconvdata/run-iconv-test.sh: Likewise.
30061 * intl/tst-gettext.sh: Likewise.
30062 * intl/tst-gettext2.sh: Likewise.
30063 * intl/tst-gettext4.sh: Likewise.
30064 * intl/tst-gettext6.sh: Likewise.
30065 * intl/tst-translit.sh: Likewise.
30066 * io/ftwtest-sh: Likewise.
30067 * libio/test-freopen.sh: Likewise.
30068 * malloc/tst-mtrace.sh: Likewise.
30069 * posix/globtest.sh: Likewise.
30070 * posix/tst-getconf.sh: Likewise.
30071 * posix/wordexp-tst.sh: Likewise.
30072 * stdio-common/tst-printf.sh: Likewise.
30073 * stdio-common/tst-unbputc.sh: Likewise.
30074 * stdlib/tst-fmtmsg.sh: Likewise.
30075 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30076 * catgets/Makefile: Do not specify -e option when running
30077 testsuite shell scripts.
30078 * elf/Makefile: Likewise.
30079 * grp/Makefile: Likewise.
30080 * iconvdata/Makefile: Likewise.
30081 * intl/Makefile: Likewise.
30082 * io/Makefile: Likewise.
30083 * libio/Makefile: Likewise.
30084 * malloc/Makefile: Likewise.
30085 * posix/Makefile: Likewise.
30086 * stdio-common/Makefile: Likewise.
30087 * stdlib/Makefile: Likewise.
30088 * sysdeps/x86_64/Makefile: Likewise.
30090 * io/ftwtest-sh: Add copyright header.
30091 * posix/globtest.sh: Likewise.
30092 * posix/tst-getconf.sh: Likewise.
30093 * posix/wordexp-tst.sh: Likewise.
30094 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30096 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30099 * Makeconfig (+link): Defined as $(+link-static) if
30100 $(build-shared) isn't yes.
30101 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30103 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30105 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30108 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30109 new chunk size with MALLOC_ALIGN_MASK.
30111 2012-09-24 Joseph Myers <joseph@codesourcery.com>
30114 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30116 (__printf_fphex): Determine rounding using get_rounding_mode and
30118 * stdio-common/tst-printf-round.c (struct hex_test): New
30120 (hex_tests): New variable.
30121 (test_hex_in_one_mode): New function.
30122 (do_test): Also run tests for hex float output.
30124 2012-09-21 Joseph Myers <joseph@codesourcery.com>
30126 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30127 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30128 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30129 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30130 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30131 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30132 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30133 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30135 2012-09-20 Joseph Myers <joseph@codesourcery.com>
30137 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30138 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30139 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30140 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30142 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30145 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30147 * elf/tst-rtld-load-self.sh: New test.
30148 * elf/Makefile: Run it.
30150 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30152 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30153 (tst-writev-ENV): Remove.
30154 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30156 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30158 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30160 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30162 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30164 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30166 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30167 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30168 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30171 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30174 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30175 * config.make.in (have-cpp-asm-debuginfo): Removed.
30176 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30177 * configure: Regenerated.
30179 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30182 * stdio-common/printf_fp.c: Include <stdbool.h> and
30184 (___printf_fp): Determine rounding using get_rounding_mode and
30186 * stdio-common/tst-printf-round.c: New file.
30187 * stdio-common/Makefile (tests): Add tst-printf-round.
30188 (link-libm): New variable.
30189 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30191 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30194 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30195 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30197 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30200 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30202 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30203 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30204 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30205 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30207 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30210 * include/rounding-mode.h: New file.
30211 * sysdeps/generic/get-rounding-mode.h: Likewise.
30212 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30213 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30214 (MAX_VALUE): New macro.
30215 (MIN_VALUE): Likewise.
30216 (overflow_value): New function.
30217 (underflow_value): Likewise.
30218 (round_and_return): Use overflow_value and underflow_value to
30219 determine return values in overflow and underflow cases. Use
30220 round_away to determine rounding depending on rounding mode.
30221 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30222 determine return values in overflow and underflow cases.
30223 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30224 (struct test_results): New structure.
30225 (struct test): Use struct test_results to store expected results
30226 for all rounding modes.
30227 (TEST): Include expected results for all rounding modes.
30228 (test_in_one_mode): New function.
30229 (do_test): Use test_in_one_mode to compute and check results.
30230 Check results for all rounding modes.
30231 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30234 2012-12-09 Allan McRae <allan@archlinux.org>
30236 * sysdeps/i386/fpu/libm-test-ulps: Update
30238 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30240 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30241 (_G_int32_t): Likewise.
30242 (_G_uint16_t): Likewise.
30243 (_G_uint32_t): Likewise.
30244 (_G_HAVE_BOOL): Likewise.
30245 (_G_HAVE_ATEXIT): Likewise.
30246 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30247 (_G_HAVE_IO_FILE_OPEN): Likewise.
30248 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30249 (_G_int32_t): Likewise.
30250 (_G_uint16_t): Likewise.
30251 (_G_uint32_t): Likewise.
30252 (_G_HAVE_BOOL): Likewise.
30253 (_G_HAVE_ATEXIT): Likewise.
30254 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30255 (_G_HAVE_IO_FILE_OPEN): Likewise.
30256 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30257 (_G_int32_t): Likewise.
30258 (_G_uint16_t): Likewise.
30259 (_G_uint32_t): Likewise.
30260 (_G_HAVE_BOOL): Likewise.
30261 (_G_HAVE_ATEXIT): Likewise.
30262 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30263 (_G_HAVE_IO_FILE_OPEN): Likewise.
30265 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30267 * csu/libc-tls.c: Update copyright years.
30269 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30271 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30272 [!_G_USING_THUNKS]: Remove conditional code.
30273 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30274 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30276 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30277 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30278 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30279 (_G_VTABLE_LABEL_PREFIX): Likewise.
30280 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30281 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30282 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30283 (_G_VTABLE_LABEL_PREFIX): Likewise.
30284 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30285 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30286 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30287 (_G_VTABLE_LABEL_PREFIX): Likewise.
30288 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30290 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30292 * libio/Makefile: Include ../Makeconfig before tests.
30293 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30294 only if $(build-shared) is yes.
30296 * iconv/gconv_db.c: Update copyright years.
30298 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30300 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30301 unwind info if defined PIC. Fix special cases description.
30302 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30304 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30306 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30308 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30310 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30312 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30315 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30316 (LDLIBS-tst-chk4): This.
30317 (LDFLAGS-tst-chk5): Renamed to ...
30318 (LDLIBS-tst-chk5): This.
30319 (LDFLAGS-tst-chk6): Renamed to ...
30320 (LDLIBS-tst-chk6): This.
30321 (LDFLAGS-tst-lfschk4): Renamed to ...
30322 (LDLIBS-tst-lfschk4): This.
30323 (LDFLAGS-tst-lfschk5): Renamed to ...
30324 (LDLIBS-tst-lfschk5): This.
30325 (LDFLAGS-tst-lfschk6): Renamed to ...
30326 (LDLIBS-tst-lfschk6): This.
30328 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30329 on $(common-objpfx)soversions.mk.
30331 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30334 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30337 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30339 * malloc/arena.c (arena_get_retry): New function that gets
30340 another arena for the caller to try its request on.
30341 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30342 current arena cannot fulfill the request.
30343 (__libc_memalign): Likewise.
30344 (__libc_memalign): Likewise.
30345 (__libc_pvalloc): Likewise.
30346 (__libc_calloc): Likewise.
30348 2012-09-05 John Tobey <john.tobey@gmail.com>
30351 * manual/arith.texi (Operations on Complex): Fix description
30352 of carg branch cut.
30354 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30357 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30361 * manual/memory.texi (Memory): Make order of menu items match
30364 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30366 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30367 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30368 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30370 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30372 * csu/libc-tls.c (static_dtv): Renamed to ...
30373 (_dl_static_dtv): This. Make it global.
30374 (_dl_initial_dtv): Removed.
30375 (__libc_setup_tls): Updated.
30376 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30377 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30380 2012-09-06 Petr Machata <pmachata@redhat.com>
30382 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30383 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30384 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30385 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30387 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30390 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30391 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30394 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30397 * Makeconfig (link-static-before-libc): Replace $(+prector)
30399 (link-static-after-libc): Replace $(+postctor) with
30401 (link-bounded): Replace $(+prector)/$(+postctor) with
30402 $(+prectorT)/$(+postctorT).
30403 (+prectorT): New macro.
30404 (+postctorT): Likewise.
30406 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30408 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30409 (round_str): Handle values above the maximum for IBM long double
30411 * stdlib/tst-strtod-round.c (tests): Regenerated.
30413 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30415 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30417 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30418 zarch_nohighgprs around the zarch optimized routines.
30419 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30420 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30421 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30424 2012-09-05 David S. Miller <davem@davemloft.net>
30426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30428 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30429 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30430 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30431 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30434 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30436 * malloc/arena.c: Fold copyright years.
30437 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30439 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30441 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30443 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30445 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30447 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30449 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30450 change internal state upon failure.
30452 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30454 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30455 * malloc/memusage.c (mmap): Likewise.
30456 (mmap64, mremap): Likewise. Adjust name in comment.
30458 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30460 * libio/fileops.c: Fix typos in comments.
30461 * libio/oldfileops.c: Likewise.
30462 * libio/wfileops.c: Likewise.
30464 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30467 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30468 (tst-malloc-usable-ENV): Set environment for test case.
30469 * malloc/hooks.c (malloc_check_get_size): New function to get
30471 * malloc/malloc.c (musable): Use malloc_check_get_size.
30472 * malloc/tst-malloc-usable.c: New test case.
30474 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30476 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30478 2012-09-05 Allan McRae <allan@archlinux.org>
30481 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30482 determine header location.
30483 * configure: Regenerated.
30485 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30487 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30489 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30490 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30492 (test): Regenerate.
30494 2012-09-04 David S. Miller <davem@davemloft.net>
30496 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30497 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30498 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30500 2012-09-04 Florian Weimer <fweimer@redhat.com>
30502 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30505 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30507 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30510 * libio/iogetdelim.c: Include <limits.h>.
30511 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30512 + len + 1 would overflow.
30514 2012-09-03 Andreas Jaeger <aj@suse.de>
30516 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30517 * sysdeps/i386/fpu/libm-test-ulps: Update.
30519 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30521 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30522 Add s_sinf-sse2, s_conf-sse2.
30524 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30525 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30526 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30527 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30529 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30530 for using routine as __sinf_ia32.
30531 Use macro for function declaration and weak_alias.
30532 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30533 for using routine as __cosf_ia32.
30534 Use macro for function declaration and weak_alias.
30536 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30537 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30539 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30540 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30543 * math/libm-test.inc (cos_test): Add more test cases.
30544 (sin_test): Likewise.
30545 (sincos_test): Likewise.
30547 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30549 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30550 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30552 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30554 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30557 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30558 first element of the GOT.
30559 (elf_machine_load_address): Return the difference between
30560 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30562 2012-09-01 Allan McRae <allan@archlinux.org>
30565 * configure.in (AWK): Require gawk version 3.0 or later.
30566 * configure: Regenerated.
30568 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30570 * sysdeps/unix/sysv/linux/kernel-features.h
30571 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30572 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30573 [__NR_clock_getres]: Make code unconditional.
30574 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30575 (clock_getcpuclockid): Remove code left unreachable by removal of
30577 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30578 code unconditional.
30579 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30580 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30581 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30582 Make code unconditional.
30583 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30584 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30585 * sysdeps/unix/sysv/linux/clock_settime.c
30586 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30588 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30589 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30591 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30594 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30595 scripts/test-installation.pl.
30597 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30598 and $ld_so_version if it is set.
30600 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30603 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30604 failure if reading from procfs failed.
30605 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30607 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30609 * sysdeps/unix/sysv/linux/kernel-features.h
30610 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30611 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30612 Remove conditional code.
30613 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30614 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30615 Remove conditional code.
30616 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30617 * sysdeps/unix/sysv/linux/i386/fxstat.c
30618 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30619 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30620 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30621 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30622 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30623 * sysdeps/unix/sysv/linux/i386/lxstat.c
30624 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30625 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30626 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30627 Remove conditional code.
30628 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30629 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30630 Remove conditional code.
30631 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30632 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30633 <kernel-features.h>.
30634 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30636 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30637 Remove conditional code.
30638 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30639 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30640 Remove conditional.
30642 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30645 * NEWS: Add fixed bug number.
30647 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30650 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30651 underflowing exponent in case of negative sign.
30652 * stdlib/tst-strtod-round-data: Add more tests.
30653 * stdlib/tst-strtod-round.c (tests): Regenerated.
30656 * stdlib/strtod_l.c (NDIG): Remove.
30657 (HEXNDIG): Likewise.
30658 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30659 smallest representable value.
30660 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30661 lie within an exact representation of 1/2 ulp of the result.
30662 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30664 (TENS_P9_IDX): Define unconditionally.
30665 (TENS_P9_SIZE): Likewise.
30666 (TENS_P10_IDX): Likewise.
30667 (TENS_P10_SIZE): Likewise.
30668 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30669 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30670 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30671 entries for 10^2^13 and 10^2^14.
30672 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30673 (TENS_P13_IDX): Define.
30674 (TENS_P13_SIZE): Likewise.
30675 (TENS_P14_IDX): Likewise.
30676 (TENS_P14_SIZE): Likewise.
30677 (_fpioconst_pow10): Change array size to
30678 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30680 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30681 1024]: Add entries for 10^2^13 and 10^2^14.
30682 [LAST_POW10 > _LAST_POW10]: Remove #error.
30683 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30684 (_fpioconst_pow10): Change array size to
30685 FPIOCONST_POW10_ARRAY_SIZE.
30686 * stdlib/gen-fpioconst.c: New file.
30687 * stdlib/gen-tst-strtod-round.c: Likewise.
30688 * stdlib/tst-strtod-round-data: Likewise.
30689 * stdlib/tst-strtod-round.c: Likewise.
30690 * stdlib/Makefile (tests): Add tst-strtod-round.
30693 * stdlib/strtod_l.c: Include <stdint.h>.
30694 (NDEBUG): Do not define.
30695 (round_and_return): Change EXPONENT parameter to type intmax_t.
30696 Rearrange calculations to avoid internal overflow possibilities.
30697 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30698 Rearrange calculations to avoid internal overflow possibilities.
30699 Assert that number fits inside MPNSIZE limbs.
30700 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30701 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30702 calculations and add assertions to avoid internal overflow
30703 possibilities. Add casts to avoid signed/unsigned operations.
30704 * stdlib/tst-strtod-overflow.c: New file.
30705 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30707 2012-08-25 Marek Polacek <polacek@redhat.com>
30709 * time/time.h: Fix some typos in comments.
30711 2012-08-23 Roland McGrath <roland@hack.frob.com>
30713 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30714 * posix/tst-rfc3484-2.c: Likewise.
30715 * posix/tst-rfc3484-3.c: Likewise.
30717 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30719 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30720 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30722 2012-08-23 Joseph Myers <joseph@codesourcery.com>
30724 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30725 #include of fxstatat64.c.
30727 2012-08-22 Roland McGrath <roland@hack.frob.com>
30729 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30730 * shadow/getspent_r.c: Likewise.
30731 * shadow/getspnam.c: Likewise.
30732 * shadow/getspnam_r.c: Likewise.
30733 * gshadow/getsgent.c: Likewise.
30734 * gshadow/getsgent_r.c: Likewise.
30735 * gshadow/getsgnam.c: Likewise.
30736 * gshadow/getsgnam_r.c: Likewise.
30737 * inet/getnetbyad.c: Likewise.
30738 * inet/getnetbyad_r.c: Likewise.
30739 * inet/getnetbynm.c: Likewise.
30740 * inet/getnetbynm_r.c: Likewise.
30741 * inet/getnetent.c: Likewise.
30742 * inet/getnetent_r.c: Likewise.
30743 * inet/getproto.c: Likewise.
30744 * inet/getproto_r.c: Likewise.
30745 * inet/getprtent.c: Likewise.
30746 * inet/getprtent_r.c: Likewise.
30747 * inet/getprtname.c: Likewise.
30748 * inet/getprtname_r.c: Likewise.
30749 * inet/getrpcbyname.c: Likewise.
30750 * inet/getrpcbyname_r.c: Likewise.
30751 * inet/getrpcbynumber.c: Likewise.
30752 * inet/getrpcbynumber_r.c: Likewise.
30753 * inet/getrpcent.c: Likewise.
30754 * inet/getrpcent_r.c: Likewise.
30755 * inet/getaliasent.c: Likewise.
30756 * inet/getaliasent_r.c: Likewise.
30757 * inet/getaliasname.c: Likewise.
30758 * inet/getaliasname_r.c: Likewise.
30759 * nscd/getgrgid_r.c: Likewise.
30760 * nscd/getgrnam_r.c: Likewise.
30761 * nscd/gethstbyad_r.c: Likewise.
30762 * nscd/gethstbynm3_r.c: Likewise.
30763 * nscd/getpwnam_r.c: Likewise.
30764 * nscd/getpwuid_r.c: Likewise.
30765 * nscd/getsrvbynm_r.c: Likewise.
30766 * nscd/getsrvbypt_r.c: Likewise.
30767 * nscd/gai.c: Likewise.
30769 * configure.in (build_nscd): New substituted variable, set
30770 by --disable-build-nscd and defaults to $use_nscd.
30771 * configure: Regenerated.
30772 * config.make.in (build-nscd): New substituted variable.
30773 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30774 Change conditional to require [$(build-nscd) = yes] as well.
30775 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30778 * configure.in (use_nscd): New substituted variable, set by
30779 --disable-nscd. If enabled, define USE_NSCD.
30780 * configure: Regenerated.
30781 * config.h.in: Add USE_NSCD.
30782 * config.make.in (use-nscd): New substituted variable.
30783 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30784 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30785 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30786 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30787 (CFLAGS-getgrnam_r.c): Likewise.
30788 (CFLAGS-initgroups.c): Likewise.
30789 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30790 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30792 * inet/getnetgrent_r.c
30793 (nscd_setnetgrent): New function, broken out of ...
30794 (setnetgrent): ... here. Call it.
30795 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30796 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30797 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30798 * nscd/Makefile (routines, aux): Move definitions after include of
30799 Makeconfig. Conditionalize on [$(use-nscd) != no].
30800 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30801 Conditionalize on [USE_NSCD].
30802 (is_nscd, nscd_init_cb): Likewise.
30803 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30804 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30805 * nss/nss_db/db-init.c: Likewise.
30806 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30808 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30809 (make_request): Use it.
30810 (cache_valid_p): New function.
30811 (__check_pf): Use it.
30812 * NEWS: Add item for --disable-nscd.
30814 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30816 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30817 to support sed >= 4.2.1-20-ga9bf076.
30818 * configure: Regenerated.
30820 2012-08-22 Roland McGrath <roland@hack.frob.com>
30822 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30823 Conditionalize whole body on [IREL].
30825 2012-08-22 Jeff Law <law@redhat.com>
30828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30829 if the family is PF_UNSPEC.
30831 2012-08-22 Mike Frysinger <vapier@gentoo.org>
30833 * Makerules (lib-version): Rename from V.
30834 (install-lib-nosubdir): Change V to lib-version.
30836 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30839 * powerpc32/power6/wcschr.c: New file.
30840 * powerpc32/power6/wcscpy.c: New file.
30841 * powerpc32/power6/wcsrchr.c: New file.
30842 * powerpc64/power6/wcschr.c: New file.
30843 * powerpc64/power6/wcscpy.c: New file.
30844 * powerpc64/power6/wcsrchr.c: New file.
30846 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30848 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30849 (two_way_short_needle): Use it.
30850 * string/strstr.c (AVAILABLE1_USES_J): Define.
30851 * string/strcasestr.c: Likewise.
30853 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30855 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30858 * NEWS: Add an entry.
30859 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30860 define their defaults.
30861 (two_way_short_needle): Detect end-of-string on-the-fly.
30862 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30863 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30864 * string/bug-strcasestr1.c: New test.
30865 * string/Makefile: Run it.
30867 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30870 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30871 the first character.
30873 2012-08-21 Roland McGrath <roland@hack.frob.com>
30875 * csu/elf-init.c (__libc_csu_irel): Function removed.
30876 * csu/libc-start.c (apply_irel): New function.
30877 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30879 2012-08-21 Joseph Myers <joseph@codesourcery.com>
30881 * sysdeps/unix/sysv/linux/kernel-features.h
30882 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30883 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30884 <kernel-features.h>.
30885 [__NR_fadvise64_64]: Make code unconditional.
30886 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30887 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30888 !__NR_fadvise64_64)]: Likewise.
30889 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30890 !__NR_fadvise64_64))]: Likewise.
30891 [__NR_fadvise64]: Make code unconditional.
30892 [!__NR_fadvise64]: Remove conditional code.
30893 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30894 <kernel-features.h>.
30895 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30897 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30900 not include <kernel-features.h>.
30901 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30903 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30905 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30906 include <kernel-features.h>.
30907 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30909 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30912 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30914 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30915 slight instruction rearrangements per scrollpipe analysis.
30916 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30918 2012-08-20 Roland McGrath <roland@hack.frob.com>
30920 * manual/syslog.texi (syslog; vsyslog, closelog):
30921 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30922 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30924 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30925 DSOCAPS to match condition on defining it.
30927 2012-08-20 Joseph Myers <joseph@codesourcery.com>
30929 * sysdeps/unix/sysv/linux/kernel-features.h
30930 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30932 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30933 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30935 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30936 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30938 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30939 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30941 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30942 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30944 * sysdeps/unix/sysv/linux/kernel-features.h
30945 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30946 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30948 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30949 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30950 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30951 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30952 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30953 Make code unconditional.
30954 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30955 (__mmap64) [!__NR_mmap2]: Likewise.
30956 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30957 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30958 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30959 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30960 [__NR_mmap2]: Make code unconditional.
30961 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30962 (__mmap64) [!__NR_mmap2]: Likewise.
30964 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30966 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30968 2012-08-18 Andreas Jaeger <aj@suse.de>
30970 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30972 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30974 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30975 * include/unistd.h (__have_sock_cloexec): Likewise.
30976 (__have_pipe2): Likewise.
30977 (__have_dup3): Likewise.
30979 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30982 * include/unistd.h (__have_pipe2): Change define into an extern int.
30983 (__have_dup3): Likewise.
30984 * socket/have_sock_cloexec.c: Include fcntl.h.
30985 (__have_pipe2): New variable.
30986 (__have_dup3): Likewise.
30988 2012-08-17 Mike Frysinger <vapier@gentoo.org>
30990 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30992 2012-08-17 Marek Polacek <polacek@redhat.com>
30994 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30995 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30997 2012-08-17 Roland McGrath <roland@hack.frob.com>
30999 * configure.in: Add AC_SUBST for sysheaders.
31000 * configure: Regenerated.
31001 * config.make.in (sysheaders): New substituted variable.
31003 * sysdeps/unix/mkfifo.c: Moved ...
31004 * sysdeps/posix/mkfifo.c: ... here.
31005 * sysdeps/unix/mkfifoat.c: Moved ...
31006 * sysdeps/posix/mkfifoat.c: ... here.
31008 * sysdeps/unix/utime.c: Moved ...
31009 * sysdeps/posix/utime.c: ... here.
31011 * sysdeps/unix/time.c: Moved ...
31012 * sysdeps/posix/time.c: ... here.
31013 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31014 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31016 * sysdeps/unix/nice.c: Moved ...
31017 * sysdeps/posix/nice.c: ... here.
31019 * sysdeps/unix/alarm.c: Moved ...
31020 * sysdeps/posix/alarm.c: ... here.
31022 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31024 2012-08-17 Jeff Law <law@redhat.com>
31026 * intl/Makefile (codeset_mo): New variable.
31027 ($(codeset_mo)): New target.
31028 (tst-codeset.out): Depend on that. Remove explicit rule.
31029 (tst-gettext3.out, tst-gettext5.out): Likewise.
31030 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31031 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31032 * intl/tst-codeset.sh: Remove.
31033 * intl/tst-gettext3.sh: Likewise.
31034 * intl/tst-gettext5.sh: Likewise.
31036 2012-08-17 Roland McGrath <roland@hack.frob.com>
31038 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31039 * sysdeps/unix/syscalls.list: ... here.
31041 * sysdeps/posix/getaddrinfo.c
31042 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31043 (gaiconf_init, gaiconf_reload): Use them.
31044 [!_STATBUF_ST_NSEC]
31045 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31046 Define using time_t rather than struct timespec.
31048 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31049 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31051 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31053 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31054 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31057 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31058 __libc_cleanup_push argument.
31060 * bits/param.h: New file.
31061 * misc/sys/param.h: New file.
31062 * include/sys/param.h: New file.
31063 * misc/Makefile (headers): Add bits/param.h.
31064 * sysdeps/generic/sys/param.h: File removed.
31065 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31066 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31067 * sysdeps/mach/hurd/bits/param.h: New file.
31068 * sysdeps/mach/hurd/sys/param.h: File removed.
31070 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31073 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31075 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31076 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31079 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31080 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31081 rather than -D_IO_MTSAFE_IO conditionally.
31082 * stdio-common/Makefile (CPPFLAGS): Likewise.
31083 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31084 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31085 Use $(libio-mtsafe).
31086 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31087 of -D_IO_MTSAFE_IO.
31088 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31089 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31090 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31091 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31092 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31093 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31094 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31095 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31096 (CFLAGS-fread_u_chk.c): Likewise.
31097 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31098 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31099 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31100 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31101 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31102 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31103 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31104 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31105 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31107 * libio/Makefile: Test [$(libc-reentrant) = yes]
31108 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31111 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31112 * sysdeps/pthread/configure: File removed.
31113 * sysdeps/pthread/Makeconfig: New file.
31114 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31115 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31117 2012-08-16 Gary Benson <gbenson@redhat.com>
31119 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31120 unmapping the first object in a namespace.
31122 2012-08-16 Roland McGrath <roland@hack.frob.com>
31124 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31125 (__internal_setnetgrent): ... this. Add internal_function to
31126 definition. Add libc_hidden_def.
31127 (setnetgrent): Update caller.
31128 (internal_endnetgrent): Renamed to ...
31129 (__internal_endnetgrent): ... this. Add internal_function to
31130 definition. Add libc_hidden_def.
31131 (endnetgrent): Update caller.
31132 (internal_getnetgrent_r): Renamed to ...
31133 (__internal_getnetgrent_r): ... this. Add internal_function to
31134 definition. Add libc_hidden_def.
31135 (__getnetgrent_r): Update caller.
31136 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31138 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31140 * stdlib/longlong.h: Update from GCC.
31142 2012-08-16 Roland McGrath <roland@hack.frob.com>
31144 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31145 on _QL, which is set by umul_ppmm but never used.
31146 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31147 variables, which are set by GMP macros but never used.
31148 * stdio-common/_itowa.c (_itowa): Likewise.
31149 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31150 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31152 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31154 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31155 struct La_sh_regs is not constant.
31156 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31157 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31158 and struct La_sparc64_regs are not constant.
31160 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31162 * sysdeps/unix/sysv/linux/kernel-features.h
31163 (__ASSUME_POSIX_TIMERS): Remove.
31164 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31165 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31166 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31167 Make code unconditional.
31168 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31169 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31170 Make code unconditional.
31171 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31172 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31173 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31174 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31175 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31176 Make code unconditional.
31177 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31178 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31179 (__libc_missing_posix_timers): Remove.
31181 2012-08-15 Roland McGrath <roland@hack.frob.com>
31183 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31184 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31186 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31188 * elf/dl-sym.c: Include <stdlib.h>.
31190 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31191 constants, which avoids warnings in 32-bit builds.
31193 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31194 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31196 * misc/lseek.c: File moved to ...
31197 * io/lseek.c: ... here.
31199 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31201 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31202 shifting LEN more than 31 bits at once.
31204 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31207 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31208 segmentation fault for a case of two empty input strings.
31209 * string/test-strncasecmp.c (check1): Renamed to...
31210 (bz12205): ...this.
31211 (bz14195): Add new testcase for two empty input strings and N > 0.
31212 (test_main): Call new testcase, adapt for renamed function.
31214 2012-08-15 Andreas Jaeger <aj@suse.de>
31217 * crypt/md5test2.c: New test, based on test supplied by Serge
31218 Belyshev <belyshev@depni.sinp.msu.ru>.
31219 * crypt/Makefile (xtests): Add md5test-giant..
31220 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31222 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31225 * crypt/md5.c (md5_process_block): Don't assume the buffer
31226 length is less than 2**32.
31227 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31228 length is less than 2**64.
31230 2012-08-15 Roland McGrath <roland@hack.frob.com>
31232 * string/str-two-way.h: Include <sys/param.h>.
31233 (MAX): Macro removed.
31235 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31236 Move #define and #undef of memmove to just before and after
31237 including <string.h>.
31239 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31240 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31241 and after including <string.h>. Move declarations of
31242 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31243 to before #include "string/memmove.c".
31245 * include/dirent.h: Declare __getdirentries.
31247 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31248 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31250 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31252 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31253 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31254 * sysdeps/i386/configure: Regenerated.
31255 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31256 STABS_CURRENT_FILE, and STABS_FUN.
31257 (END): Remove call to STABS_FUN_END.
31258 (STABS_CURRENT_FILE1): Delete.
31259 (STABS_CURRENT_FILE): Likewise.
31260 (STABS_FUN): Likewise.
31261 (STABS_FUN_END): Likewise.
31262 (STABS_FUN2): Likewise.
31263 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31264 * sysdeps/x86_64/configure: Regenerated.
31266 2012-08-14 Roland McGrath <roland@hack.frob.com>
31268 * elf/dl-open.c: Include <atomic.h>.
31269 * elf/dl-lookup.c: Likewise.
31271 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31273 * sysdeps/unix/sysv/linux/kernel-features.h
31274 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31275 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31277 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31279 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31280 condition on __ASSUME_CLONE_THREAD_FLAGS.
31282 2012-08-14 Andreas Jaeger <aj@suse.de>
31284 * sysdeps/i386/fpu/libm-test-ulps: Update.
31286 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31288 * include/atomic.h (atomic_exchange_and_add): Split into ...
31289 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31292 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31296 2012-08-13 Jeff Law <law@redhat.com>
31298 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31299 null byte in the output string.
31301 2012-08-10 Joseph Myers <joseph@codesourcery.com>
31303 * sysdeps/unix/sysv/linux/kernel-features.h
31304 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31305 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31306 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31307 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31308 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31309 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31310 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31312 2012-08-09 Jeff Law <law@redhat.com>
31315 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31316 When avoid_arena is set, don't retry in the that arena. Pick the
31317 next one, whatever it might be.
31318 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31319 (arena_lock): Pass in new parameter to arena_get2.
31320 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31322 (__libc_malloc): Unify retrying after main arena failure with
31323 __libc_memalign version.
31324 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31326 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31329 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31330 to __redirect_strstr.
31331 (__strstr_sse42): Use typeof __redirect_strstr.
31332 (__strstr_ia32): Likewise.
31333 (__libc_strstr): New prototype.
31334 (strstr): Renamed to ...
31335 (__libc_strstr): This.
31336 (strstr): New strong alias of __libc_strstr.
31337 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31338 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31341 (__libc_time): New prototype.
31342 (time_ifunc): Replace time with __libc_time.
31343 (time): New strong alias and hidden definition of __libc_time.
31344 (__GI_time): Remove strong alias.
31345 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31346 Include <stddef.h>.
31347 (memmove): Redefined to __redirect_memmove.
31348 (__memmove_sse2): Use typeof __redirect_memmove.
31349 (__memmove_ssse3): Likewise.
31350 (__memmove_ssse3_back): Likewise.
31351 (__libc_memmove): New prototype.
31352 (memmove): Renamed to ...
31353 (__libc_memmove): This.
31354 (memmove): New strong alias of __libc_memmove.
31356 2012-08-08 Mark Salter <msalter@redhat.com>
31359 (R_MN10300_TLS_GD): Define.
31360 (R_MN10300_TLS_LD): Likewise.
31361 (R_MN10300_TLS_LDO): Likewise.
31362 (R_MN10300_TLS_GOTIE): Likewise.
31363 (R_MN10300_TLS_IE): Likewise.
31364 (R_MN10300_TLS_LE): Likewise.
31365 (R_MN10300_TLS_DTPMOD): Likewise.
31366 (R_MN10300_TLS_DTPOFF): Likewise.
31367 (R_MN10300_TLS_TPOFF): Likewise.
31368 (R_MN10300_SYM_DIFF): Likewise.
31369 (R_MN10300_ALIGN): Likewise.
31370 (R_MN10300_NUM): Update.
31372 2012-08-08 Joseph Myers <joseph@codesourcery.com>
31374 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31377 2012-08-08 Roland McGrath <roland@hack.frob.com>
31379 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31381 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31382 sysdeps/unix -> sysdeps/posix move.
31383 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31385 2012-08-07 Allan McRae <allan@archlinux.org>
31388 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31389 (SUNOS_CPP): Likewise.
31390 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31392 (open_input): Call CPP using execvp.
31394 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31396 * sysdeps/unix/sysv/linux/kernel-features.h
31397 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31398 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31399 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31400 (__ASSUME_WAITID_SYSCALL): Likewise.
31401 * sysdeps/unix/sysv/linux/dl-execstack.c
31402 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31403 code unconditional.
31404 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31406 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31407 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31408 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31410 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31412 [__ASSUME_WAITID_SYSCALL]: Likewise.
31413 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31415 2012-08-07 Roland McGrath <roland@hack.frob.com>
31417 * sysdeps/unix/closedir.c: Renamed to ...
31418 * sysdeps/posix/closedir.c: ... here.
31419 * sysdeps/unix/dirfd.c: Renamed to ...
31420 * sysdeps/posix/dirfd.c: ... here.
31421 * sysdeps/unix/dirstream.h: Renamed to ...
31422 * sysdeps/posix/dirstream.h: ... here.
31423 * sysdeps/unix/fdopendir.c: Renamed to ...
31424 * sysdeps/posix/fdopendir.c: ... here.
31425 * sysdeps/unix/opendir.c: Renamed to ...
31426 * sysdeps/posix/opendir.c: ... here.
31427 * sysdeps/unix/readdir.c: Renamed to ...
31428 * sysdeps/posix/readdir.c: ... here.
31429 * sysdeps/unix/readdir_r.c: Renamed to ...
31430 * sysdeps/posix/readdir_r.c: ... here.
31431 * sysdeps/unix/rewinddir.c: Renamed to ...
31432 * sysdeps/posix/rewinddir.c: ... here.
31433 * sysdeps/unix/seekdir.c: Renamed to ...
31434 * sysdeps/posix/seekdir.c: ... here.
31435 * sysdeps/unix/telldir.c: Renamed to ...
31436 * sysdeps/posix/telldir.c: ... here.
31437 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31438 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31439 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31440 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31442 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31443 * bits/fcntl.h: ... here.
31445 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31447 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31448 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31449 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31450 (struct flock): Move l_start, l_len to the beginning.
31451 Use __pid_t for l_pid.
31452 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31453 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31454 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31455 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31456 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31457 [__USE_LARGEFILE64] (struct flock64): New type.
31458 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31460 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31461 * bits/dirent.h: ... here.
31463 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31464 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31466 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31468 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31469 Change from 2.6.0 to 2.6.16.
31470 * sysdeps/unix/sysv/linux/configure: Regenerated.
31471 * sysdeps/unix/sysv/linux/kernel-features.h
31472 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31473 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31475 (__ASSUME_UTIMES): Likewise.
31476 (__ASSUME_CLONE_STOPPED): Remove.
31477 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31478 architectures, not kernel version.
31479 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31480 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31481 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31482 (__ASSUME_WAITID_SYSCALL): Likewise.
31483 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31484 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31485 * README: State 2.6.16 as minimum Linux kernel version. Do not
31486 refer to older versions.
31488 2012-08-06 Roland McGrath <roland@hack.frob.com>
31490 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31491 Define alphasort64 as an alias.
31492 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31493 Define versionsort64 as an alias.
31494 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31495 Define scandir64 as an alias.
31496 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31497 Define scandirat64 as an alias.
31498 * dirent/alphasort64.c (alphasort64):
31499 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31500 * dirent/versionsort64.c: Likewise.
31501 * dirent/scandir64.c: Likewise.
31502 * dirent/scandirat64.c: Likewise.
31503 * sysdeps/wordsize-64/alphasort.c: File removed.
31504 * sysdeps/wordsize-64/alphasort64.c: File removed.
31505 * sysdeps/wordsize-64/scandir.c: File removed.
31506 * sysdeps/wordsize-64/scandir64.c: File removed.
31507 * sysdeps/wordsize-64/scandirat.c: File removed.
31508 * sysdeps/wordsize-64/scandirat64.c: File removed.
31509 * sysdeps/wordsize-64/versionsort.c: File removed.
31510 * sysdeps/wordsize-64/versionsort64.c: File removed.
31511 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31512 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31513 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31514 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31515 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31516 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31517 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31518 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31520 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31521 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31522 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31523 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31524 [defined __arch64__ || defined __sparcv9]
31525 (__INO_T_MATCHES_INO64_T): New macro.
31526 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31527 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31528 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31529 * sysdeps/unix/sysv/linux/bits/dirent.h
31530 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31531 (_DIRENT_MATCHES_DIRENT64): New macro.
31533 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31534 Define lockf64 as an alias.
31535 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31536 Define fseeko64 as an alias.
31537 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31538 Define ftello64 as an alias.
31539 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31540 Define _IO_fgetpos64 and fgetpos64 as aliases.
31541 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31542 Define _IO_fsetpos64 and fsetpos64 as aliases.
31543 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31544 Conditionalize body on this.
31545 * libio/fseeko64.c: Likewise.
31546 * libio/ftello64.c: Likewise.
31547 * libio/iofgetpos64.c: Likewise.
31548 * libio/iofsetpos64.c: Likewise.
31549 * sysdeps/wordsize-64/lockf.c: File removed.
31550 * sysdeps/wordsize-64/lockf64.c: File removed.
31551 * sysdeps/wordsize-64/fseeko.c: File removed.
31552 * sysdeps/wordsize-64/fseeko64.c: File removed.
31553 * sysdeps/wordsize-64/ftello.c: File removed.
31554 * sysdeps/wordsize-64/ftello64.c: File removed.
31555 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31556 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31557 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31558 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31559 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31560 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31561 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31562 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31563 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31564 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31565 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31566 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31567 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31568 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31570 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31571 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31572 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31573 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31574 [defined __arch64__ || defined __sparcv9]
31575 (__OFF_T_MATCHES_OFF64_T): New macro.
31576 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31577 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31578 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31579 (__OFF_T_MATCHES_OFF64_T): New macro.
31581 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31583 * stdlib/secure-getenv.c (__secure_getenv): Replace
31584 GLIBC_2_16 with GLIBC_2_17.
31586 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31588 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31589 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31591 2012-08-03 David S. Miller <davem@davemloft.net>
31593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31595 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31597 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31599 (__ASSUME_CORRECT_SI_PID): Likewise.
31600 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31601 (__ASSUME_TMPFS_NAME): Likewise.
31602 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31603 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31604 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31605 (HAVE_AUX_SECURE): Make definition unconditional.
31606 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31607 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31609 2012-08-03 Roland McGrath <roland@hack.frob.com>
31611 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31612 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31613 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31614 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31615 __eloop_threshold instead of SYMLOOP_MAX.
31617 * sysdeps/generic/eloop-threshold.h: New file.
31618 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31620 * elf/chroot_canon.c (chroot_canon): Likewise.
31622 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31625 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31626 Change to 2.6.0 everywhere.
31627 * sysdeps/unix/sysv/linux/configure: Regenerated.
31628 * sysdeps/unix/sysv/linux/kernel-features.h
31629 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31630 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31632 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31633 (__ASSUME_FUTEX_REQUEUE): Remove.
31634 (__ASSUME_STATFS64): Define unconditionally.
31635 (__ASSUME_AT_SECURE): Likewise.
31636 (__ASSUME_CORRECT_SI_PID): Likewise.
31637 (__ASSUME_TGKILL): Define without depending on kernel version for
31639 (__ASSUME_UTIMES): Likewise.
31640 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31642 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31643 (__ASSUME_TMPFS_NAME): Likewise.
31644 * README: Update reference to Linux kernel versions.
31646 2012-08-02 Marek Polacek <polacek@redhat.com>
31649 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31650 libc_cv_asm_type_prefix with %.
31651 * configure: Regenerated.
31652 * include/libc-symbols.h: Remove comment about
31653 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31654 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31655 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31656 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31657 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31658 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31659 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31660 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31661 * elf/tst-unique2mod1.c: Likewise.
31662 * elf/tst-unique1mod2.c: Likewise.
31663 * elf/tst-unique1mod1.c: Likewise.
31664 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31665 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31666 Replace ASM_TYPE_DIRECTIVE with .type.
31667 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31668 * sysdeps/i386/sysdep.h: Likewise.
31669 * sysdeps/x86_64/sysdep.h: Likewise.
31670 * sysdeps/sh/sysdep.h: Likewise.
31671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31672 Do not define ASM_TYPE_DIRECTIVE.
31673 * sysdeps/powerpc/sysdep.h: Likewise.
31674 * sysdeps/powerpc/powerpc32/sysdep.h:
31675 Replace ASM_TYPE_DIRECTIVE with .type.
31676 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31677 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31678 * sysdeps/i386/fpu/e_powf.S: Likewise.
31679 * sysdeps/i386/fpu/e_expl.S: Likewise.
31680 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31681 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31682 * sysdeps/i386/fpu/e_pow.S: Likewise.
31683 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31684 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31685 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31686 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31687 * sysdeps/i386/fpu/e_log2.S: Likewise.
31688 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31689 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31690 * sysdeps/i386/fpu/e_powl.S: Likewise.
31691 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31692 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31693 * sysdeps/i386/fpu/e_logl.S: Likewise.
31694 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31695 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31696 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31697 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31698 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31699 * sysdeps/i386/fpu/e_log.S: Likewise.
31700 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31701 * sysdeps/i386/fpu/e_logf.S: Likewise.
31702 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31703 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31704 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31705 * sysdeps/i386/fpu/e_log10.S: Likewise.
31706 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31707 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31708 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31709 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31710 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31711 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31712 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31713 * sysdeps/i386/i686/strtok.S: Likewise.
31714 * sysdeps/i386/i386-mcount.S: Likewise.
31715 * sysdeps/i386/strtok.S: Likewise.
31716 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31717 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31718 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31719 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31720 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31721 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31722 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31723 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31724 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31725 * sysdeps/x86_64/_mcount.S: Likewise.
31726 * sysdeps/x86_64/strtok.S: Likewise.
31727 * sysdeps/sh/_mcount.S: Likewise.
31729 2012-08-01 Roland McGrath <roland@hack.frob.com>
31731 * libio/iofopen.c: Include <fcntl.h>.
31732 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31733 (_IO_fopen64, fopen64): Define as aliases.
31734 * libio/iofopen64.c: Include <fcntl.h>.
31735 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31736 Conditionalize body on this.
31737 * sysdeps/wordsize-64/iofopen.c: File removed.
31738 * sysdeps/wordsize-64/iofopen64.c: File removed.
31740 2012-08-01 Marek Polacek <polacek@redhat.com>
31742 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31743 Use dlfcn directly instead of a variable.
31744 (binfmt-subdir): Do not define.
31747 2012-08-01 Joseph Myers <joseph@codesourcery.com>
31749 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31750 Remove all definitions.
31751 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31752 <kernel-features.h>.
31753 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31754 (miss_F_GETOWN_EX): Remove all definitions.
31755 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31757 [!__ASSUME_FCNTL64]: Remove conditional code.
31758 [__ASSUME_FCNTL64]: Make code unconditional.
31759 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31760 <kernel-features.h>.
31761 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31762 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31763 (lockf64) [__NR_fcntl64]: Make code unconditional.
31764 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31766 * sysdeps/unix/sysv/linux/kernel-features.h
31767 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31768 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31769 Make code unconditional.
31770 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31771 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31773 [__NR_vfork]: Make code unconditional.
31774 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31775 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31777 [__NR_vfork]: Make code unconditional.
31778 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31779 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31781 2012-08-01 Roland McGrath <roland@hack.frob.com>
31783 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31784 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31786 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31787 Define mkstemp64 as an alias.
31788 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31789 Define mkstemps64 as an alias.
31790 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31791 Define mkostemp64 as an alias.
31792 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31793 Define mkostemps64 as an alias.
31794 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31795 Conditionalize body on this.
31796 * misc/mkostemp64.c: Likewise.
31797 * misc/mkostemps64.c: Likewise.
31798 * misc/mkstemps64.c: Likewise.
31799 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31800 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31801 * sysdeps/wordsize-64/mkostemp.c: File removed.
31802 * sysdeps/wordsize-64/mkstemp.c: File removed.
31803 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31804 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31805 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31806 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31809 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31810 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31811 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31812 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31814 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31815 compat_symbol macros from <shlib-compat.h> rather than the underlying
31816 default_symbol_version and symbol_version macros, so that DEFAULT
31817 lines in shlib-versions are respected.
31818 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31820 2012-08-01 Florian Weimer <fweimer@redhat.com>
31822 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31823 Declare with warn_unused_result.
31824 (setgid, setregid, setegid, setresgid): Likewise.
31825 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31827 * WUR-REPORT: Remove set*id functions.
31829 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31831 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31833 2012-07-31 Roland McGrath <roland@hack.frob.com>
31836 * include/sys/socket.h (__libc_accept, __libc_accept4):
31837 Add attribute_hidden.
31838 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31840 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31842 * inet/getnetgrent_r.c (setup): Likewise.
31844 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31846 2012-07-31 David S. Miller <davem@davemloft.net>
31848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31850 2012-07-31 Joseph Myers <joseph@codesourcery.com>
31853 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31854 value between 1.0 and 2.0 and smaller part has absolute value less
31856 * math/s_clog10.c (__clog10): Likewise.
31857 * math/s_clog10f.c (__clog10f): Likewise.
31858 * math/s_clog10l.c (__clog10l): Likewise.
31859 * math/s_clogf.c (__clogf): Likewise.
31860 * math/s_clogl.c (__clogl): Likewise.
31861 * math/libm-test.inc (clog_test): Add more tests.
31862 (clog10_test): Likewise.
31863 * sysdeps/i386/fpu/libm-test-ulps: Update.
31864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31866 2012-07-31 Florian Weimer <fweimer@redhat.com>
31868 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31869 Exit with zero in case no suitable GID is found, and write a
31870 message to standard error.
31872 2012-07-30 Roland McGrath <roland@hack.frob.com>
31874 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31876 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31877 (MAXPATHLEN): Removed.
31878 (NOGROUP, NODEV): New macros.
31879 (setbit, clrbit, isset, isclr): New macros.
31880 (howmany, roundup, powerof2): New macros.
31881 (DEV_BSIZE): New macro.
31883 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31884 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31886 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31887 definition on [!__NO_LONG_DOUBLE_MATH].
31889 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31890 PTR_MANGLE and PTR_DEMANGLE.
31892 * socket/accept4.c (accept4): Rename to __libc_accept4.
31893 Define accept4 as a weak alias.
31895 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31896 on [_DIRENT_HAVE_D_TYPE].
31897 * io/ftw.c (ftw_dir): Likewise.
31899 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31901 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31903 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31904 Use the BSD numbers rather than the arbitrary ones we had.
31905 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31906 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31907 (SIGXCPU, SIGXFSZ): New macros.
31910 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31911 initializer on [_LIBC_REENTRANT].
31913 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31914 definitions inside [_POSIX_MAPPED_FILES].
31916 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31918 * dirent/opendir.c: Include <fcntl.h>.
31920 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31921 (__libc_getspecific): Likewise.
31922 (__libc_key_create): Likewise.
31924 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31925 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31926 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31927 (tmpfile64): Define as alias.
31928 * sysdeps/wordsize-64/tmpfile.c: File removed.
31929 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31930 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31931 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31933 * stdio-common/vfscanf.c: Include <stdbool.h>.
31934 * nss/makedb.c: Likewise.
31935 * stdio-common/_i18n_number.h: Likewise.
31936 * argp/argp-help.c: Likewise.
31937 * posix/wordexp.c: Likewise.
31938 * sysdeps/posix/spawni.c: Likewise.
31939 * nss/nss_files/files-initgroups.c: Likewise.
31940 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31941 * nss/nss_files/files-initgroups.c: Likewise.
31942 * nss/nss_db/db-netgrp.c: Likewise.
31943 * nss/nss_db/db-initgroups.c: Likewise.
31944 * io/fchmodat.c: Include <sys/stat.h>.
31946 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31947 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31949 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31952 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31953 Add multiple inclusion protection.
31955 2012-07-27 David S. Miller <davem@davemloft.net>
31957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31959 2012-07-27 Gary Benson <gbenson@redhat.com>
31962 * elf/rtld.c: Include <stap-probe.h>.
31963 (dl_main): Added static probes "init_start" and "init_complete".
31964 * elf/dl-load.c: Include <stap-probe.h>.
31965 (lose): Take new parameter "nsid".
31966 Added static probe "map_failed".
31967 (_dl_map_object_from_fd): Pass namespace id to lose.
31968 Added static probe "map_start".
31969 (open_verify): Pass namespace id to lose.
31970 * elf/dl-open.c: Include <stap-probe.h>.
31971 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31972 and "reloc_complete".
31973 * elf/dl-close.c: Include <stap-probe.h>.
31974 (_dl_close_worker): Added static probes "unmap_start" and
31976 * elf/rtld-debugger-interface.txt: New file documenting the above.
31978 2012-07-26 Roland McGrath <roland@hack.frob.com>
31980 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31981 rather than a string variable.
31982 * sunrpc/rpc_main.c (h_output): Likewise.
31983 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31985 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31987 * inet/check_native.c: New file.
31989 2012-07-26 Joseph Myers <joseph@codesourcery.com>
31992 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31993 if larger part has absolute value 1.0.
31994 * math/s_clog10.c (__clog10): Likewise.
31995 * math/s_clog10f.c (__clog10f): Likewise.
31996 * math/s_clog10l.c (__clog10l): Likewise.
31997 * math/s_clogf.c (__clogf): Likewise.
31998 * math/s_clogl.c (__clogl): Likewise.
31999 * math/libm-test.inc (clog_test): Add more tests.
32000 (clog10_test): Likewise.
32001 * sysdeps/i386/fpu/libm-test-ulps: Update.
32002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32004 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32005 (pltexit): Likewise.
32006 (La_regs): Likewise.
32007 (La_retval): Likewise.
32008 (int_retval): Likewise.
32009 Update #error for removed macros to refer only to definitions in
32011 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32013 (pltexit): Likewise.
32014 (La_regs): Likewise.
32015 (La_retval): Likewise.
32016 (int_retval): Likewise.
32017 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32019 (pltexit): Likewise.
32020 (La_regs): Likewise.
32021 (La_retval): Likewise.
32022 (int_retval): Likewise.
32023 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32025 (pltexit): Likewise.
32026 (La_regs): Likewise.
32027 (La_retval): Likewise.
32028 (int_retval): Likewise.
32029 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32031 (pltexit): Likewise.
32032 (La_regs): Likewise.
32033 (La_retval): Likewise.
32034 (int_retval): Likewise.
32035 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32037 (pltexit): Likewise.
32038 (La_regs): Likewise.
32039 (La_retval): Likewise.
32040 (int_retval): Likewise.
32041 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32043 (pltexit): Likewise.
32044 (La_regs): Likewise.
32045 (La_retval): Likewise.
32046 (int_retval): Likewise.
32047 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32048 macro definitions in tst-audit.h.
32049 * sysdeps/i386/tst-audit.h: New file.
32050 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32051 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32052 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32053 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32054 * sysdeps/sh/tst-audit.h: Likewise.
32055 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32056 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32057 * sysdeps/x86_64/tst-audit.h: Likewise.
32059 2012-07-26 Andreas Jaeger <aj@suse.de>
32061 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32064 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32065 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32066 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32068 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32069 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32070 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32072 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32075 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32077 (si_call_addr, si_syscall, si_arch): Define new macro.
32078 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32080 (si_call_addr, si_syscall, si_arch): Define new marcro.
32081 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32083 (si_call_addr, si_syscall, si_arch): Define new macro.
32084 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32086 (si_call_addr, si_syscall, si_arch): Define new macro.
32088 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32091 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32092 Change to 2.4.21 where previously 2.4.1.
32093 * sysdeps/unix/sysv/linux/configure: Regenerated.
32094 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32095 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32096 Linux kernel version.
32097 (__ASSUME_STD_AUXV): Remove.
32098 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32100 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32101 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32102 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32103 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32104 (__ASSUME_NETLINK_SUPPORT): Likewise.
32105 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32106 (__no_netlink_support): Remove conditional definition.
32107 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32109 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32110 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32111 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32112 (if_nameindex_ioctl): Remove.
32113 (if_nameindex_netlink): Do not handle __no_netlink_support.
32114 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32116 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32117 Remove conditional code.
32118 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32120 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32122 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32123 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32124 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32126 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32127 [!__ASSUME_STD_AUXV]: Remove conditional code.
32128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32129 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32130 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32132 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32133 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32135 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32137 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32138 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32140 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32142 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32145 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32148 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32149 code unconditional.
32150 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32152 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32154 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32157 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32159 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32162 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32163 code unconditional.
32164 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32166 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32168 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32171 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32172 code unconditional.
32173 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32175 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32177 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32180 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32182 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32183 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32184 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32185 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32186 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32187 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32188 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32189 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32190 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32191 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32192 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32193 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32194 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32195 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32196 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32197 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32198 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32199 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32200 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32201 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32202 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32203 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32204 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32206 2012-07-25 Florian Weimer <fweimer@redhat.com>
32208 * Versions.def: Add GLIBC_2.17.
32209 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32210 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32211 Introduce __libc_secure_getenv.
32212 * stdlib/Versions (2.17): Add secure_getenv
32213 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32214 * stdlib/secure-getenv.c: Rename __secure_getenv to
32215 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32216 symbol __secure_getenv for GLIBC_2.0.
32217 * stdlib/tst-secure-getenv.c: New.
32218 * stdlib/Makefile (tests): Add testcase.
32219 * manual/startup.texi (Environment Access): Document
32221 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32222 __libc_secure_getenv.
32223 * inet/ruserpass.c (ruserpass): Likewise.
32224 * malloc/mtrace.c (mtrace): Likewise.
32225 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32226 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32227 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32228 * sysdeps/posix/tempname.c: Likewise. Evaluate
32229 HAVE_SECURE_GETENV.
32230 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32231 __secure_getenv to __libc_secure_getenv.
32232 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32239 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32245 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32247 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32248 (struct La_i86_retval): Likewise.
32249 (struct La_x86_64_regs): Likewise.
32250 (struct La_x86_64_retval): Likewise.
32251 (struct La_x32_regs): Likewise.
32252 (struct La_x32_retval): Likewise.
32253 (struct La_ppc32_regs): Likewise.
32254 (struct La_ppc32_retval): Likewise.
32255 (struct La_ppc64_regs): Likewise.
32256 (struct La_ppc64_retval): Likewise.
32257 (struct La_sh_regs): Likewise.
32258 (struct La_sh_retval): Likewise.
32259 (struct La_s390_32_regs): Likewise.
32260 (struct La_s390_32_retval): Likewise.
32261 (struct La_s390_64_regs): Likewise.
32262 (struct La_s390_64_retval): Likewise.
32263 (struct La_sparc32_regs): Likewise.
32264 (struct La_sparc32_retval): Likewise.
32265 (struct La_sparc64_regs): Likewise.
32266 (struct La_sparc64_retval): Likewise.
32267 (struct audit_ifaces): Remove architecture-specific pltenter and
32269 * sysdeps/i386/ldsodefs.h: New file.
32270 * sysdeps/powerpc/ldsodefs.h: Likewise.
32271 * sysdeps/s390/ldsodefs.h: Likewise.
32272 * sysdeps/sh/ldsodefs.h: Likewise.
32273 * sysdeps/sparc/ldsodefs.h: Likewise.
32274 * sysdeps/x86_64/ldsodefs.h: Likewise.
32276 2012-07-25 Marek Polacek <polacek@redhat.com>
32279 * math/libm-test.inc (yn_test): Add another test.
32280 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32281 to ERANGE when the result is +-Inf.
32282 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32283 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32284 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32285 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32287 2012-07-24 Joseph Myers <joseph@codesourcery.com>
32289 * conform/data/time.h-data (NULL): Use macro-constant. Require
32291 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32293 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32295 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32297 * configure.in <sysdeps resolving>: Correct printing
32299 * configure: Regenerate.
32301 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32303 * math/w_ilogb.c: Include <limits.h>.
32304 * math/w_ilogbl.c: Likewise.
32306 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32308 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32309 va_copy. Document allowing for unavailable va_copy only as
32310 pre-C99 compatibility.
32311 * manual/string.texi (Copying and Concatenation): Use va_copy
32312 instead of __va_copy in concat example.
32314 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32316 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32317 (__sendto): Use create_address_port. Initialize APORT and deallocate
32320 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32321 with O_NOLINK passed to __file_name_lookup.
32323 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32324 with O_NOLINK passed to __file_name_lookup.
32326 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32327 negative N or less than NGIDS.
32329 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32330 type to string_t. Set ERANGE as errno and return it if NAME is not big
32331 enough. Use memcpy instead of strncpy.
32333 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32335 * elf/Makefile (check-data): Remove.
32336 (localplt.data): New vpath directive.
32337 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32338 instead of $(check-data).
32339 * scripts/data/localplt-generic.data: Move to ...
32340 * sysdeps/generic/localplt.data: ... here.
32341 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32342 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32343 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32346 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32349 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32352 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32355 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32358 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32362 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32364 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32365 PPC32 and PPC64 files.
32366 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32367 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32369 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32371 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32372 __makecontext_ret to ...
32373 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32374 ... here and call exit if uc_link is NULL. New file.
32375 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32376 __makecontext_ret.S.
32377 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32378 __makecontext_ret to ...
32379 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32380 ... here and call exit if uc_link is NULL. New file.
32381 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32382 __makecontext_ret.S.
32384 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32386 * elf/elf.h (R_390_IRELATIVE): New definition.
32387 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32388 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32389 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32390 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32391 (elf_machine_lazy_rel): Likewise.
32392 * sysdeps/s390/dl-irel.h: New file.
32393 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32394 * sysdeps/s390/s390-64/memset.S: New asm code.
32395 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32396 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32397 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32398 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32399 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32400 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32401 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32402 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32403 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32404 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32405 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32406 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32407 * sysdeps/s390/s390-32/memset.S: New asm code.
32408 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32410 2012-07-17 Marek Polacek <polacek@redhat.com>
32413 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32414 * sysdeps/s390/s390-64/configure.in: Likewise.
32415 * sysdeps/sparc/configure.in: Likewise.
32416 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32417 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32418 * sysdeps/i386/configure.in: Likewise.
32419 * sysdeps/x86_64/configure.in: Likewise.
32420 * sysdeps/sh/configure.in: Likewise.
32421 * sysdeps/s390/s390-32/configure: Regenerated.
32422 * sysdeps/s390/s390-64/configure: Likewise.
32423 * sysdeps/x86_64/configure: Likewise.
32424 * sysdeps/sh/configure: Likewise.
32425 * sysdeps/powerpc/powerpc64/configure: Likewise.
32426 * sysdeps/powerpc/powerpc32/configure: Likewise.
32427 * sysdeps/sparc/configure: Likwise.
32428 * sysdeps/i386/configure: Likewise.
32430 * elf/dl-open.c: Comment fixes.
32432 2012-07-17 Joseph Myers <joseph@codesourcery.com>
32434 * Makefile [CXX] (check-data): Remove.
32435 [CXX] (c++-types.data): New vpath directive.
32436 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32437 vpath. Do not allow for C++ type data being missing.
32438 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32439 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32440 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32441 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32442 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32443 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32444 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32447 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32450 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32453 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32456 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32459 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32462 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32465 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32468 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32469 definitions to architecture-specific files.
32470 (TLS_IE): Likewise.
32471 (TLS_LD): Likewise.
32472 (TLS_GD): Likewise.
32473 * sysdeps/i386/tls-macros.h: New file.
32474 * sysdeps/powerpc/tls-macros.h: Likewise.
32475 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32476 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32477 * sysdeps/sh/tls-macros.h: Likewise.
32478 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32479 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32480 * sysdeps/x86_64/tls-macros.h: Likewise.
32482 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32484 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32485 zero value for regular exit case.
32487 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32488 (__start_context): Preserve zero value for regular exit case.
32490 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32491 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32493 * manual/setjmp.texi (setcontext): Clarify normal process
32494 termination when uc_link is the null pointer.
32495 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32498 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32500 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32501 preprocessor. Test for each exception mask separately.
32503 2012-07-16 Andreas Jaeger <aj@suse.de>
32505 * po/ru.po: Update from translation team.
32507 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32509 * conform/data/string.h-data (NULL): Use macro-constant. Require
32511 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32512 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32513 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32514 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32515 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32517 2012-07-13 Andreas Jaeger <aj@suse.de>
32519 * po/fr.po: Update from translation team.
32521 2012-07-12 Marek Polacek <polacek@redhat.com>
32524 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32525 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32528 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32531 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32532 Change to 2.4.1 where previously 2.4.0.
32533 * sysdeps/unix/sysv/linux/configure: Regenerated.
32534 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32535 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32537 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32538 (__ASSUME_AT_CLKTCK): Remove.
32539 (__ASSUME_AT_PAGESIZE): Likewise.
32540 (__ASSUME_AT_XID): Likewise.
32541 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32542 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32543 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32545 (HAVE_AUX_PAGESIZE): Likewise.
32546 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32547 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32548 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32550 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32553 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32554 the temporary buffer used to invoke __gethostbyname2_r,
32555 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32556 host_data / struct gaih_addrtuple.
32557 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32558 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32559 header file nss/nsswitch.h.
32560 * nss/nsswitch.h (global scope): Add definition of implementation
32561 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32562 resolv/nss_dns/dns-host.c).
32564 2012-07-11 Andreas Jaeger <aj@suse.de>
32566 * po/fr.po: Update from translation team.
32568 * po/sv.po: Update from translation team
32569 * po/fr.po: Another update from translation team.
32571 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32573 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32574 for subnormals or multiply small sinh result by itself.
32575 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32578 2012-07-11 David S. Miller <davem@davemloft.net>
32580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32582 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32585 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32586 (INTERNAL_MARK): Shift it here.
32588 2012-07-10 Marek Polacek <polacek@redhat.com>
32591 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32592 libc_cv_asm_global_directive with .globl.
32593 * configure: Regenerated.
32594 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32596 * sysdeps/i386/configure: Regenerated.
32597 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32599 * sysdeps/x86_64/configure: Regenerated.
32600 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32601 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32602 * elf/tst-unique2mod2.c: Likewise.
32603 * elf/tst-unique2mod1.c: Likewise.
32604 * elf/tst-unique1mod2.c: Likewise.
32605 * elf/tst-unique1mod1.c: Likewise.
32606 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32607 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32608 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32609 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32610 * sysdeps/mach/sysdep.h: Likewise.
32611 * sysdeps/i386/sysdep.h: Likewise.
32612 * sysdeps/i386/i386-mcount.S: Likewise.
32613 * sysdeps/x86_64/_mcount.S: Likewise.
32614 * sysdeps/x86_64/sysdep.h: Likewise.
32615 * sysdeps/sh/_mcount.S: Likewise.
32616 * sysdeps/sh/sysdep.h: Likewise.
32617 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32618 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32619 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32620 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32621 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32622 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32623 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32624 * locale/localeinfo.h: Likewise.
32625 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32626 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32628 2012-07-09 Roland McGrath <roland@hack.frob.com>
32631 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32633 * manual/message.texi (The Uniforum approach): Likewise.
32634 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32635 (glibc iconv Implementation): Likewise.
32637 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32640 * math/s_clog.c (__clog): Avoid scaling a value down where that
32641 could result in underflow.
32642 * math/s_clog10.c (__clog10): Likewise.
32643 * math/s_clog10f.c (__clog10f): Likewise.
32644 * math/s_clog10l.c (__clog10l): Likewise.
32645 * math/s_clogf.c (__clogf): Likewise.
32646 * math/s_clogl.c (__clogl): Likewise.
32647 * math/libm-test.inc (clog_test): Add more tests.
32648 (clog10_test): Likewise.
32649 * sysdeps/i386/fpu/libm-test-ulps: Update.
32650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32652 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32655 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32656 by 7 not 8 to examine high bit of fractional part.
32659 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32660 for call to __mcount_internal.
32661 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32662 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32663 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32665 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32668 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32669 approximation for values within 0x1p-13f of an odd multiple of
32671 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32672 exception. Add more tests.
32673 * sysdeps/i386/fpu/libm-test-ulps: Update.
32676 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32677 inputs and return -1 for them. Do not check for +Inf in case not
32678 reachable for +Inf.
32679 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32680 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32681 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32682 and return -1 for them. Do not check for +Inf in case not
32683 reachable for +Inf.
32684 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32686 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32687 and return -1 for them. Do not check for +Inf in case not
32688 reachable for +Inf.
32689 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32690 spurious underflow.
32691 * sysdeps/i386/fpu/libm-test-ulps: Update.
32692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32694 2012-07-06 Mike Frysinger <vapier@gentoo.org>
32696 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32698 2012-07-05 Joseph Myers <joseph@codesourcery.com>
32702 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32703 could result in spurious underflow. Scale down values above
32704 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32705 * math/s_csqrtf.c (__csqrtf): Likewise.
32706 * math/s_csqrtl.c (__csqrtl): Likewise.
32707 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32708 spurious underflow.
32709 * sysdeps/i386/fpu/libm-test-ulps: Update.
32710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32712 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32714 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32716 * catgets/xopen-msg.awk: New file.
32717 * catgets/xopen-msg.sed: Removed.
32719 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32721 * intl/po2test.awk: New file.
32722 * intl/po2test.sed: Removed.
32724 2012-07-04 Joseph Myers <joseph@codesourcery.com>
32727 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32728 or multiply small sinh result by itself.
32729 * math/s_ctanf.c (__ctanf): Likewise.
32730 * math/s_ctanh.c (__ctanh): Likewise.
32731 * math/s_ctanhf.c (__ctanhf): Likewise.
32732 * math/s_ctanhl.c (__ctanhl): Likewise.
32733 * math/s_ctanl.c (__ctanl): Likewise.
32734 * math/libm-test.inc (ctan_test_tonearest): New function.
32735 (ctan_test_towardzero): Likewise.
32736 (ctan_test_downward): Likewise.
32737 (ctan_test_upward): Likewise.
32738 (ctanh_test_tonearest): Likewise.
32739 (ctanh_test_towardzero): Likewise.
32740 (ctanh_test_downward): Likewise.
32741 (ctanh_test_upward): Likewise.
32742 (main): Call these new functions.
32743 * sysdeps/i386/fpu/libm-test-ulps: Update.
32744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32746 2012-07-03 Mike Frysinger <vapier@gentoo.org>
32748 * .gitignore: Delete /ports entry.
32750 2012-07-03 Andreas Jaeger <aj@suse.de>
32752 * po/bg.po: Update from translation team.
32753 * po/cs.po: Likewise.
32754 * po/de.po: Likewise.
32755 * po/hr.po: Likewise.
32756 * po/nl.pl: Likewise.
32757 * po/pl.po: Likewise.
32758 * po/vi.po: Likewise.
32760 2012-07-03 Joseph Myers <joseph@codesourcery.com>
32762 * Makeconfig [!+link] (+link-before-libc): New variable.
32763 [!+link] (+link-after-libc): Likewise.
32764 [!+link] (+link-tests): Likewise.
32765 [!+link] (+link): Define in terms of $(+link-before-libc) and
32766 $(+link-after-libc).
32767 [!+link-static] (+link-static-before-libc): New variable.
32768 [!+link-static] (+link-static-after-libc): Likewise.
32769 [!+link-static] (+link-static-tests): Likewise.
32770 [!+link-static] (+link-static): Define in terms of
32771 $(+link-static-before-libc) and $(+link-static-after-libc).
32772 [build-shared] (link-libc-before-gnulib): New variable.
32773 [build-shared] (link-libc-tests): Likewise.
32774 [build-shared] (link-libc): Define in terms of
32775 $(link-libc-before-gnulib).
32776 [!build-shared] (link-libc-tests): New variable.
32777 (link-libc-static-tests): New variable.
32778 [!gnulib] (gnulib-arch): New variable.
32779 [!gnulib] (gnulib-tests): Likewise.
32780 [!gnulib] (static-gnulib-arch): Likewise.
32781 [!gnulib] (static-gnulib-tests): Likewise.
32782 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32783 Define with "=" instead of ":=".
32784 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32785 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32786 * Rules (binaries-all-notests): New variable.
32787 (binaries-all-tests): Likewise.
32788 (binaries-static-notests): Likewise.
32789 (binaries-static-tests): Likewise.
32790 (binaries-all): Define using $(binaries-all-notests) and
32791 $(binaries-all-tests).
32792 (binaries-static): Define using $(binaries-static-notests) and
32793 $(binaries-static-tests).
32794 (binaries-shared-tests): New variable.
32795 (binaries-shared-notests): Likewise.
32796 (binaries-shared): Remove variable.
32797 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32798 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32799 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32800 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32801 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32802 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32803 * elf/Makefile (sln-modules): New variable.
32804 (extra-objs): Add $(sln-modules:=.o).
32805 (ldconfig-modules): Add static-stubs.
32806 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32807 * elf/static-stubs.c: New file.
32810 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32811 by 7 not 8 to examine high bit of fractional part. Use volatile
32812 variables when splitting into final array of floats if
32813 __FLT_EVAL_METHOD__ != 0.
32814 * math/libm-test.inc (cos_test): Add another test.
32815 (sin_test): Likewise.
32816 * sysdeps/i386/fpu/libm-test-ulps: Update.
32819 * math/libm-test.inc (cosh_test): Add more tests.
32821 * version.h (RELEASE): Set to "development".
32822 (VERSION): Set to "2.16.90".
32824 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32826 * NEWS: Update copyright. Remove last-updated date.
32827 Mention math library bug fixes and timezone data changes.
32828 * README: Mention GNU/Hurd, x32, and HPPA support status.
32830 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32832 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32834 2012-06-27 Andreas Jaeger <aj@suse.de>
32836 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32838 2012-06-25 Andreas Jaeger <aj@suse.de>
32840 * sysdeps/s390/fpu/libm-test-ulps: Update.
32842 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32843 Thomas Schwinge <thomas@codesourcery.com>
32845 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32846 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32847 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32850 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32852 * sysdeps/mach/start.c: Remove file.
32853 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32854 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32855 * sysdeps/sh/init-first.c: Likewise.
32857 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32858 registers for frame unwinding purposes, add CFI directives.
32859 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32860 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32861 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32864 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32865 __fortify_fail returning.
32866 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32868 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32869 sysdeps/sh/____longjmp_chk.S.
32870 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32871 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32872 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32873 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32875 * sysdeps/sh/abort-instr.h: New file.
32876 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32877 process in case exit returns.
32879 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32880 initialize the GOT register before use.
32882 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32883 calculation of ARGC > 4.
32885 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32886 meaningful names to some local labels.
32888 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32889 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32891 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32892 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32893 (__arch_compare_and_exchange_val_16_acq): Likewise.
32894 (__arch_compare_and_exchange_val_32_acq): Likewise.
32895 (atomic_exchange_and_add): Fix gUSA sequence.
32896 (atomic_add): Likewise.
32897 (atomic_add_negative): Likewise.
32898 (atomic_add_zero): Likewise.
32899 (atomic_bit_test_set): Likewise.
32901 2012-06-22 Andreas Schwab <schwab@redhat.com>
32904 * include/link.h (struct link_map): Add l_free_initfini.
32905 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32907 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32908 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32909 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32912 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32914 * configure.in: Use AC_LANG_SOURCE.
32915 * configure: Regenerate.
32917 2012-06-22 Roland McGrath <roland@hack.frob.com>
32919 * configure.in (libc_cv_localstatedir): New substituted variable.
32920 * configure: Regenerated.
32921 * config.make.in (localstatedir): New variable, substituted from
32922 libc_cv_localstatedir.
32923 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32924 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32925 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32926 * sysdeps/gnu/configure: Regenerated.
32928 2012-06-21 Jeff Law <law@redhat.com>
32931 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32932 free. Simplify list management for _LIBC case.
32934 2012-06-21 Joseph Myers <joseph@codesourcery.com>
32937 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32938 Clear sign bit of 64-bit integer value before comparing against
32941 * sysdeps/mach/configure: Regenerated.
32943 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32946 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32948 2012-06-21 Jeff Law <law@redhat.com>
32951 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32952 uint16_t for elements in the "seen" array to avoid char overflows.
32953 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32954 * elf/dl-open.c (dl_open_worker): Likewise.
32956 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32958 * scripts/list-sources.sh: Scan PORTS for translations.
32959 * po/libc.pot: Regenerated.
32961 2012-06-21 Andreas Jaeger <aj@suse.de>
32964 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32966 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32967 * bits/byteswap-16.h (__bswap_16): Likewise.
32968 * bits/byteswap.h (__bswap_constant_16): Likewise.
32970 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32973 * sysdeps/i386/fpu_control.h: Removed.
32974 * sysdeps/x86_64/fpu_control.h: Moved to ...
32975 * sysdeps/x86/fpu_control.h: Here.
32977 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32978 (_FPU_SETCW): Likewise.
32980 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32983 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32984 * sysdeps/x86/fpu/bits/mathinline.h: This.
32985 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32989 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32990 functions if __x86_64__ is defined.
32992 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32994 * string/endian.h: Add !__ASSEMBLER__ condition for including
32995 conversion interfaces.
32997 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33000 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33001 of ABS(x) in calculating zero to negative powers other than odd
33003 * math/libm-test.inc (pow_test): Add more tests.
33005 2012-06-15 Andreas Jaeger <aj@suse.de>
33007 * manual/contrib.texi (Contributors): Update entry of Liubov
33008 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33011 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33013 * string/string.h: Add __wur to GNU version of strerror_r.
33015 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33018 * string/Makefile (tests): Add tst-strtok_r.
33019 * string/tst-strtok_r.c: New file.
33020 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33021 RAX_LP/RDX_LP on SAVE_PTR.
33023 2012-06-14 Roland McGrath <roland@hack.frob.com>
33025 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33027 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33029 * libm_test.inc (csqrt_test): Allow more spurious underflow
33031 (j0_test): Likewise.
33032 (j1_test): Likewise.
33033 (y0_test): Likewise.
33034 (y1_test): Likewise.
33036 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33038 * po/Makefile (libc.pot): Use UTF-8 charset.
33040 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33043 Suppress sign-conversion warning from FD_SET.
33044 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33045 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33046 not unsigned long int.
33047 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33049 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33053 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33054 __extern_always_inline instead of __extern_inline.
33055 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33056 (__signbit): Likewise.
33057 (__signbitl): Support C++ namespace.
33058 (lrintf): New inline function.
33060 (llrintf): Likewise.
33061 (llrint): Likewise.
33071 (floorf): Likewise.
33072 (nearbyint): Likewise.
33073 (nearbyintf): Likewise.
33075 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33077 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33078 non-default versions.
33080 2012-06-11 Roland McGrath <roland@hack.frob.com>
33083 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33085 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33087 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33088 (FE_UPWARD, FE_DOWNWARD): Don't define.
33089 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33090 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33092 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33094 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33095 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33097 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33099 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33100 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33101 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33102 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33104 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33107 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33108 * sysdeps/i386/fpu/Implies: New file.
33109 * sysdeps/x86_64/fpu/Implies: Likewise.
33110 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33111 * sysdeps/x86/fpu/bits/fenv.h: This.
33113 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33116 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33119 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33120 character 0xffff that matches the last element of the
33123 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33125 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33128 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33130 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33131 values higher than 25.6283.
33133 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33135 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33136 subnormal exponent extraction and add some __builtin_expect.
33137 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33138 Fix for subnormal mantissa calculation.
33140 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33142 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33143 cpu2 is -1 and errno is not ENOSYS.
33145 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33148 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33149 * sysdeps/x86/bits/string.h: This.
33150 * sysdeps/x86_64/bits/string.h: Removed.
33152 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33153 if not compiling for x86-64, but compiling for >= i486.
33155 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33156 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33158 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33159 New macro from Linux kernel 3.4.0.
33160 (FP_XSTATE_MAGIC2): Likewise.
33161 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33162 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33163 (struct _fpx_sw_bytes): New struct.
33164 (struct _xsave_hdr): Likewise.
33165 (struct _ymmh_state): Likewise.
33166 (struct _xstate): Likewise.
33168 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33169 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33170 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33171 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33172 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33173 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33175 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33176 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33177 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33178 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33179 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33180 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33182 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33185 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33186 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33187 (sysdep_headers): Include sys/platform/ppc.h.
33188 * sysdeps/powerpc/test-gettimebase.c: Test for
33189 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33190 * manual/Makefile (appendices): Include platform.texi.
33191 * manual/contrib.texi (Contributors): Update @node pointers.
33192 * manual/maint.texi (Maintenance): Likewise.
33193 (Platform): New node.
33194 * manual/platform.texi: New file. Document the new features.
33196 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33197 Jakub Jelinek <jakub@redhat.com>
33200 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33201 where __builtin_expect is unavailable.
33203 2012-06-03 David S. Miller <davem@davemloft.net>
33205 * stdlib/longlong.h: Updated from GCC.
33207 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33210 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33211 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33214 (GLIBC_2.16): Likewise.
33216 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33218 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33220 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33223 (default-abi): New variable.
33224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33225 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33227 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33229 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33231 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33234 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33235 definition. Document in comment.
33237 2012-06-01 David S. Miller <davem@davemloft.net>
33239 * stdlib/longlong.h: Updated from GCC.
33241 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33244 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33245 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33246 sys/debugreg.h sys/io.h here.
33247 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33248 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33250 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33251 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33252 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33253 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33254 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33255 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33257 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33258 Define only if __x86_64__ is defined.
33260 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33263 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33264 Use int64_t for variable i.
33265 * math/libm-test.inc (fmod_test): Add more tests.
33267 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33268 z computation is not scheduled after fetestexcept.
33269 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33270 Use math_force_eval instead of asm to ensure calculation scheduled
33271 before exception test.
33272 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33273 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33275 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33277 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33278 computation is not scheduled after fetestexcept.
33280 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33283 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33284 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33286 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33288 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33289 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33291 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33294 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33296 (__WCHAR_MIN): Support __WORDSIZE == 64.
33297 (__WCHAR_MAX): Likewise.
33299 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33300 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33303 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33304 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33307 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33308 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33310 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33311 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33313 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33314 Defined to 1 if __x86_64__ isn't defined.
33315 (_STAT_VER_LINUX_OLD): New.
33316 (st_atime): Remove duplicate.
33317 (st_mtime): Likewise.
33318 (st_ctime): Likewise.
33320 2012-05-31 David S. Miller <davem@davemloft.net>
33322 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33325 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33327 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33331 * elf/dl-reloc.c: Include <_itoa.h>.
33332 (_dl_reloc_bad_type): Remove use of INTUSE.
33333 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33334 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33335 * stdio-common/psiginfo.c (psiginfo): Likewise.
33336 * stdio-common/psignal.c (psignal): Likewise.
33337 * string/strsignal.c (strsignal): Likewise.
33338 * include/signal.h (_sys_siglist): Declare hidden proto.
33339 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33340 INTVARDEF with libc_hidden_data_def.
33341 * stdio-common/itoa-udigits.c: Likewise.
33342 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33343 (_itoa_lower_digits_internal): Remove declaration.
33344 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33345 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33346 (_sys_sigabbrev_internal): Remove aliases.
33347 (_sys_siglist): Define hidden alias.
33349 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33351 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33354 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33357 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33358 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33360 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33361 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33362 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33363 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33364 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33365 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33367 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33368 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33369 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33371 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33379 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33380 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33381 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33383 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33384 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33385 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33386 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33387 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33388 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33390 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33391 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33393 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33394 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33396 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33397 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33398 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33400 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33401 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33403 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33405 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33406 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33407 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33409 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33411 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33413 2012-05-31 Joseph Myers <joseph@codesourcery.com>
33415 * math/math.h (M_El): Use two more decimal places.
33416 (M_LOG2El): Likewise.
33417 (M_LOG10El): Likewise.
33418 (M_LN2l): Likewise.
33419 (M_LN10l): Likewise.
33421 (M_PI_2l): Likewise.
33422 (M_PI_4l): Likewise.
33423 (M_1_PIl): Likewise.
33424 (M_2_PIl): Likewise.
33425 (M_2_SQRTPIl): Likewise.
33426 (M_SQRT2l): Likewise.
33427 (M_SQRT1_2l): Likewise.
33429 2012-05-31 David S. Miller <davem@davemloft.net>
33431 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33432 values between float registers.
33433 * sysdeps/sparc/sparc64/memset.S: Likewise.
33434 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33436 2012-05-31 Mike Frysinger <vapier@gentoo.org>
33438 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33439 -D_FORTIFY_SOURCE=1.
33440 (CPPFLAGS-tst-longjmp_chk.c): Define.
33441 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33442 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33443 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33444 CFLAGS-tst-wchar-h.c.
33446 2012-05-31 Marek Polacek <polacek@redhat.com>
33449 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33450 __endmntent_internal): Remove declaration.
33451 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33452 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33453 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33455 2012-05-30 David S. Miller <davem@davemloft.net>
33457 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33458 (___Q_simulate_exceptions): Use real FP ops rather than writing
33460 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33463 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33466 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33467 * sysdeps/x86/bits/xtitypes.h: This.
33469 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33470 * sysdeps/x86/bits/wordsize.h: This.
33472 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33473 * sysdeps/x86/bits/huge_vall.h: This.
33475 * sysdeps/i386/bits/select.h: Removed.
33476 * sysdeps/x86_64/bits/select.h: Renamed to ...
33477 * sysdeps/x86/bits/select.h: This.
33479 * sysdeps/i386/bits/setjmp.h: Removed.
33480 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33481 * sysdeps/x86/bits/setjmp.h: This.
33483 * sysdeps/i386/bits/mathdef.h: Removed.
33484 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33485 * sysdeps/x86/bits/mathdef.h: This.
33487 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33490 * include/sys/socket.h (__connect_internal)
33491 (__libc_sa_len_internal): Remove declaration.
33492 (__connect, __libc_sa_len): Declare hidden_proto.
33493 (SA_LEN): Remove use of INTUSE.
33494 * socket/connect.c: Add libc_hidden_def.
33495 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33496 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33497 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33499 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33500 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33501 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33502 of adding _internal alias.
33504 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33507 * sysdeps/i386/bits/link.h: Removed.
33508 * sysdeps/i386/bits/linkmap.h: Likewise.
33509 * sysdeps/x86_64/bits/link.h: Renamed to ...
33510 * sysdeps/x86/bits/link.h: This.
33511 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33512 * sysdeps/x86/bits/linkmap.h: This.
33514 * sysdeps/i386/bits/endian.h: Removed.
33515 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33516 * sysdeps/x86/bits/endian.h: This.
33518 * sysdeps/i386/bits/byteswap.h: Removed.
33519 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33520 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33521 * sysdeps/x86/bits/byteswap.h: This.
33522 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33523 * sysdeps/x86/bits/byteswap-16.h: This.
33524 * sysdeps/i386/Implies: Add x86.
33525 * sysdeps/x86_64/Implies: Likewise.
33527 2012-05-30 David S. Miller <davem@davemloft.net>
33529 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33530 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33531 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33532 (FP_TRAPPING_EXCEPTIONS): Define.
33533 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33534 (FP_TRAPPING_EXCEPTIONS): Define.
33535 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33536 subnormals only when inexact has been signalled or underflow
33537 exceptions are enabled.
33538 (_FP_PACK_CANONICAL): Likewise.
33540 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33543 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33544 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33546 2012-05-30 Richard Henderson <rth@twiddle.net>
33548 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33549 with #ifndef NOT_IN_libc.
33551 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33552 marked to avoid plt entry.
33554 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33557 * Makeconfig (default-abi): New macro.
33558 (abi-includes): Likewise.
33559 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33560 $(abi-$(default-abi)-lib-soname) for soname if defined.
33561 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33563 * Makefile (installed-stubs): Likewise.
33564 * include/stubs-biarch.h: Removed.
33565 * scripts/lib-names.awk: Only handle one library at a time.
33566 * scripts/soversions.awk: Remove WORDSIZE support.
33567 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33569 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33571 (syscall-list-default-condition): Likewise.
33572 (syscall-list-default-condition): Likewise.
33573 (syscall-list-includes): Likewise.
33574 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33575 syscall-list-* with abi-*. Handle undefined abi-variants.
33576 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33577 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33578 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33579 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33580 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33581 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33583 (syscall-list-32-options): Likewise.
33584 (syscall-list-32-condition): Likewise.
33585 (syscall-list-64-options): Likewise.
33586 (syscall-list-64-condition): Likewise.
33587 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33589 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33592 (abi-64-ld-soname): New macro.
33593 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33594 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33597 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33598 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33600 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33602 * sysdeps/unix/sysv/linux/kernel-features.h
33603 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33604 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33605 include <kernel-features.h>.
33606 [!__NR_ftruncate64]: Remove conditional code.
33607 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33608 [__NR_ftruncate64]: Make code unconditional.
33609 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33610 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33611 include <kernel-features.h>.
33612 [!__NR_ftruncate64]: Remove conditional code.
33613 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33614 [__NR_ftruncate64]: Make code unconditional.
33615 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33617 include <kernel-features.h>.
33618 [!__NR_ftruncate64]: Remove conditional code.
33619 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33620 [__NR_ftruncate64]: Make code unconditional.
33621 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33623 include <kernel-features.h>.
33624 [!__NR_ftruncate64]: Remove conditional code.
33625 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33626 [__NR_ftruncate64]: Make code unconditional.
33627 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33629 * configure.in (libc_cv_fpie): Weaken to a compile test using
33630 LIBC_TRY_CC_OPTION.
33631 * configure: Regenerated.
33633 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33648 2012-05-27 David S. Miller <davem@davemloft.net>
33650 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33652 (__Q_simulate_exceptions): Return void. Change to simulate
33653 exceptions by writing into the %fsr.
33654 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33655 (__Qp_handle_exceptions): Likewise.
33657 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33658 __Qp_handle_exceptions.
33659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33660 __Qp_handle_exceptions.
33661 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33662 as unused and give dummy FP_RND_NEAREST initializer.
33663 (FP_INHIBIT_RESULTS): Define.
33664 (___Q_simulate_exceptions): Update declaration.
33665 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33667 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33668 as unused and give dummy FP_RND_NEAREST initializer.
33669 (__Qp_handle_exceptions): Update declaration.
33670 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33673 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33675 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33676 the temporary FPU control word.
33677 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33678 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33679 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33680 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33681 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33682 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33683 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33684 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33685 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33686 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33687 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33689 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33691 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33694 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33696 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33697 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33698 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33699 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33701 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33702 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33705 2012-05-27 Ulrich Drepper <drepper@gmail.com>
33707 * po/h.po: Update from translation team.
33709 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33711 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33713 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33714 handling of denormals.
33715 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33716 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33717 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33718 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33719 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33720 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33721 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33724 2012-05-26 Marek Polacek <polacek@redhat.com>
33727 * math/libm-test.inc (fma_test): Don't always expect underflow
33730 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33733 * elf/tst-execstack.c: Include stackinfo.h.
33734 (do_test): Adjust test case to ensure that pthread_getattr_np
33735 behaviour remains the same after marking stack executable.
33737 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33739 * sysdeps/unix/sysv/linux/kernel-features.h
33740 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33741 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33743 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33744 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33745 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33747 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33748 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33750 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33752 * configure.in: Define the default includes to being none.
33753 * configure: Regenerated.
33755 2012-05-25 Roland McGrath <roland@hack.frob.com>
33757 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33758 * sysdeps/x86_64/setjmp.S: Likewise.
33759 * sysdeps/i386/bsd-setjmp.S: Likewise.
33760 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33761 * sysdeps/i386/setjmp.S: Likewise.
33762 * sysdeps/i386/__longjmp.S: Likewise.
33763 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33764 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33766 * include/stap-probe.h: New file.
33767 * configure.in: Handle --enable-systemtap.
33768 * configure: Regenerated.
33769 * config.h.in (USE_STAP_PROBE): New #undef.
33770 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33771 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33772 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33774 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33777 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33778 to 2.4.0 where earlier.
33779 * sysdeps/unix/sysv/linux/configure: Regenerated.
33780 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33781 <kernel-features.h>.
33782 [__ASSUME_32BITUIDS]: Make code unconditional.
33783 [!__ASSUME_32BITUIDS]: Remove conditional code.
33784 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33785 <kernel-features.h>.
33786 [__ASSUME_32BITUIDS]: Make code unconditional.
33787 [!__ASSUME_32BITUIDS]: Remove conditional code.
33788 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33789 [__ASSUME_32BITUIDS]: Make code unconditional.
33790 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33791 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
33796 <kernel-features.h>.
33797 [__ASSUME_32BITUIDS]: Make code unconditional.
33798 [!__ASSUME_32BITUIDS]: Remove conditional code.
33799 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33800 <kernel-features.h>.
33801 [__ASSUME_32BITUIDS]: Make code unconditional.
33802 [!__ASSUME_32BITUIDS]: Remove conditional code.
33803 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33804 <kernel-features.h>.
33805 [__ASSUME_32BITUIDS]: Make code unconditional.
33806 [!__ASSUME_32BITUIDS]: Remove conditional code.
33807 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33808 <kernel-features.h>.
33809 [__ASSUME_32BITUIDS]: Make code unconditional.
33810 [!__ASSUME_32BITUIDS]: Remove conditional code.
33811 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33812 <kernel-features.h>.
33813 [__ASSUME_32BITUIDS]: Make code unconditional.
33814 [!__ASSUME_32BITUIDS]: Remove conditional code.
33815 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33816 <kernel-features.h>.
33817 [__ASSUME_32BITUIDS]: Make code unconditional.
33818 [!__ASSUME_32BITUIDS]: Remove conditional code.
33819 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33820 <kernel-features.h>.
33821 [__ASSUME_32BITUIDS]: Make code unconditional.
33822 [!__ASSUME_32BITUIDS]: Remove conditional code.
33823 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33824 <kernel-features.h>.
33825 [__ASSUME_32BITUIDS]: Make code unconditional.
33826 [!__ASSUME_32BITUIDS]: Remove conditional code.
33827 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33828 <kernel-features.h>.
33829 [__ASSUME_32BITUIDS]: Make code unconditional.
33830 [!__ASSUME_32BITUIDS]: Remove conditional code.
33831 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33832 <kernel-features.h>.
33833 [__NR_setresgid] (__setresgid): Do not declare.
33834 [__ASSUME_32BITUIDS]: Make code unconditional.
33835 [!__ASSUME_32BITUIDS]: Remove conditional code.
33836 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33837 <kernel-features.h>.
33838 [__NR_setresuid] (__setresuid): Do not declare.
33839 [__ASSUME_32BITUIDS]: Make code unconditional.
33840 [!__ASSUME_32BITUIDS]: Remove conditional code.
33841 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33842 <kernel-features.h>.
33843 [__ASSUME_32BITUIDS]: Make code unconditional.
33844 [!__ASSUME_32BITUIDS]: Remove conditional code.
33845 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33846 <kernel-features.h>.
33847 [__ASSUME_32BITUIDS]: Make code unconditional.
33848 [!__ASSUME_32BITUIDS]: Remove conditional code.
33849 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33850 <kernel-features.h>.
33851 [__ASSUME_32BITUIDS]: Make code unconditional.
33852 [!__ASSUME_32BITUIDS]: Remove conditional code.
33853 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33854 <kernel-features.h>.
33855 [__ASSUME_32BITUIDS]: Make code unconditional.
33856 [!__ASSUME_32BITUIDS]: Remove conditional code.
33857 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33858 <kernel-features.h>.
33859 [__ASSUME_32BITUIDS]: Make code unconditional.
33860 [!__ASSUME_32BITUIDS]: Remove conditional code.
33861 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33862 <kernel-features.h>.
33863 [__ASSUME_32BITUIDS]: Make code unconditional.
33864 [!__ASSUME_32BITUIDS]: Remove conditional code.
33865 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33866 <kernel-features.h>.
33867 [__ASSUME_32BITUIDS]: Make code unconditional.
33868 [!__ASSUME_32BITUIDS]: Remove conditional code.
33869 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33870 <kernel-features.h>.
33871 [__ASSUME_32BITUIDS]: Make code unconditional.
33872 [!__ASSUME_32BITUIDS]: Remove conditional code.
33873 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33874 <kernel-features.h>.
33875 [__ASSUME_32BITUIDS]: Make code unconditional.
33876 [!__ASSUME_32BITUIDS]: Remove conditional code.
33877 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33878 <kernel-features.h>.
33879 [__ASSUME_32BITUIDS]: Make code unconditional.
33880 [!__ASSUME_32BITUIDS]: Remove conditional code.
33881 * sysdeps/unix/sysv/linux/kernel-features.h
33882 (__ASSUME_SETRESUID_SYSCALL): Remove.
33883 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33884 (__ASSUME_32BITUIDS): Likewise.
33885 (__ASSUME_LDT_WORKS): Likewise.
33886 (__ASSUME_O_DIRECTORY): Likewise.
33887 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33888 architecture but not kernel version.
33889 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33890 (__ASSUME_MMAP2_SYSCALL): Likewise.
33891 (__ASSUME_STAT64_SYSCALL): Likewise.
33892 (__ASSUME_IPC64): Likewise.
33893 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33894 <kernel-features.h>.
33895 [__ASSUME_32BITUIDS]: Make code unconditional.
33896 [!__ASSUME_32BITUIDS]: Remove conditional code.
33897 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33898 <kernel-features.h>.
33899 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33900 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33901 132096]: Remove conditional code.
33902 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33903 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33904 <kernel-features.h>.
33905 [__ASSUME_32BITUIDS]: Make code unconditional.
33906 [!__ASSUME_32BITUIDS]: Remove conditional code.
33907 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33908 <kernel-features.h>.
33909 [__ASSUME_32BITUIDS]: Make code unconditional.
33910 [!__ASSUME_32BITUIDS]: Remove conditional code.
33911 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33912 <kernel-features.h>.
33913 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33915 (__setresgid): Do not declare.
33916 [__ASSUME_32BITUIDS]: Make code unconditional.
33917 [!__ASSUME_32BITUIDS]: Remove conditional code.
33918 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33919 <kernel-features.h>.
33920 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33922 (__setresuid): Do not declare.
33923 [__ASSUME_32BITUIDS]: Make code unconditional.
33924 [!__ASSUME_32BITUIDS]: Remove conditional code.
33925 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33926 <kernel-features.h>.
33927 [__ASSUME_32BITUIDS]: Make code unconditional.
33928 [!__ASSUME_32BITUIDS]: Remove conditional code.
33929 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33930 <kernel-features.h>.
33931 [__ASSUME_32BITUIDS]: Make code unconditional.
33932 [!__ASSUME_32BITUIDS]: Remove conditional code.
33934 2012-05-25 Richard Henderson <rth@twiddle.net>
33936 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33937 dl_hwcap to ifunc resolver.
33938 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33940 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33941 dl_hwcap to ifunc resolver.
33942 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33944 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33947 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33948 for |x| <= 2**-26, not 2**-57.
33949 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33952 2012-05-24 Jeff Law <law@redhat.com>
33954 * stdio-common/Makefile (tests): Add bug25.
33955 * stdio-common/bug25.c: New test.
33957 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33960 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33961 multiple of MALLOC_ALIGNMENT in size.
33962 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33964 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33966 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33968 (FILENAME_MAX): Use macro-int-constant.
33969 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33970 (_IOFBF): Use macro-int-constant.
33971 (_IOLBF): Likewise.
33972 (_IONBF): Likewise.
33973 (SEEK_CUR): Likewise.
33974 (SEEK_END): Likewise.
33975 (SEEK_SET): Likewise.
33976 (TMP_MAX): Likewise.
33977 (EOF): Use macro-int-constant. Require < 0.
33978 (NULL): Use macro-constant. Require == 0.
33979 (stdin): Require type to be FILE *.
33980 (stdout): Likewise.
33981 (stderr): Likewise.
33982 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33983 macro-int-constant.
33984 (EXIT_SUCCESS): Likewise.
33985 (NULL): Use macro-constant. Require == 0.
33986 (RAND_MAX): Use macro-int-constant.
33987 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33988 [C99-based standards] (strtof): Require function.
33989 [C99-based standards] (strtold): Likewise.
33990 [C99-based standards] (strtoll): Likewise.
33991 [C99-based standards] (strtoull): Likewise.
33992 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33993 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33994 [ISO || ISO99 || ISO11] (math.h): Likewise.
33995 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33996 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33997 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33999 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34002 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34003 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34004 * intl/dgettext.c (DCGETTEXT): Likewise.
34005 * intl/gettext.c (DCGETTEXT): Likewise.
34006 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34007 * posix/regex_internal.h (gettext): Likewise.
34008 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34009 Remove declaration.
34010 * include/argz.h (__argz_count_internal)
34011 (__argz_stringify_internal): Remove declaration.
34012 (__argz_count, __argz_stringify): Declare hidden proto.
34013 * intl/dcgettext.c: Remove use of INTDEF.
34014 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34015 * string/argz-stringify.c: Likewise.
34016 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34017 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34018 Declare hidden proto.
34019 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34020 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34021 Declare hidden proto.
34022 * include/stdio.h (__asprintf_internal): Don't declare.
34023 (__asprintf): Don't define as macro. Declare hidden proto.
34024 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34025 (__fsetlocking): Declare hidden proto.
34026 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34027 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34029 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34030 (_IO_setlinebuf): Remove use of INTUSE.
34031 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34032 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34033 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34034 Remove declaration.
34035 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34036 (_IO_do_flush): Remove use of INTUSE.
34037 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34038 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34039 (_IO_adjust_column, _IO_least_wmarker)
34040 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34041 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34042 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34043 (_IO_default_doallocate, _IO_wdefault_doallocate)
34044 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34045 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34046 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34047 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34048 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34049 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34050 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34051 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34052 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34053 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34054 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34055 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34056 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34058 (_IO_flush_all_internal, _IO_adjust_column_internal)
34059 (_IO_default_uflow_internal, _IO_default_finish_internal)
34060 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34061 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34062 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34063 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34064 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34065 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34066 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34067 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34068 (_IO_file_close_internal, _IO_file_close_it_internal)
34069 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34070 (_IO_file_init_internal, _IO_file_attach_internal)
34071 (_IO_file_fopen_internal, _IO_file_read_internal)
34072 (_IO_file_sync_internal, _IO_file_seek_internal)
34073 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34074 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34075 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34076 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34077 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34078 (_IO_list_all_internal, _IO_link_in_internal)
34079 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34080 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34081 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34082 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34083 (_IO_do_write_internal, _IO_padn_internal)
34084 (_IO_getline_info_internal, _IO_getline_internal)
34085 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34086 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34087 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34088 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34089 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34090 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34091 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34092 with libc_hidden_ver, remove use of INTUSE.
34093 * libio/genops.c: Likewise.
34094 * libio/freopen.c: Likewise.
34095 * libio/freopen64.c: Likewise.
34096 * libio/iofclose.c: Likewise.
34097 * libio/iofdopen.c: Likewise.
34098 * libio/iofflush.c: Likewise.
34099 * libio/iofflush_u.c: Likewise.
34100 * libio/iofgets.c: Likewise.
34101 * libio/iofgets_u.c: Likewise.
34102 * libio/iofopen.c: Likewise.
34103 * libio/iofopncook.c: Likewise.
34104 * libio/iofread.c: Likewise.
34105 * libio/iofread_u.c: Likewise.
34106 * libio/ioftell.c: Likewise.
34107 * libio/iofwrite.c: Likewise.
34108 * libio/iogetline.c: Likewise.
34109 * libio/iogets.c: Likewise.
34110 * libio/iogetwline.c: Likewise.
34111 * libio/iopadn.c: Likewise.
34112 * libio/iopopen.c: Likewise.
34113 * libio/ioseekoff.c: Likewise.
34114 * libio/ioseekpos.c: Likewise.
34115 * libio/iosetbuffer.c: Likewise.
34116 * libio/iosetvbuf.c: Likewise.
34117 * libio/ioungetc.c: Likewise.
34118 * libio/ioungetwc.c: Likewise.
34119 * libio/iovdprintf.c: Likewise.
34120 * libio/iovsprintf.c: Likewise.
34121 * libio/iovsscanf.c: Likewise.
34122 * libio/memstream.c: Likewise.
34123 * libio/obprintf.c: Likewise.
34124 * libio/oldfileops.c: Likewise.
34125 * libio/oldiofclose.c: Likewise.
34126 * libio/oldiofdopen.c: Likewise.
34127 * libio/oldiofopen.c: Likewise.
34128 * libio/oldiopopen.c: Likewise.
34129 * libio/oldstdfiles.c: Likewise.
34130 * libio/putc.c: Likewise.
34131 * libio/setbuf.c: Likewise.
34132 * libio/setlinebuf.c: Likewise.
34133 * libio/stdfiles.c: Likewise.
34134 * libio/strops.c: Likewise.
34135 * libio/vasprintf.c: Likewise.
34136 * libio/vscanf.c: Likewise.
34137 * libio/vsnprintf.c: Likewise.
34138 * libio/vswprintf.c: Likewise.
34139 * libio/wfiledoalloc.c: Likewise.
34140 * libio/wfileops.c: Likewise.
34141 * libio/wgenops.c: Likewise.
34142 * libio/wmemstream.c: Likewise.
34143 * libio/wstrops.c: Likewise.
34144 * libio/__fpurge.c: Likewise.
34145 * libio/__fsetlocking.c: Likewise.
34146 * assert/assert.c: Likewise.
34147 * debug/fgets_chk.c: Likewise.
34148 * debug/fgets_u_chk.c: Likewise.
34149 * debug/fread_chk.c: Likewise.
34150 * debug/fread_u_chk.c: Likewise.
34151 * debug/gets_chk.c: Likewise.
34152 * debug/obprintf_chk.c: Likewise.
34153 * debug/vasprintf_chk.c: Likewise.
34154 * debug/vdprintf_chk.c: Likewise.
34155 * debug/vsnprintf_chk.c: Likewise.
34156 * debug/vsprintf_chk.c: Likewise.
34157 * malloc/mtrace.c: Likewise.
34158 * misc/error.c: Likewise.
34159 * misc/syslog.c: Likewise.
34160 * stdio-common/asprintf.c: Likewise.
34161 * stdio-common/fxprintf.c: Likewise.
34162 * stdio-common/getw.c: Likewise.
34163 * stdio-common/isoc99_fscanf.c: Likewise.
34164 * stdio-common/isoc99_scanf.c: Likewise.
34165 * stdio-common/isoc99_vfscanf.c: Likewise.
34166 * stdio-common/isoc99_vscanf.c: Likewise.
34167 * stdio-common/isoc99_vsscanf.c: Likewise.
34168 * stdio-common/printf-prs.c: Likewise.
34169 * stdio-common/printf_fp.c: Likewise.
34170 * stdio-common/printf_fphex.c: Likewise.
34171 * stdio-common/printf_size.c: Likewise.
34172 * stdio-common/putw.c: Likewise.
34173 * stdio-common/scanf.c: Likewise.
34174 * stdio-common/sprintf.c: Likewise.
34175 * stdio-common/tmpfile.c: Likewise.
34176 * stdio-common/vfprintf.c: Likewise.
34177 * stdio-common/vfscanf.c: Likewise.
34178 * stdlib/strfmon_l.c: Likewise.
34179 * sunrpc/openchild.c: Likewise.
34180 * sunrpc/xdr_stdio.c: Likewise.
34181 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34182 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34184 2012-05-24 Roland McGrath <roland@hack.frob.com>
34186 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34188 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34189 in the third column, to generate for the shared library an IFUNC
34190 that uses _dl_vdso_vsym.
34191 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34192 * Makeconfig (object-suffixes-noshared): New variable.
34194 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34195 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34196 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34197 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34200 * include/sys/time.h (__gettimeofday): Remove macro.
34201 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34202 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34204 (__gettimeofday): Add libc_hidden_def.
34205 (gettimeofday): Add libc_hidden_weak.
34206 * sysdeps/mach/gettimeofday.c: Likewise.
34207 * sysdeps/posix/gettimeofday.c: Likewise.
34208 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34209 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34210 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34211 (__gettimeofday_internal): Remove strong_alias.
34212 (__gettimeofday): Add libc_hidden_def.
34213 (gettimeofday): Add libc_hidden_weak.
34214 * sysdeps/unix/syscalls.list (gettimeofday):
34215 Remove __gettimeofday_internal alias.
34217 2012-05-24 Daniel Jacobowitz <drow@false.org>
34218 H.J. Lu <hongjiu.lu@intel.com>
34221 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34222 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34223 (largebin_index_32_big): New.
34224 (largebin_index): Use it for 16-byte alignment.
34225 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34226 correction with front_misalign.
34228 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34256 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34257 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34259 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34263 * math/libm-test.inc (exp_test): Add test from bug 14036.
34264 (pow_test): Add test from bug 10846.
34266 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34268 (special_function): Do not include flags in test name.
34269 (parse_args): Likewise.
34270 * sysdeps/i386/fpu/libm-test-ulps: Update.
34271 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34272 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34273 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34276 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34278 * math/libm-test.inc ("Philosophy"): Update comment about
34280 (UNDERFLOW_EXCEPTION): New macro.
34281 (UNDERFLOW_EXCEPTION_OK): Likewise.
34282 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34283 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34284 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34285 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34286 (INVALID_EXCEPTION_OK): Update value.
34287 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34288 (OVERFLOW_EXCEPTION_OK): Likewise.
34289 (IGNORE_ZERO_INF_SIGN): Likewise.
34290 (test_exceptions): Handle underflow exceptions.
34291 (acos_test): Update for underflow exception expectations.
34292 (cexp_test): Likewise.
34293 (clog_test): Likewise.
34294 (clog10_test): Likewise.
34295 (csqrt_test): Likewise.
34296 (ctan_test): Likewise.
34297 (ctanh_test): Likewise.
34298 (exp_test): Likewise.
34299 (exp10_test): Likewise.
34300 (exp2_test): Likewise.
34301 (expm1_test): Likewise.
34302 (fma_test): Likewise.
34303 (j0_test): Likewise.
34304 (jn_test): Likewise.
34305 (nexttoward_test): Likewise.
34306 (pow_test): Likewise.
34307 (scalbn_test): Likewise.
34308 (scalbln_test): Likewise.
34309 (tan_test): Likewise.
34310 (y1_test): Likewise.
34311 * sysdeps/i386/fpu/libm-test-ulps: Update.
34312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34314 2012-05-23 David S. Miller <davem@davemloft.net>
34316 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34317 (__libc_sigaction): Remove unused local variables.
34319 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34321 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34323 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34325 mktime: avoid signed integer overflow
34326 * time/mktime.c (__mktime_internal): Do not mishandle the case
34327 where diff == INT_MIN.
34329 mktime: simplify computation of average
34330 * time/mktime.c (ranged_convert): Use new time_t_avg function
34331 instead of rolling our own (probably-slower) code.
34333 mktime: do not assume signed right shift propagates sign bit
34334 * time/mktime.c (isdst_differ): New static function.
34335 (__mktime_internal): No need to normalize tm_isdst now.
34336 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34339 mktime: merge another wrapv change from gnulib
34340 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34341 from some compilers.
34343 mktime: remove incorrect attempt at unusual arithmetics
34344 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34345 The code didn't really work on such machines anyway.
34346 (TYPE_MINIMUM): Assume two's complement.
34347 (twos_complement_arithmetic): Verify that long_int and time_t
34348 are two's complement (or unsigned, in the latter case).
34350 mktime: check signed shifts on long_int and time_t, too
34351 * time/mktime.c (SHR): Check that shifts work as desired
34352 on the types long_int and time_t too, as SHR is used on
34355 mktime: do not assume 'long' is wide enough
34356 * time/mktime.c (verify): Move decl up.
34357 (long_int): New type.
34358 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34359 to remove assumption in the code that 'long' is wide enough to
34360 store year values. This assumption is not true on x32 and on
34361 some non-glibc platforms.
34363 mktime: merge wrapv change from gnulib
34364 * time/mktime.c (WRAPV): New macro.
34365 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34366 (guess_time_tm, __mktime_internal): Do not assume that signed
34367 integer overflow wraps around; modern compilers generate code
34368 where this assumption is no longer valid.
34370 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34372 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34373 Replace "jmp L(pseudo_end)" with "ret".
34374 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34377 2012-05-23 Andreas Jaeger <aj@suse.de>
34379 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34380 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34382 2012-05-23 Andreas Jaeger <aj@suse.de>
34383 Maximilian Attems <max@stro.at>
34385 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34388 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34390 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34391 code so that pseudo_end is just ret and the stack pointer is
34392 correct also for static library in error case.
34394 2012-05-23 Joseph Myers <joseph@codesourcery.com>
34396 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34397 move to syscalls.list.
34398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34403 * manual/install.texi (Running make install): Do not mention Linux
34404 kernel version for which pt_chown is not needed.
34405 (Linux): Do not mention problems with nscd with 2.0 kernels.
34406 * INSTALL: Regenerated.
34408 2012-05-23 Andreas Jaeger <aj@suse.de>
34410 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34411 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34413 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34414 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34415 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34416 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34417 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34418 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34419 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34420 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34421 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34422 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34423 * sysdeps/unix/sysv/linux/bits/in.h
34424 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34426 2012-05-22 Roland McGrath <roland@hack.frob.com>
34428 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34429 (PREPARE_VERSION): Just use assert instead, it will be elided
34430 under [NDEBUG] anyway.
34432 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34434 * sysdeps/unix/sysv/linux/Makefile: Include
34435 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34436 (sysdep_routines): Remove sysctl.
34437 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34438 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34439 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34440 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34441 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34443 2012-05-22 Andreas Jaeger <aj@suse.de>
34445 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34446 that pseudo_end is just ret and the stack pointer is correct also
34447 for static library in error case.
34449 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34452 * nss/nsswitch.c (defconfig_entries): New variable.
34453 (__nss_database_lookup): Don't leak defconfig entries.
34454 (nss_parse_service_list): Don't leak on error paths.
34455 (free_database_entries): New function.
34456 (free_defconfig): New function.
34457 (free_mem): Move common code to free_database_entries.
34459 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34461 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34463 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34465 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34466 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34467 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34469 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34470 (INTERNAL_SYSCALL_TYPES): Likewise.
34471 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34472 (LOAD_REGS_TYPES_[1-6]): Likewise.
34473 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34474 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34476 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34478 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34479 copysignl for GLIBC_2_0.
34480 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34481 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34482 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34483 logbl for GLIBC_2_0.
34484 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34485 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34487 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34489 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34490 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34492 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34495 * time/mktime.c: Update copyright years.
34497 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34499 mktime: merge comment-quoting-style change from gnulib
34500 * time/mktime.c: Quote 'like this' in comments.
34501 The GNU coding standards suggest that we no longer quote `like this',
34502 as "`" and "'" are typically rendered asymmetrically nowadays.
34503 The typical gnulib style is to quote 'like this' when quoting
34504 code, and "like this" when quoting English.
34506 * time/mktime.c (compile-command): Add "-I.".
34508 mktime: merge mktime-internal.h change from gnulib
34509 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34511 mktime: merge time_r change from gnulib
34512 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34514 mktime: merge DEBUG change from gnulib
34515 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34516 case system <time.h> has a #define.
34518 mktime: merge <sys/types.h> change from gnulib
34519 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34520 since <time.t> is now guaranteed to define time_t.
34522 mktime: merge HAVE_CONFIG_H change from gnulib
34523 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34525 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34527 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34530 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34532 (struct rusage): Use anonymous union to pad each field to
34535 2012-05-21 David S. Miller <davem@davemloft.net>
34537 * Makefules (o-iterator): Remove .s cases.
34538 (compile-command.s): Delete.
34539 (COMPILE.s): Delete.
34540 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34542 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34544 * configure.in (libc_cv_predef_stack_protector): Only consider
34545 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34546 * configure: Regenerated.
34548 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34550 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34551 New macro. Use R*LP on int and pointer.
34552 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34553 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34554 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34555 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34557 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34558 [__WORDSIZE_TIME64_COMPAT32] instead of
34559 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34560 (struct utmp): Likewise.
34561 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34562 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34564 (__WORDSIZE_TIME64_COMPAT32): This.
34565 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34566 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34567 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34568 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34569 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34570 (__WORDSIZE_TIME64_COMPAT32): New macro.
34572 2012-05-21 Andreas Jaeger <aj@suse.de>
34574 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34575 only if [SHARED]. Add prototype for __wcschr_ia32.
34577 2012-05-21 Roland McGrath <roland@hack.frob.com>
34579 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34580 of %rbp unmolested in the jmp_buf while mangling the low bits.
34581 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34582 unmolested high bits of %rbp while demangling the low bits.
34583 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34585 2012-05-21 Andreas Jaeger <aj@suse.de>
34587 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34588 * sunrpc/svc_simple.c: Use it for registerrpc.
34589 * sunrpc/xcrypt.c: Use it for passwd2des.
34591 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34593 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34595 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34596 Don't define if [__SYSCALL_WORDSIZE != 32].
34597 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34600 2012-05-21 Bruno Haible <bruno@clisp.org>
34601 Andreas Jaeger <aj@suse.de>
34603 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34604 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34605 inptr and inend for must_buffer_ch.
34606 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34607 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34608 * stdio-common/Makefile (tests): Remove bug15.
34609 (bug15-ENV): Remove macro.
34610 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34613 2012-05-19 Andreas Jaeger <aj@suse.de>
34614 Roland McGrath <roland@hack.frob.com>
34616 * manual/contrib.texi: Completely rewritten. It contains now an
34617 alphabetical list of contributors and their contributions.
34619 2012-05-21 Richard Henderson <rth@twiddle.net>
34621 * misc/getauxval.c (__getauxval): Use unsigned long int.
34622 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34623 (getauxval): Use unsigned long int.
34625 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34627 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34629 2012-05-21 Roland McGrath <roland@hack.frob.com>
34631 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34632 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34633 __alignof__ (long double).
34635 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34639 2012-05-20 Richard Henderson <rth@twiddle.net>
34641 * misc/getauxval.c: New file.
34642 * misc/sys/auxv.h: New file.
34643 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34644 (routines): Add getauxval.
34645 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34646 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34647 * elf/dl-sysdep.c (_dl_auxv): Remove.
34648 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34649 * elf/dl-support.c (_dl_auxv): New variable.
34650 (_dl_aux_init): Initialize it.
34651 * manual/startup.texi (Auxiliary Vector): New node.
34652 * sysdeps/generic/bits/hwcap.h: New file.
34653 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34654 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34655 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34656 * sysdeps/sparc/sysdep.h: ... here. Include it.
34657 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34658 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34664 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34670 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34674 2012-05-19 David S. Miller <davem@davemloft.net>
34676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34678 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34681 * math/s_ccosh.c: Include <float.h>
34682 (__ccosh): Avoid internal overflow calculating sinh and cosh
34683 values before multiplying by sin and cos values.
34684 * math/s_ccoshf.c: Likewise.
34685 * math/s_ccoshl.c: Likewise.
34686 * math/s_csin.c: Likewise.
34687 * math/s_csinf.c: Likewise.
34688 * math/s_csinl.c: Likewise.
34689 * math/s_csinh.c: Likewise.
34690 * math/s_csinhf.c: Likewise.
34691 * math/s_csinhl.c: Likewise.
34692 * math/libm-test.inc (ccos_test): Add more tests.
34693 (ccosh_test): Likewise.
34694 (csin_test): Likewise.
34695 (csinh_test): Likewise.
34696 * sysdeps/i386/fpu/libm-test-ulps: Update.
34697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34699 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34701 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34702 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34704 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34706 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34708 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34709 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34710 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34711 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34712 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34713 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34714 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34715 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34716 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34717 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34718 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34719 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34720 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34721 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34722 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34723 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34724 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34725 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34726 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34727 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34728 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34729 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34730 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34731 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34732 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34733 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34734 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34735 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34736 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34737 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34738 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34740 2012-05-18 Andreas Jaeger <aj@suse.de>
34742 * csu/.gitignore: Delete.
34744 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34746 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34747 (timex): Use __syscall_slong_t.
34749 2012-05-18 Andreas Jaeger <aj@suse.de>
34750 Carlos O'Donell <carlos_odonell@mentor.com>
34752 * manual/install.texi (Configuring and compiling): Update
34753 description about files modified in the source directory.
34754 * INSTALL: Regenerated.
34756 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34758 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34759 value. Use "or" to set return value to -1.
34760 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34761 negate return value.
34763 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34765 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34766 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34767 failure if the compiler has Graphite support disabled.
34768 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34770 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34771 (CFLAGS-memmove.c): Likewise.
34772 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34775 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34777 * sysdeps/x86_64/x32/_itoa.h: New file.
34779 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34780 getdents system call only if kernel and user dirents have the
34781 same d_ino and d_off.
34783 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34784 LLONG_MAX != LONG_MAX.
34785 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34786 (_fitoa_word): Likewise.
34788 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34790 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34791 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34792 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34794 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34795 include <bits/wordsize.h>. Check __x86_64__ instead of
34797 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34798 if __x86_64__ is defined. Use anonymous union on fpstate.
34800 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34803 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34805 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34806 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34807 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34808 Refer to _rtld_local_ro instead of _rtld_global_ro.
34809 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34811 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34813 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34815 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34816 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34817 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34819 * sysdeps/powerpc/powerpc32/dl-machine.c
34820 (__elf_machine_runtime_setup) [PROF]: Don't reference
34823 2012-05-18 Andreas Jaeger <aj@suse.de>
34825 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34826 function only available for GCCs before 3.4 since GCC 3.4
34827 introduced a builtin.
34829 (llrintf): Likewise.
34830 (llrint): Likewise.
34837 (nearbyint): Likewise.
34838 (nearbyintf): Likewise.
34842 (floorf): Likewise.
34844 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34846 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34847 on both fields and cast pointer to __syscall_ulong_t.
34849 * bits/types.h (__fsword_t): New type.
34850 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34851 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34852 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34853 (__FSWORD_T_TYPE): Likewise.
34854 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34855 (__FSWORD_T_TYPE): Likewise.
34856 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34857 (__FSWORD_T_TYPE): Likewise.
34858 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34859 (__FSWORD_T_TYPE): Likewise.
34860 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34861 __SWORD_TYPE with __fsword_t.
34862 (statfs64): Likewise.
34864 2012-05-17 David S. Miller <davem@davemloft.net>
34866 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34868 2012-05-17 Andreas Jaeger <aj@suse.de>
34870 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34873 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34875 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34877 2012-05-17 Andreas Jaeger <aj@suse.de>
34879 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34882 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34884 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34886 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34888 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34889 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34891 2012-05-17 Andreas Jaeger <aj@suse.de>
34892 Carlos O'Donell <carlos_odonell@mentor.com>
34895 * sysdeps/x86_64/multiarch/init-arch.h
34896 (bit_YMM_Usable): Rename to...
34897 (bit_AVX_Usable): ... this.
34898 (bit_FMA4_Usable): New macro.
34899 (bit_XMM_state): New macro.
34900 (bit_YMM_state): New macro.
34901 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34902 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34903 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34904 (CPUID_OSXSAVE): New macro.
34905 (CPUID_AVX): New macro.
34906 (CPUID_FMA4): New macro.
34907 (index_YMM_Usable): Rename to...
34908 (index_AVX_Usable): ... this.
34909 (HAS_AVX): Use HAS_ARCH_FEATURE.
34910 (HAS_FMA4): Likewise.
34911 (HAS_YMM_USABLE): Remove.
34912 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34913 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34915 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34916 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34917 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34918 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34919 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34921 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34923 * math/libm-test.c: Support platforms without multiple rounding modes.
34924 * math/bug-nextafter.c: Support platforms without FP exceptions.
34925 * math/bug-nexttoward.c: Likewise.
34926 * math/test-fenv.c: Likewise.
34927 * math/test-misc.c: Likewise.
34928 * stdlib/bug-getcontext.c: Likewise.
34930 2012-05-17 Andreas Jaeger <aj@suse.de>
34932 * manual/examples/search.c (critter_cmp): Change signature to
34934 * manual/string.texi (Collation Functions): Likewise.
34936 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34938 * bits/types.h: Fold copyright years.
34939 * bits/typesizes.h: Likewise.
34940 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34941 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34942 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34943 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34944 * time/time.h: Likewise.
34946 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34949 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34950 in instead of returning them. Return void.
34951 (__libc_mallinfo): Accumulate over all arenas.
34952 (__malloc_stats): Adjust for change in int_mallinfo interface.
34954 2012-05-16 Roland McGrath <roland@hack.frob.com>
34957 * configure.in (NM): Add AC_CHECK_TOOL for it.
34958 (libc_extra_cflags): New substituted variable.
34959 Check for -fstack-protector being used implicitly.
34960 * configure: Regenerated.
34961 * config.make.in (config-extra-cflags): New variable,
34962 gets @libc_extra_cflags@.
34963 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34966 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34967 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34968 * configure: Regenerated.
34969 * config.make.in (CPPUNDEFS): New substituted variable.
34970 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34971 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34972 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34974 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34976 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34977 (mq_attr): Use __syscall_slong_t.
34979 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34981 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34982 Check __x86_64__ instead of __WORDSIZE.
34983 (_STAT_VER_LINUX): Likewise.
34984 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34985 __syscall_ulong_t and __syscall_slong_t.
34986 (stat64): Likewise.
34988 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34990 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34992 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34994 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34996 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34998 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35001 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35002 include <bits/wordsize.h>. Check __x86_64__ instead of
35004 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35006 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35008 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35009 include <bits/wordsize.h>. Check __x86_64__ instead of
35011 (user_regs_struct): Use "__extension__ unsigned long long"
35012 instead of "unsigned long" if __x86_64__ is defined.
35013 (user): Likewise. Pad after pointer field if __ILP32__ is
35016 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35018 * configure.in (makeinfo): Require version 4.5 or later. Allow
35020 * configure: Regenerated.
35021 * manual/install.texi (texinfo): Increase version requirement to
35023 * INSTALL: Regenerated.
35025 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35027 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35029 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35031 * sysdeps/x86_64/x32/ffs.c: New file.
35033 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35035 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35036 defined. Use __syscall_ulong_t.
35037 (shminfo): Use __syscall_ulong_t.
35038 (shm_info): Likewise.
35040 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35043 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35045 (msgqnum_t): Use __syscall_ulong_t.
35046 (msglen_t): Likewise.
35047 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35050 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35051 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35053 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35055 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35056 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35058 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35061 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35062 include <bits/wordsize.h>. Check __x86_64__ instead of
35065 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35066 "unsigned long long int" if __x86_64__ is defined.
35067 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35069 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35070 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35071 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35073 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35075 (GET_PC): Cast to uintptr_t first.
35076 (GET_FRAME): Likewise.
35077 (GET_STACK): Likewise.
35079 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35080 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35081 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35082 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35083 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35084 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35085 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35086 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35087 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35088 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35089 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35090 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35091 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35092 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35093 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35094 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35095 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35096 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35097 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35098 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35099 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35100 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35101 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35102 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35103 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35104 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35105 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35106 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35107 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35109 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35111 * Makerules (+depfiles): Also collect depfiles from .oS in
35113 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35114 .oS, $(libnldbl-routines)).
35116 * Makerules (native-compile-mkdep-flags): Define.
35117 * sunrpc/Makefile (extra-objs): Add $(addprefix
35118 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35119 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35120 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35121 calling $(make-target-directory).
35123 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35125 * bits/types.h (__snseconds_t): Removed.
35126 * time/time.h (struct timespec): Replace __snseconds_t with
35128 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35129 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35131 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35132 (__SNSECONDS_T_TYPE): Likewise.
35133 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35134 (__SNSECONDS_T_TYPE): Likewise.
35135 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35136 (__SNSECONDS_T_TYPE): Likewise.
35138 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35140 * sysdeps/mach/hurd/bits/typesizes.h
35141 (__SYSCALL_SLONG_TYPE): New macro.
35142 (__SYSCALL_ULONG_TYPE): Likewise.
35144 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35146 * bits/types.h (__syscall_slong_t): New type.
35147 (__syscall_ulong_t): Likewise.
35149 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35150 (__SYSCALL_ULONG_TYPE): Likewise.
35151 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35152 (__SYSCALL_SLONG_TYPE): Likewise.
35153 (__SYSCALL_ULONG_TYPE): Likewise.
35154 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35155 (__SYSCALL_SLONG_TYPE): Likewise.
35156 (__SYSCALL_ULONG_TYPE): Likewise.
35157 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35158 (__SYSCALL_SLONG_TYPE): Likewise.
35159 (__SYSCALL_ULONG_TYPE): Likewise.
35161 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35163 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35164 Add sigaltstack-offsets.sym.
35165 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35166 <sigaltstack-offsets.h>.
35167 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35168 longjmp_msg pointer.
35169 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35170 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35172 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35174 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35176 * elf/stackguard-macros.h: Remove file.
35177 * sysdeps/generic/stackguard-macros.h: New file.
35178 * sysdeps/i386/stackguard-macros.h: Likewise.
35179 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35180 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35181 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35182 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35183 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35184 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35185 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35186 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35187 <elf/stackguard-macros.h>.
35190 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35191 __aligned__ in attribute.
35192 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35193 (gregset_t): Likewise.
35195 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35197 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35198 * sysdeps/x86_64/64/Implies-after: Here. New file.
35199 * sysdeps/x86_64/x32/Implies-after: New file.
35201 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35203 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35204 and access return value for _dl_profile_fixup. Use R10_LP to
35207 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35209 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35211 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35213 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35214 * sysdeps/x86_64/x32/sysdep.h: New file.
35216 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35218 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35219 * sysdeps/x86_64/setjmp.S: Likewise.
35221 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35223 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35224 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35225 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35226 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35227 remove unused global constant.
35229 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35231 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35232 include of <not-cancel.h>.
35234 2012-05-15 Roland McGrath <roland@hack.frob.com>
35236 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35238 2012-05-15 Jeff Law <law@redhat.com>
35239 Andreas Jaeger <aj@suse.de>
35242 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35244 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35245 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35246 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35247 code changing __hst_map_handle.map.
35249 2012-05-15 Roland McGrath <roland@hack.frob.com>
35251 * configure.in (sysnames): Look for Implies-before and Implies-after
35253 * configure: Regenerated.
35255 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35257 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35258 8-byte data alignment with LP_SIZE alignment.
35260 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35262 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35265 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35267 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35269 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35271 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35272 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35273 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35275 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35277 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35279 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35280 (stackinfo_sub_sp): Likewise.
35282 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35284 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35287 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35289 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35292 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35294 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35297 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35299 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35301 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35303 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35304 into R11_LP and load __x86_64_shared_cache_size_half into
35307 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35309 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35312 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35314 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35316 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35318 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35320 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35321 powerpc32/power7/fpu/s_logb.c via #include.
35322 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35323 powerpc32/power7/fpu/s_logbf.c via #include.
35324 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35325 powerpc32/power7/fpu/s_logbl.c via #include.
35327 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35329 * README.libm: Remove file.
35331 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35333 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35334 count for x32. Use R*_LP and omit operand-size suffix.
35336 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35338 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35339 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35340 * sysdeps/x86_64/x32/shlib-versions: New file.
35342 2012-05-14 Roland McGrath <roland@hack.frob.com>
35344 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35345 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35346 Use _dl_fatal_printf instead.
35348 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35350 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35351 set if not set by the user. Do not allow for being unset.
35352 * sysdeps/unix/sysv/linux/configure: Regenerated.
35354 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35356 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35357 the `q' suffix from lea and replace .quad with ASM_ADDR.
35359 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35361 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35362 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35364 (PTR_DEMANGLE): Likewise.
35366 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35368 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35370 (ASM_ADDR): Likewise.
35371 (RAX_LP): Likewise.
35372 (RBP_LP): Likewise.
35373 (RBX_LP): Likewise.
35374 (RCX_LP): Likewise.
35375 (RDI_LP): Likewise.
35376 (RSI_LP): Likewise.
35377 (RSP_LP): Likewise.
35380 (R10_LP): Likewise.
35381 (R10_LP): Likewise.
35382 (R11_LP): Likewise.
35383 (R12_LP): Likewise.
35384 (R13_LP): Likewise.
35385 (R14_LP): Likewise.
35386 (R15_LP): Likewise.
35388 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35390 * sysdeps/x86_64/x32/dl-machine.h: New file.
35392 2012-05-14 Andreas Jaeger <aj@suse.de>
35394 * manual/Makefile (subdir): Remove export of subdir.
35395 (all): Remove target.
35396 (.PHONY): Remove all from list.
35397 (mkinstalldirs): Remove.
35398 (.PHONY): Remove installdirs from list.
35399 ($(inst_infodir)/libc.info): Use make-target-directory.
35400 (installdirs): Remove.
35401 (subdir_%): Remove.
35402 (glibc-targets): Remove.
35405 ($(objpfx)stubs ../po/manual.pot): Remove.
35406 ($(objpfx)stamp%): Remove.
35407 (make-target-directory): Remove.
35408 (subdir_install): Remove.
35409 (routines): Remove.
35416 * manual/.gitignore: Remove, it's not needed anymore.
35417 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35419 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35421 (texis): Renamed to $(objpfx)texis.
35422 (texis-path): New, contains path to generated files.
35423 (chapters.%): Use texis-path for complete path, add extra argument
35425 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35426 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35427 (summary,texi, stamp-summary): Use complete path of
35428 files. Generate files in build dir.
35429 (dir-add.texi): Build in build dir.
35430 (libm-err.texi,stamp-libm-err): Likewise.
35431 (version.texi, stamp-version): Likewise.
35432 (.%c.texi): Likewise.
35433 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35434 (mostlyclean): Remove target.
35435 (realclean): Remove target.
35436 (generated): Add new variable with contents from mostlyclean and
35437 realclean, remove entries duplicated in common-mostlyclean, add
35438 stamp-libm-err and stamp-version.
35439 (generated-dirs): Add libc directory.
35440 ($(inst_infodir)/libc.info): Install files from build dir.
35442 * manual/install.texi (Configuring and compiling): Adjust since
35443 the info files are not part of the tar ball anymore.
35445 2012-05-14 Andreas Jaeger <aj@suse.de>
35447 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35450 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35453 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35454 to 2.2.0 where earlier.
35455 * sysdeps/unix/sysv/linux/configure: Regenerated.
35456 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35457 Remove conditional code.
35458 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35459 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35460 Remove conditional code.
35461 [!__NR_lchown]: Likewise.
35462 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35463 [__NR_lchown]: Likewise.
35464 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35465 comment referencing __ASSUME_LCHOWN_SYSCALL.
35466 * sysdeps/unix/sysv/linux/i386/sigaction.c
35467 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35468 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35469 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35470 Remove conditional code.
35471 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35472 (__protocol_available): Remove #if 0 code.
35473 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35475 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35476 * sysdeps/unix/sysv/linux/kernel-features.h
35477 (__ASSUME_GETCWD_SYSCALL): Don't define.
35478 (__ASSUME_REALTIME_SIGNALS): Likewise.
35479 (__ASSUME_PREAD_SYSCALL): Likewise.
35480 (__ASSUME_PWRITE_SYSCALL): Likewise.
35481 (__ASSUME_POLL_SYSCALL): Likewise.
35482 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35483 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35485 (__ASSUME_SIOCGIFNAME): Don't define.
35486 (__ASSUME_MSG_NOSIGNAL): Likewise.
35487 (__ASSUME_SENDFILE): Define unconditionally.
35488 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35489 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35491 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35492 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35493 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35494 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35495 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35496 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35497 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35499 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35500 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35502 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35503 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35505 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35506 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35508 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35509 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35511 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35512 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35514 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35515 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35517 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35518 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35520 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35521 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35522 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35523 Remove conditional code.
35524 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35525 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35526 Remove conditional code.
35527 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35528 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35529 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35530 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35531 Remove conditional code.
35532 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35533 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35534 Remove conditional code.
35535 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35536 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35537 Remove conditional code.
35538 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35539 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35540 Remove conditional code.
35541 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35542 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35543 Remove conditional code.
35544 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35545 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35546 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35547 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35548 * sysdeps/unix/sysv/linux/sigaction.c
35549 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35550 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35551 * sysdeps/unix/sysv/linux/sigpending.c
35552 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35553 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35554 * sysdeps/unix/sysv/linux/sigprocmask.c
35555 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35556 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35557 * sysdeps/unix/sysv/linux/sigsuspend.c
35558 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35559 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35560 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35561 (__libc_missing_rt_sigs): Remove.
35562 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35563 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35564 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35565 Remove conditional code.
35566 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35567 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35569 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35570 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35571 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35572 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35574 2012-05-14 Andreas Jaeger <aj@suse.de>
35576 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35577 it's not used in glibc.
35578 (__coshm1): Likewise.
35579 (__acosh1p): Likewise.
35582 * manual/string.texi (Copying and Concatenation): Add missing
35583 variable in concat example.
35584 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35586 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35589 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35590 __builtin_clzl with __builtin_clzll.
35592 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35595 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35598 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35600 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35601 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35602 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35603 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35605 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35607 * NEWS: Update ia64 info.
35609 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35611 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35614 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35616 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35617 * sysdeps/unix/syscalls.list (dup3): Likewise.
35618 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35619 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35621 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35623 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35624 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35626 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35628 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35630 (TLS_IE): Use mov/add instead of movq/addq to load thread
35632 (TLS_GD_PREFIX): New.
35635 2012-05-11 David S. Miller <davem@davemloft.net>
35637 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35638 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35639 (_FPU_SETCW): Likewise.
35641 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35643 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35644 is 32-byte aligned.
35646 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35649 * iconvdata/gb18030.c: Update tables.
35650 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35651 characters specially.
35652 (BODY for TO_LOOP): Add encoding of missing ranges.
35654 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35657 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35658 * sysdeps/mach/hurd/dup3.c: Likewise.
35659 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35660 * sysdeps/powerpc/memmove.c:: Likewise.
35662 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35664 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35665 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35667 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35669 * elf/elf.h (R_X86_64_RELATIVE64): New.
35670 (R_X86_64_NUM): Updated.
35671 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35672 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35673 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35674 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35675 tst-quad1pie tst-quad2pie
35676 (modules-names): Add tst-quadmod1 tst-quadmod2.
35677 ($(objpfx)tst-quad1): New dependency.
35678 ($(objpfx)tst-quad2): Likewise.
35679 ($(objpfx)tst-quad1pie): Likewise.
35680 ($(objpfx)tst-quad2pie): Likewise.
35681 * sysdeps/x86_64/tst-quad1.c: New file.
35682 * sysdeps/x86_64/tst-quad1pie.c: New file.
35683 * sysdeps/x86_64/tst-quad2.c: Likewise.
35684 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35685 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35686 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35687 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35688 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35690 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35692 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35693 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35694 * streams/stropts.h (t_scalar_t): Define type.
35696 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35697 (_PATH_PRESERVE): Set to "/var/lib".
35698 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35700 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35703 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35704 if __dir_mkfile succeeded.
35706 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35707 checking for _hurd_dtablesize. Unlock it right after having
35708 finished _hurd_dtable allocation.
35710 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35712 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35713 * sysdeps/mach/hurd/configure: Regenerated.
35714 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35715 special-casing to...
35716 * sysdeps/gnu/configure.in: ... this new file.
35717 * sysdeps/unix/sysv/linux/configure: Regenerated.
35718 * sysdeps/gnu/configure: New generated file.
35720 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35721 for Linux: use nsec instead of usec, as well as:
35722 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35723 members of type struct timespec.
35724 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35726 (struct stat64): Likewise.
35727 (_STATBUF_ST_NSEC): New macro.
35728 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35730 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35731 __strtoul_internal rather than strtoul.
35733 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35735 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35738 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35740 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35741 which preserves existing values.
35742 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35744 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35746 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35747 TIMEOUT values. Return EINVAL for NFDS values either negative or
35748 greater than FD_SETSIZE.
35750 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35752 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35753 allocated, call __vm_protect to finish enabling the existing space, and
35754 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35755 allocate the remainder.
35757 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35759 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35760 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35762 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35764 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35765 sysdeps/mach/hurd/readlink.c.
35767 * posix/tst-sysconf.c (posix_options): Only use
35768 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35769 _POSIX_SYNCHRONIZED_IO when they are defined
35770 * sysdeps/mach/hurd/bits/posix_opt.h:
35771 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35772 (_XOPEN_REALTIME): Undefine macro.
35773 (_XOPEN_REALTIME_THREADS): Undefine macro.
35774 (_XOPEN_SHM): Undefine macro.
35775 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35777 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35779 (_POSIX_ASYNC_IO): Undefine macro.
35780 (_POSIX_PRIORITIZED_IO): Undefine macro.
35781 (_POSIX_SPIN_LOCKS): Define macro to -1.
35783 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35784 SA_NODEFER, SA_RESETHAND.
35785 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35786 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35789 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35791 * elf/Makefile (pldd-modules): Define unconditionally.
35793 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35795 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35797 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35799 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35800 Return ENOENT when name is empty.
35801 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35803 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35805 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35807 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35809 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35811 Fix mlock in all cases except non-readable pages.
35812 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35813 instead of VM_PROT_ALL as parameter to __vm_wire function.
35815 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35816 (__mkdir): When path is `/', just fail with EEXIST.
35817 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35819 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35821 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35822 <sys/uio.h> (for writev).
35823 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35824 and <sys/param.h> (for MIN).
35826 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35828 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35829 REQUESTED_TIME. Properly set the remaining time and return EINTR
35832 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35834 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35835 Depend on against $(link-rpcuserlibs).
35837 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35839 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35840 (__libc_stack_end): Do not use attribute_relro.
35841 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35842 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35843 to libthread-provided value.
35844 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35847 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35850 * bits/libc-lock.h (__libc_once_get): New macro.
35851 * sysdeps/mach/bits/libc-lock.h: Likewise.
35852 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35853 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35854 instead of using implementation details.
35856 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35857 * libio/freopen.c: Likewise.
35858 * libio/freopen64.c: Likewise.
35859 * misc/syslog.c: Likewise.
35860 * nscd/connections.c: Likewise.
35861 * nscd/netgroupcache.c: Likewise.
35862 * sysdeps/posix/getcwd.c: Likewise.
35864 2012-05-10 Roland McGrath <roland@hack.frob.com>
35866 * math/w_ilogbf.c: Add #include <limits.h>.
35868 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35870 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35871 path instead of returning without unlocking.
35873 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35874 immediate-write ioctls.
35875 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35877 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35879 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35880 __builtin_frame_address instead of making assumptions about the
35881 location of the return address relative to DATA. Force early load of
35882 the return address.
35883 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35884 __builtin_frame_address.
35887 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35888 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35889 implement dup3 and do some further code clean-ups.
35890 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35891 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35893 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35895 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35897 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35898 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35899 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35900 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35901 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35904 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35905 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35906 when handler == SIG_ERR, not when handler != SIG_ERR.
35908 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35910 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35911 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35914 accept4 for GNU Hurd.
35915 * include/sys/socket.h (__libc_accept4): New prototype.
35916 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35917 to implement __libc_accept4.
35918 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35920 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35922 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35923 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35924 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35925 signal-defines.sym.
35927 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35929 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35931 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35933 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35934 assertion on O_CLOEXEC flag.
35935 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35936 * hurd/intern-fd.c: Likewise.
35937 * hurd/port2fd.c: Likewise.
35939 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35942 * bits/in.h (IPV6_PKTINFO): Define new macro.
35943 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35945 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35950 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35951 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35952 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35953 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35954 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35955 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35956 * math/libm-test.inc (logb_test) : Additional logb tests.
35958 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35959 Andreas Jaeger <aj@suse.de>
35961 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35962 * configure: Regenerated.
35963 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35964 * config.make.in (link-obsolete-rpc): New substituted variable.
35965 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35966 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35967 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35968 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35969 so that libc.a contains the symbols.
35970 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35971 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35972 * sunrpc/auth_none.c: Likewise.
35973 * sunrpc/auth_unix.c: Likewise.
35974 * sunrpc/authdes_prot.c: Likewise.
35975 * sunrpc/authuxprot.c: Likewise.
35976 * sunrpc/clnt_gen.c: Likewise.
35977 * sunrpc/clnt_perr.c: Likewise.
35978 * sunrpc/clnt_raw.c: Likewise.
35979 * sunrpc/clnt_simp.c: Likewise.
35980 * sunrpc/clnt_tcp.c: Likewise.
35981 * sunrpc/clnt_udp.c: Likewise.
35982 * sunrpc/clnt_unix.c: Likewise.
35983 * sunrpc/des_crypt.c: Likewise.
35984 * sunrpc/des_soft.c: Likewise.
35985 * sunrpc/get_myaddr.c: Likewise.
35986 * sunrpc/key_call.c: Likewise.
35987 * sunrpc/key_prot.c: Likewise.
35988 * sunrpc/netname.c: Likewise.
35989 * sunrpc/pm_getmaps.c: Likewise.
35990 * sunrpc/pm_getport.c: Likewise.
35991 * sunrpc/pmap_clnt.c: Likewise.
35992 * sunrpc/pmap_prot.c: Likewise.
35993 * sunrpc/pmap_prot2.c: Likewise.
35994 * sunrpc/pmap_rmt.c: Likewise.
35995 * sunrpc/publickey.c: Likewise.
35996 * sunrpc/rpc_cmsg.c: Likewise.
35997 * sunrpc/rpc_common.c: Likewise.
35998 * sunrpc/rpc_dtable.c: Likewise.
35999 * sunrpc/rpc_prot.c: Likewise.
36000 * sunrpc/rpc_thread.c: Likewise.
36001 * sunrpc/rtime.c: Likewise.
36002 * sunrpc/svc.c: Likewise.
36003 * sunrpc/svc_auth.c: Likewise.
36004 * sunrpc/svc_raw.c: Likewise.
36005 * sunrpc/svc_run.c: Likewise.
36006 * sunrpc/svc_tcp.c: Likewise.
36007 * sunrpc/svc_udp.c: Likewise.
36008 * sunrpc/svc_unix.c: Likewise.
36009 * sunrpc/svcauth_des.c: Likewise.
36010 * sunrpc/xcrypt.c: Likewise.
36011 * sunrpc/xdr.c: Likewise.
36012 * sunrpc/xdr_array.c: Likewise.
36013 * sunrpc/xdr_float.c: Likewise.
36014 * sunrpc/xdr_intXX_t.c: Likewise.
36015 * sunrpc/xdr_mem.c: Likewise.
36016 * sunrpc/xdr_rec.c: Likewise.
36017 * sunrpc/xdr_ref.c: Likewise.
36018 * sunrpc/xdr_sizeof.c: Likewise.
36019 * sunrpc/xdr_stdio.c: Likewise.
36021 2012-05-10 Roland McGrath <roland@hack.frob.com>
36023 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36024 change. Update copyright years.
36026 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36028 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36030 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36031 Joseph Myers <joseph@codesourcery.com>
36032 Paul Pluzhnikov <ppluzhnikov@google.com>
36035 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36037 [cross-compiling] (extra-libs): Likewise.
36038 [cross-compiling] (extra-libs-others): Likewise.
36039 [cross-compiling] (librpcsvc-routines): Likewise.
36040 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36041 [cross-compiling] (omit-deps): Likewise.
36042 (sunrpc-CPPFLAGS): New variable.
36043 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36044 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36045 (cross-rpcgen-objs): New variable.
36046 (extra-objs): Append $(cross-rpcgen-objs).
36047 ($(cross-rpcgen-objs)): New rule.
36048 ($(objpfx)cross-rpcgen): Likewise.
36049 (rpcgen-cmd): Define to use $(built-program-file). Expand
36051 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36052 ($(objpfx)x%.stmp): Likewise.
36053 * sunrpc/proto.h [IS_IN_build] (_): Define.
36054 [IS_IN_build] (_libc_intl_domainname): Likewise.
36056 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36058 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36059 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36060 and R_X86_64_TPOFF64.
36062 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36064 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36065 sysdeps/unix/sysv/syscalls.list.
36068 * sysdeps/unix/sysv/syscalls.list: Remove file.
36070 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36073 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36074 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36075 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36076 (__LC_IDENTIFICATION): Make these macros useful in #if
36077 expressions, as required by C99.
36079 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36081 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36082 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36085 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36087 * stdlib/longlong.h: Updated from GCC.
36089 2012-05-09 Andreas Jaeger <aj@suse.de>
36091 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36092 default is first entry.
36093 (run_mode): Set type.
36094 (main): Remove informal message about syslog.
36095 (options): Fix typo.
36098 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36101 (llrintf): Likewise.
36102 (llrint): Likewise.
36105 (nearbyint): Likewise.
36106 (nearbyintf): Likewise.
36108 2012-05-09 Andreas Jaeger <aj@suse.de>
36109 Pedro Alves <palves@redhat.com>
36111 * nscd/nscd.c (run_mode): Use enum.
36112 (main): Cleanup coding style issue.
36114 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
36115 Andreas Jaeger <aj@suse.de>
36117 * nscd/nscd.c (go_background): Replaced with...
36118 (run_mode): ... this.
36119 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36120 (options): Add -F --foreground.
36121 (main): Implement it.
36122 (parse_opt): Parse it.
36124 2012-05-09 Andreas Jaeger <aj@suse.de>
36127 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36128 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36129 -Wconversion warning.
36130 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36133 2012-05-09 Joseph Myers <joseph@codesourcery.com>
36135 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36137 (LC_ALL): Use macro-int-constant.
36138 (LC_COLLATE): Likewise.
36139 (LC_CTYPE): Likewise.
36140 (LC_MESSAGES): Likewise.
36141 (LC_MONETARY): Likewise.
36142 (LC_NUMERIC): Likewise.
36143 (LC_TIME): Likewise.
36144 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36145 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36146 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36147 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36149 [C99-based standards] (float_t): Expect type.
36150 [C99-based standards] (double_t): Expect type.
36151 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36153 [C99-based standards] (HUGE_VALL): Likewise.
36154 [C99-based standards] (INFINITY): Likewise.
36155 [C99-based standards] (NAN): Likewise.
36156 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36157 [C99-based standards] (FP_NAN): Likewise.
36158 [C99-based standards] (FP_NORMAL): Likewise.
36159 [C99-based standards] (FP_SUBNORMAL): Likewise.
36160 [C99-based standards] (FP_ZERO): Likewise.
36161 [C99-based standards] (FP_FAST_FMA): Use
36162 optional-macro-int-constant. Specify type. Require == 1.
36163 [C99-based standards] (FP_FAST_FMAF): Likewise.
36164 [C99-based standards] (FP_FAST_FMAL): Likewise.
36165 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36166 [C99-based standards] (FP_ILOGBNAN): Likewise.
36167 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36169 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36170 [C99-based standards] (math_errhandling): Specify type.
36171 [ISO99 || ISO11] (signgam): Do not allow.
36172 [non-C99-based standards] (copysignf): Do not allow.
36173 [non-C99-based standards] (exp2f): Likewise.
36174 [non-C99-based standards] (log2f): Likewise.
36175 [non-C99-based standards] (modff): Allow.
36176 [non-C99-based standards] (erff): Do not allow.
36177 [non-C99-based standards] (erfcf): Likewise.
36178 [non-C99-based standards] (gammaf): Likewise.
36179 [non-C99-based standards] (hypotf): Likewise.
36180 [non-C99-based standards] (j0f): Likewise.
36181 [non-C99-based standards] (j1f): Likewise.
36182 [non-C99-based standards] (jnf): Likewise.
36183 [non-C99-based standards] (lgammaf): Likewise.
36184 [non-C99-based standards] (tgammaf): Likewise.
36185 [non-C99-based standards] (y0f): Likewise.
36186 [non-C99-based standards] (y1f): Likewise.
36187 [non-C99-based standards] (ynf): Likewise.
36188 [non-C99-based standards] (isnanf): Likewise.
36189 [non-C99-based standards] (acoshf): Likewise.
36190 [non-C99-based standards] (asinhf): Likewise.
36191 [non-C99-based standards] (atanhf): Likewise.
36192 [non-C99-based standards] (cbrtf): Likewise.
36193 [non-C99-based standards] (expm1f): Likewise.
36194 [non-C99-based standards] (ilogbf): Likewise.
36195 [non-C99-based standards] (log1pf): Likewise.
36196 [non-C99-based standards] (logbf): Likewise.
36197 [non-C99-based standards] (nextafterf): Likewise.
36198 [non-C99-based standards] (remainderf): Likewise.
36199 [non-C99-based standards] (rintf): Likewise.
36200 [non-C99-based standards] (scalbf): Likewise.
36201 [non-C99-based standards] (copysignl): Likewise.
36202 [non-C99-based standards] (exp2l): Likewise.
36203 [non-C99-based standards] (log2l): Likewise.
36204 [non-C99-based standards] (modfl): Allow.
36205 [non-C99-based standards] (erfl): Do not allow.
36206 [non-C99-based standards] (erfcl): Likewise.
36207 [non-C99-based standards] (gammal): Likewise.
36208 [non-C99-based standards] (hypotl): Likewise.
36209 [non-C99-based standards] (j0l): Likewise.
36210 [non-C99-based standards] (j1l): Likewise.
36211 [non-C99-based standards] (jnl): Likewise.
36212 [non-C99-based standards] (lgammal): Likewise.
36213 [non-C99-based standards] (tgammal): Likewise.
36214 [non-C99-based standards] (y0l): Likewise.
36215 [non-C99-based standards] (y1l): Likewise.
36216 [non-C99-based standards] (ynl): Likewise.
36217 [non-C99-based standards] (isnanl): Likewise.
36218 [non-C99-based standards] (acoshl): Likewise.
36219 [non-C99-based standards] (asinhl): Likewise.
36220 [non-C99-based standards] (atanhl): Likewise.
36221 [non-C99-based standards] (cbrtl): Likewise.
36222 [non-C99-based standards] (expm1l): Likewise.
36223 [non-C99-based standards] (ilogbl): Likewise.
36224 [non-C99-based standards] (log1pl): Likewise.
36225 [non-C99-based standards] (logbl): Likewise.
36226 [non-C99-based standards] (nextafterl): Likewise.
36227 [non-C99-based standards] (remainderl): Likewise.
36228 [non-C99-based standards] (rintl): Likewise.
36229 [non-C99-based standards] (scalbl): Likewise.
36230 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36231 [non-C99-based standards] (FP_*): Do not allow.
36232 [C99-based standards] (FP_*): Change to
36233 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36234 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36236 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36237 (SIG_ERR): Likewise.
36238 [X/Open-based standards] (SIG_HOLD): Likewise.
36239 (SIG_IGN): Likewise.
36240 (SIGABRT): Use macro-int-constant. Specify type. Require
36242 (SIGFPE): Likewise.
36243 (SIGILL): Likewise.
36244 (SIGINT): Likewise.
36245 (SIGSEGV): Likewise.
36246 (SIGTER): Likewise.
36247 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36248 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36249 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36250 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36251 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36252 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36253 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36254 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36255 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36256 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36257 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36258 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36259 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36260 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36261 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36262 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36263 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36264 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36265 [X/Open-based standards] (SIGTRAP): Likewise.
36266 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36267 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36268 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36269 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36270 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36273 2012-05-08 Ian Wienand <ianw@vmware.com>
36276 * time/tzset.c (__tzset_parse_tz): Update default rules for
36277 daylight time changes in the Energy Policy Act of 2005.
36279 2012-05-09 Andreas Jaeger <aj@suse.de>
36282 * elf/ldconfig.c (parse_conf): Change string to make clear that
36283 ldconfig only issued a warning if ld.so.conf does not exist.
36285 2012-05-08 David S. Miller <davem@davemloft.net>
36287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36288 movxtod instead of popping the value on the stack.
36290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36292 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36294 * config.h.in: Add HAVE_ARM_PCS_VFP.
36296 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
36299 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36300 checking but the checks are disabled for any reason.
36302 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36304 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36305 and ELF64_R_TYPE with ELFW(R_TYPE).
36307 2012-05-08 Joseph Myers <joseph@codesourcery.com>
36309 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36310 (ulimit): Likewise.
36312 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36313 (settimeofday): Likewise.
36315 2012-05-08 Mike Frysinger <vapier@gentoo.org>
36317 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36318 a struct th_u2 inside the union, and move tu_block/tu_code into
36319 a new th_u3 union of tu_block/tu_code inside of that. Move
36320 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36321 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36322 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36323 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36324 (th_stuff): Change to th_u1.tu_stuff.
36326 (th_msg): Change to th_u1.th_u2.tu_data.
36328 2012-05-07 David S. Miller <davem@davemloft.net>
36330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36333 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36334 (SETUP_PIC_REG): Use it.
36335 (SETUP_PIC_REG_LEAF): Use it.
36337 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36341 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36343 (EXPL_FINITE): Likewise.
36344 (FLDLOG): Likewise.
36345 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36346 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36348 * sysdeps/x86_64/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/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36355 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36356 test of -max_value argument for long double.
36357 * sysdeps/i386/fpu/libm-test-ulps: Update.
36358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36360 2012-05-06 David S. Miller <davem@davemloft.net>
36362 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36363 quad soft-float symbols whose references which are compiler
36365 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36367 2012-05-06 Joseph Myers <joseph@codesourcery.com>
36371 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36373 (EXPL_FINITE): Likewise.
36374 (FLDLOG): Likewise.
36377 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36378 Adjust comments for base varying.
36379 (__expl_finite): Change alias to EXPL_FINITE.
36380 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36382 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36383 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36384 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36385 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36386 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36388 (EXPL_FINITE): Likewise.
36389 (FLDLOG): Likewise.
36392 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36393 Adjust comments for base varying.
36394 (__expl_finite): Change alias to EXPL_FINITE.
36395 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36397 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36400 * math/libm-test.inc (check_float_internal): Correct ulp
36401 calculation for subnormal expected results.
36403 2012-05-06 Andreas Jaeger <aj@suse.de>
36405 * Makeconfig (+math-flags): New, set to -frounding-math.
36406 (+cflags): Add +math-flags so that all of glibc gets compiled with
36409 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36411 2012-05-05 Joseph Myers <joseph@codesourcery.com>
36413 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36419 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36420 (__ieee754_expl): Allow for and saturate large arguments.
36421 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36422 (u_threshold): Likewise.
36423 (__exp): Call __ieee754_exp before checking for overflow and
36425 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36426 (u_threshold): Likewise.
36427 (__expf): Call __ieee754_expf before checking for overflow and
36429 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36430 (u_threshold): Likewise.
36431 (__expl): Call __ieee754_expl before checking for overflow and
36433 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36434 (__ieee754_expl): Allow for and saturate large arguments.
36435 * math/libm-test.inc (exp_test): Add another test. Do not allow
36436 missing overflow exception on overflow.
36437 (expm1_test): Do not allow missing overflow exception on overflow.
36439 * sysdeps/i386/fpu/e_expl.c: Move to ...
36440 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36441 rather than using inline asm.
36442 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36443 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36444 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36446 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36449 (signal): Likewise.
36453 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36455 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36456 sysdeps/unix/common/syscalls.list.
36457 (fchmod): Likewise.
36458 (fchown): Likewise.
36459 (ftruncate): Likewise.
36460 (getrusage): Likewise.
36461 (gettimeofday): Likewise.
36462 (setpgid): Likewise.
36463 (setregid): Likewise.
36464 (setreuid): Likewise.
36465 (sigaction): Likewise.
36466 (truncate): Likewise.
36467 (vhangup): Likewise.
36468 * sysdeps/unix/common/syscalls.list: Remove file.
36469 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36470 * sysdeps/unix/sysv/linux/Implies: Likewise.
36472 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36474 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36476 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36480 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36483 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36486 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36489 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36492 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36495 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36498 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36502 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36506 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36509 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36513 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36517 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36519 * sysdeps/unix/common/bits/dirent.h: Remove file.
36520 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36522 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36523 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36524 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36525 * sysdeps/unix/bsd/isatty.c: Likewise.
36526 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36527 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36528 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36530 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36533 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36534 long double comparison inaccuracies.
36535 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36538 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36540 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36541 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36543 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36546 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36547 nonzero digits before rounding a hex value.
36548 * stdlib/tst-strtod.c (tests): Add another test.
36550 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36552 * sysdeps/s390/fpu/libm-test-ulps: Update.
36554 2012-05-03 Andreas Jaeger <aj@suse.de>
36556 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36557 does not get optimized out.
36558 (malloc_opt_barrier): New.
36560 2012-05-03 Andreas Jaeger <aj@suse.de>
36561 Roland McGrath <roland@hack.frob.com>
36563 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36564 intermediate file deletion.
36565 (generated): Add .symlist files.
36567 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36570 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36571 Redirect under this condition.
36572 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36573 [__USE_GNU] (__dprintf_chk): Not under this condition.
36574 [__USE_GNU] (__vdprintf_chk): Likewise.
36575 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36576 under this condition.
36577 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36578 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36579 [__USE_XOPEN2K8] (vdprintf): Likewise.
36580 [__USE_GNU] (__dprintf_chk): Not under this condition.
36581 [__USE_GNU] (__vdprintf_chk): Likewise.
36582 [__USE_GNU] (dprintf): Likewise.
36583 [__USE_GNU] (vdprintf): Likewise.
36585 2012-05-03 Roland McGrath <roland@hack.frob.com>
36587 * elf/Makefile (common-generated): Set this instead of generated for
36588 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36589 $(all-built-dso)-derived lists.
36591 2012-05-03 Andreas Jaeger <aj@suse.de>
36593 * sysdeps/i386/fpu/libm-test-ulps: Update.
36596 * FAQ.in: Likewise.
36597 * scripts/gen-FAQ.pl: Likewise.
36598 * manual/install.texi (Installation): Point to online location of
36600 * Makefile (files-for-dist): Remove FAQ.
36603 2012-05-02 Allan McRae <allan@archlinux.org>
36605 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36606 (LDFLAGS-reldepmod5.so): Likewise.
36607 (LDFLAGS-reldep6mod1.so): Likewise.
36608 (LDFLAGS-reldep6mod4.so): Likewise.
36609 (LDFLAGS-reldep8mod3.so): Likewise.
36610 (LDFLAGS-unload4mod1.so): Likewise.
36611 (LDFLAGS-unload4mod2.so): Likewise.
36612 (LDFLAGS-tst-initorder): Likewise.
36613 (LDFLAGS-tst-initordera2.so): Likewise.
36614 (LDFLAGS-tst-initordera3.so): Likewise.
36615 (LDFLAGS-tst-initordera4.so): Likewise.
36616 (LDFLAGS-tst-initorderb2.so): Likewise.
36617 (LDFLAGS-noload): Likewise.
36618 (LDFLAGS-next): Likewise.
36619 (LDFLAGS-order2mod1.so): Likewise.
36620 (LDFLAGS-order2mod2.so): Likewise.
36621 (LDFLAGS-tst-initorder2): Likewise.
36622 (LDFLAGS-tst-initorder2a.so): Likewise.
36623 (LDFLAGS-tst-initorder2b.so): Likewise.
36624 (LDFLAGS-tst-initorder2c.so): Likewise.
36625 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36627 2012-05-02 David S. Miller <davem@davemloft.net>
36629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36631 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36634 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36636 2012-05-02 Andreas Jaeger <aj@suse.de>
36638 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36639 since we manipulate rounding mode.
36640 (CPPFLAGS-test-idouble.c): Likewise.
36641 (CPPFLAGS-test-ifloat.c): Likewise.
36642 (CFLAGS-test-ldouble.c): Likewise.
36643 (CFLAGS-test-double.c): Likewise.
36644 (CFLAGS-test-float.c): Likewise.
36645 (CFLAGS-test-misc.c): Likewise.
36646 (CFLAGS-test-test-fenv.c): Likewise.
36648 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36652 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36653 comparisons to determine direction to adjust input.
36655 2012-05-01 Roland McGrath <roland@hack.frob.com>
36657 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36658 output to the target.
36660 * scripts/localplt.awk: New file.
36661 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36662 (check-localplt-CFLAGS): Variable removed.
36663 ($(all-built-dso:=.jmprel)): New static pattern rule.
36664 (generated): Add those targets.
36665 (localplt-built-dso): New variable.
36666 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36668 * elf/check-localplt.c: File removed.
36670 * scripts/check-execstack.awk: New file.
36671 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36672 (check-execstack-CFLAGS): Variable removed.
36673 ($(objpfx)check-execstack.h): Target removed.
36674 ($(objpfx)execstack-default): New target.
36675 (generated): Add that instead of check-execstack.h.
36676 ($(all-built-dso:=.phdr)): New static pattern rule.
36677 (generated): Add those targets.
36678 * elf/check-execstack.c: File removed.
36680 * scripts/check-textrel.awk: New file.
36681 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36682 (check-textrel-CFLAGS): Variable removed.
36683 (all-built-dso): Use := to define.o
36684 ($(all-built-dso:=.dyn)): New static pattern rule.
36685 (generated): Add those targets.
36686 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36687 * config.make.in (READELF): New substituted variable.
36688 * elf/check-textrel.c: File removed.
36690 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36692 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36694 * conform/data/ctype.h-data [C99-based standards] (isblank):
36696 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36697 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36698 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36699 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36700 Specify type. Require positive value.
36701 (EILSEQ): Likewise.
36702 (ERANGE): Likewise.
36703 [ISO || POSIX] (EILSEQ): Do not expect.
36704 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36705 Specify type. Require positive value.
36706 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36707 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36708 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36709 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36710 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36711 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36712 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36713 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36714 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36715 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36716 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36717 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36718 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36719 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36720 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36721 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36722 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36723 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36724 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36725 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36726 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36727 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36728 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36729 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36730 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36731 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36732 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36733 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36734 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36735 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36736 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36737 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36738 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36739 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36740 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36741 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36742 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36743 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36744 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36745 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36746 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36747 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36748 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36749 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36750 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36751 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36752 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36753 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36754 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36755 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36756 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36757 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36758 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36759 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36760 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36761 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36762 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36763 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36764 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36765 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36766 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36767 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36768 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36769 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36770 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36771 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36772 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36773 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36774 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36775 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36776 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36777 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36778 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36779 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36780 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36781 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36782 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36784 (FLT_ROUNDS): Expect as macro, not constant.
36785 (FLT_MANT_DIG): Use macro-int-constant.
36786 (DBL_MANT_DIG): Likewise.
36787 (LDBL_MANT_DIG): Likewise.
36788 (FLT_DIG): Likewise.
36789 (DBL_DIG): Likewise.
36790 (LDBL_DIG): Likewise.
36791 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36792 (DBL_MIN_EXP): Likewise.
36793 (LDBL_MIN_EXP): Likewise.
36794 (FLT_MAX_EXP): Use macro-int-constant.
36795 (DBL_MAX_EXP): Likewise.
36796 (LDBL_MAX_EXP): Likewise.
36797 (FLT_MAX_10_EXP): Likewise.
36798 (DBL_MAX_10_EXP): Likewise.
36799 (LDBL_MAX_10_EXP): Likewise.
36800 (FLT_MAX): Use macro-constant.
36801 (DBL_MAX): Likewise.
36802 (LDBL_MAX): Likewise.
36803 (FLT_EPSILON): Use macro-constant. Give upper bound.
36804 (DBL_EPSILON): Likewise.
36805 (LDBL_EPSILON): Likewise.
36806 (FLT_MIN): Likewise.
36807 (DBL_MIN): Likewise.
36808 (LDBL_MIN): Likewise.
36809 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36810 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36811 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36812 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36813 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36814 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36815 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36816 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36817 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36818 [ISO11] (FLT_TRUE_MIN): Likewise.
36819 [ISO11] (LDBL_TRUE_MIN): Likewise.
36820 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36821 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36822 (SCHAR_MIN): Use macro-int-constant. Specify type.
36823 (SCHAR_MAX): Likewise.
36824 (UCHAR_MAX): Likewise.
36825 (CHAR_MIN): Likewise.
36826 (CHAR_MAX): Likewise.
36827 (MB_LEN_MAX): Use macro-int-constant.
36828 (SHRT_MIN): Use macro-int-constant. Specify type.
36829 (SHRT_MAX): Likewise.
36830 (USHRT_MAX): Likewise.
36831 (INT_MAX): Likewise.
36832 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36834 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36836 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36838 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36839 bound negative. Suffix upper bound with "L".
36840 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36842 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36844 [C99-based standards] (LLONG_MAX): Likewise.
36845 [C99-based standards] (ULLONG_MAX): Likewise.
36846 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36848 [ISO11] (max_align_t): Require type.
36849 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36851 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36852 from $CFLAGS, without defining away __attribute__ calls.
36853 (checknamespace): Use $CFLAGS_namespace.
36855 * conform/conformtest.pl (@keywords): Only include C99 keywords
36856 for standards based on C99 or C11.
36858 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36860 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36863 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36864 usability of symbols in #if.
36866 * conform/conformtest.pl: If macro or constant types start
36867 "promoted:", expect the symbol to be of the following type
36868 promoted by the integer promotions.
36870 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36871 in one place. Also handle "macro-constant".
36873 * conform/conformtest.pl: Only accept expected macro values with
36874 "==". Parse all "macro" lines in one place.
36875 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36877 * conform/conformtest.pl: Handle braced types on "constant" lines
36878 instead of handling "typed-constant".
36879 * conform/data/signal.h-data: Use "constant" instead of
36882 * conform/conformtest.pl: Handle "optional-" at start of lines in
36883 one place rather than duplicating several cases. Handle each
36884 format of "macro" line with initial "optional-".
36886 * conform/conformtest.pl: Only accept expected constant or
36887 optional-constant values with "==". Parse all "constant" lines in
36888 one place. Parse all "optional-constant" lines in one place.
36889 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36890 * conform/data/fmtmsg.h-data: Likewise.
36891 * conform/data/netinet/in.h-data: Likewise.
36892 * conform/data/tar.h-data: Likewise.
36893 * conform/data/limits.h-data: Use "==" form on "constant" and
36894 "optional-constant" lines.
36896 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36897 Use -std=c99 for XOPEN2K.
36898 (@knownproblems): Remove.
36899 (newtoken): Don't check %isknown.
36901 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36902 Do not expect macro.
36903 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36904 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36905 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36906 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36907 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36908 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36909 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36910 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36911 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36912 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36913 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36914 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36915 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36916 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36917 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36918 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36919 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36920 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36921 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36922 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36923 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36924 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36925 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36926 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36927 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36928 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36929 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36930 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36931 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36932 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36933 [XPG3] (acosh): Likewise.
36934 [XPG3] (asinh): Likewise.
36935 [XPG3] (atanh): Likewise.
36936 [XPG3] (cbrt): Likewise.
36937 [XPG3] (expm1): Likewise.
36938 [XPG3] (ilogb): Likewise.
36939 [XPG3] (log1p): Likewise.
36940 [XPG3] (logb): Likewise.
36941 [XPG3] (nextafter): Likewise.
36942 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36943 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36944 [XPG3] (remainder): Likewise.
36945 [XPG3] (rint): Likewise.
36946 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36947 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36948 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36949 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36950 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36951 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36952 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36953 [UNIX98 || XOPEN2K] (scalb): Expect.
36954 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36955 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36956 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36957 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36958 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36959 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36960 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36961 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36962 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36963 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36964 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36965 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36966 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36967 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36968 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36969 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36970 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36971 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36972 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36973 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36974 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36975 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36976 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36977 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36978 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36979 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36980 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36981 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36982 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36983 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36984 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36985 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36986 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36987 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36988 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36989 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36990 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36991 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36992 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36993 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36994 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36995 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36996 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36997 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36998 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36999 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37000 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37001 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37002 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37003 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37004 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37005 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37006 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37007 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37008 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37009 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37010 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37011 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37012 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37013 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37014 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37015 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37016 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37017 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37018 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37019 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37020 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37021 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37022 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37023 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37024 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37025 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37026 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37027 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37028 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37029 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37030 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37031 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37032 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37033 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37034 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37035 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37036 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37037 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37038 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37039 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37040 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37041 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37042 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37043 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37044 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37045 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37046 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37047 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37048 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37049 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37050 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37051 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37052 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37053 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37054 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37055 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37056 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37057 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37058 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37059 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37060 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37061 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37062 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37063 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37064 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37065 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37066 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37067 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37068 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37069 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37070 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37071 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37072 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37073 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37074 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37075 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37076 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37077 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37078 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37079 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37080 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37081 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37082 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37083 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37084 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37085 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37086 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37087 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37088 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37089 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37090 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37092 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37093 _XOPEN_SOURCE_EXTENDED for XPG4.
37095 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37097 * Makeconfig (localtime): Remove variable.
37098 (inst_localtime-file): Likewise.
37100 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37121 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37125 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37126 comparisons to determine direction to adjust input.
37127 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37128 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37129 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37131 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37133 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37135 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37136 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37138 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37140 * math/libm-test.inc (nexttoward_test): Add more tests.
37142 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37145 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37146 in version GLIBC_2.1, not GLIBC_2.0.
37147 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37150 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37153 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37155 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37156 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37157 * math/libm-test.inc (acos_test): Add more tests.
37158 (asin_test): Likewise.
37159 * sysdeps/i386/fpu/libm-test-ulps: Update.
37160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37163 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37165 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37166 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37167 * math/libm-test.inc (acos_test_tonearest): New function.
37168 (acos_test_towardzero): Likewise.
37169 (acos_test_downward): Likewise.
37170 (acos_test_upward): Likewise.
37171 (asin_test_tonearest): Likewise.
37172 (asin_test_towardzero): Likewise.
37173 (asin_test_downward): Likewise.
37174 (asin_test_upward): Likewise.
37175 (main): Call the new functions.
37176 * sysdeps/i386/fpu/libm-test-ulps: Update.
37177 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37181 * math/e_exp10.c: Include <float.h>.
37182 (__ieee754_exp10): Handle underflow here rather than multiplying
37183 large negative argument by M_LN10.
37184 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37186 * math/e_exp10l.c: Include <float.h>.
37187 (__ieee754_exp10l): Handle underflow here rather than multiplying
37188 large negative argument by M_LN10l.
37189 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37190 spurious overflow exception on underflow.
37192 2012-04-29 Marek Polacek <polacek@redhat.com>
37194 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37195 (__fortify_function): New macro.
37196 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37197 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37198 __extern_always_inline.
37199 * libio/bits/stdio2.h: Likewise.
37200 * libio/bits/stdio.h: Likewise.
37201 * string/string.h: Likewise.
37202 * string/bits/string3.h: Likewise.
37203 * include/stdio.h: Likewise.
37204 * stdlib/bits/stdlib.h: Likewise.
37205 * stdlib/stdlib.h: Likewise.
37206 * rt/bits/mqueue2.h: Likewise.
37207 * rt/mqueue.h: Likewise.
37208 * posix/bits/unistd.h: Likewise.
37209 * posix/unistd.h: Likewise.
37210 * io/bits/poll2.h: Likewise.
37211 * io/bits/fcntl2.h: Likewise.
37212 * io/fcntl.h: Likewise.
37213 * io/sys/poll.h: Likewise.
37214 * misc/bits/syslog.h: Likewise.
37215 * misc/bits/syslog-ldbl.h: Likewise.
37216 * misc/sys/syslog.h: Likewise.
37217 * socket/bits/socket2.h: Likewise.
37218 * socket/sys/socket.h: Likewise.
37219 * debug/tst-chk1.c: Likewise.
37220 * wcsmbs/bits/wchar2.h: Likewise.
37221 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37222 * wcsmbs/wchar.h: Likewise.
37224 2012-04-29 Andreas Jaeger <aj@suse.de>
37226 * Makerules (tests): Remove enable-check-abi protection.
37227 (check-abi-warn): Remove.
37228 (check-abi-%): Remove check-abi-warn usage.
37230 * configure.in: Remove check-abi configure option.
37231 * configure: Regenerated.
37232 * config.make.in (enable-check-abi): Remove.
37234 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37237 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37238 double functions to double *_finite functions.
37241 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37242 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37244 * stdio-common/Makefile (tests): Add tst-sprintf3.
37245 * stdio-common/tst-sprintf3.c: New file.
37247 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37248 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37250 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37252 * conform/conformtest.pl: Remove duplicate typed-constant
37255 2012-04-28 David S. Miller <davem@davemloft.net>
37257 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37258 (check-abi-%): Remove AWK script prerequisite and explicit
37260 (check-abi): Rewrite to just diff the symlist with the abilist.
37261 (config-tls, config-abi-config): Delete, no longer used.
37262 (update-abi-%): Remove AWK script and explicit abilist directory.
37263 (update-abi): Rewrite to simply compare and conditionally copy the
37264 symlist and the sysdep abilist file. Remove update-abi-config
37266 * abilist/ld.abilist: Remove.
37267 * abilist/libBrokenLocale.abilist: Remove.
37268 * abilist/libanl.abilist: Remove.
37269 * abilist/libcrypt.abilist: Remove.
37270 * abilist/libdl.abilist: Remove.
37271 * abilist/librt.abilist: Remove.
37272 * abilist/libthread_db.abilist: Remove.
37273 * abilist/libutil.abilist: Remove.
37274 * scripts/extract-abilist.awk: Remove.
37275 * scripts/merge-abilist.awk: Remove.
37276 * sysdeps/generic/libcidn.abilist: New file.
37277 * sysdeps/generic/libnss_compat.abilist: New file.
37278 * sysdeps/generic/libnss_db.abilist: New file.
37279 * sysdeps/generic/libnss_dns.abilist: New file.
37280 * sysdeps/generic/libnss_files.abilist: New file.
37281 * sysdeps/generic/libnss_hesiod.abilist: New file.
37282 * sysdeps/generic/libnss_nis.abilist: New file.
37283 * sysdeps/generic/libnss_nisplus.abilist: New file.
37284 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37285 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37286 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37288 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37289 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37290 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37291 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37292 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37293 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37294 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37295 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37296 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37298 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37299 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37300 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37301 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37303 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37304 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37305 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37306 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37307 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37308 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37310 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37311 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37312 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37314 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37417 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37418 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37419 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37421 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37422 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37423 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37424 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37425 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37426 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37427 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37428 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37429 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37430 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37482 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37484 * conform/conformtest.pl: Fix typo in handling typed-constant from
37487 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37489 * README: Cut down references to pre-2.6 Linux kernels and
37490 Linuxthreads. Update lists of configurations in libc and ports
37491 and sort alphabetically. Say "or newer" with Linux kernel version
37494 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37496 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37499 * math/libm-test.inc (logb_test_downward): New test to expose
37500 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37503 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37506 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37508 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37509 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37511 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37513 * sysdeps/unix/i386/brk.S: Remove file.
37514 * sysdeps/unix/i386/dl-brk.S: Likewise.
37515 * sysdeps/unix/i386/pipe.S: Likewise.
37516 * sysdeps/unix/i386/sigreturn.S: Likewise.
37517 * sysdeps/unix/i386/syscall.S: Likewise.
37518 * sysdeps/unix/i386/vfork.S: Likewise.
37519 * sysdeps/unix/i386/wait.S: Likewise.
37521 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37522 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37524 * configure.in (arm*-none*): Do not allow without
37525 --enable-hacker-mode.
37526 (netbsd*): Remove case setting base_os.
37527 (386bsd*): Likewise.
37528 (freebsd*): Likewise.
37531 (sunos*): Likewise.
37532 (ultrix*): Likewise.
37533 (newsos*): Likewise.
37534 (dynix*): Likewise.
37540 (minix*): Likewise.
37541 (irix4*): Likewise.
37542 (irix6*): Likewise.
37543 (solaris[2-9]*): Likewise.
37545 * configure: Regenerated.
37547 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37550 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37551 overflow or cancellation in calculating denominator.
37552 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37553 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37554 down expression to avoid unexpected rounding in newer GCCs.
37555 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37557 2012-04-26 David S. Miller <davem@davemloft.net>
37559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37560 long-double compat symbols.
37561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37575 2012-04-25 David S. Miller <davem@davemloft.net>
37577 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37578 HWCAP_* values only after the memory barriers have been defined.
37579 (atomic_full_barrier): Define.
37580 (atomic_read_barrier): Define.
37581 (atomic_write_barrier): Define.
37583 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37585 * shlib-versions: Add libgcc_s version information.
37586 * sysdeps/generic/libgcc_s.h: Remove.
37587 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37589 * sysdeps/gnu/unwind-resume.c: Likewise.
37590 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37592 2012-04-25 David S. Miller <davem@davemloft.net>
37594 * sysdeps/unix/sparc/brk.S: Delete.
37595 * sysdeps/unix/sparc/dl-brk.S: Delete.
37596 * sysdeps/unix/sparc/pipe.S: Delete.
37597 * sysdeps/unix/sparc/sysdep.S: Delete.
37598 * sysdeps/unix/sparc/sysdep.h: Delete.
37599 * sysdeps/unix/sparc/vfork.S: Delete.
37600 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37601 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37602 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37603 (ret_ERRVAL, r0, r1, MOVE): Define.
37604 (JUMPTARGET): Remove.
37605 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37606 sysdeps/unix/sparc/sysdep.h
37607 (ENTRY, END): Remove.
37608 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37610 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37612 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37613 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37616 * timezone/README: Update upstream location and email address for
37618 * timezone/zdump.c: Update from tzcode 2012b.
37619 * timezone/zic.c: Likewise.
37621 * configure.in (libc_cv_as_needed): Remove test.
37622 * configure: Regenerated.
37623 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37624 conditional definition.
37625 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37626 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37627 * config.make.in (have-as-needed): Remove variable.
37629 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37630 Paul Pluzhnikov <ppluzhnikov@google.com>
37632 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37635 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37637 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37638 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37639 * sysdeps/sh/strlen.S: Likewise.
37641 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37643 * sysdeps/unix/fork.S: Remove file.
37644 * sysdeps/unix/i386/fork.S: Likewise.
37645 * sysdeps/unix/sparc/fork.S: Likewise.
37647 * sysdeps/unix/system.c: Remove file.
37648 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37650 * sysdeps/unix/getegid.S: Remove file.
37651 * sysdeps/unix/geteuid.S: Likewise.
37653 2012-04-24 Roland McGrath <roland@hack.frob.com>
37655 * scripts/check-localplt.awk: New file.
37656 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37658 * scripts/data/localplt-generic.data: Add a comment.
37660 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37661 NODE when __dir_mkfile failed.
37662 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37663 Reported by Ludovic Courtès <ludo@gnu.org>.
37665 2012-04-24 Andreas Jaeger <aj@suse.de>
37667 * Makerules (common-clean): Also remove gen-as-const-headers
37670 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37672 * Makerules (native-compile): Do not change working directory for
37673 build. Use $(OUTPUT_OPTION) in command.
37674 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37676 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37679 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37680 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37681 * math/libm-test.inc (floor_test): Add more tests.
37682 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37684 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37686 * sysdeps/unix/getdents.c: Remove file.
37687 * sysdeps/unix/sysv/getdents.c: Likewise.
37688 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37690 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37691 sysdeps/unix/mman/syscalls.list.
37693 (mprotect): Likewise.
37695 (munmap): Likewise.
37696 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37697 * sysdeps/unix/mman/syscalls.list: Remove.
37698 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37700 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37701 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37702 * configure: Regenerated.
37703 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37704 $(libgcc_s_suffix).
37705 * config.make.in (libgcc_s_suffix): Remove variable.
37707 2012-04-23 Joseph Myers <joseph@codesourcery.com>
37709 * sysdeps/unix/sysv/gethostname.c: Move to ...
37710 * sysdeps/posix/gethostname.c: ... here.
37712 * sysdeps/unix/execve.S: Remove file.
37714 * sysdeps/unix/_exit.S: Remove file.
37716 2012-04-23 Andreas Jaeger <aj@suse.de>
37719 * manual/Makefile: Remove make dist support, there's no
37720 need for a stand-alone documentation tar ball.
37721 (TEXI2DVI): Define always, it's not in Makeconfig.
37724 (edition): Removed.
37725 (glibc-doc-$(edition).tar): Removed
37729 (ETAGS): Remove, it's in Makeconfig.
37730 (move-if-change): Remove, it's in Makeconfig.
37732 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37735 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37736 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37737 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37738 (strtod_l, strtof_l, strtold_l): Remove __wur.
37739 It is not necessarily an error to ignore strtol's return value.
37740 One can reliably look at the stored endptr to decide whether
37741 the number had valid syntax.
37743 2012-04-21 Andreas Jaeger <aj@suse.de>
37746 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37748 2012-04-21 Joseph Myers <joseph@codesourcery.com>
37750 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37751 * sysdeps/unix/sysv/Versions: Remove file.
37753 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37756 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37758 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
37761 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37762 version from __vm86.
37764 2012-04-20 Joseph Myers <joseph@codesourcery.com>
37766 * sysdeps/unix/common/lxstat.c: Remove file.
37767 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37769 * sysdeps/unix/sysv/Makefile: Remove file.
37771 * sysdeps/unix/sysv/direct.h: Remove file.
37773 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37774 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37775 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37776 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37777 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37778 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37779 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37781 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37783 * sysdeps/unix/xmknod.c: Remove file.
37784 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37786 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37788 * sysdeps/unix/sysv/i386/time.S: Remove file.
37790 * sysdeps/unix/fxstat.c: Remove file.
37791 * sysdeps/unix/xstat.c: Likewise.
37792 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37794 * sysdeps/unix/sysv/sigaction.c: Remove file.
37796 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37797 (sysdep_headers): Remove variable.
37798 [termio.h not in sysdep_headers] (generated): Likewise.
37799 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37800 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37801 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37802 * sysdeps/unix/sysv/tcflow.c: Likewise.
37803 * sysdeps/unix/sysv/tcflush.c: Likewise.
37804 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37805 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37806 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37807 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37808 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37810 * sysdeps/unix/siglist.c: Remove file.
37812 * sysdeps/unix/getppid.S: Remove file.
37814 * sysdeps/unix/mkdir.c: Remove file.
37815 * sysdeps/unix/rmdir.c: Likewise.
37817 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37819 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37821 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37822 errlist-compat value.
37824 2012-04-18 David S. Miller <davem@davemloft.net>
37826 * sysdeps/generic/memcopy.h (reg_char): Delete.
37827 * debug/strcat_chk.c: Use char, not reg_char.
37828 * debug/strcpy_chk.c: Likewise.
37829 * debug/strncat_chk.c: Likewise.
37830 * debug/strncpy_chk.c: Likewise.
37831 * string/memchr.c: Likewise.
37832 * string/memrchr.c: Likewise.
37833 * string/rawmemchr.c: Likewise.
37834 * string/strcat.c: Likewise.
37835 * string/strchr.c: Likewise.
37836 * string/strchrnul.c: Likewise.
37837 * string/strcmp.c: Likewise.
37838 * string/strcpy.c: Likewise.
37839 * string/strncat.c: Likewise.
37840 * string/strncmp.c: Likewise.
37841 * string/strncpy.c: Likewise.
37843 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37845 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37846 __builtin_memcopy is called when src and dest ranges are known to not
37849 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37851 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37852 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37853 fwd_align_merge macro call.
37854 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37855 bwd_align_merge macro call.
37856 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37858 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37860 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37861 bwd_align_merge macros.
37862 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37863 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37864 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37866 2012-04-18 David S. Miller <davem@davemloft.net>
37868 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37870 2012-04-18 Andreas Jaeger <aj@suse.de>
37873 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37874 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37875 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37877 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37878 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37879 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37881 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37882 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37883 Adjust for changed ldbl-128 files.
37885 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37886 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37887 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37889 2012-04-17 David S. Miller <davem@davemloft.net>
37891 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37893 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37895 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37896 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37897 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37898 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37899 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37900 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37902 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37905 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37906 * math/libm-test.inc: Add ilogb errno and exception tests.
37907 * math/w_ilogb.c: New file: ilogb wrapper.
37908 * math/w_ilogbf.c: New file: ilogbf wrapper.
37909 * math/w_ilogbl.c: New file: ilogbl wrapper.
37910 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37911 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37912 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37913 exception being thrown with 0.0 as argument.
37914 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37915 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37916 exception being thrown with 0.0 as argument.
37917 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37918 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37919 exception being thrown with 0.0 as argument.
37920 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37921 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37922 exception being thrown with 0.0 as argument.
37923 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37924 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37925 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37926 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37927 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37928 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37929 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37930 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37931 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37933 2012-04-17 Petr Baudis <pasky@ucw.cz>
37935 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37938 2012-04-16 Marek Polacek <polacek@redhat.com>
37940 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37942 2012-04-16 Marek Polacek <polacek@redhat.com>
37944 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37945 operands of fdivp instruction.
37947 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37949 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37950 * elf/tst-auditmod3b.c: Likewise.
37951 * elf/tst-auditmod4b.c: Likewise.
37952 * elf/tst-auditmod5b.c: Likewise.
37953 * elf/tst-auditmod6b.c: Likewise.
37954 * elf/tst-auditmod6c.c: Likewise.
37955 * elf/tst-auditmod7b.c: Likewise.
37956 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37957 * sysdeps/x86_64/preconfigure.in: Likewise.
37958 * sysdeps/x86_64/preconfigure: Regenerated.
37960 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37962 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37965 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
37967 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37968 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37970 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37973 * locale/iso-639.def: Fix gl language name. Spotted by
37976 2012-04-12 Roland McGrath <roland@hack.frob.com>
37979 * libio/libio.h (__io_write_fn): Update comment.
37981 2012-04-12 Petr Baudis <pasky@ucw.cz>
37984 * stdio.texi (Hook Functions): The user provided writer function
37985 is not allowed to return -1.
37987 2012-04-11 David S. Miller <davem@davemloft.net>
37989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37991 2012-04-11 Mike Frysinger <vapier@gentoo.org>
37993 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37994 Add a leading slash to rtkaio.
37996 2012-04-11 Jim Meyering <meyering@redhat.com>
37999 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38000 It is not necessarily an error to ignore fwrite's return
38001 value. One can reliably use ferror to test for errors after
38004 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38006 * bits/types.h (__snseconds_t): New type.
38007 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38009 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38010 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38011 (__SNSECONDS_T_TYPE): Likewise.
38012 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38013 (__SNSECONDS_T_TYPE): Likewise.
38014 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38015 (__SNSECONDS_T_TYPE): Likewise.
38017 2012-04-10 Andreas Jaeger <aj@suse.de>
38020 * manual/time.texi (Processor Time): Return type of times is
38021 elapsed real time since an arbitrary point in the past.
38022 (CPU Time): Move CLK_TCK from here...
38023 (Processor Time): ...to here. Correct description.
38024 * manual/conf.texi (Constants for Sysconf): Correct description of
38027 2012-04-10 David S. Miller <davem@davemloft.net>
38030 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38031 where the is a gap between DT_REL(A) and DT_JMPREL.
38033 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38035 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38036 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38037 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38039 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38041 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38042 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38043 (dl_main): Handle --inhibit-cache.
38044 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38046 * elf/dl-load.c (_dl_map_object): Use it.
38047 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38049 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38052 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38053 (__ieee754_powl): Saturate large exponents rather than testing for
38054 overflow of y*log2(x).
38055 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38056 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38060 * math/s_ctan.c: Include <float.h>.
38061 (__ctan): Avoid internal overflow or cancellation in calculating
38063 * math/s_ctanf.c: Likewise.
38064 * math/s_ctanl.c: Likewise.
38065 * math/s_ctanh.c: Likewise.
38066 * math/s_ctanhf.c: Likewise.
38067 * math/s_ctanhl.c: Likewise.
38068 * math/libm-test.inc (ctan_test): Add more tests.
38069 (ctanh_test): Likewise.
38070 * sysdeps/i386/fpu/libm-test-ulps: Update.
38071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38073 2012-04-09 Andreas Jaeger <aj@suse.de>
38076 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38077 is an optional BSD extension.
38080 * manual/stdio.texi (Opening Streams): Document additional fopen
38083 2012-04-09 Roland McGrath <roland@hack.frob.com>
38085 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38086 %eax without telling the compiler.
38088 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38091 * manual/install.texi: Use sourceware.org.
38093 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38096 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38097 (__ieee754_pow): Generate overflow and underflow using huge*huge
38098 and tiny*tiny rather than just returning constant infinity or zero
38099 for large exponents.
38100 * math/libm-test.inc (pow_test): Require overflow exceptions for
38101 applicable cases of large exponents.
38104 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38105 (__ieee754_pow): Use iterative multiplication algorithm only for
38106 integer exponents with absolute value below 1024. Check for odd
38107 integer exponents when using algorithm for real exponents.
38108 * math/libm-test.inc (pow_test): Add more tests.
38109 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38111 2012-04-08 Joseph Myers <joseph@codesourcery.com>
38114 * math/libm-test.inc (exp_test): Do not allow overflow exception
38117 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38120 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38121 instead of __kernel_standard_f.
38123 2012-04-08 Mike Frysinger <vapier@gentoo.org>
38125 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38126 * sysdeps/x86_64/memset_chk.S: Likewise.
38128 2012-04-08 Andreas Jaeger <aj@suse.de>
38131 * manual/startup.texi (Environment Access): Describe return value
38132 for putenv and setenv.
38135 * manual/filesys.texi (Directory Entries): Add description for
38139 * manual/filesys.texi (Directory Entries): Clarify that it's file
38140 system not operating system in the description of DT_UNKNOWN.
38143 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38145 2012-04-08 Stephen Compall <s11@member.fsf.org>
38148 * manual/llio.texi (Opening and Closing Files): Add cross
38149 reference to explain mode argument.
38151 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38153 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38154 * sysdeps/x86_64/memset_chk.S: Likewise.
38156 2012-04-07 David S. Miller <davem@davemloft.net>
38158 * elf/elf.h (R_SPARC_WDISP10): Define.
38159 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38161 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38162 R_SPARC_SIZE64 and R_SPARC_H34.
38164 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38166 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38167 conditions and remove no longer applicable assertion.
38169 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38171 * bits/byteswap.h: Include <features.h>.
38172 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38173 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38175 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38177 * bits/byteswap.h (__bswap_16): Removed.
38178 Include <bits/byteswap-16.h> to get __bswap_16.
38179 * sysdeps/i386/bits/byteswap.h: Likewise.
38180 * sysdeps/s390/bits/byteswap.h: Likewise.
38181 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38182 * bits/byteswap-16.h: New file.
38183 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38184 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38185 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38186 * string/Makefile (headers): Add bits/byteswap-16.h.
38188 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38191 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38193 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38194 * nss/tst-nss-static.c: New.
38196 2012-04-06 Robert Millan <rmh@gnu.org>
38199 * manual/llio.texi (File Position Primitive): lseek
38200 refers to WHENCE when it really means OFFSET.
38202 2012-04-06 Andreas Jaeger <aj@suse.de>
38204 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38205 strncmp declarations.
38207 * abilist/libc.abilist: Add __poll and __ppoll.
38209 2012-04-05 David S. Miller <davem@davemloft.net>
38211 * scripts/check-local-headers.sh: Accept a host triplet in the
38212 path matched by the exclude regexp.
38214 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38216 * sysdeps/powerpc/powerpc32/dl-machine.h
38217 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38218 * sysdeps/s390/s390-32/dl-machine.h
38219 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38220 * sysdeps/sparc/sparc32/dl-machine.h
38221 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38222 * sysdeps/sparc/sparc64/dl-machine.h
38223 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38225 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38227 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38228 undefined symbol errors.
38230 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38233 2012-04-05 Michael Matz <matz@suse.de>
38236 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38238 2012-04-05 Andreas Jaeger <aj@suse.de>
38241 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38244 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38246 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38247 which ROUND is no valid rounding mode.
38249 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38251 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38253 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38255 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38257 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38258 an exception using FPU order intentionally.
38260 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38262 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38263 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38264 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38265 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38267 2012-04-05 Simon Josefsson <simon@josefsson.org>
38270 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38271 EINVAL when BUFLEN is too smal.
38273 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38276 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38277 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38279 2012-04-03 Andreas Jaeger <aj@suse.de>
38282 * manual/setjmp.texi (System V contexts): Fix sentence.
38285 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38286 New macro for this case.
38287 [!__GNUC__] (__bswap_64): New inline function for this case.
38288 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38289 * bits/byteswap.h: Likewise.
38290 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38291 ull, guard with __GLIBC_HAVE_LONG_LONG.
38293 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38294 __GLIBC_HAVE_LONG_LONG.
38296 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38297 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38299 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38302 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38303 inptr and inend, rather than using last_ch.
38305 2012-04-02 David S. Miller <davem@davemloft.net>
38307 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38308 * stdio-common/printf-parse.h (read_int): Change return type to
38309 'int', return -1 on INT_MAX overflow.
38310 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38311 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38312 overflows INT_MAX. Check for overflow of in-format-string precision
38313 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38314 SIZE_MAX not INT_MAX for integer overflow test.
38315 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38316 skip the construct in the format string but do not record anything.
38317 * stdio-common/bug22.c: Adjust to test both width/prevision
38318 INT_MAX overflow as well as total length INT_MAX overflow. Check
38319 explicitly for proper errno values.
38321 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38323 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38325 * string/test-strcmp.c [! WIDE]: Likewise.
38326 * time/tst-mktime2.c: Likewise for INT_MAX.
38327 * string/test-string.h: #include <sys/param.h> for MIN.
38329 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38330 * sysdeps/i386/init-first.c (init): Likewise.
38331 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38332 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38333 * sysdeps/sh/init-first.c (init): Likewise.
38335 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38337 * po/ru.po: Update from translation team.
38338 * po/vi.po: Likewise.
38340 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38342 * resolv/nss_dns/dns-host.c: Merge copyright years.
38344 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38346 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38347 Optimize memcpy with prefetch if
38348 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38349 src, dst pointers have unequal 16 byte alignments.
38351 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38354 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38355 from a CNAME entry and return the minimum ttl for the query.
38356 (gaih_getanswer_slice): Likewise.
38358 2012-03-30 Jeff Law <law@redhat.com>
38360 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38362 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38363 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38365 * resolv/nss_dns/dns-host.c: Update copyright year.
38367 2012-03-30 Ulrich Drepper <drepper@gmail.com>
38369 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38370 requests to save a system call. Fix check that all bytes are sent.
38372 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38373 comments for sendmmsg.
38375 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38378 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38379 with only 1 character between 0x0041 and 0x01b0.
38380 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38381 * wcsmbs/tst-mbsnrtowcs.c: New file.
38383 2012-03-29 David S. Miller <davem@davemloft.net>
38385 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38386 small copies by hand.
38388 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38391 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38392 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38395 2012-03-28 David S. Miller <davem@davemloft.net>
38397 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38398 that branches into memcpy.
38399 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38400 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38401 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38402 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38403 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38405 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38406 implementation too.
38407 * sysdeps/sparc/mempcpy.S: New file.
38409 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38410 the IFUNC routine in the libc case.
38411 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38413 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38414 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38415 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38416 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38417 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38418 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38419 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38420 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38422 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38423 loop to 256 bytes instead of 64 bytes and fix test signedness.
38425 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38426 * sysdeps/sparc/sparc32/Makefile: rather than here...
38427 * sysdeps/sparc/sparc64/Makefile: and here.
38429 2012-03-28 Ulrich Drepper <drepper@gmail.com>
38431 * malloc/mallocbug.c: Avoid warnings about unused variables.
38433 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38436 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38437 in the right place. Discard and retry query if response is
38438 larger than input buffer size.
38440 2012-03-28 Joseph Myers <joseph@codesourcery.com>
38445 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38446 x for large integer exponent.
38447 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38448 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38449 sign of result as needed afterwards.
38450 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38451 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38452 result for underflowing pow the same as for overflow.
38453 (__kernel_standard_l): Handle powl overflow and underflow here
38454 rather than calling __kernel_standard.
38455 * math/libm-test.inc (pow_test): Add more tests.
38470 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38471 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38472 (__kernel_standard_l): New function.
38473 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38475 * math/w_acosl.c (__acosl): Likewise.
38476 * math/w_asinl.c (__asinl): Likewise.
38477 * math/w_atan2l.c (__atan2l): Likewise.
38478 * math/w_atanhl.c (__atanhl): Likewise.
38479 * math/w_coshl.c (__coshl): Likewise.
38480 * math/w_exp10l.c (__exp10l): Likewise.
38481 * math/w_exp2l.c (__exp2l): Likewise.
38482 * math/w_fmodl.c (__fmodl): Likewise.
38483 * math/w_hypotl.c (__hypotl): Likewise.
38484 * math/w_j0l.c (__j0l, __y0l): Likewise.
38485 * math/w_j1l.c (__j1l, __y1l): Likewise.
38486 * math/w_jnl.c (__jnl, __ynl): Likewise.
38487 * math/w_lgammal.c (__lgammal): Likewise.
38488 * math/w_log10l.c (__log10l): Likewise.
38489 * math/w_log2l.c (__log2l): Likewise.
38490 * math/w_logl.c (__logl): Likewise.
38491 * math/w_powl.c (__powl): Likewise.
38492 * math/w_remainderl.c (__remainderl): Likewise.
38493 * math/w_scalbl.c (sysv_scalbl): Likewise.
38494 * math/w_sinhl.c (__sinhl): Likewise.
38495 * math/w_sqrtl.c (__sqrtl): Likewise.
38496 * math/w_tgammal.c (__tgammal): Likewise.
38497 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38498 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38499 * math/libm-test.inc (acos_test): Add more tests.
38500 (acosh_test): Likewise.
38501 (asin_test): Likewise.
38502 (atanh_test): Likewise.
38503 (exp_test): Likewise.
38504 (exp10_test): Likewise.
38505 (exp2_test): Likewise.
38506 (expm1_test): Likewise.
38507 (lgamma_test): Likewise.
38508 (log_test): Likewise.
38509 (log10_test): Likewise.
38510 (log1p_test): Likewise.
38511 (log2_test): Likewise.
38512 (pow_test): Do not allow some spurious overflow exceptions.
38513 (sqrt_test): Add more tests.
38514 (tgamma_test): Likewise.
38515 (y0_test): Likewise.
38516 (y1_test): Likewise.
38517 (yn_test): Likewise.
38519 2012-03-27 Anton Blanchard <anton@samba.org>
38521 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38523 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38524 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38525 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38527 2012-03-27 David S. Miller <davem@davemloft.net>
38529 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38531 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38532 have-as-vis3 check.
38534 2012-03-27 Andreas Jaeger <aj@suse.de>
38536 * sysdeps/x86_64/elf/configure.in: Moved to ...
38537 * sysdeps/x86_64/configure.in: ... here.
38538 * sysdeps/x86_64/elf/start.S: Moved to ...
38539 * sysdeps/x86_64/start.S: ... here.
38540 * sysdeps/x86_64/elf/configure: Delete.
38542 * sysdeps/x86_64/configure.in: Merge contents from
38543 sysdeps/i386/configure.in (without i686 check).
38545 * sysdeps/i386/elf/Versions: Merge into ...
38546 * sysdeps/i386/Versions: ... this.
38547 * sysdeps/i386/elf/Versions: Delete file.
38548 * sysdeps/i386/elf/start.S: Moved to ...
38549 * sysdeps/i386/start.S: ...here.
38550 * sysdeps/i386/elf/configure.in: Merge into...
38551 * sysdeps/i386/configure.in: ...here.
38552 * sysdeps/i386/elf/configure.in: Delete file.
38553 * sysdeps/i386/elf/configure: Delete file.
38555 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38556 * debug/backtracesyms.c: ... here.
38557 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38558 * debug/backtracesymsfd.c: ... here.
38559 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38560 * sysdeps/generic/ifunc-sel.h: ... here.
38562 * sysdeps/unix/i386/start.c: Delete file.
38563 * sysdeps/unix/sparc/start.c: Delete file.
38564 * sysdeps/unix/start.c: Delete file.
38566 * sysdeps/sh/elf/configure.in: Moved to ...
38567 * sysdeps/sh/configure.in: ... here.
38568 * sysdeps/sh/elf/start.S: Moved to ...
38569 * sysdeps/sh/start.S: ... here.
38570 * sysdeps/sh/elf/configure: Delete file.
38572 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38573 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38574 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38575 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38576 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38577 * sysdeps/powerpc/powerpc64/start.S: here.
38578 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38579 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38580 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38581 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38582 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38584 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38585 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38586 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38587 * sysdeps/powerpc/powerpc32/start.S: ... here.
38588 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38589 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38590 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38592 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38593 * sysdeps/powerpc/ifunc-sel.h: ... here.
38594 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38595 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38597 * sysdeps/sparc/elf/configure.in: Moved to ...
38598 * sysdeps/sparc/configure.in: ... here.
38599 * sysdeps/sparc/elf/configure: Delete file.
38600 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38601 * sysdeps/sparc/sparc32/start.S: ... here.
38602 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38603 * sysdeps/sparc/sparc64/start.S: ... here.
38604 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38605 * sysdeps/sparc/sparc32/Makefile: ... this.
38606 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38607 * sysdeps/sparc/sparc64/Makefile: ... this.
38609 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38610 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38611 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38612 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38613 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38614 * sysdeps/s390/s390-32/setjmp.S: ... here.
38615 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38616 * sysdeps/s390/s390-32/configure.in: ... here.
38617 * sysdeps/s390/s390-32/elf/configure: Delete file.
38618 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38619 * sysdeps/s390/s390-32/start.S: ... here.
38621 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38622 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38623 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38624 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38625 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38626 * sysdeps/s390/s390-64/setjmp.S: ... here.
38627 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38628 * sysdeps/s390/s390-64/configure.in: ... here
38629 * sysdeps/s390/s390-64/elf/configure: Delete file.
38630 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38631 * sysdeps/s390/s390-64/start.S: ... here.
38632 * sysdeps/s390/s390-64/elf/configure: Delete.
38634 * configure.in: Remove support for elf directories in sysdeps.
38636 * configure: Regenerated.
38637 * sysdeps/i386/configure: Regenerated.
38638 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38639 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38640 * sysdeps/s390/s390-32/configure: Regenerated.
38641 * sysdeps/s390/s390-64/configure: Regenerated.
38642 * sysdeps/sh/configure: Regenerated.
38643 * sysdeps/sparc/configure: Regenerated.
38644 * sysdeps/x86_64/configure: Regenerated.
38646 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38650 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38651 denormal result into account.
38653 2012-03-25 Roland McGrath <roland@hack.frob.com>
38655 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38656 Reported by Allan McRae <allan@archlinux.org>.
38658 2012-03-23 Jeff Law <law@redhat.com>
38660 * nss/getnssent.c (__nss_getent): Fix typo.
38662 2012-03-23 David S. Miller <davem@davemloft.net>
38664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38666 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38668 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38669 to pad to uint64_t for each field.
38670 (dl_tls_index): Replace unsigned long with uint64_t.
38672 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38673 Paul Pluzhnikov <ppluzhnikov@google.com>
38676 * grp/Makefile (otherlibs): Don't set it.
38677 * inet/Makefile (otherlibs): Likewise.
38678 * login/Makefile (otherlibs): Likewise.
38679 * nscd/Makefile (otherlibs): Likewise.
38680 * posix/Makefile (otherlibs): Likewise.
38681 * pwd/Makefile (otherlibs): Likewise.
38682 * rt/Makefile (otherlibs): Likewise.
38683 * sunrpc/Makefile (otherlibs): Likewise.
38684 * nss/Makefile (otherlibs): Likewise.
38685 Add libnss_files to routines and static-only-routines.
38686 ($(objpfx)getent): Remove rule.
38687 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38688 static-only-routines.
38690 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38693 * math/s_cexp.c: Include <float.h>.
38694 (__cexp): Handle exp result overflowing not necessarily
38695 overflowing both real and imaginary parts of result.
38696 * math/s_cexpf.c: Likewise.
38697 * math/s_cexpl.c: Likewise.
38698 * math/libm-test.inc (cexp_test): Add more tests.
38699 * sysdeps/i386/fpu/libm-test-ulps: Update.
38700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38702 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38704 * include/link.h (ELFW): New macro.
38705 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38706 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38708 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38710 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38713 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38715 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38717 (struct La_x32_retval): Likewise.
38719 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38721 * sysdeps/x86_64/preconfigure.in: New file.
38722 * sysdeps/x86_64/preconfigure: New generated file.
38724 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38727 * math/e_exp2l.c: Include <float.h>.
38728 (__ieee754_exp2l): Handle overflow and underflow cases
38729 separately. Only pass fractional part of argument to
38731 * math/libm-test.inc (exp2_test): Add more tests.
38733 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38734 negating x to take absolute value.
38735 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38737 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38738 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38740 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38741 computing low part if x was negated.
38742 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38744 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38746 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38747 la_x32_gnu_pltexit.
38748 (pltexit): Cast int_retval to ptrdiff_t.
38749 * elf/tst-auditmod3b.c: Likewise.
38750 * elf/tst-auditmod4b.c: Likewise.
38751 * elf/tst-auditmod5b.c: Likewise.
38752 * elf/tst-auditmod6b.c: Likewise.
38753 * elf/tst-auditmod6c.c: Likewise.
38754 * elf/tst-auditmod7b.c: Likewise.
38756 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38757 and x32_gnu_pltexit.
38759 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38760 __ELF_NATIVE_CLASS.
38761 (La_x32_regs): New macro.
38762 (La_x32_retval): Likewise.
38763 (la_x32_gnu_pltenter): New function prototype.
38764 (la_x32_gnu_pltexit): Likewise.
38766 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38768 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38773 * configure.in (libc_cv_cc_nofma): Check for option to disable
38774 generation of FMA instructions.
38775 * configure: Regenerate.
38776 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38777 * sysdeps/ieee754/dbl-64/Makefile: New file.
38778 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38779 Remove brandred-fma4.
38780 (CFLAGS-brandred-fma4.c): Remove.
38781 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38782 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38784 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38787 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38789 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38790 LLONG_MAX != LONG_MAX.
38791 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38792 (_fitoa_word): Likewise.
38793 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38794 LLONG_MAX != LONG_MAX.
38795 * stdio-common/_itowa.h: Include <_itoa.h>.
38796 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38797 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38798 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38799 only if not defined.
38800 (_ITOA_WORD_TYPE): Likewise.
38801 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38802 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38804 2012-03-21 David S. Miller <davem@davemloft.net>
38806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38808 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38810 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38811 of x86_64 when setting libc_cv_slibdir, libdir and
38813 * sysdeps/unix/sysv/linux/configure: Regenerated.
38815 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38817 * manual/lang.texi (Old Varargs): Remove section.
38818 (How Variadic): Update menu.
38819 (va_start): Do not mention varargs.h.
38821 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38822 Joseph Myers <joseph@codesourcery.com>
38824 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38826 * configure: Regenerated.
38828 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38830 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38831 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38834 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38837 * Makefile (files-for-dist): Remove NOTES.
38838 (NOTES): Remove rule.
38839 * README: Don't refer to NOTES.
38840 * manual/creature.texi: Don't include macros.texi.
38841 * manual/intro.texi (creature.texi): Remove comment referring to
38844 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38845 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38846 * configure: Regenerated.
38847 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38848 LIBC_TRY_CC_OPTION.
38849 (libc_cv_as_i686): Likewise.
38850 (libc_cv_cc_avx): Likewise.
38851 (libc_cv_cc_sse2avx): Likewise.
38852 (libc_cv_cc_fma4): Likewise.
38853 (libc_cv_cc_novzeroupper): Likewise.
38854 * sysdeps/i386/configure: Regenerated.
38857 * sysdeps/i386/fpu/s_cexp.S: Remove.
38858 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38859 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38860 * math/libm-test.inc (cexp_test): Add more tests.
38861 * sysdeps/i386/fpu/libm-test-ulps: Update.
38862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38864 2012-03-21 Allan McRae <allan@archlinux.org>
38866 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38868 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38871 * math/w_exp2.c: Do not include <float.h>.
38872 (o_threshold, u_threshold): Remove.
38873 (__exp2): Calculate result before checking finiteness and calling
38875 * math/w_exp2f.c: Likewise.
38876 * math/w_exp2l.c: Likewise.
38877 * math/libm-test.inc (exp2_test): Require overflow exception for
38881 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38882 range of signed 64-bit integers before using fistpll. Remove
38883 checks for whether integers fit in mantissa bits.
38884 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38885 the range of signed 32-bit integers before using fistpl. Remove
38886 checks for whether integers fit in mantissa bits.
38887 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38888 (__ieee754_powl): Test for y outside the range of signed 64-bit
38889 integers before using fistpll. Reduce 64-bit values to 63-bit
38891 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38892 divide-by-zero is raised for zero to large negative powers.
38893 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38894 (__ieee754_powl): Test for y outside the range of signed 64-bit
38895 integers before using fistpll. Reduce 64-bit values to 63-bit
38897 * math/libm-test.inc (pow_test): Add more tests.
38899 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38901 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38902 <stdio-common/_itoa.h>.
38903 * debug/segfault.c: Likewise.
38904 * elf/dl-cache.c: Likewise.
38905 * elf/dl-minimal.c: Likewise.
38906 * elf/dl-misc.c: Likewise.
38907 * elf/dl-sysdep.c: Likewise.
38908 * elf/dl-version.c: Likewise.
38909 * elf/rtld.c: Likewise.
38910 * hurd/hurdsock.c: Likewise.
38911 * hurd/lookup-retry.c: Likewise.
38912 * malloc/malloc.c: Likewise.
38913 * malloc/mtrace.c: Likewise.
38914 * nscd/nscd_getgr_r.c: Likewise.
38915 * nscd/nscd_getpw_r.c: Likewise.
38916 * nscd/nscd_getserv_r.c: Likewise.
38917 * posix/getopt_init.c: Likewise.
38918 * posix/wordexp.c: Likewise.
38919 * stdio-common/_itoa.c: Likewise.
38920 * stdio-common/printf_fphex.c: Likewise.
38921 * stdio-common/vfprintf.c: Likewise.
38922 * string/_strerror.c: Likewise.
38923 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38924 * sysdeps/i386/i686/hp-timing.h: Likewise.
38925 * sysdeps/mach/_strerror.c: Likewise.
38926 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38927 * sysdeps/mach/hurd/sethostid.c: Likewise.
38928 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38929 * sysdeps/mach/xpg-strerror.c: Likewise.
38930 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38931 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38932 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38933 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38934 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38935 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38936 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38937 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38938 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38939 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38940 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38941 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38942 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38943 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38944 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38945 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38946 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38947 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38948 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38949 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38950 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38952 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38954 * stdio-common/_itoa.h: Moved to ...
38955 * sysdeps/generic/_itoa.h: Here.
38957 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38959 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38960 instead of "_itoa.h" and "_itowa.h".
38961 * stdio-common/vfprintf.: Likewise.
38963 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38965 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38967 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38968 (__signbit): Likwise.
38969 (llrintf): Likwise.
38972 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38974 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38977 2012-03-20 Joseph Myers <joseph@codesourcery.com>
38979 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38980 OVERFLOW_EXCEPTION_OK.
38981 * math/libm-test.inc ("Philosophy"): Update comment about
38983 (OVERFLOW_EXCEPTION): Define.
38984 (OVERFLOW_EXCEPTION_OK): Likewise.
38985 (INVALID_EXCEPTION_OK): Renumber.
38986 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38987 (IGNORE_ZERO_INF_SIGN): Likewise.
38988 (test_exceptions): Handle FE_OVERFLOW.
38989 (exp10_test): Expect overflow exceptions.
38990 (exp2_test): Likewise.
38991 (expm1_test): Likewise.
38992 (nextafter_test): Likewise.
38993 (pow_test): Likewise.
38994 (scalbn_test): Likewise.
38995 (scalbln_test): Likewise.
38997 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38999 * sysdeps/x86_64/bits/atomic.h
39000 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39002 (atomic_exchange_acq): Likewise.
39003 (__arch_exchange_and_add_body): Likewise.
39004 (__arch_add_body): Likewise.
39005 (atomic_add_negative): Likewise.
39006 (atomic_add_zero): Likewise.
39008 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39010 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39011 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39013 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39015 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39016 Check __x86_64__ instead of __WORDSIZE.
39018 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39020 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39022 2012-03-19 David S. Miller <davem@davemloft.net>
39024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39026 * sysdeps/sparc/fpu/fenv_private.h: New file.
39027 * sysdeps/sparc/fpu/math_private.h: Use it.
39028 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39030 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39031 (libc_feholdexcept_setroundl): Remove.
39032 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39034 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39035 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39037 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39039 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39040 int64_t instead of long int.
39041 (INSERT_WORDS64): Likwise.
39043 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39045 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39046 _Unwind_GetCFA return to _Unwind_Ptr first.
39048 2012-03-19 Joseph Myers <joseph@codesourcery.com>
39051 * math/s_clog.c: Include <float.h>.
39052 (__clog): Scale large or subnormal inputs.
39053 * math/s_clogf.c: Likewise.
39054 * math/s_clogl.c: Likewise.
39055 * math/s_clog10.c: Include <float.h>.
39056 (M_LOG10_2): Define.
39057 (__clog10): Scale large or subnormal inputs.
39058 * math/s_clog10f.c: Likewise.
39059 * math/s_clog10l.c: Likewise.
39060 * math/libm-test.inc (clog_test): Add more tests.
39061 (clog10_test): Likewise.
39062 * sysdeps/i386/fpu/libm-test-ulps: Update.
39063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39066 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39068 * math/libm-test.inc (atan2_test): Add another test.
39070 * Makerules (common-objdir-compile): Remove.
39071 * sysdeps/unix/Makefile (config-generated): Do not add
39072 $(unix-generated) to variable.
39073 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39074 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39076 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39078 [generic bits/local_lim.h] (before-compile): Do not append to
39080 [generic bits/local_lim.h] (common-generated): Likewise.
39081 [generic sys/param.h] (before-compile): Do not append to variable.
39082 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39083 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39084 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39085 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39087 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39088 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39089 [generic sys/param.h] ($(addprefix
39090 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39091 [generic sys/param.h] (common-generated): Do not append to
39093 [generic sys/param.h] (sysdep_headers): Likewise.
39094 [generic bits/errno.h] (before-compile): Do not append to
39096 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39098 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39099 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39100 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39101 [generic bits/errno.h] (common-generated): Do not append to
39103 [generic bits/ioctls.h] (before-compile): Do not append to
39105 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39107 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39108 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39109 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39111 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39112 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39113 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39114 [generic bits/ioctls.h] (common-generated): Do not append to
39116 [generic sys/syscall.h] (syscall.h): Remove variable.
39117 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39119 [generic sys/syscall.h] (before-compile): Do not append to
39121 [generic sys/syscall.h] (common-generated): Likewise.
39122 * sysdeps/unix/errnos-tmpl.c: Remove file.
39123 * sysdeps/unix/errnos.awk: Likewise.
39124 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39125 * sysdeps/unix/ioctls.awk: Likewise.
39126 * sysdeps/unix/mk-local_lim.c: Likewise.
39127 * sysdeps/unix/snarf-ioctls: Likewise.
39129 2012-03-19 Richard Henderson <rth@twiddle.net>
39131 * sysdeps/i386/fpu/fenv_private.h: New file.
39132 * sysdeps/i386/fpu/math_private.h: Use it.
39133 (math_opt_barrier, math_force_eval): Remove.
39134 (libc_feholdexcept_setround_53bit): Remove.
39135 (libc_feupdateenv_53bit): Remove.
39136 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39137 (math_opt_barrier, math_force_eval): Remove.
39138 (libc_feholdexcept): Remove.
39139 (libc_feholdexcept_setround): Remove.
39140 (libc_fetestexcept, libc_fesetenv): Remove.
39141 (libc_feupdateenv_test): Remove.
39142 (libc_feupdateenv, libc_feholdsetround): Remove.
39143 (libc_feresetround): Remove.
39145 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39146 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39148 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39149 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39150 (libc_feupdateenv_testl): New.
39151 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39152 (libc_feupdateenv_testf): New.
39153 (libc_feupdateenv): Use libc_feupdateenv_test.
39154 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39155 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39157 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39158 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39159 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39160 (libc_feresetround_noex): New.
39161 (libc_feresetround_noexf): New.
39162 (libc_feresetround_noexl): New.
39163 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39164 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39165 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39166 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39168 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39169 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39171 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39172 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39173 SET_RESTORE_ROUND_NOEX.
39174 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39175 SET_RESTORE_ROUND_NOEXF.
39176 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39177 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39178 (libc_feholdsetroundf): New.
39179 (libc_feresetround, libc_feresetroundf): New.
39181 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39182 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39183 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39185 * sysdeps/generic/math_private.h: Include <fenv.h>.
39186 (default_libc_feholdexcept): New.
39187 (default_libc_feholdexcept_setround): New.
39188 (default_libc_fesetenv, default_libc_feupdateenv): New.
39189 (libc_feholdexcept): Only define if undefined.
39190 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39191 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39192 (libc_feholdexcept_setroundl): Likewise.
39193 (libc_feholdexcept_setround_53bit): Likewise.
39194 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39195 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39196 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39197 (libc_feupdateenv_53bit): Likewise.
39198 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39199 (libc_feholdexcept): Convert from macro to inline function.
39200 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39201 (libc_fesetenv, libc_feupdateenv): Likewise.
39203 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39204 not previously defined.
39205 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39206 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39207 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39208 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39209 * sysdeps/ieee754/flt-32/math_private.h: New file.
39210 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39211 math_private.h below SET_FLOAT_WORD.
39212 (__isnan, __isinf_ns, __finite): Remove.
39213 (__isnanf, __isinf_nsf, __finitef): Remove.
39215 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39219 2012-03-17 David S. Miller <davem@davemloft.net>
39222 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39225 2012-03-16 David S. Miller <davem@davemloft.net>
39227 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39231 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39233 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39234 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39235 sysdep_routines when subdir is sysvipc.
39236 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39237 __getshmlba helper.
39239 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39241 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39243 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39246 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39248 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39249 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39250 (__lround): Renamed to ...
39251 (__llround): This. Replace long int with long long int.
39252 Define lround functions as aliases of llround functions.
39253 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39255 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39257 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39258 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39259 adresses to uintptr_t. Replace "long int" and "unsigned long
39260 int" with "greg_t" on va_arg.
39262 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39264 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39265 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39267 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39268 Move e_machine check before EI_CLASS check. Handle x32
39269 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39270 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39271 SKIP_EM_IA_64 and include
39272 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39274 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39275 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39276 (add_system_dir): New macro.
39278 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39279 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39281 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39292 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39294 * math/w_j0f.c (j0f): Likewise.
39296 * math/w_j0l.c (__j0l): Likewise.
39298 * math/w_j1.c (j1): Likewise.
39300 * math/w_j1f.c (j1f): Likewise.
39302 * math/w_j1l.c (__j1l): Likewise.
39304 * math/w_jn.c (jn): Likewise.
39306 * math/w_jnf.c (jnf): Likewise.
39308 * math/w_jnl.c (__jnl): Likewise.
39310 * math/libm-test.inc (j0_test): Add more tests.
39311 (j1_test): Likewise.
39312 (jn_test): Likewise. Add trailing semicolon to existing test.
39313 (y0_test): Likewise.
39314 (y1_test): Likewise.
39315 * sysdeps/i386/fpu/libm-test-ulps: Update.
39316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39320 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39321 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39322 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39323 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39324 (__tanl): Set errno for infinite argument.
39325 * sysdeps/i386/fpu/mptan.c: Remove.
39326 * sysdeps/i386/fpu/s_tan.S: Likewise.
39327 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39328 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39329 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39330 * math/libm-test.inc (tan_test): Add more tests and enable more
39331 tests for double and long double.
39332 * sysdeps/i386/fpu/libm-test-ulps: Update.
39333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39335 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39337 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39338 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39340 2012-03-16 Roland McGrath <roland@hack.frob.com>
39342 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39343 * configure.in: Use it for both main tree and add-ons.
39344 * configure: Regenerated.
39346 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39348 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39350 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39352 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39356 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39357 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39358 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39359 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39360 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39362 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39363 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39364 != 0 for prec == 2.
39365 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39366 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39367 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39368 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39369 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39370 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39371 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39372 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39373 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39374 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39375 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39376 * math/libm-test.inc (cos_test): Add more tests and enable more
39377 tests for long double.
39378 (sin_test): Likewise.
39379 (sincos_test): Likewise.
39380 * sysdeps/i386/fpu/libm-test-ulps: Update.
39381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39383 2012-03-16 David S. Miller <davem@davemloft.net>
39385 * sysdeps/sparc/fpu/math_private.h: New file.
39387 2012-03-15 David S. Miller <davem@davemloft.net>
39389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39399 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39403 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39404 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39406 * sysdeps/sparc/sparc-ifunc.h: New file.
39407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39431 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39432 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39433 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39434 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39436 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39437 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39438 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39440 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39444 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39445 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39446 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39447 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39448 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39449 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39450 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39452 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39454 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39458 2012-03-15 Andreas Jaeger <aj@suse.de>
39461 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39462 ieee754/flt-32 implementation for sin, cos and sincos.
39463 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39464 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39465 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39466 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39467 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39468 ieee754/flt-32 implementation for tan.
39470 * math/libm-test.inc (cos_test): Enable some large input tests for
39472 (sin_test): Likewise.
39473 (sincos_test): Likewise.
39474 (tan_test): Add tests for large input.
39476 * sysdeps/i386/fpu/libm-test-ulps: Update.
39478 2012-03-15 Andreas Jaeger <aj@suse.de>
39481 * math/libm-test.inc (cos_test): Add more test cases.
39482 (sin_test): Likewise.
39483 (sincos_test): Likewise.
39485 2012-03-15 Andreas Jaeger <aj@suse.de>
39488 * math/libm-test.inc (cos_test): Add a test case for large input
39490 (sin_test): Likewise.
39491 (sincos_test): Likewise.
39493 2012-03-15 Andreas Jaeger <aj@suse.de>
39494 Joseph Myers <joseph@codesourcery.com>
39497 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39498 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39499 * sysdeps/i386/fpu/branred.c: Likewise.
39500 * sysdeps/i386/fpu/dosincos.c: Likewise.
39501 * sysdeps/i386/fpu/mpa.c: Likewise.
39502 * sysdeps/i386/fpu/s_cos.S: Likewise.
39503 * sysdeps/i386/fpu/s_sin.S: Likewise.
39504 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39505 * sysdeps/i386/fpu/sincos32.c: Likewise.
39507 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39509 (libc_feupdateenv_53bit): Define.
39510 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39512 (libc_feupdateenv_53bit): Define.
39514 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39515 53 bit (without extend i386 double precision).
39517 * math/libm-test.inc (sincos_test): Add tests for large input.
39521 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39523 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39527 2012-03-15 David S. Miller <davem@davemloft.net>
39529 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39530 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39531 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39532 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39556 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39557 fmin/fmax sysdep routines.
39558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39560 2012-03-14 David S. Miller <davem@davemloft.net>
39562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39566 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39567 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39568 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39569 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39570 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39571 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39582 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39583 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39584 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39585 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39586 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39587 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39588 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39589 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39590 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39634 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39639 * sysdeps/sparc/configure.in: New file.
39640 * sysdeps/sparc/configure: Generate.
39641 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39642 * configure: Regenerate.
39643 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39644 * config.make.in (have-as-vis3): New.
39645 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39646 available use -Av9d instead of -Av9a.
39647 * sysdeps/sparc/sparc64/Makefile: Likewise.
39648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39657 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39658 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39659 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39660 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39661 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39663 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39664 fzeros/fnegs to load 0x80000000 into a float register instead of
39666 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39668 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39672 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39673 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39674 ($(inst_includedir)/bits/syscall.h): Remove rule.
39675 ($(objpfx)bits/syscall.d): Include instead of
39676 $(objpfx)syscall-list.d.
39677 (generated): Change syscall-list.h and syscall-list.d to
39678 bits/syscall.h and bits/syscall.d.
39680 2012-03-14 Roland McGrath <roland@hack.frob.com>
39683 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39685 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39688 * math/s_csqrt.c: Include <float.h>.
39689 (__csqrt): Scale large or subnormal inputs.
39690 * math/s_csqrtf.c: Likewise.
39691 * math/s_csqrtl.c: Likewise.
39692 * math/libm-test.inc (csqrt_test): Add more tests.
39693 * sysdeps/i386/fpu/libm-test-ulps: Update.
39694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39697 * math/libm-test.inc (hypot_test): Add more tests.
39699 2012-03-13 David S. Miller <davem@davemloft.net>
39702 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39703 double-precision for the calculation instead of scaling.
39705 2012-03-13 Joseph Myers <joseph@codesourcery.com>
39707 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39708 manipulate bits before adding and subtracting TWO52[sx].
39709 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39710 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39712 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39714 2012-03-13 David S. Miller <davem@davemloft.net>
39716 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39717 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39718 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39719 rtld-global-offsets.h
39720 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39722 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39725 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39727 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39728 'err' in the ifdef scope in which it is actually used.
39730 * nss/nss_db/db-init.c: Include string.h
39732 2012-03-12 David S. Miller <davem@davemloft.net>
39734 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39735 masking out of the most significant byte of random value used.
39736 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39737 Fix coding style in previous change.
39739 * sysdeps/unix/sysv/linux/kernel-features.h
39740 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39741 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39743 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39746 2012-03-11 David S. Miller <davem@davemloft.net>
39748 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39749 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39750 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39751 for 'resultvar' otherwise things get truncated on 64-bit.
39753 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39754 Fix masking out of the most significant byte of random value used.
39756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39758 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39762 2012-03-09 David S. Miller <davem@davemloft.net>
39764 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39765 variables with appropriate CPP guards.
39766 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39767 from the frame pointer, not the stack pointer. Correct layout
39768 comments. Fix test on resulting framesize and the management of
39769 the outregs buffer for pltexit. Preserve floating point return
39770 values across _dl_call_pltexit call.
39771 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39772 framesize and the management of the outregs buffer for pltexit.
39773 Preserve floating point return values across _dl_call_pltexit
39775 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39776 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39777 (la_sparc64_gnu_pltexit): New functions.
39778 (print_exit): Fix format string for return register value.
39780 2012-03-10 Joseph Myers <joseph@codesourcery.com>
39782 * sunrpc/Makefile (others): Add rpcgen.
39783 ($(objpfx)rpcgen): Remove special build rule and dependency on
39785 * sunrpc/rpcgen.c: New file.
39787 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39790 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39791 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39792 * sysdeps/i386/crti.S: Likewise.
39793 * sysdeps/i386/crtn.S: Likewise.
39794 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39795 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39796 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39797 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39798 * sysdeps/sh/crti.S: Likewise.
39799 * sysdeps/sh/crtn.S: Likewise.
39800 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39803 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39805 * locale/programs/locfile-kw.gperf: Likewise.
39806 * locale/programs/charmap-kw.h: Regenerated.
39807 * locale/programs/locfile-kw.h: Likewise.
39810 * intl/plural.y: Replace FSF snail mail address with URL.
39811 * intl/plural.c: Regenerated.
39813 2012-03-09 Richard Henderson <rth@twiddle.net>
39815 * include/math_private.h: Remove file.
39816 * math/math_private.h: Move file ...
39817 * sysdeps/generic/math_private.h: ... here.
39819 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39820 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39821 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39823 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39824 and <math_private.h>.
39825 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39826 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39827 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39828 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39829 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39830 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39831 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39832 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39833 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39834 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39835 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39836 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39837 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39838 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39839 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39840 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39841 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39842 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39843 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39844 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39845 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39846 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39847 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39848 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39849 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39850 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39851 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39852 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39853 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39854 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39855 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39856 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39857 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39858 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39859 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39860 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39861 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39862 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39863 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39864 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39865 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39866 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39867 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39868 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39869 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39870 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39871 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39872 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39873 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39874 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39875 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39876 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39877 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39878 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39879 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39880 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39881 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39882 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39883 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39884 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39885 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39886 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39887 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39888 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39889 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39890 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39891 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39892 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39893 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39894 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39895 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39896 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39897 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39898 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39899 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39900 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39901 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39902 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39903 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39904 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39905 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39906 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39907 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39908 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39909 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39910 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39911 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39912 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39913 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39914 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39915 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39916 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39917 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39918 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39919 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39920 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39921 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39922 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39923 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39924 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39925 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39926 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39927 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39928 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39929 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39930 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39931 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39932 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39933 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39934 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39935 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39936 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39937 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39938 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39939 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39940 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39941 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39942 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39943 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39944 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39945 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39946 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39947 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39948 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39949 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39950 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39951 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39952 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39953 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39954 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39955 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39956 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39957 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39958 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39959 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39960 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39961 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39962 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39963 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39964 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39965 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39966 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39967 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39968 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39969 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39970 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39971 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39972 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39973 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39974 * sysdeps/ieee754/k_standard.c: Likewise.
39975 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39976 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39977 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39978 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39979 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39980 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39981 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39982 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39983 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39984 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39985 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39986 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39987 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39988 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39989 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39990 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39991 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39992 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39993 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39994 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39995 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39996 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39997 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39998 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39999 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40000 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40001 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40002 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40003 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40004 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40005 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40006 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40007 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40008 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40009 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40010 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40011 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40012 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40013 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40014 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40015 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40016 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40017 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40018 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40019 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40020 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40021 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40022 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40023 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40024 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40025 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40026 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40027 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40028 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40029 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40030 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40031 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40032 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40033 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40034 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40035 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40036 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40037 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40038 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40039 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40040 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40041 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40042 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40043 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40044 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40045 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40046 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40047 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40048 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40049 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40050 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40051 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40052 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40053 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40054 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40055 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40056 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40057 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40058 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40059 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40060 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40061 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40062 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40063 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40064 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40065 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40066 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40067 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40068 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40069 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40070 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40071 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40072 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40073 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40074 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40075 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40076 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40077 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40078 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40079 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40080 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40081 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40082 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40083 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40084 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40085 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40086 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40087 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40088 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40089 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40090 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40091 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40092 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40093 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40094 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40095 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40096 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40097 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40098 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40099 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40100 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40101 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40102 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40103 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40104 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40105 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40106 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40107 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40108 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40109 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40110 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40111 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40112 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40113 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40114 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40115 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40116 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40117 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40118 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40119 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40120 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40121 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40122 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40123 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40124 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40125 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40126 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40127 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40128 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40129 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40130 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40131 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40132 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40133 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40134 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40135 * sysdeps/ieee754/s_lib_version.c: Likewise.
40136 * sysdeps/ieee754/s_matherr.c: Likewise.
40137 * sysdeps/ieee754/s_signgam.c: Likewise.
40138 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40139 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40140 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40141 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40142 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40143 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40144 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40145 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40146 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40147 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40148 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40149 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40150 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40151 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40152 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40153 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40154 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40155 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40156 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40157 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40158 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40160 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40162 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40163 * sunrpc/rpc_main.c: Likewise.
40164 * sunrpc/rpc_svcout.c: Likewise.
40166 2012-03-09 David S. Miller <davem@davemloft.net>
40168 * include/math_private.h: New file.
40170 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40172 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40173 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40174 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40175 from <bits/socket_type.h>.
40176 (enum __socket_type): Don't define here.
40177 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40178 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40179 bits/socket_type.h.
40182 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40183 checking __USE_GNU.
40185 * Makerules ($(inst_includedir)/%.h): New rule.
40186 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40187 (install-others): Remove variable setting.
40188 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40190 2012-03-08 Richard Henderson <rth@twiddle.net>
40192 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40193 from macro to inline function; merge with the
40194 !__LIBC_INTERNAL_MATH_INLINES version.
40195 (__ieee754_sqrtf): Likewise.
40197 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40198 to inline function.
40199 (__rintf, __floor, __floorf): Likewise.
40201 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40202 macro to inline function.
40203 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40205 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40206 not <math/math_private.h>.
40208 2012-03-08 David S. Miller <davem@davemloft.net>
40210 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40212 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40214 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40216 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40218 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40219 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40221 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40223 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40224 be defined individually, they must be defined as a block. Define
40225 S for printing a string instead of hidint the different by using a
40226 macro for adding the 'l'.
40227 * stdio-common/tst-fphex-wide.c: Adjust.
40229 2012-03-07 Marek Polacek <polacek@redhat.com>
40231 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40233 2012-03-08 Marek Polacek <polacek@redhat.com>
40236 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40237 * stdio-common/tst-fphex.c: Define a few macros to make the
40238 test reusable. Use them.
40239 * stdio-common/tst-fphex-wide.c: New file.
40241 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40244 * manual/macros.texi (gnusystems): New macro.
40245 (nongnusystems): Likewise.
40246 (gnulinuxhurdsystems): Likewise.
40247 (gnuhurdsystems): Likewise..
40248 (gnulinuxsystems): Likewise.
40249 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40250 variants of the GNU system, not "GNU system".
40251 * manual/conf.texi: Likewise.
40252 * manual/errno.texi: Likewise. Update example of errno macro
40254 * manual/filesys.texi: Likewise.
40255 (getumask): Document as specific to GNU/Hurd.
40256 * manual/install.texi: Likewise. Reword some references to
40258 * manual/intro.texi: Likewise.
40259 * manual/io.texi: Likewise.
40260 (File Name Portability): Detail which constraints are inapplicable
40261 to all GNU systems and which are only inapplicable to GNU/Hurd.
40262 * manual/job.texi: Likewise.
40263 * manual/llio.texi: Likewise.
40264 (O_NOCTTY): Document as present on GNU/Linux.
40265 * manual/maint.texi: Likewise.
40266 * manual/memory.texi: Likewise.
40267 * manual/pattern.texi: Likewise.
40268 * manual/pipe.texi: Likewise.
40269 * manual/process.texi: Likewise.
40270 * manual/resource.texi: Likewise.
40271 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40273 * manual/setjmp.texi: Likewise.
40274 * manual/signal.texi: Likewise.
40275 * manual/startup.texi: Likewise.
40276 * manual/stdio.texi: Likewise.
40277 * manual/terminal.texi: Likewise.
40278 (ONLCR): Document as POSIX.
40279 (OXTABS): Document availability on GNU/Linux as XTABS.
40280 (ONOEOT): Document availability separately from other bits.
40281 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40282 * manual/time.texi: Likewise.
40283 * manual/users.texi: Likewise.
40284 * INSTALL: Regenerated.
40285 * sysdeps/gnu/errlist.c: Regenerated.
40287 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40288 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40289 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40291 * configure: Regenerated.
40293 2012-03-07 Joseph Myers <joseph@codesourcery.com>
40295 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40296 default includes instead of AC_HEADER_CHECK.
40297 * sysdeps/i386/configure: Regenerated.
40300 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40301 * math/s_cacoshf.c (__cacoshf): Likewise.
40302 * math/s_cacoshl.c (__cacoshl): Likewise.
40303 * math/s_casinh.c (__casinh): Set signs of result from argument.
40304 * math/s_casinhf.c (__casinhf): Likewise.
40305 * math/s_casinhl.c (__casinhl): Likewise.
40306 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40307 (casinh_test): Add more tests.
40308 * sysdeps/i386/fpu/libm-test-ulps: Update.
40309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40311 2012-03-07 Ulrich Drepper <drepper@gmail.com>
40313 * po/zh_TW.po: Update from translation team.
40315 * login/Makefile (distribute): Remove variable.
40316 * catgets/Makefile: Likewise.
40317 * mach/Makefile: Likewise.
40318 * malloc/Makefile: Likewise.
40319 * misc/Makefile: Likewise.
40320 * iconv/Makefile: Likewise.
40321 * nscd/Makefile: Likewise.
40322 * hurd/Makefile: Likewise.
40323 * manual/Makefile: Likewise.
40324 * locale/Makefile: Likewise.
40325 * intl/Makefile: Likewise.
40326 * conform/Makefile: Likewise.
40327 * nss/Makefile: Likewise.
40328 * time/Makefile: Likewise.
40329 * soft-fp/Makefile: Likewise.
40330 * dirent/Makefile: Likewise.
40331 * gmon/Makefile: Likewise.
40332 * po/Makefile: Likewise.
40333 * rt/Makefile: Likewise.
40334 * socket/Makefile: Likewise.
40335 * math/Makefile: Likewise.
40336 * signal/Makefile: Likewise.
40337 * debug/Makefile: Likewise.
40338 * elf/Makefile: Likewise.
40339 * timezone/Makefile: Likewise.
40340 * stdlib/Makefile: Likewise.
40341 * iconvdata/Makefile: Likewise.
40342 * sunrpc/Makefile: Likewise.
40343 * io/Makefile: Likewise.
40344 * argp/Makefile: Likewise.
40345 * inet/Makefile: Likewise.
40346 * hesiod/Makefile: Likewise.
40347 * grp/Makefile: Likewise.
40348 * csu/Makefile: Likewise.
40349 * wctype/Makefile: Likewise.
40350 * crypt/Makefile: Likewise.
40351 * libio/Makefile: Likewise.
40352 * string/Makefile: Likewise.
40353 * nis/Makefile: Likewise.
40354 * resolv/Makefile: Likewise.
40355 * stdio-common/Makefile: Likewise.
40356 * wcsmbs/Makefile: Likewise.
40357 * dlfcn/Makefile: Likewise.
40358 * posix/Makefile: Likewise.
40361 * timezone/Makefile: Don't install timezone files, just the programs
40364 2012-03-06 Ulrich Drepper <drepper@gmail.com>
40366 * nss/databases.def: Add missing gshadow entry.
40368 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40370 2012-03-06 Marek Polacek <polacek@redhat.com>
40373 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40374 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40375 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40376 * stdio-common/tst-long-dbl-fphex.c: New file.
40378 2012-03-06 David S. Miller <davem@davemloft.net>
40380 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40381 (set_obp_int): New function.
40382 (get_obp_int): New function.
40383 (__get_clockfreq_via_dev_openprom): Likewise.
40384 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40385 Avoid unused variable warnings on 'val' and use builtin_expect.
40386 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40388 (INLINE_CLONE_SYSCALL): Likewise.
40390 2012-03-05 David S. Miller <davem@davemloft.net>
40392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40394 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40398 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40399 only for |x| >= 40.
40400 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40402 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
40404 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40405 Replace gettimeofday with __vdso_gettimeofday.
40407 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40408 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40409 __vdso_clock_gettime and __vdso_getcpu.
40411 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40412 time with __vdso_time.
40414 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40416 * manual/lang.texi (size_t): Note types to which size_t may be
40417 equivalent with the GNU C Library, but do not describe when
40418 differences between them are significant.
40420 2012-03-05 Andreas Jaeger <aj@suse.de>
40422 * sysdeps/i386/fpu/libm-test-ulps: Update.
40424 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40427 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40428 (__ieee754_pow): Save and restore rounding mode and use
40429 round-to-nearest for main computations.
40430 * math/libm-test.inc (pow_test_tonearest): New function.
40431 (pow_test_towardzero): Likewise.
40432 (pow_test_downward): Likewise.
40433 (pow_test_upward): Likewise.
40434 (main): Call the new functions.
40435 * sysdeps/i386/fpu/libm-test-ulps: Update.
40436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40439 * math/libm-test.inc (cosh_test_tonearest): New function.
40440 (cosh_test_towardzero): Likewise.
40441 (cosh_test_downward): Likewise.
40442 (cosh_test_upward): Likewise.
40443 (sinh_test_tonearest): Likewise.
40444 (sinh_test_towardzero): Likewise.
40445 (sinh_test_downward): Likewise.
40446 (sinh_test_upward): Likewise.
40447 (main): Call the new functions.
40448 * sysdeps/i386/fpu/libm-test-ulps: Update.
40449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40451 2012-03-05 Tom de Vries <tom@codesourcery.com>
40453 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40454 default stack guard is set in last bytes.
40455 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40457 2012-03-05 Kees Cook <keescook@chromium.org>
40459 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40462 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40463 possibly allocate from heap instead of stack.
40464 * stdio-common/bug-vfprintf-nargs.c: New file.
40465 * stdio-common/Makefile (tests): Add nargs overflow test.
40467 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40471 2012-03-03 Marek Polacek <polacek@redhat.com>
40473 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40474 * math/math_private.h: Likewise.
40475 * stdlib/tst-strtod.c: Likewise.
40476 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40477 * sysdeps/x86_64/bits/atomic.h: Likewise.
40479 2012-03-02 David S. Miller <davem@davemloft.net>
40481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40485 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40486 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40487 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40488 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40490 2012-03-02 Roland McGrath <roland@hack.frob.com>
40493 * manual/examples/README: New file, says the example source files
40494 can be used under GPL>=2.
40495 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40496 line containing just "*/".
40497 * manual/examples/add.c: Add copyright header (GPL>=2).
40498 * manual/examples/argp-ex1.c: Likewise.
40499 * manual/examples/argp-ex2.c: Likewise.
40500 * manual/examples/argp-ex3.c: Likewise.
40501 * manual/examples/argp-ex4.c: Likewise.
40502 * manual/examples/atexit.c: Likewise.
40503 * manual/examples/db.c: Likewise.
40504 * manual/examples/dir.c: Likewise.
40505 * manual/examples/dir2.c: Likewise.
40506 * manual/examples/execinfo.c: Likewise.
40507 * manual/examples/filecli.c: Likewise.
40508 * manual/examples/filesrv.c: Likewise.
40509 * manual/examples/fmtmsgexpl.c: Likewise.
40510 * manual/examples/genpass.c: Likewise.
40511 * manual/examples/inetcli.c: Likewise.
40512 * manual/examples/inetsrv.c: Likewise.
40513 * manual/examples/isockad.c: Likewise.
40514 * manual/examples/longopt.c: Likewise.
40515 * manual/examples/memopen.c: Likewise.
40516 * manual/examples/memstrm.c: Likewise.
40517 * manual/examples/mkfsock.c: Likewise.
40518 * manual/examples/mkisock.c: Likewise.
40519 * manual/examples/mygetpass.c: Likewise.
40520 * manual/examples/pipe.c: Likewise.
40521 * manual/examples/popen.c: Likewise.
40522 * manual/examples/rprintf.c: Likewise.
40523 * manual/examples/search.c: Likewise.
40524 * manual/examples/select.c: Likewise.
40525 * manual/examples/setjmp.c: Likewise.
40526 * manual/examples/sigh1.c: Likewise.
40527 * manual/examples/sigusr.c: Likewise.
40528 * manual/examples/stpcpy.c: Likewise.
40529 * manual/examples/strdupa.c: Likewise.
40530 * manual/examples/strftim.c: Likewise.
40531 * manual/examples/strncat.c: Likewise.
40532 * manual/examples/subopt.c: Likewise.
40533 * manual/examples/swapcontext.c: Likewise.
40534 * manual/examples/termios.c: Likewise.
40535 * manual/examples/testopt.c: Likewise.
40536 * manual/examples/testpass.c: Likewise.
40537 * manual/examples/timeval_subtract.c: Likewise.
40540 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40542 * manual/timeval_subtract.c.texi: ... here, new file.
40544 2012-03-02 David S. Miller <davem@davemloft.net>
40546 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40548 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40551 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40552 (__sin): Save and restore rounding mode and use round-to-nearest
40553 for all computations.
40554 (__cos): Save and restore rounding mode and use round-to-nearest
40555 for all computations.
40556 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40558 (tan): Save and restore rounding mode and use round-to-nearest for
40560 * math/libm-test.inc (cos_test_tonearest): New function.
40561 (cos_test_towardzero): Likewise.
40562 (cos_test_downward): Likewise.
40563 (cos_test_upward): Likewise.
40564 (sin_test_tonearest): Likewise.
40565 (sin_test_towardzero): Likewise.
40566 (sin_test_downward): Likewise.
40567 (sin_test_upward): Likewise.
40568 (tan_test_tonearest): Likewise.
40569 (tan_test_towardzero): Likewise.
40570 (tan_test_downward): Likewise.
40571 (tan_test_upward): Likewise.
40572 (main): Call the new functions.
40573 * sysdeps/i386/fpu/libm-test-ulps: Update.
40574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40577 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40578 small n, then large n, before computing and testing k+n.
40579 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40580 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40582 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40584 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40585 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40586 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40587 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40588 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40589 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40590 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40591 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40592 * math/libm-test.inc (scalbn_test): Add more tests.
40593 (scalbln_test): Likewise.
40595 * manual/filesys.texi (mode_t): Describe constraints on size and
40596 signedness, not exact equivalence to a particular type.
40598 (ino64_t): Likewise.
40600 (nlink_t): Likewise.
40601 (blkcnt_t): Likewise.
40602 (blkcnt64_t): Likewise.
40603 * manual/llio.texi (off_t): Likewise.
40606 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40607 (__ieee754_exp): Save and restore rounding mode and use
40608 round-to-nearest for all computations.
40609 * math/libm-test.inc (exp_test_tonearest): New function.
40610 (exp_test_towardzero): Likewise.
40611 (exp_test_downward): Likewise.
40612 (exp_test_upward): Likewise.
40613 (main): Call the new functions.
40614 * sysdeps/i386/fpu/libm-test-ulps: Update.
40615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40617 2012-03-01 Chris Demetriou <cgd@google.com>
40619 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40620 have predictable order.
40622 2012-03-01 David S. Miller <davem@davemloft.net>
40624 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40626 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40627 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40628 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40629 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40631 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40632 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40633 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40635 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40636 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40637 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40638 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40639 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40643 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40644 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40645 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40647 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40648 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40649 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40650 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40651 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40652 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40653 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40654 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40655 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40656 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40657 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40658 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40659 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40660 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40661 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40662 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40663 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40664 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40665 * sysdeps/sparc/elf/configure: Regenerated.
40667 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40669 * configure.in (AS, LD): Require binutils 2.20 or later.
40670 * configure: Regenerated.
40671 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40672 as required minimum version.
40673 * INSTALL: Regenerated.
40677 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40678 before squaring exponent.
40679 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40680 bottom long double and 27 bits of top long double before squaring
40682 * math/libm-test.inc (erfc_test): Add more tests.
40683 * sysdeps/i386/fpu/libm-test-ulps: Update.
40684 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40687 2012-03-01 Kai Tietz <ktietz@redhat.com>
40689 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40690 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40691 containing bit-fields.
40692 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40693 * soft-fp/single.h (_FP_UNION_S): Likewise.
40694 * soft-fp/double.h (_FP_UNION_D): Likewise.
40696 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40699 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40700 not include ../strcmp.S.
40701 [USE_AS_STRNCASECMP_L]: Likewise.
40702 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40703 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40704 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40705 (__strncasecmp_l_ia32): Define as alias to
40706 __strncasecmp_l_nonascii.
40709 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40710 * sysdeps/i386/fpu/libm-test-ulps: Update.
40711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40713 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40716 2012-02-29 Jeff Law <law@redhat.com>
40718 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40719 out of bounds read.
40721 2012-02-29 Marek Polacek <polacek@redhat.com>
40724 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40725 * elf/Makefile: Add rules to run tst-unused-dep.out.
40727 2012-02-28 David S. Miller <davem@davemloft.net>
40729 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40730 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40731 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40732 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40733 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40734 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40736 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40738 * math/libm-test.inc (llround_test): Move one test from
40739 lround_test. Use TEST_f_L in moved test.
40740 (lround_test): Move misplaced test to llround_test. Add testcase
40743 2012-02-28 Ulrich Drepper <drepper@gmail.com>
40745 * sysdeps/x86_64/fpu/e_expf.S: New file.
40746 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40748 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40751 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40752 of remain_len that may cause incomplete multi-byte character and
40754 * posix/bug-regex33.c: New file.
40755 * posix/Makefile (tests): Add bug-regex33.
40757 2012-02-28 Joseph Myers <joseph@codesourcery.com>
40759 * manual/macros.texi: New file.
40760 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40761 * manual/libc.texinfo: Include macros.texi.
40762 * manual/creatute.texi: Likewise.
40763 * manual/install.texi: Likewise.
40764 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40765 @glibcadj{} in references to the GNU C Library.
40766 * manual/charset.texi: Likewise.
40767 * manual/conf.texi: Likewise.
40768 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40769 when not using those macros.
40770 * manual/creature.texi: Likewise.
40771 * manual/crypt.texi: Likewise.
40772 * manual/errno.texi: Likewise.
40773 * manual/filesys.texi: Likewise.
40774 * manual/header.texi: Likewise.
40775 * manual/install.texi: Likewise.
40776 * manual/intro.texi: Likewise.
40777 * manual/io.texi: Likewise.
40778 * manual/job.texi: Likewise.
40779 * manual/lang.texi: Likewise.
40780 * manual/libc.texiinfo: Likewise.
40781 * manual/llio.texi: Likewise.
40782 * manual/locale.texi: Likewise.
40783 * manual/maint.texi: Likewise.
40784 * manual/math.texi: Likewise.
40785 * manual/memory.texi: Likewise.
40786 * manual/message.texi: Likewise.
40787 * manual/nss.texi: Likewise.
40788 * manual/pattern.texi: Likewise.
40789 * manual/process.texi: Likewise.
40790 * manual/resource.texi: Likewise.
40791 * manual/search.texi: Likewise.
40792 * manual/setjmp.texi: Likewise.
40793 * manual/signal.texi: Likewise.
40794 * manual/socket.texi: Likewise.
40795 * manual/startup.texi: Likewise.
40796 * manual/stdio.texi: Likewise.
40797 * manual/string.texi: Likewise.
40798 * manual/sysinfo.texi: Likewise.
40799 * manual/syslog.texi: Likewise.
40800 * manual/terminal.texi: Likewise.
40801 * manual/time.texi: Likewise.
40802 * manual/users.texi: Likewise.
40803 * INSTALL: Regenerated.
40804 * NOTES: Regenerated.
40805 * sysdeps/gnu/errlist.c: Regenerated.
40807 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40809 * include/dirent.h: Include <dirstream.h> before
40812 2012-02-28 David S. Miller <davem@davemloft.net>
40814 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40815 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40816 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40817 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40819 2012-02-27 David S. Miller <davem@davemloft.net>
40821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40823 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40824 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40827 frame pointer instead of stack pointer relative arg slot.
40828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40829 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40830 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40832 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40835 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40837 2012-02-27 David S. Miller <davem@davemloft.net>
40839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40843 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40844 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40845 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40846 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40848 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40850 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40851 later. Allow versions 5-9.
40852 * configure: Regenerated.
40853 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40854 required minimum version and 4.6 as recommended version. Do not
40855 mention bugs in GCC 2.7 and 2.8.
40856 * INSTALL: Regenerated.
40858 2012-02-27 David S. Miller <davem@davemloft.net>
40860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40864 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40865 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40866 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40867 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40869 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40870 manipulate bits before adding and subtracting TWO112[sx].
40871 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40873 2012-02-27 Roland McGrath <roland@hack.frob.com>
40876 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40877 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40878 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40879 being in POSIX, because they are in 1003.1-2008.
40881 * rt/tst-aio.c: Include <fcntl.h>.
40882 * rt/tst-aio7.c: Likewise.
40883 * rt/tst-aio64.c: Likewise.
40885 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40887 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40889 * manual/install.texi (--with-headers): Describe headers as
40890 interface headers, not private headers.
40891 (Specific advice for GNU/Linux systems): Describe use of headers
40892 from "make headers_install", not private headers from older
40894 * INSTALL: Regenerated.
40895 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40897 * sysdeps/unix/sysv/linux/configure: Regenerated.
40899 * manual/llio.texi (fclean): Remove documentation.
40901 * manual/Makefile (libc-texi-generated): New variable. Include
40903 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40904 $(libc-texi-generated), not duplicated list of files.
40905 (version.texi, stamp-version): New rules.
40906 (realclean): Remove $(libc-texi-generated), not individual files
40907 from that list. Do not remove dir-add.texinfo.
40908 * manual/libc.texinfo: Comment out uses of edition numbers and
40909 references to printed manual. Remove last-updated dates.
40910 (EDITION): Comment out.
40912 (VERSION, UPDATED): Remove.
40913 (version.texi): Include.
40915 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40917 * sysdeps/posix/spawni.c: Include <signal.h>.
40918 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40919 * sysdeps/pthread/aio_fsync.c: Likewise.
40921 2012-02-26 Ulrich Drepper <drepper@gmail.com>
40923 * conform/Makefile (tests): Run only when not cross-compiling and
40924 when fast-check is not defined.
40926 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40927 * conform/data/limits.h-data: Fixes for POSIX2008.
40928 * conform/run-conformtest.sh: Run all tests.
40929 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40931 * include/bits/dlfcn.h: Likewise.
40932 * include/langinfo.h: Likewise.
40933 * include/monetary.h: Likewise.
40934 * include/sys/poll.h: Likewise.
40936 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40938 * posix/spawn.h: Define __need_sigset_t.
40939 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40940 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40941 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40942 to get sigevent_t only.
40943 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40944 only for __USE_GNU.
40945 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40946 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40947 process_vm_writev only for __USE_GNU.
40948 * termios/termios.h: Declare tcgetsid also for POSIX2008.
40950 * conform/Makefile: For now ignore errors from run-conformtest.
40951 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40952 POSIX to avoid namespace pollution. Don't prepend headers.
40953 * conform/data/aio.h-data: Fixes for POSIX testing.
40954 * conform/data/fcntl.h-data: Likewise.
40955 * conform/data/glob.h-data: Likewise.
40956 * conform/data/grp.h-data: Likewise.
40957 * conform/data/pthread.h-data: Likewise.
40958 * conform/data/pwd.h-data: Likewise.
40959 * conform/data/signal.h-data: Likewise.
40960 * conform/data/spawn.h-data: Likewise.
40961 * conform/data/stdio.h-data: Likewise.
40962 * conform/data/stdlib.h-data: Likewise.
40963 * conform/data/stropts.h-data: Likewise.
40964 * conform/data/sys/mman.h-data: Likewise.
40965 * conform/data/sys/stat.h-data: Likewise.
40966 * conform/data/sys/types.h-data: Likewise.
40967 * conform/data/sys/wait.h-data: Likewise.
40968 * conform/data/time.h-data: Likewise.
40969 * conform/data/unistd.h-data: Likewise.
40970 * conform/data/utime.h-data: Likewise.
40972 * io/sys/stat.h: fchmod was always in POSIX.
40973 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40974 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40975 * rt/aio.h: Define __need_timespec before including <time.h>.
40976 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40977 struct. Add forward declaration of pthread_attr_t and use it in
40979 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40980 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40981 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40982 always remove CLK_TCK definition.
40984 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40986 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40988 2012-02-25 Ulrich Drepper <drepper@gmail.com>
40990 * conform/run-conformtest.sh: New file.
40991 * conform/Makefile: Run run-conformtest for tests.
40992 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40995 * conform/data/uchar.h-data: New file.
40996 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40997 * conform/data/arpa/inet.h-data: Likewise.
40998 * conform/data/assert.h-data: Likewise.
40999 * conform/data/complex.h-data: Likewise.
41000 * conform/data/cpio.h-data: Likewise.
41001 * conform/data/ctype.h-data: Likewise.
41002 * conform/data/dirent.h-data: Likewise.
41003 * conform/data/dlfcn.h-data: Likewise.
41004 * conform/data/errno.h-data: Likewise.
41005 * conform/data/fcntl.h-data: Likewise.
41006 * conform/data/float.h-data: Likewise.
41007 * conform/data/fmtmsg.h-data: Likewise.
41008 * conform/data/fnmatch.h-data: Likewise.
41009 * conform/data/ftw.h-data: Likewise.
41010 * conform/data/glob.h-data: Likewise.
41011 * conform/data/grp.h-data: Likewise.
41012 * conform/data/iconv.h-data: Likewise.
41013 * conform/data/inttypes.h-data: Likewise.
41014 * conform/data/langinfo.h-data: Likewise.
41015 * conform/data/libgen.h-data: Likewise.
41016 * conform/data/limits.h-data: Likewise.
41017 * conform/data/locale.h-data: Likewise.
41018 * conform/data/math.h-data: Likewise.
41019 * conform/data/monetary.h-data: Likewise.
41020 * conform/data/mqueue.h-data: Likewise.
41021 * conform/data/ndbm.h-data: Likewise.
41022 * conform/data/net/if.h-data: Likewise.
41023 * conform/data/netdb.h-data: Likewise.
41024 * conform/data/netinet/in.h-data: Likewise.
41025 * conform/data/nl_types.h-data: Likewise.
41026 * conform/data/poll.h-data: Likewise.
41027 * conform/data/pthread.h-data: Likewise.
41028 * conform/data/pwd.h-data: Likewise.
41029 * conform/data/regex.h-data: Likewise.
41030 * conform/data/sched.h-data: Likewise.
41031 * conform/data/search.h-data: Likewise.
41032 * conform/data/semaphore.h-data: Likewise.
41033 * conform/data/setjmp.h-data: Likewise.
41034 * conform/data/signal.h-data: Likewise.
41035 * conform/data/spawn.h-data: Likewise.
41036 * conform/data/stdarg.h-data: Likewise.
41037 * conform/data/stdio.h-data: Likewise.
41038 * conform/data/stdlib.h-data: Likewise.
41039 * conform/data/string.h-data: Likewise.
41040 * conform/data/strings.h-data: Likewise.
41041 * conform/data/stropts.h-data: Likewise.
41042 * conform/data/sys/ipc.h-data: Likewise.
41043 * conform/data/sys/mman.h-data: Likewise.
41044 * conform/data/sys/msg.h-data: Likewise.
41045 * conform/data/sys/resource.h-data: Likewise.
41046 * conform/data/sys/select.h-data: Likewise.
41047 * conform/data/sys/sem.h-data: Likewise.
41048 * conform/data/sys/shm.h-data: Likewise.
41049 * conform/data/sys/socket.h-data: Likewise.
41050 * conform/data/sys/stat.h-data: Likewise.
41051 * conform/data/sys/statvfs.h-data: Likewise.
41052 * conform/data/sys/time.h-data: Likewise.
41053 * conform/data/sys/timeb.h-data: Likewise.
41054 * conform/data/sys/times.h-data: Likewise.
41055 * conform/data/sys/types.h-data: Likewise.
41056 * conform/data/sys/uio.h-data: Likewise.
41057 * conform/data/sys/un.h-data: Likewise.
41058 * conform/data/sys/utsname.h-data: Likewise.
41059 * conform/data/sys/wait.h-data: Likewise.
41060 * conform/data/syslog.h-data: Likewise.
41061 * conform/data/tar.h-data: Likewise.
41062 * conform/data/termios.h-data: Likewise.
41063 * conform/data/utime.h-data: Likewise.
41064 * conform/data/utmpx.h-data: Likewise.
41065 * conform/data/varargs.h-data: Likewise.
41066 * conform/data/wchar.h-data: Likewise.
41067 * conform/data/wctype.h-data: Likewise.
41068 * conform/data/wordexp.h-data: Likewise.
41070 * include/stropts.h: New file.
41071 * include/uchar.h: New file.
41072 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41073 * include/assert.h: Likewise.
41074 * include/ctype.h: Likewise.
41075 * include/dirent.h: Likewise.
41076 * include/dlfcn.h: Likewise.
41077 * include/fcntl.h: Likewise.
41078 * include/fnmatch.h: Likewise.
41079 * include/glob.h: Likewise.
41080 * include/grp.h: Likewise.
41081 * include/libio.h: Likewise.
41082 * include/locale.h: Likewise.
41083 * include/math.h: Likewise.
41084 * include/net/if.h: Likewise.
41085 * include/netdb.h: Likewise.
41086 * include/netinet/in.h: Likewise.
41087 * include/pthread.h: Likewise.
41088 * include/pwd.h: Likewise.
41089 * include/regex.h: Likewise.
41090 * include/sched.h: Likewise.
41091 * include/search.h: Likewise.
41092 * include/setjmp.h: Likewise.
41093 * include/signal.h: Likewise.
41094 * include/stdio.h: Likewise.
41095 * include/stdlib.h: Likewise.
41096 * include/string.h: Likewise.
41097 * include/sys/cdefs.h: Likewise.
41098 * include/sys/mman.h: Likewise.
41099 * include/sys/msg.h: Likewise.
41100 * include/sys/resource.h: Likewise.
41101 * include/sys/select.h: Likewise.
41102 * include/sys/socket.h: Likewise.
41103 * include/sys/stat.h: Likewise.
41104 * include/sys/statvfs.h: Likewise.
41105 * include/sys/time.h: Likewise.
41106 * include/sys/times.h: Likewise.
41107 * include/sys/uio.h: Likewise.
41108 * include/sys/utsname.h: Likewise.
41109 * include/sys/wait.h: Likewise.
41110 * include/termios.h: Likewise.
41111 * include/time.h: Likewise.
41112 * include/ulimit.h: Likewise.
41113 * include/unistd.h: Likewise.
41114 * include/utime.h: Likewise.
41115 * include/wchar.h: Likewise.
41116 * include/wctype.h: Likewise.
41117 * include/wordexp.h: Likewise.
41119 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41121 * time/time.h: TIME_UTC must be a macro.
41122 Make timespec_get available for ISO C11 only as well.
41124 2012-02-24 Ulrich Drepper <drepper@gmail.com>
41126 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41127 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41129 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41131 * configure.in: Use -o not -a in test for unsupported multi-arch.
41133 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41135 * manual/texinfo.tex: Update to version 2012-01-19.16.
41137 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41139 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41141 2012-02-24 Roland McGrath <roland@hack.frob.com>
41144 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41145 * manual/fdl-1.3.texi: New file.
41146 * manual/fdl-1.1.texi: File removed.
41149 * manual/libc.texinfo (FDL_VERSION): New @set.
41150 Use it for mention of FDL in cover text.
41151 (Documentation License): Use it in @include file name.
41153 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41154 Roland McGrath <roland@hack.frob.com>
41157 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41158 (not LONG_LONG_MAX and LONG_LONG_MIN.
41159 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41160 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41162 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41164 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41168 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41169 manipulate bits before adding and subtracting TWO23[sx].
41170 * math/libm-test.inc (nearbyint_test): Add more tests.
41172 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41175 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41176 bits before adding and subtracting TWO23[sx].
41177 * math/libm-test.inc (rint_test): Add more tests.
41178 (rint_test_tonearest): Likewise.
41179 (rint_test_towardzero): Likewise.
41180 (rint_test_downward): Likewise.
41181 (rint_test_upward: Likewise.
41183 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41186 * include/stdc-predef.h: New file. Extracted from features.h.
41187 * include/features.h: Include stdc-predef.h.
41188 * Makefile (headers): Add stdc-predef.h.
41189 * CONFORMANCE (Compiler limitations): Update.
41191 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41193 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41195 2012-02-21 David S. Miller <davem@davemloft.net>
41197 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41198 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41200 2012-02-20 David S. Miller <davem@davemloft.net>
41202 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41203 using a normal save/restore sequence, rather than allocating a
41204 dummy stack frame just to store a frame pointer and restore.
41205 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41207 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41209 * manual/install.texi: Fix stray word in line-wrapped comment.
41211 2012-02-20 David S. Miller <davem@davemloft.net>
41213 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41214 both binutils and gcc support GOTDATA.
41216 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41217 "rd %pc" in the PIC register setup sequences.
41219 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41220 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41221 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41222 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41223 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41224 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41225 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41226 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41227 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41228 (SYSCALL_ERROR_HANDLER): Likewise.
41229 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41230 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41231 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41232 (SYSCALL_ERROR_HANDLER): Likewise.
41234 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41235 (HAVE_GCC_GOTDATA): New.
41236 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41237 relocation support in both binutils and gcc.
41238 * sysdeps/sparc/elf/configure: Regenerate.
41240 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41241 * sysdeps/sparc/sparc32/elf/configure: Delete.
41242 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41243 * sysdeps/sparc/sparc64/elf/configure: Delete.
41244 * sysdeps/sparc/elf/configure.in: New file.
41245 * sysdeps/sparc/elf/configure: Generate.
41247 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41248 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41249 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41250 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41251 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41253 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41255 * manual/install.texi: Do not mention specific glibc version
41257 * manual/libc.texinfo (VERSION, UPDATED): Update.
41258 (@copying): Use @copyright{} and range of years.
41260 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41263 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41264 [crti.S not in sysdirs] (generated): Do not append.
41265 [crti.S not in sysdirs] (omit-deps): Likewise.
41266 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41267 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41268 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41269 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41270 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41272 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41273 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41274 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41275 * csu/defs.awk: Remove file.
41276 * sysdeps/generic/initfini.c: Likewise.
41277 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41279 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41282 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41284 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41285 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41286 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41287 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41288 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41289 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41291 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41292 (__EPOLL_PACKED): Define to empty if not defined by
41294 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41295 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41298 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41300 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41301 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41302 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41303 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41305 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41309 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41311 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41313 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41314 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41315 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41318 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41320 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41321 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41323 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41325 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41326 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41328 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41330 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41333 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41335 * math/w_acos.c: Use non-signaling floating-point comparisons.
41336 * math/w_acosf.c: Likewise.
41337 * math/w_acosh.c: Likewise.
41338 * math/w_acoshf.c: Likewise.
41339 * math/w_acoshl.c: Likewise.
41340 * math/w_acosl.c: Likewise.
41341 * math/w_asin.c: Likewise.
41342 * math/w_asinf.c: Likewise.
41343 * math/w_asinl.c: Likewise.
41344 * math/w_atanh.c: Likewise.
41345 * math/w_atanhf.c: Likewise.
41346 * math/w_atanhl.c: Likewise.
41347 * math/w_exp2.c: Likewise.
41348 * math/w_exp2f.c: Likewise.
41349 * math/w_exp2l.c: Likewise.
41350 * math/w_j0.c: Likewise.
41351 * math/w_j0f.c: Likewise.
41352 * math/w_j0l.c: Likewise.
41353 * math/w_j1.c: Likewise.
41354 * math/w_j1f.c: Likewise.
41355 * math/w_j1l.c: Likewise.
41356 * math/w_jn.c: Likewise.
41357 * math/w_jnf.c: Likewise.
41358 * math/w_log.c: Likewise.
41359 * math/w_log10.c: Likewise.
41360 * math/w_log10f.c: Likewise.
41361 * math/w_log10l.c: Likewise.
41362 * math/w_log2.c: Likewise.
41363 * math/w_log2f.c: Likewise.
41364 * math/w_log2l.c: Likewise.
41365 * math/w_logf.c: Likewise.
41366 * math/w_logl.c: Likewise.
41367 * math/w_sqrt.c: Likewise.
41368 * math/w_sqrtf.c: Likewise.
41369 * math/w_sqrtl.c: Likewise.
41370 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41371 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41372 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41373 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41374 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41376 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41379 * manual/string.texi (strnlen): Use correct parameter name in
41380 equivalent expression.
41382 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41385 * manual/users.texi (seteuid): Consistently use neweuid for
41388 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41391 * manual/nss.texi (Services in the NSS configuration): Correct
41392 list of services in example configuration file.
41394 2012-02-19 Nick Bowler <nbowler@draconx.ca>
41397 * manual/arith.texi: Remove statements about negative zero
41398 behaving identically to zero.
41400 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41403 * manual/install.texi: Do not document upgrading from libc5.
41405 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41408 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41410 2012-02-18 David S. Miller <davem@davemloft.net>
41412 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41413 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41414 %o7 across the call.
41415 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41417 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41418 SETUP_PIC_REG_LEAF.
41419 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41420 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41421 * sysdeps/sparc/crtn.S: Likewise.
41423 2012-02-17 Ulrich Drepper <drepper@gmail.com>
41425 * aout/Makefile: Remove.
41427 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41430 * manual/examples/argp-ex1.c (main): Format definition in GNU
41432 * manual/examples/argp-ex2.c (main): Likewise.
41433 * manual/examples/argp-ex3.c (main): Likewise.
41434 * manual/examples/argp-ex4.c (main): Likewise.
41435 * manual/examples/longopt.c (main): Use new-style prototype
41437 * manual/examples/strncat.c (main): Specify return type and use
41438 (void) for arguments.
41439 * manual/examples/subopt.c (main): Use char **argv argument.
41441 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41444 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41447 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41450 * manual/string.texi (strchr): Change when strchrnul is
41453 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41456 * manual/locale.texi (setlocale): Document LOCPATH.
41458 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41461 * manual/process.texi (execle): Move @dots{} before last argument.
41463 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41466 * manual/charset.texi (Generic Charset Conversion): Fix typo
41467 (LC_TYPE -> LC_CTYPE).
41469 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41472 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41473 (scalbnf): Likewise.
41474 (scalbnl): Likewise.
41475 (scalbln): Likewise.
41476 (scalblnf): Likewise.
41477 (scalblnl): Likewise.
41478 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41479 (vwarnx): Likewise.
41482 * manual/filesys.texi (telldir): Use braces around return type.
41483 * manual/llio.texi (mmap): Add space after comma.
41484 (mmap64): Likewise.
41485 * manual/math.texi (jn): Use @var{} on parameter names.
41491 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41493 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41495 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41496 (sched_get_priority_max): Likewise.
41497 * manual/signal.texi (sigvec): Add space after comma.
41498 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41500 (if_indextoname): Likewise.
41501 (if_freenameindex): Likewise.
41502 (sendto): Use ',' instead of '.' in prototype.
41503 * manual/startup.texi (syscall): Use @dots{} instead of literal
41505 * manual/stdio.texi (__fpending): Separate initial words of
41506 paragraph from @deftypefun line.
41507 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41509 (vsyslog): Use @var{} on parameter names.
41510 * manual/terminal.texi (stty): Use @var{} on parameter names.
41511 * manual/users.texi (getutmp): Use @var{} on parameter names.
41512 (getutmpx): Likewise.
41514 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41517 * manual/stdio.texi (fopen): Fix typos in description of
41520 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41523 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41524 get clock_id definition.
41526 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41529 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41530 (madvise): Cast every argument to void on its own.
41532 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41535 * manual/startup.texi (Exit Status): Fix typo.
41537 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41540 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41541 * manual/examples/argp-ex2.c: Likewise.
41542 * manual/examples/argp-ex3.c: Likewise.
41544 2012-02-16 Richard Henderson <rth@redhat.com>
41546 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41547 * sysdeps/s390/s390-32/initfini.c: Remove.
41548 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41549 * sysdeps/s390/s390-64/initfini.c: Remove.
41551 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41553 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41554 compiler output for sysdeps/generic/initfini.c.
41555 * sysdeps/sh/elf/initfini.c: Remove file.
41557 2012-02-16 David S. Miller <davem@davemloft.net>
41560 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41562 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41563 * sysdeps/sparc/crti.S: New file.
41564 * sysdeps/sparc/crtn.S: New file.
41565 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41566 * sysdeps/sparc/sparc64/Makefile: Likewise.
41568 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41571 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41573 2012-02-15 Roland McGrath <roland@hack.frob.com>
41576 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41578 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41579 (write, read, close): Likewise.
41580 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41582 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41584 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41585 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41586 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41587 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41589 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41590 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41593 2012-02-14 Marek Polacek <polacek@redhat.com>
41595 * sysdeps/x86_64/crti.S: New file.
41596 * sysdeps/x86_64/crtn.S: New file.
41597 * sysdeps/x86_64/elf/initfini.c: Remove file.
41599 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41601 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41602 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41603 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41604 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41606 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41607 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41610 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41612 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41613 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41614 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41615 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41617 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41618 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41621 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41623 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41624 __feraiseexcept instead of feraiseexcept.
41626 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41627 nanosleep invocations.
41628 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41629 strings, and add error checking for a nanosleep invocations.
41631 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41633 Replace FSF snail mail address with URLs, as per GNU coding standards.
41634 Most of the snail mail addresses were wrong anyway, and omitting
41635 them makes the source code easier to maintain. Almost all of the
41636 changes are to license notices and to locale LC_IDENTIFICATION
41637 addresses, except for this one:
41638 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41639 not its snail mail address.
41641 2012-02-09 Richard Henderson <rth@twiddle.net>
41643 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41644 of kernel-features.h.
41646 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41648 2012-02-08 Marek Polacek <polacek@redhat.com>
41650 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41651 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41652 * sysdeps/gnu/_G_config.h: Likewise.
41653 * sysdeps/generic/_G_config.h: Likewise.
41655 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41657 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41661 * sysdeps/powerpc/powerpc32/crti.S: New file.
41662 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41663 * sysdeps/powerpc/powerpc64/crti.S: New file.
41664 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41666 * Makeconfig (have-initfini): Don't set.
41667 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41668 * configure.in (nopic_initfini): Don't substitute.
41669 * config.h.in (HAVE_INITFINI): Don't #undef.
41670 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41671 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41673 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41675 Support crti.S and crtn.S provided directly by architectures.
41676 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41677 [crti.S in sysdirs] (omit-deps): Likewise.
41678 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41679 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41680 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41681 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41682 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41683 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41684 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41685 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41686 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41687 compiler output for sysdeps/generic/initfini.c.
41688 * sysdeps/i386/elf/Makefile: Remove file.
41689 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41691 2012-02-07 Marek Polacek <polacek@redhat.com>
41693 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41694 * sysdeps/gnu/_G_config.h: Likewise.
41695 * sysdeps/mach/hurd/_G_config.h: Likewise.
41697 2012-02-07 Marek Polacek <polacek@redhat.com>
41699 * math/Makefile (tests): Add tst-CMPLX2.
41700 * math/tst-CMPLX2.c: New file.
41702 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41704 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41706 * math/libm-test.inc (jn_test): Add missing L suffix.
41708 2012-02-06 Marek Polacek <polacek@redhat.com>
41710 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41711 * sysdeps/i386/fpu/e_powf.S: Likewise.
41712 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41713 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41714 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41715 * sysdeps/i386/fpu/e_pow.S: Likewise.
41716 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41717 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41718 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41719 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41720 * sysdeps/i386/fpu/e_log2.S: Likewise.
41721 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41722 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41723 * sysdeps/i386/fpu/e_powl.S: Likewise.
41724 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41725 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41726 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41727 * sysdeps/i386/fpu/e_logl.S: Likewise.
41728 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41729 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41730 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41731 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41732 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41733 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41734 * sysdeps/i386/fpu/e_log.S: Likewise.
41735 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41736 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41737 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41738 * sysdeps/i386/fpu/e_logf.S: Likewise.
41739 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41740 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41741 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41742 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41743 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41744 * sysdeps/i386/fpu/e_log10.S: Likewise.
41745 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41746 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41747 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41748 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41749 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41750 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41751 * sysdeps/i386/asm-syntax.h: Likewise.
41752 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41753 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41754 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41755 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41756 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41757 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41758 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41759 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41760 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41761 * sysdeps/powerpc/sysdep.h: Likewise.
41762 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41763 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41765 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41768 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41770 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41772 * sysdeps/i386/sysdep.h: Include <features.h>.
41773 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41776 2012-02-05 Joseph Myers <joseph@codesourcery.com>
41778 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41780 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41783 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41785 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41786 (SETUP_PIC_REG): Use GET_PC_THUNK.
41787 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41790 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41792 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41793 for non-PIC compilation.
41794 (SETUP_PIC_REG): Add .p2align directive.
41795 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41796 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41797 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41798 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41799 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41800 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41801 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41802 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41803 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41804 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41805 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41806 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41807 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41808 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41809 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41810 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41811 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41812 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41813 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41814 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41815 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41816 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41817 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41818 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41819 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41820 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41821 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41822 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41823 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41824 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41825 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41826 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41827 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41828 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41829 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41830 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41831 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41832 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41833 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41834 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41835 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41837 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41839 * math/tst-CMPLX.c: Include <stdio.h>.
41841 2012-01-31 Joseph Myers <joseph@codesourcery.com>
41843 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41845 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41846 * sysdeps/sparc/bits/mathdef.h: Likewise.
41848 2012-01-31 Marek Polacek <polacek@redhat.com>
41850 * libio/libio.h: Don't define _PARAMS.
41851 * locale/programs/config.h: Don't define PARAMS.
41852 * stdlib/strtol_l.c: Likewise.
41853 (__strtol_l): Remove PARAMS from the prototype.
41855 2012-01-31 Ulrich Drepper <drepper@gmail.com>
41857 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41858 names. Just use the correct names. Remove unnecessary wrapper
41860 * malloc/arena.c: Likewise.
41861 * malloc/hooks.c: Likewise.
41863 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41864 ARENA_TEST says not to. Simplify test for creation of a new arena.
41865 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41867 2012-01-30 Ulrich Drepper <drepper@gmail.com>
41869 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41871 (update_get_addr): New function.
41872 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41873 GET_ADDR_MODULE parameter.
41875 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41877 * crypt/cert.c: Remove __STDC__ conditionals.
41878 * crypt/crypt-entry.c: Likewise.
41879 * crypt/crypt_util.c: Likewise.
41880 * libio/filedoalloc.c: Likewise.
41881 * libio/fileops.c: Likewise.
41882 * libio/genops.c: Likewise.
41883 * libio/iofclose.c: Likewise.
41884 * libio/iofdopen.c: Likewise.
41885 * libio/iofopen.c: Likewise.
41886 * libio/iofopen64.c: Likewise.
41887 * libio/iogetdelim.c: Likewise.
41888 * libio/iopopen.c: Likewise.
41889 * libio/obprintf.c: Likewise.
41890 * libio/oldfileops.c: Likewise.
41891 * libio/oldiofclose.c: Likewise.
41892 * libio/oldiofdopen.c: Likewise.
41893 * libio/oldiofopen.c: Likewise.
41894 * libio/oldiopopen.c: Likewise.
41895 * libio/wfiledoalloc.c: Likewise.
41896 * libio/wgenops.c: Likewise.
41897 * locale/programs/xmalloc.c: Likewise.
41898 * misc/syslog.c: Likewise.
41899 * stdio-common/xbug.c: Likewise.
41900 * string/memchr.c: Likewise.
41901 * string/memcmp.c: Likewise.
41902 * string/memrchr.c: Likewise.
41903 * string/rawmemchr.c: Likewise.
41904 * sysdeps/posix/getcwd.c: Likewise.
41905 * time/strftime_l.c: Likewise.
41907 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41909 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41910 * config.make.in (config-cflags-sse2avx): Define.
41911 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41914 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41916 * scripts/config.guess: Update from upstream config git repository.
41917 * scripts/config.sub: Likewise.
41919 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41921 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41923 (R_TILEPRO_*, R_TILEGX_*): New macros.
41925 * scripts/firstversions.awk: Fix bug in version range handling.
41927 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41929 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41931 * include/sys/epoll.h: New file.
41932 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41935 2012-01-28 Ulrich Drepper <drepper@gmail.com>
41937 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41938 Avoid unnecessary __WORDSIZE == 64 test.
41939 (fmaxf): Use VEX format if possible.
41944 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41945 * math/math_private.h: Remove libc_fegetround* and
41947 * sysdeps/i386/configure.in: Check for -msse2avx.
41948 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41949 also if SSE2AVX is defined.
41950 Remove libc_fegetround* and libc_fesetround*.
41951 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41952 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41953 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41955 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41956 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41957 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41958 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41959 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41961 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41963 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41965 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41967 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41969 2012-01-27 Ulrich Drepper <drepper@gmail.com>
41972 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41974 * Makeconfig (libm): Define.
41975 * elf/Makefile: Add rules to build and run tst-relsort1.
41976 * elf/tst-relsort1.c: New file.
41977 * elf/tst-relsort1mod1.c: New file.
41978 * elf/tst-relsort1mod2.c: New file.
41980 2012-01-27 Joseph Myers <joseph@codesourcery.com>
41982 * math/s_ldexp.c: Remove __STDC__ conditionals.
41983 * math/s_ldexpf.c: Likewise.
41984 * math/s_ldexpl.c: Likewise.
41985 * math/s_nextafter.c: Likewise.
41986 * math/s_nexttowardf.c: Likewise.
41987 * math/s_significand.c: Likewise.
41988 * math/s_significandf.c: Likewise.
41989 * math/s_significandl.c: Likewise.
41990 * math/w_jnl.c: Likewise.
41991 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41992 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41993 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41994 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41995 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41996 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41997 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41998 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41999 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42000 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42001 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42002 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42003 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42004 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42005 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42006 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42007 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42008 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42009 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42010 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42011 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42012 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42013 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42014 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42015 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42016 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42017 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42018 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42019 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42020 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42021 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42022 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42023 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42024 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42025 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42026 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42027 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42028 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42029 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42030 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42031 * sysdeps/ieee754/k_standard.c: Likewise.
42032 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42033 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42034 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42035 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42036 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42037 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42038 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42039 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42040 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42041 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42042 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42043 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42044 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42045 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42046 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42047 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42048 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42049 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42050 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42051 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42052 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42053 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42054 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42055 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42056 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42057 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42058 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42059 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42060 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42061 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42062 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42063 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42064 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42065 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42066 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42067 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42068 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42069 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42070 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42071 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42072 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42073 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42074 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42075 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42076 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42077 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42078 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42079 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42080 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42081 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42082 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42083 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42084 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42085 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42086 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42087 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42088 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42089 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42090 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42091 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42092 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42093 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42094 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42095 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42096 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42097 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42098 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42099 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42100 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42101 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42102 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42103 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42104 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42105 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42106 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42107 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42108 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42109 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42110 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42111 * sysdeps/ieee754/s_matherr.c: Likewise.
42112 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42113 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42114 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42115 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42117 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42119 * crypt/md5.h: Remove __STDC__ conditionals.
42120 * libio/libioP.h: Likewise.
42121 * locale/programs/config.h: Likewise.
42122 * sysdeps/generic/sysdep.h: Likewise.
42123 * sysdeps/i386/asm-syntax.h: Likewise.
42124 * sysdeps/s390/asm-syntax.h: Likewise.
42125 * sysdeps/unix/sysdep.h: Likewise.
42126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42129 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42131 * libio/libio.h: Remove __STDC__ conditionals.
42132 * malloc/obstack.h: Likewise.
42133 * math/complex.h: Likewise.
42134 * math/math.h: Likewise.
42135 * sysdeps/generic/_G_config.h: Likewise.
42136 * sysdeps/gnu/_G_config.h: Likewise.
42137 * sysdeps/mach/hurd/_G_config.h: Likewise.
42138 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42139 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42140 * sysdeps/sparc/bits/mathdef.h: Likewise.
42142 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42145 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42146 Clean up HAS_* macros.
42147 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42148 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42150 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42152 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42153 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42154 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42155 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42156 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42158 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42160 * elf/tst-unique3.cc (gets): Remove declaration.
42161 * elf/tst-unique3lib.cc (gets): Likewise.
42162 * elf/tst-unique3lib2.cc (gets): Likewise.
42163 * elf/tst-unique4.cc (gets): Likewise.
42165 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42167 * include/stdio.h: Add C++ protection. Add gets declarations and
42169 * debug/tst-chk1.c: Don't declare gets here.
42170 * stdio-common/tst-gets.c: Likewise.
42172 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42174 * posix/glob: Remove directory.
42176 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42178 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42180 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42182 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42183 of the non-standard EPFNOSUPPORT.
42185 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42187 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42188 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42189 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42191 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42193 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42195 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42197 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42199 * nscd/grpcache.c (cache_addgr): Likewise.
42200 * nscd/hstcache.c (cache_addhst): Likewise.
42201 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42202 * nscd/pwdcache.c (cache_addpw): Likewise.
42203 * nscd/servicescache.c (cache_addserv): Likewise.
42205 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42207 * malloc/malloc.c: Various cleanups.
42208 * malloc/hooks.c: Likewise.
42210 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42211 * stdlib/bug-fmtmsg1.c: New file.
42213 * stdlib/fmtmsg.c (init): Add missing unlock.
42214 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42216 2012-01-12 Marek Polacek <polacek@redhat.com>
42218 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42221 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42223 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42224 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42225 macro to ensure uniqueness of label name.
42226 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42227 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42229 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42231 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42233 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42234 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42235 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42236 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42238 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42240 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42242 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42243 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42244 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42246 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42248 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42249 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42250 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42251 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42253 * math/bits/math-finite.h: Add ldexp support.
42255 2012-01-10 Marek Polacek <polacek@redhat.com>
42257 * locale/programs/localedef.h (show_archive_content): Add noreturn
42260 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42262 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42264 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42266 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42268 * io/Makefile (headers): Add bits/poll2.h.
42270 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42273 typo #include statement.
42275 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42277 * include/sys/cdefs.h: Define __attribute_alloc_size.
42278 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42279 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42280 * elf/pldd.c: Likewise.
42281 * iconv/iconv_charmap.c: Likewise.
42282 * iconv/iconvconfig.c: Likewise.
42283 * iconv/strtab.c: Likewise.
42284 * locale/programs/locale.c: Likewise.
42285 * locale/programs/localedef.h: Likewise.
42286 * locale/programs/simple-hash.c: Likewise.
42287 * nscd/nscd.h: Likewise.
42288 * nss/makedb.c: Likewise.
42289 * sysdeps/generic/ldconfig.h: Likewise.
42290 * locale/programs/localedef.c: Remove xmalloc prototype.
42291 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42293 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42295 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42298 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42300 * math/Makefile (tests): Add tst-CMPLX.
42301 * math/tst-CMPLX.c: New file.
42303 * math/complex.h (CMPLXL): Fix typo.
42305 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42306 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42308 * debug/tst-chk1.c: Add poll and ppoll tests.
42309 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42310 * include/sys/poll.h: Add hidden proto for ppoll.
42311 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42312 * sysdeps/mach/hurd/ppoll.c: Likewise.
42313 * io/ppoll.c: Likewise.
42314 * debug/poll_chk.c: New file.
42315 * debug/ppoll_chk.c: New file.
42316 * include/bits/poll2.h: New file.
42317 * io/bits/poll2.h: New file.
42320 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42322 * configure.in: static is always set to yes. Remove.
42323 * config.make.in: Don't set build-static.
42324 * Makeconfig: Remove use of build-static.
42325 * dlfcn/Makefile: Likewise.
42326 * elf/Makefile: Likewise.
42327 * math/Makefile: Likewise.
42328 * misc/Makefile: Likewise.
42329 * nptl/Makefile: Likewise.
42330 * sysdeps/mach/hurd/Makefile: Likewise.
42332 * configure.in: PWD_P is not used anymore.
42333 * config.make.in: Remove PWD_P entry.
42335 * configure.in: Remove last remnants of RANLIB.
42336 No need to check for signed size_t anymore.
42337 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42339 Remove __builtin_expect test because we require at least gcc 3.4.
42340 * aclocal.m4: Likewise.
42342 * wcsmbs/mbrtoc16.c: Implement using towc function.
42343 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42344 * wcsmbs/wcsmbsload.c: Likewise.
42345 * iconv/gconv_simple.c: Likewise.
42346 * iconv/gconv_int.h: Likewise.
42347 * iconv/gconv_builtin.h: Likewise.
42348 * iconv/iconv_prog.c: Remove CHAR16 handling.
42350 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42352 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42354 * configure.in: Remove --with-elf and --enable-bounded options.
42355 Dont set base_machine for ia64. More non-ELF conditions removed.
42356 Remove testing and setting of leading underscore information.
42357 * config.make.in (build-bounded): Set to no.
42358 * config.h.in: Remove NO_UNDERSCORES entry.
42359 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42361 * csu/start.c: Remove !NO_UNDERSCORE code.
42362 * locale/localeinfo.h: Likewise.
42363 * sysdeps/generic/machine-gmon.h: Likewise.
42364 * sysdeps/generic/sysdep.h: Likewise.
42365 * sysdeps/i386/sysdep.h: Likewise.
42366 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42367 * sysdeps/mach/sysdep.h: Likewise.
42368 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42369 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42370 * sysdeps/sh/sysdep.h: Likewise.
42371 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42372 * sysdeps/unix/i386/sysdep.S: Likewise.
42373 * sysdeps/unix/sparc/start.c: Likewise.
42374 * sysdeps/unix/sparc/sysdep.S: Likewise.
42375 * sysdeps/unix/sparc/sysdep.h: Likewise.
42376 * sysdeps/unix/start.c: Likewise.
42377 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42378 * sysdeps/x86_64/sysdep.h: Likewise.
42380 2012-01-07 Ulrich Drepper <drepper@gmail.com>
42383 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42385 * argp/argp-fmtstream.h: Use const instead __const.
42386 * argp/argp.h: Likewise.
42387 * assert/assert.h: Likewise.
42388 * bits/fenv.h: Likewise.
42389 * bits/sched.h: Likewise.
42390 * bits/sigset.h: Likewise.
42391 * bits/sigthread.h: Likewise.
42392 * catgets/nl_types.h: Likewise.
42393 * conform/data/pthread.h-data: Likewise.
42394 * crypt/crypt-private.h: Likewise.
42395 * crypt/crypt.h: Likewise.
42396 * crypt/crypt_util.c: Likewise.
42397 * ctype/ctype.h: Likewise.
42398 * debug/execinfo.h: Likewise.
42399 * debug/mbsnrtowcs_chk.c: Likewise.
42400 * debug/mbsrtowcs_chk.c: Likewise.
42401 * debug/wcsnrtombs_chk.c: Likewise.
42402 * debug/wcsrtombs_chk.c: Likewise.
42403 * debug/wcstombs_chk.c: Likewise.
42404 * dirent/dirent.h: Likewise.
42405 * dlfcn/dlfcn.h: Likewise.
42406 * elf/neededtest4.c: Likewise.
42407 * grp/grp.h: Likewise.
42408 * gshadow/gshadow.h: Likewise.
42409 * iconv/gconv.h: Likewise.
42410 * iconv/gconv_int.h: Likewise.
42411 * iconv/gconv_simple.c: Likewise.
42412 * iconv/iconv.h: Likewise.
42413 * iconv/loop.c: Likewise.
42414 * iconv/skeleton.c: Likewise.
42415 * include/aio.h: Likewise.
42416 * include/aliases.h: Likewise.
42417 * include/argz.h: Likewise.
42418 * include/arpa/inet.h: Likewise.
42419 * include/assert.h: Likewise.
42420 * include/dirent.h: Likewise.
42421 * include/dlfcn.h: Likewise.
42422 * include/execinfo.h: Likewise.
42423 * include/fcntl.h: Likewise.
42424 * include/fenv.h: Likewise.
42425 * include/glob.h: Likewise.
42426 * include/grp.h: Likewise.
42427 * include/libintl.h: Likewise.
42428 * include/mntent.h: Likewise.
42429 * include/netdb.h: Likewise.
42430 * include/pwd.h: Likewise.
42431 * include/rpc/netdb.h: Likewise.
42432 * include/sched.h: Likewise.
42433 * include/search.h: Likewise.
42434 * include/shadow.h: Likewise.
42435 * include/signal.h: Likewise.
42436 * include/stdio.h: Likewise.
42437 * include/stdlib.h: Likewise.
42438 * include/string.h: Likewise.
42439 * include/sys/socket.h: Likewise.
42440 * include/sys/stat.h: Likewise.
42441 * include/sys/statfs.h: Likewise.
42442 * include/sys/statvfs.h: Likewise.
42443 * include/sys/syslog.h: Likewise.
42444 * include/sys/time.h: Likewise.
42445 * include/sys/uio.h: Likewise.
42446 * include/time.h: Likewise.
42447 * include/unistd.h: Likewise.
42448 * include/utmp.h: Likewise.
42449 * include/wchar.h: Likewise.
42450 * include/wctype.h: Likewise.
42451 * inet/aliases.h: Likewise.
42452 * inet/arpa/inet.h: Likewise.
42453 * inet/netinet/ether.h: Likewise.
42454 * inet/netinet/in.h: Likewise.
42455 * intl/libintl.h: Likewise.
42456 * io/bits/fcntl2.h: Likewise.
42457 * io/fcntl.h: Likewise.
42458 * io/ftw.h: Likewise.
42459 * io/sys/poll.h: Likewise.
42460 * io/sys/stat.h: Likewise.
42461 * io/sys/statfs.h: Likewise.
42462 * io/sys/statvfs.h: Likewise.
42463 * io/utime.h: Likewise.
42464 * libio/bits/stdio.h: Likewise.
42465 * libio/bits/stdio2.h: Likewise.
42466 * libio/libio.h: Likewise.
42467 * libio/libioP.h: Likewise.
42468 * libio/stdio.h: Likewise.
42469 * locale/lc-ctype.c: Likewise.
42470 * locale/locale.h: Likewise.
42471 * login/utmp.h: Likewise.
42472 * malloc/arena.c: Likewise.
42473 * malloc/malloc.c: Likewise.
42474 * malloc/malloc.h: Likewise.
42475 * malloc/mcheck.c: Likewise.
42476 * malloc/mtrace.c: Likewise.
42477 * math/bits/mathcalls.h: Likewise.
42478 * math/fenv.h: Likewise.
42479 * math/math_private.h: Likewise.
42480 * misc/bits/error.h: Likewise.
42481 * misc/bits/syslog.h: Likewise.
42482 * misc/err.h: Likewise.
42483 * misc/error.h: Likewise.
42484 * misc/fstab.h: Likewise.
42485 * misc/mntent.h: Likewise.
42486 * misc/regexp.h: Likewise.
42487 * misc/search.h: Likewise.
42488 * misc/sgtty.h: Likewise.
42489 * misc/sys/mman.h: Likewise.
42490 * misc/sys/syslog.h: Likewise.
42491 * misc/sys/uio.h: Likewise.
42492 * misc/sys/xattr.h: Likewise.
42493 * misc/ttyent.h: Likewise.
42494 * nis/rpcsvc/ypclnt.h: Likewise.
42495 * nss/nss.h: Likewise.
42496 * posix/bits/unistd.h: Likewise.
42497 * posix/fnmatch.h: Likewise.
42498 * posix/glob.h: Likewise.
42499 * posix/sched.h: Likewise.
42500 * posix/spawn.h: Likewise.
42501 * posix/sys/wait.h: Likewise.
42502 * posix/unistd.h: Likewise.
42503 * posix/wordexp.h: Likewise.
42504 * pwd/pwd.h: Likewise.
42505 * resolv/netdb.h: Likewise.
42506 * resource/sys/resource.h: Likewise.
42507 * rt/aio.h: Likewise.
42508 * rt/bits/mqueue2.h: Likewise.
42509 * rt/mqueue.h: Likewise.
42510 * shadow/shadow.h: Likewise.
42511 * signal/signal.h: Likewise.
42512 * socket/send.c: Likewise.
42513 * socket/sendto.c: Likewise.
42514 * socket/sys/socket.h: Likewise.
42515 * stdio-common/printf.h: Likewise.
42516 * stdlib/bits/stdlib.h: Likewise.
42517 * stdlib/fmtmsg.h: Likewise.
42518 * stdlib/monetary.h: Likewise.
42519 * stdlib/stdlib.h: Likewise.
42520 * stdlib/ucontext.h: Likewise.
42521 * streams/stropts.h: Likewise.
42522 * string/argz.h: Likewise.
42523 * string/bits/string2.h: Likewise.
42524 * string/string.h: Likewise.
42525 * string/strings.h: Likewise.
42526 * sunrpc/rpc/auth.h: Likewise.
42527 * sunrpc/rpc/auth_des.h: Likewise.
42528 * sunrpc/rpc/clnt.h: Likewise.
42529 * sunrpc/rpc/netdb.h: Likewise.
42530 * sunrpc/rpc/pmap_clnt.h: Likewise.
42531 * sunrpc/rpc/xdr.h: Likewise.
42532 * sysdeps/generic/inttypes.h: Likewise.
42533 * sysdeps/generic/net/if.h: Likewise.
42534 * sysdeps/generic/sys/swap.h: Likewise.
42535 * sysdeps/gnu/net/if.h: Likewise.
42536 * sysdeps/gnu/utmpx.h: Likewise.
42537 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42538 * sysdeps/i386/i486/bits/string.h: Likewise.
42539 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42540 * sysdeps/s390/bits/string.h: Likewise.
42541 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42542 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42543 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42544 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42545 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42546 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42547 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42548 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42549 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42550 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42551 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42552 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42553 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42554 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42555 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42556 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42557 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42558 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42559 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42560 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42561 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42562 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42563 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42564 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42565 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42566 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42567 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42568 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42569 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42570 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42571 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42572 * sysvipc/sys/ipc.h: Likewise.
42573 * sysvipc/sys/msg.h: Likewise.
42574 * sysvipc/sys/sem.h: Likewise.
42575 * sysvipc/sys/shm.h: Likewise.
42576 * termios/termios.h: Likewise.
42577 * time/sys/time.h: Likewise.
42578 * time/time.h: Likewise.
42579 * wcsmbs/bits/wchar2.h: Likewise.
42580 * wcsmbs/uchar.h: Likewise.
42581 * wcsmbs/wchar.h: Likewise.
42582 * wctype/wctype.h: Likewise.
42585 * Makeconfig: Remove all but ELF support including AIX support.
42586 * Makerules: Likewise.
42587 * config.h.in: Likewise.
42588 * config.make.in: Likewise.
42589 * configure: Likewise.
42590 * configure.in: Likewise.
42591 * csu/Makefile: Likewise.
42592 * csu/version.c: Likewise.
42593 * debug/Makefile: Likewise.
42594 * dlfcn/Makefile: Likewise.
42595 * elf/Makefile: Likewise.
42596 * extra-lib.mk: Likewise.
42597 * iconv/Makefile: Likewise.
42598 * include/libc-symbols.h: Likewise.
42599 * include/shlib-compat.h: Likewise.
42600 * resolv/Makefile: Likewise.
42601 * resolv/res_libc.c: Likewise.
42602 * rt/Makefile: Likewise.
42603 * sysdeps/i386/asm-syntax.h: Likewise.
42604 * sysdeps/i386/sysdep.h: Likewise.
42605 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42606 * sysdeps/mach/sysdep.h: Likewise.
42607 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42608 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42609 * sysdeps/s390/asm-syntax.h: Likewise.
42610 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42611 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42612 * sysdeps/sh/sysdep.h: Likewise.
42613 * sysdeps/unix/sparc/sysdep.h: Likewise.
42614 * sysdeps/wordsize-32/divdi3.c: Likewise.
42615 * sysdeps/x86_64/sysdep.h: Likewise.
42617 * argp/Versions: Remove _argp_unlock_xxx.
42620 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42621 * abilist/libBrokenLocale.abilist: Likewise.
42622 * abilist/libanl.abilist: Likewise.
42623 * abilist/libc.abilist: Likewise.
42624 * abilist/libcrypt.abilist: Likewise.
42625 * abilist/libdl.abilist: Likewise.
42626 * abilist/libm.abilist: Likewise.
42627 * abilist/libnsl.abilist: Likewise.
42628 * abilist/libpthread.abilist: Likewise.
42629 * abilist/libresolv.abilist: Likewise.
42630 * abilist/librt.abilist: Likewise.
42631 * abilist/libthread_db.abilist: Likewise.
42632 * abilist/libutil.abilist: Likewise.
42633 * abilist/libnss_db.abilist: New file.
42635 * scripts/abilist.awk: Add support for indirect functions.
42637 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42639 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42641 * shlib-versions: Remove entries for ports architectures.
42643 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42645 * elf/stackguard-macros.h: Remove support for IA-64.
42646 * elf/tst-auditmod1.c: Likewise.
42647 * sysdeps/generic/ldsodefs.h: Likewise.
42649 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42650 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42654 * configure.in: Remove --enable-omitfp support.
42656 * config.make.in: Likewise.
42657 * Makeconfig: Likewise.
42658 * manual/install.texi: Likewise.
42660 In case anyone cares, the IA-64 architecture could move to ports.
42661 * sysdeps/ia64/*: Removed.
42662 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42663 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42666 * configure.in: Remove entries for unsupported architectures.
42669 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42670 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42672 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42673 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42674 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42675 fall back to using wcrtomb.
42676 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42677 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42679 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42680 * wcsmbs/tst-c16c32-1.c: New file.
42682 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42685 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42687 * elf/tst-unique3.cc: Add explicit declaration of gets.
42688 * elf/tst-unique3lib.cc: Likewise.
42689 * elf/tst-unique3lib2.cc: Likewise.
42690 * elf/tst-unique4.cc: Likewise.
42692 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42694 2012-01-06 Joseph Myers <joseph@codesourcery.com>
42697 * assert/assert.h (static_assert): Don't define for C++.
42698 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42699 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42701 2012-01-03 Ulrich Drepper <drepper@gmail.com>
42703 * iconv/loop.c (single loop): Fix assertion in storing of
42706 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42708 2012-01-01 Ulrich Drepper <drepper@gmail.com>
42710 * posix/getconf.c: Update copyright year.
42711 * nss/getent.c: Likewise.
42712 * nss/makedb.c: Likewise.
42713 * iconv/iconvconfig.c: Likewise.
42714 * iconv/iconv_prog.c: Likewise.
42715 * elf/ldconfig.c: Likewise.
42716 * elf/pldd.c: Likewise.
42717 * elf/sotruss.ksh: Likewise.
42718 * catgets/gencat.c: Likewise.
42719 * csu/version.c: Likewise.
42720 * elf/ldd.bash.in: Likewise.
42721 * elf/sprof.c (print_version): Likewise.
42722 * locale/programs/locale.c: Likewise.
42723 * locale/programs/localedef.c: Likewise.
42724 * login/programs/pt_chown.c: Likewise.
42725 * nscd/nscd.c (print_version): Likewise.
42726 * debug/xtrace.sh: Likewise.
42727 * malloc/memusage.sh: Likewise.
42728 * malloc/mtrace.pl: Likewise.
42729 * debug/catchsegv.sh: Likewise.
42731 2011-12-30 Jakub Jelinek <jakub@redhat.com>
42733 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42736 2011-12-24 Ulrich Drepper <drepper@gmail.com>
42739 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42740 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42742 * iconv/gconv_int.h: Likewise.
42743 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42744 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42745 from libc for GLIBC_2.16.
42746 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42747 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42748 * wcsmbs/uchar.h: Really define mbstate_t.
42749 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42750 * wcsmbs/c16rtomb.c: New file.
42751 * wcsmbs/mbrtoc16.c: New file.
42752 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42753 for C/POSIX locale.
42754 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42755 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42757 * wcsmbs/wchar.h: Add missing __restrict.
42759 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42762 * time/Makefile (routines): Add timespec_get.
42763 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42764 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42765 timespec for ISO C11.
42766 * time/timespec_get.c: New file.
42767 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42768 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42771 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42772 * stdlib/stdlib.h: Declare aligned_alloc.
42773 * Versions.def: Add GLIBC_2.16 for libc.
42774 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42777 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42780 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42784 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42787 * assert/assert.h (static_assert): Define.
42789 * version.h: Update for 2.16 development version.
42792 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42795 * version.h (RELEASE): Bump for 2.15 release.
42796 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42798 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42799 Patch by Marek Polacek <mpolacek@redhat.com>.
42801 * bits/byteswap.h: Protect long long constants with __extension__.
42802 * sysdeps/i386/bits/byteswap.h: Likewise.
42803 * sysdeps/ia64/bits/byteswap.h: Likewise.
42804 * sysdeps/s390/bits/byteswap.h: Likewise.
42805 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42807 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42810 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42811 destination buffer.
42812 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42814 2011-12-23 Marek Polacek <polacek@redhat.com>
42816 * elf/dl-addr.c (determine_info): Add inline keyword.
42817 * elf/tst-auditmod4b.c (check_avx): Likewise.
42818 * elf/tst-auditmod6b.c (check_avx): Likewise.
42819 * elf/tst-auditmod6c.c (check_avx): Likewise.
42820 * elf/tst-auditmod7b.c (check_avx): Likewise.
42822 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42824 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42827 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42830 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42831 processing for last bytes.
42833 2011-08-06 Bruno Haible <bruno@clisp.org>
42836 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42837 U+0385, not to U+1FEE.
42840 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42841 entry for U+00A5 U+0301.
42843 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42846 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42847 buffer for the output is too small.
42849 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42853 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42854 SSE flags if possible.
42856 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42859 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42860 processing for last bytes.
42862 2011-12-22 Joseph Myers <joseph@codesourcery.com>
42864 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42865 (syscall-list-default-options, syscall-list-default-condition)
42866 (syscall-list-includes): Define.
42867 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42868 list of ABIs and options and #if conditions for each ABI. Do not
42869 handle common syscalls between ABIs specially.
42870 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42872 (syscall-list-variants, syscall-list-32bit-options)
42873 (syscall-list-32bit-condition, syscall-list-64bit-options)
42874 (syscall-list-64bit-condition): Define.
42875 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42876 (syscall-list-variants, syscall-list-32bit-options)
42877 (syscall-list-32bit-condition, syscall-list-64bit-options)
42878 (syscall-list-64bit-condition): Define.
42879 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42881 (syscall-list-variants, syscall-list-32bit-options)
42882 (syscall-list-32bit-condition, syscall-list-64bit-options)
42883 (syscall-list-64bit-condition): Define.
42884 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42886 (syscall-list-variants, syscall-list-32bit-options)
42887 (syscall-list-32bit-condition, syscall-list-64bit-options)
42888 (syscall-list-64bit-condition): Define.
42890 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42892 * locale/iso-639.def: Add brx entry.
42895 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42896 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42898 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42899 __feraiseexcept_renamed.
42901 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42904 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42905 EPOLLET with unsigned values.
42906 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42907 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42909 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42910 to large cancellation.
42911 * math/s_cacoshf.c: Likewise.
42912 * math/s_cacoshl.c: Likewise.
42914 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42918 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42919 * math/s_cacoshf.c: Likewise.
42920 * math/s_cacoshl.c: Likewise.
42922 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42925 * iconv/gconv.h: Define __GCONV_SWAP.
42926 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42927 * iconvdata/utf-16.c: Likewise.
42928 * iconvdata/utf-32.c: Likewise.
42930 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42933 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42934 numerator after shifting it by one limb.
42936 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42938 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42939 under [__USE_EXTERN_INLINES].
42941 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42944 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42946 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42948 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42949 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42951 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42952 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42953 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42954 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42955 for strncasecmp/strncasecmp_l compilation.
42956 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42957 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42959 2011-12-08 Marek Polacek <mpolacek@redhat.com>
42962 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42965 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42968 * time/tzfile.c (__tzfile_read): Check values from file header.
42970 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42972 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42973 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42974 * powerpc/powerpc32/dl-start.S: Likewise.
42975 * powerpc/powerpc32/elf/start.S: Likewise.
42976 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42977 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42978 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42979 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42980 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42981 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42982 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42983 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42984 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42985 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42986 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42987 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42988 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42989 * powerpc/powerpc32/memset.S: Likewise.
42990 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42991 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42992 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42993 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42994 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42995 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42996 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42997 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42998 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42999 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43000 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43001 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43002 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43004 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43006 * math/libm-test.inc: Added more nearbyint tests.
43007 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43008 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43009 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43010 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43012 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43014 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43017 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43019 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43020 Add wcscpy-ssse3 wcscpy-c.
43021 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43022 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43023 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43024 * sysdeps/x86_64/wcschr.S: New file.
43025 * sysdeps/x86_64/wcsrchr.S: New file.
43026 * string/test-strcmp.c: Remove checking of wcscmp function for
43028 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43029 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43030 wcsrchr-sse2 wcsrchr-c.
43031 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43032 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43033 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43034 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43035 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43036 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43037 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43038 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43039 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43040 * wcsmbc/wcschr.c (WCSCHR): New macro.
43042 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43044 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43045 * wcsmbs/test-wcsrchr.c: New file.
43046 * string/test-strrchr.c: Add wcsrchr support.
43048 * wcsmbs/test-wcscpy.c: New file.
43049 * string/test-strcpy.c: Add wcscpy support.
43052 2011-12-10 Ulrich Drepper <drepper@gmail.com>
43054 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43057 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43060 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43062 2011-12-04 Ulrich Drepper <drepper@gmail.com>
43064 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43065 Minor optimizations.
43067 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43068 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43069 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43071 2011-12-03 Ulrich Drepper <drepper@gmail.com>
43073 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43074 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43075 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43076 for gcc to avoid warnings.
43077 * inet/Makefile (tests): Add tst-checks.
43078 * inet/tst-checks.c: New file.
43080 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43083 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43086 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43087 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43089 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43091 2011-12-02 Ulrich Drepper <drepper@gmail.com>
43093 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43096 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43098 2011-11-29 Joseph Myers <joseph@codesourcery.com>
43100 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43101 conditional on GCC version.
43102 (__arch_compare_and_exchange_val_8_acq)
43103 (__arch_compare_and_exchange_val_16_acq)
43104 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43105 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43106 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43108 2011-12-02 Joseph Myers <joseph@codesourcery.com>
43110 * sysdeps/sh/backtrace.c: New file.
43112 2011-12-02 Andreas Schwab <schwab@redhat.com>
43114 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43117 2011-12-01 Andreas Schwab <schwab@redhat.com>
43119 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43120 falling back to utime.
43122 2011-11-30 Andreas Schwab <schwab@redhat.com>
43124 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43125 expectations for float.
43127 2011-11-29 Andreas Schwab <schwab@redhat.com>
43129 * locale/weight.h (findidx): Add parameter len.
43130 * locale/weightwc.h (findidx): Likewise.
43131 * posix/fnmatch_loop.c (FCT): Adjust caller.
43132 * posix/regcomp.c (build_equiv_class): Likewise.
43133 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43134 * posix/regexec.c (check_node_accept_bytes): Likewise.
43135 * string/strcoll_l.c (STRCOLL): Likewise.
43136 * string/strxfrm_l.c (STRXFRM): Likewise.
43138 2011-11-17 Ulrich Drepper <drepper@gmail.com>
43140 * Makefile.in: Remove CVSOPT handling.
43141 * configure.in: Remove use of AC_REVISION.
43142 * iconvdata/Makefile (distribute): No need to filter out CVS.
43143 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43146 2011-11-16 Andreas Schwab <schwab@redhat.com>
43148 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43149 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43150 [USE_AS_STRNCASECMP_L]: Likewise.
43151 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43152 NO_TLS_DIRECT_SEG_REFS.
43153 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43154 Fix argument offsets for non-PIC.
43155 [USE_AS_STRNCASECMP_L]: Likewise.
43156 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43157 NO_TLS_DIRECT_SEG_REFS.
43159 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43161 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43163 * locale/loadlocale.c (_nl_load_locale): Likewise.
43165 2011-11-15 Andreas Schwab <schwab@redhat.com>
43167 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43168 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43169 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43170 (SYSCALL_GETTIME): Set errno on error.
43172 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43173 count references to noai6ai_cached.
43175 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43177 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43179 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43180 FD_CLOEXEC for /proc/self/maps.
43182 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43183 FD_CLOEXEC for /proc/meminfo.
43185 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43188 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43189 FD_CLOEXEC for given file.
43191 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43193 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43194 FD_CLOEXEC for /etc/hosts.
43195 (_gethtent): Likewise.
43197 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43199 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43200 cancellation and set FD_CLOEXEC for /etc/netgroup.
43202 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43203 reading /etc/publickey.
43205 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43206 allow cancellation when reading /etc/group.
43208 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43210 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43212 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43213 when using data file.
43215 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43217 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43218 (write_nis_obj): Use "c" and "e" in fopen.
43220 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43222 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43224 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43226 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43228 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43231 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43233 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43235 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43237 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43238 file parsing and set FD_CLOEXEC.
43240 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43242 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43244 2011-11-14 Andreas Schwab <schwab@redhat.com>
43246 * malloc/arena.c (arena_get2): Don't call reused_arena when
43247 _int_new_arena failed.
43249 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43251 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43252 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43253 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43254 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43255 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43256 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43257 to compile strcasecmp and strncasecmp.
43258 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43259 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43261 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43263 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43265 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43266 locale-defines.sym to gen-as-const-headers.
43267 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43268 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43269 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43270 to compile strcasecmp and strncasecmp.
43271 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43272 strcasecmp_l and strncasecmp_l.
43273 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43274 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43275 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43276 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43277 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43278 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43279 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43280 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43281 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43282 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43283 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43285 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43287 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43288 result of SYSDEP_GETTIME_CPU to retval.
43289 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43290 parameter list to macro. Remove trailing semicolon. Adjust users.
43292 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43295 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43297 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43299 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43300 from unused variable.
43302 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43304 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43307 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43310 * sunrpc/rpc_prot.c (rejected): Fix case value.
43312 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43313 unsigned long long int to avoid warnings in shift.
43315 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43317 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43320 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43321 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43322 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43324 * nis/nis_table.c (nis_list): Use variable of correct type for
43325 result of __follow_path call.
43327 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43329 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43330 of math functions ceil, trunc, floor, round, and sqrt, when
43331 avaliable on the platform.
43332 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43334 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43335 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43336 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43338 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43340 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43341 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43343 2011-11-11 Roland McGrath <roland@hack.frob.com>
43345 * include/unistd.h: Fix __readlink return type.
43346 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43348 2011-11-11 Ulrich Drepper <drepper@gmail.com>
43350 * stdlib/ucontext.h: Undo last change for makecontext.
43352 2011-11-11 Andreas Schwab <schwab@redhat.com>
43354 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43356 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43357 * setjmp/setjmp.h: Mark functions as non-leaf.
43358 * setjmp/bits/setjmp2.h: Likewise.
43359 * stdlib/ucontext.h: Likewise.
43361 2011-11-10 Andreas Schwab <schwab@redhat.com>
43363 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43364 (reused_arena): Don't check arena limit.
43365 (arena_get2): Atomically check arena limit.
43367 2011-11-08 Ulrich Drepper <drepper@gmail.com>
43369 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43370 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43372 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43375 2011-11-07 Andreas Schwab <schwab@redhat.com>
43377 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43378 handler when locking.
43380 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43381 Fix size of allocated buffer.
43383 2011-11-04 Andreas Schwab <schwab@redhat.com>
43386 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43387 declarations for long double functions.
43388 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43390 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43392 2011-11-03 Andreas Schwab <schwab@redhat.com>
43394 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43397 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43400 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43402 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43404 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43406 * include/alloca.h (stackinfo_alloca_round): Define.
43407 (extend_alloca): Use it.
43408 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43409 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43412 * scripts/check-local-headers.sh: Ignore libaudit.h.
43414 * nscd/Makefile (extra-objs): Make recursively expanded.
43416 2011-11-01 Ulrich Drepper <drepper@gmail.com>
43418 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43419 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43421 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43422 * posix/tst-rfc3484-2.c: Likewise.
43423 * posix/tst-rfc3484-3.c: Likewise.
43425 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43427 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43429 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43430 process_vm_writev from libc using GLIBC_2.15 version.
43432 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43434 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43436 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43439 2011-10-31 Ulrich Drepper <drepper@gmail.com>
43442 * nss/getent.c (initgroups_keys): Show error message in case no group
43445 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43446 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43447 __bump_nl_timestamp.
43448 * nscd/connections (nscd_init): When host database is served open
43449 netlink socket and request notification about configuration changes.
43450 (main_loop_poll): Track netlink file descriptor and bump timestamp
43451 in case data becomes available.
43452 (main_loop_epoll): Likewise.
43453 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43454 (database_pers_head): Add extra_data fileds.
43455 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43456 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43457 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43459 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43460 in6ai data, call __free_in6ai.
43461 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43462 Add -DHAVE_NETLINK.
43463 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43464 interface information. Reuse previous data if netlink timestamp
43466 (__bump_nl_timestamp): New function.
43467 (__free_in6ai): New function.
43469 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43471 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43472 close_not_cancel_no_status here.
43473 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43475 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43478 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43481 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43482 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43483 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43485 2011-07-03 Andreas Jaeger <aj@suse.de>
43488 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43489 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43490 * math/libm-test.inc (sin_test): Add test case.
43492 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43495 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43496 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43498 * elf/chroot_canon.c (chroot_canon): Cleanups.
43500 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43503 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43504 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43506 * string/test-strchr.c: Make usable for strchrnul testing.
43507 * string/test-strchrnul.c: New file.
43508 * string/Makefile (strop-tests): Add strchrnul.
43510 * po/it.po: Update from translation team.
43511 * po/es.po: Likewise.
43513 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43515 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43516 the three constants needed as parameters. Drop the others.
43517 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43518 __m128i_strloadu_tolower.
43519 Create and initialize variable zero and use it in all the places
43520 where _mm_setzero_si128 was used.
43522 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43523 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43524 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43525 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43527 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43528 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43529 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43530 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43531 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43532 __mpranred, __mptan.
43533 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43534 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43535 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43536 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43537 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43538 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43539 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43540 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43541 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43543 2011-10-28 Andreas Schwab <schwab@redhat.com>
43545 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43546 redefine if SHARED.
43547 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43549 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43550 wide char related routines to wcsmbs subdir.
43552 2011-10-27 Andreas Schwab <schwab@redhat.com>
43555 * misc/sys/cdefs.h (__THROWNL): Define.
43556 * posix/unistd.h: Use __THREADNL instead of __THREAD
43557 for memory synchronization functions.
43559 2011-10-26 Roland McGrath <roland@hack.frob.com>
43562 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43564 * manual/stdio.texi (Obstack Streams): Node removed.
43566 2011-10-26 Andreas Schwab <schwab@redhat.com>
43568 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43569 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43570 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43572 * math/math_private.h (math_force_eval): Allow non-addressable
43574 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43576 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43578 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43579 file is not needed.
43581 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43582 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43583 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43584 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43585 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43586 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43587 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43588 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43590 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43591 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43592 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43593 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43594 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43595 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43596 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43597 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43598 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43599 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43600 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43601 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43602 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43603 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43604 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43605 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43606 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43607 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43608 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43610 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43611 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43613 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43614 place. Use VEX encoding when compiling for AVX.
43616 2011-10-25 Andreas Schwab <schwab@redhat.com>
43618 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43619 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43621 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43623 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43625 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43626 useless if() expression.
43627 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43628 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43629 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43630 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43631 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43632 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43633 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43634 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43635 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43636 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43637 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43638 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43639 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43640 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43641 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43642 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43643 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43644 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43645 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43647 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43649 2011-10-25 Andreas Schwab <schwab@redhat.com>
43651 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43653 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43655 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43657 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43658 .text section. Avoid duplicate constants.
43659 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43660 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43661 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43662 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43663 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43664 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43665 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43666 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43667 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43668 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43669 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43670 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43671 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43672 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43673 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43674 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43675 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43676 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43677 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43678 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43679 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43680 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43681 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43682 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43683 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43684 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43685 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43686 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43687 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43688 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43689 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43690 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43691 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43692 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43693 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43694 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43695 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43696 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43697 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43698 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43699 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43700 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43701 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43702 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43703 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43705 2011-10-24 Ulrich Drepper <drepper@gmail.com>
43707 * sysdeps/x86_64/dla.h: Move to ...
43708 * sysdeps/x86_64/fpu/dla.h: ...here.
43709 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43710 situations. Use __builtin_fma only for gcc 4.6 and up.
43712 * config.make.in: Add have-mfma4 entry.
43713 * configure.in: Substitute libc_cv_cc_fma4.
43714 * math/Makefile (dbl-only-routines): Add sincostab.
43715 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43716 Use __sincostab not sincos.
43717 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43719 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43720 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43721 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43722 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43724 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43725 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43726 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43727 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43729 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43730 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43732 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43733 define aliases when function name is a macro.
43734 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43735 sysdeps/ieee754/dbl-64/sincos.tbl.
43736 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43737 fma4-enabled routines.
43738 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43739 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43740 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43741 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43742 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43743 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43744 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43745 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43746 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43747 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43748 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43749 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43750 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43751 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43752 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43753 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43754 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43755 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43756 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43757 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43758 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43759 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43760 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43761 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43762 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43763 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43764 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43765 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43766 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43767 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43769 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43771 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43772 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43773 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43774 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43775 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43776 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43777 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43778 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43780 2011-10-24 Andreas Schwab <schwab@redhat.com>
43782 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43784 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43786 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43788 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43790 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43792 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43793 Remove unused variable magic_bits.
43794 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43796 * string/strnlen.c: Define and use STRNLEN macro.
43797 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43798 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43799 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43800 * wcsmbs/wcslen.c: Define and use WCSLEN.
43801 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43802 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43803 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43804 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43805 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43806 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43807 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43809 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43811 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43812 strnlen-sse2-no-bsf.
43813 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43814 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43815 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43816 Add strnlen support.
43817 (USE_AS_STRNLEN): New macro.
43818 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43819 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43820 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43821 * sysdeps/x86_64/wcslen.S: New file.
43823 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43825 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43826 XMM-moves are used for copying on small sizes.
43828 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43830 * wcsmbs/Makefile (strop-tests): Add wcschr.
43831 * wcsmbs/test-wcschr.c: New file.
43832 * string/test-strchr.c: Update.
43833 Add wcschr support.
43836 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43838 * wcsmbs/Makefile (strop-tests): Add wcslen.
43839 * wcsmbs/test-wcslen.c: New file.
43840 * string/test-strlen.c: Update.
43841 Add wcslen support.
43844 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43846 * po/it.po: Update from translation team.
43848 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43850 * sysdeps/x86_64/wcscmp.S: Update.
43851 Fix wrong comparison semantics.
43852 wcscmp shall use signed comparison not unsigned.
43853 Don't use substraction to avoid overflow bug.
43854 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43855 * wcsmbc/wcscmp.c: Likewise.
43856 * string/test-strcmp.c: Likewise.
43857 Add new tests to check cases with negative values.
43859 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43861 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43862 * sysdeps/x86_64/dla.h: ...here. New file.
43863 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43864 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43865 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43866 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43867 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43868 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43869 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43870 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43871 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43873 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43875 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43876 __ynl_finite aliases.
43878 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43882 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43884 [DLA_FMA] (EMULV): Use DLA_FMA.
43885 [DLA_FMA] (MUL12): Use EMULV.
43886 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43887 that are not needed.
43888 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43889 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43890 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43891 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43892 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43893 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43894 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43896 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43898 * math/s_nan.c: Undef __nan.
43899 * math/s_nanf.c: Undef __nanf.
43900 * math/s_nanl.c: Undef __nanl.
43901 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43904 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43906 * math/s_catan.c: Add branch predictions.
43907 * math/s_catanf.c: Likewise.
43908 * math/s_catanh.c: Likewise.
43909 * math/s_catanhf.c: Likewise.
43910 * math/s_catanhl.c: Likewise.
43911 * math/s_catanl.c: Likewise.
43912 * math/s_cexp.c: Likewise.
43913 * math/s_cexpf.c: Likewise.
43914 * math/s_cexpl.c: Likewise.
43915 * math/s_clog.c: Likewise.
43916 * math/s_clog10.c: Likewise.
43917 * math/s_clog10f.c: Likewise.
43918 * math/s_clog10l.c: Likewise.
43919 * math/s_clogf.c: Likewise.
43920 * math/s_clogl.c: Likewise.
43921 * math/s_csqrt.c: Likewise.
43922 * math/s_csqrtf.c: Likewise.
43923 * math/s_csqrtl.c: Likewise.
43924 * math/s_ctanf.c: Likewise.
43925 * math/s_ctanh.c: Likewise.
43926 * math/s_ctanhf.c: Likewise.
43927 * math/s_ctanhl.c: Likewise.
43928 * math/s_ctanl.c: Likewise.
43930 * math/math_private.h: Define __nan, __nanf, __nanl.
43931 * math/s_cacosh.c: Include <math_private.h>.
43932 * math/s_cacoshl.c: Likewise.
43933 * math/s_casinh.c: Likewise.
43934 * math/s_casinhf.c: Likewise.
43935 * math/s_casinhl.c: Likewise.
43936 * math/s_ccos.c: Rely entire on ccosh.
43937 * math/s_ccosf.c: Rely entire on ccoshf.
43938 * math/s_ccosl.c: Rely entirely on ccoshl.
43939 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43940 Remove tests for FE_INVALID.
43941 * math/s_ccoshf.c: Likewise.
43942 * math/s_ccoshl.c: Likewise.
43943 * math/s_csin.c: Likewise.
43944 * math/s_csinf.c: Likewise.
43945 * math/s_csinh.c Likewise.
43946 * math/s_csinhf.c: Likewise.
43947 * math/s_csinhl.c: Likewise.
43948 * math/s_csinl.c: Likewise.
43949 * math/s_ctan.c: Likewise.
43950 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43951 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43952 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43954 2011-10-21 Ulrich Drepper <drepper@gmail.com>
43956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43957 compilation problems.
43959 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43962 2011-10-20 Ulrich Drepper <drepper@gmail.com>
43964 * sysdeps/i386/configure.in: Test for -mfma4 option.
43965 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43966 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43967 COMMON_CPUID_INDEX_80000001.
43968 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43969 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43970 use it if FMA3 is not supported.
43971 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43973 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43974 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43976 2011-10-20 Andreas Schwab <schwab@redhat.com>
43979 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43980 it would create a cycle with a link time dependency.
43982 2011-10-19 Ulrich Drepper <drepper@gmail.com>
43984 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43986 * string/Makefile (strop-tests): Add rawmemchr.
43987 * string/test-rawmemchr.c: New file.
43989 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43990 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43991 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43992 when compiling str{,n}casecmp and when AVX is available. Hook up
43993 new optimized code in initializers.
43995 2011-10-19 Andreas Schwab <schwab@redhat.com>
43997 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43998 __feraiseexcept instead of feraiseexcept.
44000 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44002 * math/math_private.h: Define defaults for libc_fetestexcept and
44004 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44005 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44006 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44007 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44008 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44009 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44010 libc_fetestexcept and libc_feupdateenv.
44012 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44013 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44014 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44015 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44016 libc_feholdexcept_setround.
44018 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44019 Add s_nearbyint-c and s_nearbyintf-c.
44020 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44021 nearbyintf inlines.
44022 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44023 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44024 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44025 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44027 * math/math_private.h: Define defaults for libc_fegetround,
44028 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44029 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44030 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44031 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44032 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44033 standard functions.
44034 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44035 Remove comments and hacks for old compiler versions.
44036 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44037 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44038 libc_feholdexceptl.
44040 2011-10-18 Andreas Schwab <schwab@redhat.com>
44042 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44043 (__feraiseexcept_renamed): Add __NTH.
44044 (feraiseexcept): Add __NTH. Rename local variables to fix
44045 namespace violations.
44047 2011-10-17 Ulrich Drepper <drepper@gmail.com>
44049 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44051 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44053 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44054 recently added interfaces.
44055 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44057 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44058 about macro parameter expansion.
44060 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44061 __NO_MATH_INLINES is defined. Cleanups.
44063 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44064 and __floorf is target has SSE4.1.
44065 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44066 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44067 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44068 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44070 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44072 (floorf): Likewise.
44074 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44076 2011-10-17 Andreas Schwab <schwab@redhat.com>
44078 * misc/sys/cdefs.h: Fix last change.
44080 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44083 2011-10-16 Ulrich Drepper <drepper@gmail.com>
44085 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44087 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44088 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44089 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44090 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44091 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44092 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44093 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44094 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44095 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44096 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44097 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44098 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44099 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44100 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44101 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44102 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44103 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44104 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44105 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44106 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44107 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44108 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44110 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44111 ceil, ceilf, floor, floorf.
44113 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44114 Perform IRELATIVE relocations last.
44116 * elf/do-rel.h: Add another parameter nrelative, replacing the
44117 local variable with the same name. Change name of the function
44118 to end in Rel or Rela (uppercase).
44119 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44120 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44121 elf_dynamic_do_##reloc function.
44123 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44125 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44126 is sufficient, at least on modern CPUs.
44128 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44130 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44131 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44133 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44135 * math/bits/math-finite.h: Add entries for exp.
44136 * math/e_expl.c: Add __*_finite alias.
44137 * sysdeps/i386/fpu/e_exp.S: Likewise.
44138 * sysdeps/i386/fpu/e_expf.S: Likewise.
44139 * sysdeps/i386/fpu/e_expl.c: Likewise.
44140 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44141 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44142 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44143 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44144 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44145 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44146 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44148 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44149 is sufficient, at least on modern CPUs.
44151 * ctype/ctype-info.c (__ctype_init): Define.
44152 * include/ctype.h (__ctype_init): Declare.
44153 (__ctype_b_loc): The variable is always initialized.
44154 (__ctype_toupper_loc): Likewise.
44155 (__ctype_tolower_loc): Likewise.
44156 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44157 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44159 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44161 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44163 * configure.in: Also look in $cxxmachine/include for C++ system
44166 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44168 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44169 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44170 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44171 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44172 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44173 (USE_AS_WMEMCMP): New macro.
44175 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44176 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44177 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44178 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44179 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44180 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44181 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44182 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44183 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44184 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44185 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44186 (USE_AS_WMEMCMP): New macro.
44187 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44188 * sysdeps/string/test-memcmp.c: Update.
44189 Fix simple_wmemcmp.
44191 * wcsmbs/wmemcmp.c: Update.
44192 (WMEMCMP): New macro.
44195 2011-10-12 Andreas Jaeger <aj@suse.de>
44198 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44200 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44202 * libio/iofwide.c (do_length): Avoid warning.
44204 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44206 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44208 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44210 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44211 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44212 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44213 * sysdeps/i386/i686/fpu/e_log.S: New file.
44214 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44215 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44217 * ctype/ctype.h: Add support for inlined isXXX functions when
44218 compiling C++ code.
44220 2011-10-14 Andreas Schwab <schwab@redhat.com>
44222 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44224 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44226 2011-10-13 Roland McGrath <roland@hack.frob.com>
44229 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44231 2011-10-13 Andreas Schwab <schwab@redhat.com>
44233 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44234 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44237 * sysdeps/x86_64/memrchr.S: Check for zero size.
44239 * string/stratcliff.c: Add memrchr tests.
44241 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44243 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44244 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44245 rawmemchr-sse2 rawmemchr-sse2-bsf.
44246 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44247 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44248 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44249 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44250 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44251 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44252 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44253 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44254 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44255 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44256 * string/memrchr.c (MEMRCHR): New macro.
44258 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44260 Add integration with gcc's -ffinite-math-only and optimize wrapper
44262 * Versions.def: Define GLIBC_2.15 version for libm.
44263 * math/Makefile (headers): Add bits/math-finite.h.
44264 * math/bits/math-finite.h: New file.
44265 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44266 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44267 * math/e_acoshl.c: Add __*_finite alias.
44268 * math/e_acosl.c: Likewise.
44269 * math/e_asinl.c: Likewise.
44270 * math/e_atan2l.c: Likewise.
44271 * math/e_atanhl.c: Likewise.
44272 * math/e_coshl.c: Likewise.
44273 * math/e_exp10.c: Likewise.
44274 * math/e_exp10f.c: Likewise.
44275 * math/e_exp10l.c: Likewise.
44276 * math/e_exp2l.c: Likewise.
44277 * math/e_fmodl.c: Likewise.
44278 * math/e_gammal_r.c: Likewise.
44279 * math/e_hypotl.c: Likewise.
44280 * math/e_j0l.c: Likewise.
44281 * math/e_j1l.c: Likewise.
44282 * math/e_jnl.c: Likewise.
44283 * math/e_lgammal_r.c: Likewise.
44284 * math/e_log10l.c: Likewise.
44285 * math/e_log2l.c: Likewise.
44286 * math/e_logl.c: Likewise.
44287 * math/e_powl.c: Likewise.
44288 * math/e_sinhl.c: Likewise.
44289 * math/e_sqrtl.c: Likewise.
44290 * math/e_scalb.c: Completely rewritten and optimized.
44291 * math/e_scalbf.c: Likewise.
44292 * math/e_scalbl.c: Likewise.
44293 * math/w_acos.c: Likewise.
44294 * math/w_acosf.c: Likewise.
44295 * math/w_acosl.c: Likewise.
44296 * math/w_acosh.c: Likewise.
44297 * math/w_acoshf.c: Likewise.
44298 * math/w_acoshl.c: Likewise.
44299 * math/w_asin.c: Likewise.
44300 * math/w_asinf.c: Likewise.
44301 * math/w_asinl.c: Likewise.
44302 * math/w_atan2.c: Likewise.
44303 * math/w_atan2f.c: Likewise.
44304 * math/w_atan2l.c: Likewise.
44305 * math/w_atanh.c: Likewise.
44306 * math/w_atanhf.c: Likewise.
44307 * math/w_atanhl.c: Likewise.
44308 * math/w_exp10.c: Likewise.
44309 * math/w_exp10f.c: Likewise.
44310 * math/w_exp10l.c: Likewise.
44311 * math/w_fmod.c: Likewise.
44312 * math/w_fmodf.c: Likewise.
44313 * math/w_fmodl.c: Likewise.
44314 * math/w_j0.c: Likewise.
44315 * math/w_j0f.c: Likewise.
44316 * math/w_j0l.c: Likewise.
44317 * math/w_j1.c: Likewise.
44318 * math/w_j1f.c: Likewise.
44319 * math/w_j1l.c: Likewise.
44320 * math/w_jn.c: Likewise.
44321 * math/w_jnf.c: Likewise.
44322 * math/w_log.c: Likewise.
44323 * math/w_logf.c: Likewise.
44324 * math/w_logl.c: Likewise.
44325 * math/w_log10.c: Likewise.
44326 * math/w_log10f.c: Likewise.
44327 * math/w_log10l.c: Likewise.
44328 * math/w_log2.c: Likewise.
44329 * math/w_log2f.c: Likewise.
44330 * math/w_log2l.c: Likewise.
44331 * math/w_pow.c: Likewise.
44332 * math/w_powf.c: Likewise.
44333 * math/w_powl.c: Likewise.
44334 * math/w_remainder.c: Likewise.
44335 * math/w_remainderf.c: Likewise.
44336 * math/w_remainderl.c: Likewise.
44337 * math/w_scalb.c: Likewise.
44338 * math/w_scalbf.c: Likewise.
44339 * math/w_scalbl.c: Likewise.
44340 * math/w_sqrt.c: Likewise.
44341 * math/w_sqrtf.c: Likewise.
44342 * math/w_sqrtl.c: Likewise.
44343 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44344 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44346 * math/math_private.h: Declare __kernel_standard_f.
44347 * math/w_cosh.c: Remove cruft and optimize a bit.
44348 * math/w_coshf.c: Likewise.
44349 * math/w_coshl.c: Likewise.
44350 * math/w_exp2.c: Likewise.
44351 * math/w_exp2f.c: Likewise.
44352 * math/w_exp2l.c: Likewise.
44353 * math/w_hypot.c: Likewise.
44354 * math/w_hypotf.c: Likewise.
44355 * math/w_hypotl.c: Likewise.
44356 * math/w_lgamma.c: Likewise.
44357 * math/w_lgamma_r.c: Likewise.
44358 * math/w_lgammaf.c: Likewise.
44359 * math/w_lgammaf_r.c: Likewise.
44360 * math/w_lgammal.c: Likewise.
44361 * math/w_lgammal_r.c: Likewise.
44362 * math/w_sinh.c: Likewise.
44363 * math/w_sinhf.c: Likewise.
44364 * math/w_sinhl.c: Likewise.
44365 * math/w_tgamma.c: Likewise.
44366 * math/w_tgammaf.c: Likewise.
44367 * math/w_tgammal.c: Likewise.
44368 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44369 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44370 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44371 Minor optimizations. Pretty printing. Remove cruft.
44372 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44373 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44374 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44375 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44376 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44377 * sysdeps/i386/fpu/e_asin.S: Likewise.
44378 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44379 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44380 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44381 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44382 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44383 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44384 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44385 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44386 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44387 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44388 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44389 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44390 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44391 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44392 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44393 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44394 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44395 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44396 * sysdeps/i386/fpu/e_log.S: Likewise.
44397 * sysdeps/i386/fpu/e_log10.S: Likewise.
44398 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44399 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44400 * sysdeps/i386/fpu/e_log2.S: Likewise.
44401 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44402 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44403 * sysdeps/i386/fpu/e_logf.S: Likewise.
44404 * sysdeps/i386/fpu/e_logl.S: Likewise.
44405 * sysdeps/i386/fpu/e_pow.S: Likewise.
44406 * sysdeps/i386/fpu/e_powf.S: Likewise.
44407 * sysdeps/i386/fpu/e_powl.S: Likewise.
44408 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44409 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44410 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44411 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44412 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44413 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44414 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44415 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44416 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44417 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44418 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44419 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44420 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44421 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44422 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44423 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44424 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44425 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44426 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44427 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44428 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44429 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44430 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44431 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44432 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44433 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44434 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44435 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44436 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44437 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44438 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44439 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44440 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44441 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44442 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44443 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44444 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44445 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44446 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44447 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44448 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44449 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44450 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44451 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44452 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44453 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44454 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44455 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44456 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44457 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44458 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44459 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44460 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44461 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44462 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44463 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44464 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44465 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44466 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44467 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44468 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44469 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44470 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44471 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44472 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44473 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44474 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44475 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44476 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44477 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44478 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44479 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44480 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44481 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44482 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44483 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44484 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44485 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44486 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44487 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44488 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44489 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44490 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44491 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44492 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44493 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44494 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44495 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44496 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44497 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44498 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44499 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44500 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44501 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44502 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44503 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44504 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44505 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44506 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44507 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44508 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44509 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44510 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44511 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44512 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44513 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44514 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44515 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44516 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44517 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44518 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44519 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44520 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44521 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44522 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44523 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44524 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44525 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44526 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44527 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44528 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44529 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44530 (__isnanf): Likewise.
44531 (__isinf_ns): Likewise.
44532 (__isinf_nsf): Likewise.
44533 (__finite): Likewise.
44534 (__finitef): Likewise.
44535 (__ieee754_sqrt): Define as macro.
44536 (__ieee754_sqrtf): Define as macro.
44537 (__ieee754_sqrtl): Define as macro.
44538 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44540 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44541 __FINITE_MATH_ONLY__ consistent.
44542 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44544 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44546 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44549 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44551 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44553 * po/ja.po: Update from translation team.
44555 2011-10-08 Roland McGrath <roland@hack.frob.com>
44557 * locale/programs/locarchive.c (prepare_address_space): New function.
44558 (create_archive, enlarge_archive, open_archive): Use it.
44560 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44561 inside [SHARED], where it is used.
44563 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44565 * nss/getent.c (netgroup_keys): Remove unused variable.
44566 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44568 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44570 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44571 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44572 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44573 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44574 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44575 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44576 * math/Makefile (libm-calls): Add s_isinf_ns.
44577 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44578 * math/multc3.c: Likewise.
44579 * math/s_casin.c: Likewise.
44580 * math/s_casinf.c: Likewise.
44581 * math/s_casinl.c: Likewise.
44582 * math/s_ccos.c: Likewise.
44583 * math/s_ccosf.c: Likewise.
44584 * math/s_ccosl.c: Likewise.
44585 * math/s_ctan.c: Likewise.
44586 * math/s_ctanf.c: Likewise.
44587 * math/s_ctanh.c: Likewise.
44588 * math/s_ctanhf.c: Likewise.
44589 * math/s_ctanhl.c: Likewise.
44590 * math/s_ctanl.c: Likewise.
44591 * math/w_fmod.c: Likewise.
44592 * math/w_fmodf.c: Likewise.
44593 * math/w_fmodl.c: Likewise.
44594 * math/w_remainder.c: Likewise.
44595 * math/w_remainderf.c: Likewise.
44596 * math/w_remainderl.c: Likewise.
44597 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44598 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44599 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44600 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44601 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44602 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44603 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44604 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44606 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44608 * stdio-common/printf_fphex.c: Likewise.
44609 * stdio-common/printf_size.c: Likewise.
44611 * math/e_exp10.c: Include math_private.h using <...> not "...".
44612 * math/e_exp10f.c: Likewise.
44613 * math/e_exp10l.c: Likewise.
44614 * math/e_exp2l.c: Likewise.
44615 * math/e_j0l.c: Likewise.
44616 * math/e_j1l.c: Likewise.
44617 * math/e_jnl.c: Likewise.
44618 * math/e_lgammal_r.c: Likewise.
44619 * math/e_rem_pio2l.c: Likewise.
44620 * math/e_scalb.c: Likewise.
44621 * math/e_scalbf.c: Likewise.
44622 * math/e_scalbl.c: Likewise.
44623 * math/k_cosl.c: Likewise.
44624 * math/k_sinl.c: Likewise.
44625 * math/k_tanl.c: Likewise.
44626 * math/s_cacoshf.c: Likewise.
44627 * math/s_catan.c: Likewise.
44628 * math/s_catanf.c: Likewise.
44629 * math/s_catanh.c: Likewise.
44630 * math/s_catanhf.c: Likewise.
44631 * math/s_catanhl.c: Likewise.
44632 * math/s_catanl.c: Likewise.
44633 * math/s_ccosh.c: Likewise.
44634 * math/s_ccoshf.c: Likewise.
44635 * math/s_ccoshl.c: Likewise.
44636 * math/s_cexp.c: Likewise.
44637 * math/s_cexpf.c: Likewise.
44638 * math/s_cexpl.c: Likewise.
44639 * math/s_clog.c: Likewise.
44640 * math/s_clog10.c: Likewise.
44641 * math/s_clog10f.c: Likewise.
44642 * math/s_clog10l.c: Likewise.
44643 * math/s_clogf.c: Likewise.
44644 * math/s_clogl.c: Likewise.
44645 * math/s_csin.c: Likewise.
44646 * math/s_csinf.c: Likewise.
44647 * math/s_csinh.c: Likewise.
44648 * math/s_csinhf.c: Likewise.
44649 * math/s_csinhl.c: Likewise.
44650 * math/s_csinl.c: Likewise.
44651 * math/s_csqrt.c: Likewise.
44652 * math/s_csqrtf.c: Likewise.
44653 * math/s_csqrtl.c: Likewise.
44654 * math/s_ctan.c: Likewise.
44655 * math/s_ctanf.c: Likewise.
44656 * math/s_ctanh.c: Likewise.
44657 * math/s_ctanhf.c: Likewise.
44658 * math/s_ctanhl.c: Likewise.
44659 * math/s_ctanl.c: Likewise.
44660 * math/s_ldexp.c: Likewise.
44661 * math/s_ldexpf.c: Likewise.
44662 * math/s_ldexpl.c: Likewise.
44663 * math/s_significand.c: Likewise.
44664 * math/s_significandf.c: Likewise.
44665 * math/s_significandl.c: Likewise.
44666 * math/w_acos.c: Likewise.
44667 * math/w_acosf.c: Likewise.
44668 * math/w_acosh.c: Likewise.
44669 * math/w_acoshf.c: Likewise.
44670 * math/w_acoshl.c: Likewise.
44671 * math/w_acosl.c: Likewise.
44672 * math/w_asin.c: Likewise.
44673 * math/w_asinf.c: Likewise.
44674 * math/w_asinl.c: Likewise.
44675 * math/w_atan2.c: Likewise.
44676 * math/w_atan2f.c: Likewise.
44677 * math/w_atan2l.c: Likewise.
44678 * math/w_atanh.c: Likewise.
44679 * math/w_atanhf.c: Likewise.
44680 * math/w_atanhl.c: Likewise.
44681 * math/w_cosh.c: Likewise.
44682 * math/w_coshf.c: Likewise.
44683 * math/w_coshl.c: Likewise.
44684 * math/w_dremf.c: Likewise.
44685 * math/w_exp10.c: Likewise.
44686 * math/w_exp10f.c: Likewise.
44687 * math/w_exp10l.c: Likewise.
44688 * math/w_exp2.c: Likewise.
44689 * math/w_exp2f.c: Likewise.
44690 * math/w_fmod.c: Likewise.
44691 * math/w_fmodf.c: Likewise.
44692 * math/w_fmodl.c: Likewise.
44693 * math/w_hypot.c: Likewise.
44694 * math/w_hypotf.c: Likewise.
44695 * math/w_hypotl.c: Likewise.
44696 * math/w_j0.c: Likewise.
44697 * math/w_j0f.c: Likewise.
44698 * math/w_j0l.c: Likewise.
44699 * math/w_j1.c: Likewise.
44700 * math/w_j1f.c: Likewise.
44701 * math/w_j1l.c: Likewise.
44702 * math/w_jn.c: Likewise.
44703 * math/w_jnf.c: Likewise.
44704 * math/w_jnl.c: Likewise.
44705 * math/w_lgamma.c: Likewise.
44706 * math/w_lgamma_r.c: Likewise.
44707 * math/w_lgammaf.c: Likewise.
44708 * math/w_lgammaf_r.c: Likewise.
44709 * math/w_lgammal.c: Likewise.
44710 * math/w_lgammal_r.c: Likewise.
44711 * math/w_log.c: Likewise.
44712 * math/w_log10.c: Likewise.
44713 * math/w_log10f.c: Likewise.
44714 * math/w_log10l.c: Likewise.
44715 * math/w_log2.c: Likewise.
44716 * math/w_log2f.c: Likewise.
44717 * math/w_log2l.c: Likewise.
44718 * math/w_logf.c: Likewise.
44719 * math/w_logl.c: Likewise.
44720 * math/w_pow.c: Likewise.
44721 * math/w_powf.c: Likewise.
44722 * math/w_powl.c: Likewise.
44723 * math/w_remainder.c: Likewise.
44724 * math/w_remainderf.c: Likewise.
44725 * math/w_remainderl.c: Likewise.
44726 * math/w_scalb.c: Likewise.
44727 * math/w_scalbf.c: Likewise.
44728 * math/w_scalbl.c: Likewise.
44729 * math/w_sinh.c: Likewise.
44730 * math/w_sinhf.c: Likewise.
44731 * math/w_sinhl.c: Likewise.
44732 * math/w_sqrt.c: Likewise.
44733 * math/w_sqrtf.c: Likewise.
44734 * math/w_sqrtl.c: Likewise.
44735 * math/w_tgamma.c: Likewise.
44736 * math/w_tgammaf.c: Likewise.
44737 * math/w_tgammal.c: Likewise.
44739 * po/ja.po: Update from translation team.
44741 2011-09-29 Andreas Jaeger <aj@suse.de>
44744 * sunrpc/netname.c (netname2host): Fix logic.
44748 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44750 * math/w_remainder.c (__remainder): Likewise.
44751 * math/w_remainderf.c (__remainderf): Likewise.
44752 * math/libm-test.inc (remainder_test): Add test cases.
44754 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44756 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44759 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44761 * string/test-memcmp.c: Avoid unncessary #defines.
44762 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44764 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44766 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44767 Use new sse2 version for core i3 - i7 as it's faster
44768 than sse42 version.
44769 (bit_Prefer_PMINUB_for_stringop): New.
44770 * sysdeps/x86_64/rawmemchr.S: Update.
44771 Replace with faster SSE2 version.
44772 * sysdeps/x86_64/memrchr.S: New file.
44773 * sysdeps/x86_64/memchr.S: Update.
44774 Replace with faster SSE2 version.
44776 2011-09-12 Marek Polacek <mpolacek@redhat.com>
44778 * elf/dl-load.c (lose): Add cast to avoid warning.
44780 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44782 * po/ca.po: Update from translation team.
44784 * inet/getnetgrent_r.c: Hook up nscd.
44785 * nscd/Makefile (routines): Add nscd_netgroup.
44786 (nscd-modules): Add netgroupcache.
44787 (CFLAGS-netgroupcache.c): Define.
44788 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44789 (cache_search): Add const to second parameter.
44790 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44792 (dbs): Add netgrdb entry.
44793 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44794 (verify_persistent_db): Handle netgrdb.
44795 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44796 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44798 (netgroup_response_header): Define.
44799 (innetgroup_response_header): Define.
44800 (datahead): Add netgroup_response_header and innetgroup_response_header
44802 * nscd/nscd.conf: Add entries for netgroup cache.
44803 * nscd/nscd.h (dbtype): Add netgrdb.
44804 (_PATH_NSCD_NETGROUP_DB): Define.
44805 (netgroup_iov_disabled): Declare.
44806 (xmalloc, xcalloc, xrealloc): Move declarations here.
44807 (cache_search): Adjust prototype.
44808 Add netgroup-related prototypes.
44809 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44810 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44811 (__nscd_innetgr): Declare.
44812 * nscd/selinux.c (perms): Use access_vector_t as element type and
44813 add netgroup-related initializers.
44814 * nscd/netgroupcache.c: New file.
44815 * nscd/nscd_netgroup.c: New file.
44816 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44817 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44818 For four parameters use innetgr.
44819 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44820 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44821 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44822 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44824 * nscd/connections.c (register_traced_file): Don't register file
44825 for disabled databases.
44827 2011-10-06 Ulrich Drepper <drepper@gmail.com>
44829 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44831 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44832 from tree and freeing node.
44834 2011-09-25 Jiri Olsa <jolsa@redhat.com>
44836 * nss/nsswitch.c (__nss_database_lookup): Handle
44837 nss_parse_service_list out of memory case.
44839 2011-09-15 Jiri Olsa <jolsa@redhat.com>
44841 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44842 out of memory case.
44844 2011-10-04 Andreas Schwab <schwab@redhat.com>
44846 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44847 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44849 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44850 elf_machine_rela, elf_machine_lazy_rel.
44851 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44852 (ELF_DYNAMIC_DO_REL): Likewise.
44853 (ELF_DYNAMIC_DO_RELA): Likewise.
44854 (ELF_DYNAMIC_RELOCATE): Likewise.
44855 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44856 to ELF_DYNAMIC_DO_REL.
44857 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44858 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44859 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44861 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44862 skip_ifunc, don't call ifunc function if non-zero.
44863 (elf_machine_rela): Likewise.
44864 (elf_machine_lazy_rel): Likewise.
44865 (elf_machine_lazy_rela): Likewise.
44866 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44867 (elf_machine_lazy_rel): Likewise.
44868 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44870 (elf_machine_lazy_rel): Likewise.
44871 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44873 (elf_machine_lazy_rel): Likewise.
44874 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44875 (elf_machine_lazy_rel): Likewise.
44876 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44877 (elf_machine_lazy_rel): Likewise.
44878 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44879 (elf_machine_lazy_rel): Likewise.
44880 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44881 (elf_machine_lazy_rel): Likewise.
44882 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44883 (elf_machine_lazy_rel): Likewise.
44884 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44885 (elf_machine_lazy_rel): Likewise.
44887 2011-09-28 Ulrich Drepper <drepper@gmail.com>
44889 * nss/nss_files/files-init.c (_nss_files_init): Use static
44890 initialization for all the *_traced_file variables.
44892 2011-09-28 Andreas Schwab <schwab@redhat.com>
44894 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44896 2011-09-27 Roland McGrath <roland@hack.frob.com>
44899 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44901 2011-09-27 Andreas Schwab <schwab@redhat.com>
44903 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44904 Reread the line before reparsing it.
44906 2011-09-26 Andreas Schwab <schwab@redhat.com>
44908 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44910 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44911 Maxim Kuvyrkov <maxim@codesourcery.com>
44912 Joseph Myers <joseph@codesourcery.com>
44914 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44915 if needed for __stack_chk_guard.
44917 2011-09-19 Roland McGrath <roland@hack.frob.com>
44919 * sysdeps/posix/spawni.c (script_execute): Always define it.
44920 It will be optimized away if unused.
44921 (maybe_script_execute): New function.
44922 (__spawni): Call it.
44924 * Makerules: Don't include tls.make.
44925 (config-tls): Always set to thread.
44926 * tls.make.c: File removed.
44928 2011-09-19 Mike Frysinger <vapier@gentoo.org>
44930 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44931 * config.make.in (CPPFLAGS-config): New substituted variable.
44933 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44935 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44938 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44939 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44941 2011-09-15 Roland McGrath <roland@hack.frob.com>
44943 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44944 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44945 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44946 (CALL_FAIL): Likewise.
44947 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44948 (CALL_FAIL): Macro removed.
44949 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44951 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44953 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44954 for __FINITE_MATH_ONLY__ == 1.
44956 2011-09-15 Andreas Schwab <schwab@redhat.com>
44958 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44959 __ieee754_sqrt instead of sqrt.
44960 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44961 __ieee754_sqrtf instead of sqrtf.
44962 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44963 __floorf instead of floorf.
44964 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44965 __floorf, __truncf instead of floorf, truncf.
44967 2011-09-14 Ulrich Drepper <drepper@gmail.com>
44969 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44971 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44972 __extern_always_inline.
44973 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44976 2011-09-14 Andreas Schwab <schwab@redhat.com>
44978 * elf/rtld.c (dl_main): Also relocate in dependency order when
44979 doing symbol dependency testing.
44981 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44983 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44984 Always define `refsym'.
44986 2011-09-13 Andreas Schwab <schwab@redhat.com>
44988 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44989 (__FD_ELT): Renamed from __FDELT.
44990 * misc/bits/select2.h (__FD_ELT): Likewise.
44991 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44992 __FD_MASK instead of __FDELT, __FDMASK.
44993 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44995 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44998 * elf/Makefile (gen-ldd): Fix pattern.
45000 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45001 (init_tls): Likewise.
45003 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45005 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45007 2011-09-12 Andreas Schwab <schwab@redhat.com>
45009 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45010 `struct cmsghdr *' instead of `void *'.
45011 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45014 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45016 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45018 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45019 ldd_rewrite_script.
45021 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45023 * configure.in: Remove --with-tls option.
45024 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45025 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45026 out in case it is missing.
45027 * sysdeps/ia64/elf/configure.in: Likewise.
45028 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45029 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45030 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45031 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45032 * sysdeps/sh/elf/configure.in: Likewise.
45033 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45034 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45035 * sysdeps/x86_64/elf/configure.in: Likewise.
45036 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45037 * sysdeps/mach/hurd/tls.h: Likewise.
45040 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45043 * configure.in: Fix use of AC_INIT.
45045 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45047 2011-09-10 Ulrich Drepper <drepper@gmail.com>
45049 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45051 * malloc/hooks.c: Likewise.
45054 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45055 variables statically.
45056 (narenas): Initialize.
45057 (list_lock): Initialize.
45058 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45059 initializtion of main_arena and list_lock. Small cleanups.
45060 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45061 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45062 Add initializers to main_arena and mp_.
45063 (malloc_state): Remove pagesize member. Change all users to use
45066 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45067 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45068 is always initialized.
45070 * malloc/malloc.c: Removed unused configurations and dead code.
45071 * malloc/arena.c: Likewise.
45072 * malloc/hooks.c: Likewise.
45073 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45075 * include/tls.h: Removed. USE___THREAD must always be defined.
45076 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45077 * elf/dl-libc.c: Likewise.
45078 * elf/dl-tsd.c: Likewise.
45079 * include/errno.h: Likewise.
45080 * include/netdb.h: Likewise.
45081 * include/resolv.h: Likewise.
45082 * inet/herrno-loc.c: Likewise.
45083 * inet/herrno.c: Likewise.
45084 * malloc/arena.c: Likewise.
45085 * malloc/hooks.c: Likewise.
45086 * malloc/malloc.c: Likewise.
45087 * resolv/res-state.c: Likewise.
45088 * resolv/res_libc.c: Likewise.
45089 * sysdeps/i386/dl-machine.h: Likewise.
45090 * sysdeps/ia64/dl-machine.h: Likewise.
45091 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45092 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45093 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45094 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45095 * sysdeps/sh/dl-machine.h: Likewise.
45096 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45097 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45098 * sysdeps/unix/i386/sysdep.S: Likewise.
45099 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45100 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45101 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45102 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45103 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45104 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45105 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45106 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45107 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45108 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45109 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45110 * sysdeps/x86_64/dl-machine.h: Likewise.
45111 * tls.make.c: Likewise.
45113 * configure.in: Remove --with-__thread option. Make tests for
45114 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45115 tls_model attribute fail if no support is available. Remove
45117 * Makeconfig: Adjust for dropped configure option. All features are
45119 * Makerules: Likewise.
45120 * Versions.def: Likewise.
45121 * argp/argp-fmtstream.c: Likewise.
45122 * argp/argp-fmtstream.h: Likewise.
45123 * argp/argp-help.c: Likewise.
45124 * assert/assert.c: Likewise.
45125 * config.h.in: Likewise.
45126 * config.make.in: Likewise.
45127 * configure: Likewise.
45128 * configure.in: Likewise.
45129 * csu/Versions: Likewise.
45130 * csu/init.c: Likewise.
45131 * elf/tst-audit2.c: Likewise.
45132 * elf/tst-tls10.c: Likewise.
45133 * elf/tst-tls10.h: Likewise.
45134 * elf/tst-tls11.c: Likewise.
45135 * elf/tst-tls12.c: Likewise.
45136 * elf/tst-tls14.c: Likewise.
45137 * elf/tst-tlsmod11.c: Likewise.
45138 * elf/tst-tlsmod12.c: Likewise.
45139 * elf/tst-tlsmod13.c: Likewise.
45140 * elf/tst-tlsmod13a.c: Likewise.
45141 * elf/tst-tlsmod14a.c: Likewise.
45142 * elf/tst-tlsmod15b.c: Likewise.
45143 * elf/tst-tlsmod16a.c: Likewise.
45144 * elf/tst-tlsmod16b.c: Likewise.
45145 * elf/tst-tlsmod7.c: Likewise.
45146 * elf/tst-tlsmod8.c: Likewise.
45147 * elf/tst-tlsmod9.c: Likewise.
45148 * gmon/gmon.c: Likewise.
45149 * grp/fgetgrent_r.c: Likewise.
45150 * grp/putgrent.c: Likewise.
45151 * hurd/fopenport.c: Likewise.
45152 * include/libc-symbols.h: Likewise.
45153 * include/tls.h: Likewise.
45154 * intl/gettextP.h: Likewise.
45155 * intl/loadinfo.h: Likewise.
45156 * locale/global-locale.c: Likewise.
45157 * locale/localeinfo.h: Likewise.
45158 * mach/devstream.c: Likewise.
45159 * malloc/arena.c: Likewise.
45160 * malloc/set-freeres.c: Likewise.
45161 * misc/err.c: Likewise.
45162 * misc/getttyent.c: Likewise.
45163 * misc/mntent_r.c: Likewise.
45164 * posix/getopt.c: Likewise.
45165 * posix/wordexp.c: Likewise.
45166 * pwd/fgetpwent_r.c: Likewise.
45167 * resolv/Versions: Likewise.
45168 * resolv/res_hconf.c: Likewise.
45169 * shadow/fgetspent_r.c: Likewise.
45170 * shadow/putspent.c: Likewise.
45171 * stdio-common/printf_fphex.c: Likewise.
45172 * stdio-common/tmpfile.c: Likewise.
45173 * stdlib/abort.c: Likewise.
45174 * stdlib/fmtmsg.c: Likewise.
45175 * sunrpc/auth_unix.c: Likewise.
45176 * sunrpc/clnt_perr.c: Likewise.
45177 * sunrpc/clnt_tcp.c: Likewise.
45178 * sunrpc/clnt_udp.c: Likewise.
45179 * sunrpc/clnt_unix.c: Likewise.
45180 * sunrpc/openchild.c: Likewise.
45181 * sunrpc/svc_simple.c: Likewise.
45182 * sunrpc/svc_tcp.c: Likewise.
45183 * sunrpc/svc_udp.c: Likewise.
45184 * sunrpc/svc_unix.c: Likewise.
45185 * sunrpc/xdr.c: Likewise.
45186 * sunrpc/xdr_array.c: Likewise.
45187 * sunrpc/xdr_rec.c: Likewise.
45188 * sunrpc/xdr_ref.c: Likewise.
45189 * sunrpc/xdr_stdio.c: Likewise.
45191 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45193 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45195 2011-07-03 Andreas Jaeger <aj@suse.de>
45197 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45198 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45199 regenerate with gen-libm-tests.pl.
45201 2010-05-12 Petr Baudis <pasky@suse.cz>
45204 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45205 around j0() zero points by switching to j1().
45206 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45207 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45208 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45209 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45211 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45213 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45215 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45217 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45218 Patch in part by Pavel Roskin <proski@gnu.org>.
45221 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45223 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45224 Free memory block if necessary.
45227 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45228 be NULL. Don't lock in this case.
45230 2011-09-09 Roland McGrath <roland@hack.frob.com>
45232 * elf/elf.h (ELFOSABI_GNU): New macro.
45233 (ELFOSABI_LINUX): Define to that.
45235 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45237 * string/strncat.c (strncat): Undef the symbol in case it has been
45238 defined in bits/string.h.
45240 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45242 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45244 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45247 2011-08-17 Andreas Jaeger <aj@suse.de>
45249 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45251 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45252 Ian Lance Taylor <iant@google.com>
45254 * math/libm-test.inc (lround_test): New testcase.
45255 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45257 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45259 * Makefile: Remove support for automatic cvs check-ins.
45260 * Makerules: Likewise.
45261 * config.make.in: Likewise.
45262 * configure.in: Likewise.
45263 * intl/Makefile: Likewise.
45264 * locale/Makefile: Likewise.
45265 * po/Makefile: Likewise.
45266 * posix/Makefile: Likewise.
45267 * sysdeps/gnu/Makefile: Likewise.
45268 * sysdeps/mach/hurd/Makefile: Likewise.
45269 * sysdeps/sparc/sparc32/Makefile: Likewise.
45272 * posix/Makefile (bug-regex32-ENV): Define.
45273 Patch by John Stanley <jpsinthemix@verizon.net>.
45275 * misc/Makefile (headers): Add bits/select2.h.
45276 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45277 * misc/bits/select2.h: New file.
45278 * include/bits/select2.h: New file.
45279 * debug/Makefile (routines): Add fdelt_chk.
45280 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45281 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45283 * debug/fdelt_chk.c: New file.
45285 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45286 * wcsmbs/test-wmemcmp.c: Likewise.
45287 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45288 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45290 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45292 * string/Makefile (strop-tests): Add memcmp.
45293 * string/test-wmemcmp.c: New file.
45294 * string/test-memcmp.c: Add wmemcmp support.
45296 2011-09-08 Roland McGrath <roland@hack.frob.com>
45299 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45302 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45303 garbage value in a __mach_port_mod_refs call in the cases of the
45304 task-self and thread-self ports.
45306 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45308 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45310 2011-09-08 Andreas Schwab <schwab@redhat.com>
45312 * elf/dl-load.c (lose): Check for non-null L.
45314 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45316 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45318 * elf/dl-libc.c (dlerror_run): Pass back error code from
45322 * elf/dl-load.c (lose): Free l_origin if it is valid.
45324 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45326 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45327 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45328 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45329 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45330 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45331 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45333 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45335 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45336 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45337 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45338 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45339 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45340 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45341 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45342 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45343 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45344 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45346 2011-08-15 Alan Modra <amodra@gmail.com>
45349 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45350 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45351 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45352 ppc_mcount to static-only-routines.
45353 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45355 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45356 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45358 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45360 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45361 for finite and infinity parameters.
45363 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45365 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45366 and add nop instructions for throughput optimization.
45367 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45369 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45371 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45372 aligned copy for power7 with vector-scalar instructions.
45373 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45375 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45377 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45380 2011-09-07 Andreas Schwab <schwab@redhat.com>
45383 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45386 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45388 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45389 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45390 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45391 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45394 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45396 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45397 Forgot to demangle the pointer.
45399 * sysdeps/i386/sysdep.h: Define atom_text_section.
45400 * sysdeps/x86_64/sysdep.h: Likewise.
45401 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45402 section with atom_text_section.
45403 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45404 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45405 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45406 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45407 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45409 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45410 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45411 already be defined. Change to take two parameters and don't assign
45412 result to variable. Adjust all users.
45413 Define INTERNAL_GETTIME if not already defined.
45414 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45416 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45417 HAVE_CLOCK_GETTIME_VSYSCALL.
45418 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45420 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45421 gettimeofday vsyscall, just use time.
45423 2011-09-06 Andreas Schwab <schwab@redhat.com>
45425 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45428 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45430 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45432 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45434 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45435 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45436 syscall if possible.
45438 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45440 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45441 e_ident. Don't pass to find_mapsXX.
45442 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45444 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45447 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45448 * sysdeps/x86_64/multiarch/strchr.S: Update.
45449 Check bit_slow_BSF bit.
45450 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45451 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45452 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45454 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45457 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45459 (tryshell): Define.
45460 (__spawni): Change last parameter to be flag. Test
45461 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45462 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45463 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45464 * posix/spawni.c: Likewise.
45465 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45466 * posix/spawnp.c: Likewise. Change normal version to use
45467 SPAWN_XFLAGS_USE_PATH.
45468 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45469 SPAWN_XFLAGS_TRY_SHELL.
45472 * posix/glob.h: Remove gcc 1.x support.
45475 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45477 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45479 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45480 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45482 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45483 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45484 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45485 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45486 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45487 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45489 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45491 * sysdeps/x86_64/wcscmp.S: New file.
45493 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45494 wcscmp-c wcscmp-sse2
45495 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45496 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45497 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45498 * wcsmbs/wcscmp.c: Allow renaming.
45500 2011-09-05 David S. Miller <davem@davemloft.net>
45502 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45503 stack slot, rather than the struct return pointer slot.
45504 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45505 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45507 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45509 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45511 * po/ja.po: Update from translation team.
45514 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45515 kernel in 64-bit binaries.
45517 2011-09-01 David S. Miller <davem@davemloft.net>
45519 * elf/elf.h (HWCAP_SPARC_*): Move to..
45520 * sysdeps/sparc/sysdep.h: this new file and add new values.
45521 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45522 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45523 _DL_HWCAP_COUNT to 24.
45524 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45526 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45527 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45528 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45529 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45530 instead of magic constants.
45531 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45533 2011-08-31 David S. Miller <davem@davemloft.net>
45535 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45536 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45537 Reimplement to do errno handling inline.
45538 (SYSCALL_ERROR_HANDLER): New macro.
45539 (__SYSCALL_STRING): Do not do errno handling in asm.
45540 (__CLONE_SYSCALL_STRING): Delete.
45541 (__INTERNAL_SYSCALL_STRING): Delete.
45542 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45543 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45544 (PSEUDO): Reimplement to do errno handling inline.
45545 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45546 (SYSCALL_ERROR_HANDLER): New macro.
45547 (__SYSCALL_STRING): Do not do errno handling in asm.
45548 (__CLONE_SYSCALL_STRING): Delete.
45549 (__INTERNAL_SYSCALL_STRING): Delete.
45550 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45551 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45553 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45554 (inline_syscall*): Add 'err' argument.
45555 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45556 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45557 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45558 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45560 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45561 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45563 2011-08-30 Andreas Schwab <schwab@redhat.com>
45565 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45567 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45569 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45572 2011-08-24 David S. Miller <davem@davemloft.net>
45574 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45576 2011-08-24 Andreas Schwab <schwab@redhat.com>
45578 * elf/Makefile: Add rules to build and run unload8 test.
45579 * elf/unload8.c: New file.
45580 * elf/unload8mod1.c: New file.
45581 * elf/unload8mod1x.c: New file.
45582 * elf/unload8mod2.c: New file.
45583 * elf/unload8mod3.c: New file.
45585 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45588 2011-08-23 David S. Miller <davem@davemloft.net>
45590 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45591 subtract stack bias.
45592 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45593 %sp not %fp in calculations.
45594 (_JMPBUF_UNWINDS_ADJ): Likewise.
45596 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45597 (aio_suspend): Call it to force an exception region around the
45598 AIO_MISC_WAIT() invocation.
45600 2011-08-23 Andreas Schwab <schwab@redhat.com>
45602 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45605 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45607 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45609 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45610 and <dl-machine.h>.
45611 (Elf64_FuncDesc): Remove.
45613 2011-08-22 David S. Miller <davem@davemloft.net>
45615 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45616 sigaltstack check, add missing cfi directives.
45617 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45618 missing cfi directives, and sigaltstack handling.
45620 2011-08-16 Andreas Schwab <schwab@redhat.com>
45623 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45624 object is seen twice.
45625 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45627 * elf/Makefile (distribute): Add tst-initorder2.c.
45628 (tests): Add tst-initorder2.
45629 (modules-names): Add tst-initorder2a tst-initorder2b
45630 tst-initorder2c tst-initorder2d. Add rules to build them.
45631 ($(objpfx)tst-initorder2.out): New rule.
45632 * elf/tst-initorder2.c: New file.
45633 * elf/tst-initorder2.exp: New file.
45635 2011-08-22 Andreas Schwab <schwab@redhat.com>
45637 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45639 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45640 dependencies back to end of function.
45642 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45643 $(elfobjdir)/ld.so.
45645 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45647 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45648 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45649 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45650 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45651 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45652 of __vdso_gettimeofday.
45653 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45654 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45656 (_libc_vdso_platform_setup): Remove initialization of
45657 __vdso_gettimeofday and __vdso_time.
45659 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45661 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45662 and fgetc_unlocked.
45663 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45666 * elf/dl-open.c (add_to_global): Report additions to the global scope
45667 for LD_DEBUG=scopes.
45668 (dl_open_worker): Also print scope of newly loaded dependencies.
45669 (_dl_show_scope): Indicate if there is no scope.
45672 * stdio-common/Makefile (tests): Add bug24.
45673 * stdio-common/bug24.c: New file.
45675 2011-08-19 Andreas Jaeger <aj@suse.de>
45678 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45679 non-existant file when using close-on-exec mode.
45681 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45683 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45684 the very first instruction.
45686 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45687 the CFI state in the end.
45688 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45689 inclusion of dl-trampoline.h.
45690 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45692 2011-08-19 Andreas Schwab <schwab@redhat.com>
45694 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45695 expectations for long double.
45697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45698 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45700 2011-08-14 David S. Miller <davem@davemloft.net>
45702 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45703 artificual limit depends upon the system page size.
45705 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45707 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45708 * resolv/Makefile: Define CFLAGS-libresolv.
45710 2011-08-17 Andreas Schwab <schwab@redhat.com>
45712 * nss/makedb.c (compute_tables): Make variables used in nested
45715 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45717 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45718 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45719 if buffer was too small.
45721 * elf/pldd.c (main): Attach to all threads in the process.
45722 Rewrite /proc handling to use *at functions.
45724 2011-08-16 Ulrich Drepper <drepper@gmail.com>
45726 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45727 specifies first scope to show.
45728 (dl_open_worker): Update callers. Move printing scope of new
45729 object to before the relocation.
45730 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45731 * sysdeps/generic/ldsodefs.h: Update declaration.
45733 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45734 string for the scope number.
45736 2011-08-14 Ulrich Drepper <drepper@gmail.com>
45738 * nscd/servicescache.c (cache_addserv): Make sure written is always
45741 2011-08-14 Roland McGrath <roland@hack.frob.com>
45743 * sysdeps/i386/i486/bits/atomic.h
45744 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45745 statement expression, so as to suppress "set but not used" warning.
45746 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45748 * string/strncat.c (STRNCAT): Use prototype definition.
45750 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45751 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45753 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45754 (localedef-modules): Add localedef.
45755 (locale-modules): Add locale.
45757 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45758 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45759 to avoid a warning.
45761 2011-08-14 David S. Miller <davem@davemloft.net>
45763 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45764 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45766 2011-08-13 Ulrich Drepper <drepper@gmail.com>
45768 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45769 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45770 * elf/rtld.c (dl_main): Set l_name of vDSO.
45771 Call _dl_show_scope when DL_DEBUG_SCOPES.
45772 (process_dl_debug): Recognize scopes flag and also set it for all.
45773 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45774 Declare _dl_show_scope.
45776 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45777 (do_dlopen): Pass caller_dlopen to dl_open.
45778 (__libc_dlopen_mode): Initialize caller_dlopen.
45780 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45781 of libc. Make tolower call locale-independent. Optimize a bit by
45782 using isdigit instead of isalnum.
45783 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45785 2011-08-12 Ulrich Drepper <drepper@gmail.com>
45787 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45788 was a dependency or dynamically loaded.
45790 2011-08-11 Ulrich Drepper <drepper@gmail.com>
45792 * intl/l10nflist.c: Allow architecture-specific pop function.
45793 * sysdeps/x86_64/l10nflist.c: New file.
45795 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45798 2011-08-10 Andreas Schwab <schwab@redhat.com>
45800 * include/dirent.h: Add libc_hidden_proto for scandirat and
45801 scandirat64. Don't declare __scandirat64.
45802 * dirent/scandirat.c: Add libc_hidden_def.
45803 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45804 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45806 2011-08-10 David S. Miller <davem@davemloft.net>
45808 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45810 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45811 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45812 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45814 2011-08-09 Ulrich Drepper <drepper@gmail.com>
45816 * Versions.def [libc]: Add GLIBC_2.15.
45817 * dirent/Makefile (routines): Add scandirat and scandirat64.
45818 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45820 * dirent/dirent.h: Declare scandirat and scandirat64.
45821 * dirent/scandirat.c: New file.
45822 * dirent/scandirat64.c: New file.
45823 * sysdeps/wordsize-64/scandirat.c: New file.
45824 * sysdeps/wordsize-64/scandirat64.c: New file.
45825 * dirent/opendir.c: Define opendirat.
45826 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45828 * dirent/scandir64.c: Adjust for scandir.c change.
45829 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45830 __scandirat64, and __scandir_cancel_handler.
45831 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45832 additional parameter and use openat instead of open (outside of ld.so).
45833 Add new __opendir as wrapper around __opendirat.
45834 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45835 here without requiring old scandirat implementation.
45837 2011-08-08 Ulrich Drepper <drepper@gmail.com>
45839 * dirent/scandir.c (cancel_handler): Renamed to
45840 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45841 defined. Adjust users.
45842 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45843 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45845 2011-08-04 Ulrich Drepper <drepper@gmail.com>
45847 * string/test-string.h (IMPL): Use __STRING to expand name and then
45850 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45853 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45855 * string/Makefile: Update.
45856 (strop-tests): Append strncat.
45857 * string/test-wcscmp.c: New file.
45858 New comprehensive test for wcscmp.
45859 * string/test-strcmp.c: Update.
45860 (WIDE): New define.
45862 2011-07-22 Andreas Schwab <schwab@redhat.com>
45864 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45867 2011-07-26 Andreas Schwab <schwab@redhat.com>
45869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45870 encoding to ACE if AI_IDN.
45872 2011-08-01 Jakub Jelinek <jakub@redhat.com>
45874 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45875 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45877 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45879 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45880 Fix overflow bug in strncat.
45881 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45883 * string/test-strncat.c: Update.
45884 Add new tests for checking overflow bugs.
45886 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45888 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45889 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45890 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45891 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45892 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45893 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45894 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45895 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45896 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45898 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45899 (USE_AS_STRCAT): Define.
45900 Add strcat and strncat support.
45901 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45903 2011-07-25 Andreas Schwab <schwab@redhat.com>
45905 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45906 __n bigger than INT_MAX+1.
45907 (__strncmp_g): Likewise.
45909 2011-07-23 Ulrich Drepper <drepper@gmail.com>
45911 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45912 * libio/stido.h: Likewise.
45914 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45916 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45919 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45920 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45921 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45922 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45923 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45926 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45929 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45931 (_dl_x86_64_save_sse): Likewise.
45933 2011-07-22 Ulrich Drepper <drepper@gmail.com>
45935 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45937 (_dl_x86_64_save_sse): Likewise.
45939 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45941 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45943 2011-07-21 Andreas Schwab <schwab@redhat.com>
45945 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45947 (_dl_x86_64_save_sse): Use correct AVX check.
45949 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45951 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45952 bug in strncpy/strncat.
45953 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45955 2011-07-21 Ulrich Drepper <drepper@gmail.com>
45957 * string/tester.c (test_strcat): Add tests for different alignments
45958 of source and destination.
45959 (test_strncat): Likewise.
45961 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45964 * posix/glob.c (glob): Check passed in values before using them in
45965 expressions to avoid some overflows.
45966 (glob_in_dir): Likewise.
45969 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45970 check for AVX enablement so that we don't crash with old kernels and
45972 * elf/tst-audit4.c: Add same checks here.
45973 * elf/tst-audit6.c: Likewise.
45975 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45977 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45979 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45981 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45983 * po/cs.po: Update from translation team.
45984 * po/bg.po: Likewise.
45986 2011-07-12 Marek Polacek <mpolacek@redhat.com>
45988 * misc/sys/cdefs.h: Add support for const attribute.
45989 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45990 to gnu_dev_{major,minor,makedev} functions.
45992 2011-07-20 Marek Polacek <mpolacek@redhat.com>
45994 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45996 2011-07-20 Andreas Schwab <schwab@redhat.com>
45998 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46001 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46003 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46004 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46005 register in order to avoid conflicts with the soft frame pointer
46006 being held in r11 when necessary.
46007 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46008 (INTERNAL_VSYSCALL_NCS): Likewise.
46010 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46012 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46013 * elf/dl-fini.c (_dl_fini): Adjust caller.
46014 * elf/dl-close.c (_dl_close_worker): Likewise.
46015 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46017 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46019 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46020 "aux_cache->nlibs < 0".
46022 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46023 in the reload-count case.
46025 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46027 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46028 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46029 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46030 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46031 * sysdeps/x86_64/multiarch/strcat.S: New file.
46032 * sysdeps/x86_64/multiarch/strncat.S: New file.
46033 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46034 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46035 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46036 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46037 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46038 (USE_AS_STRCAT): Define.
46039 Add strcat and strncat support.
46040 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46041 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46042 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46043 * string/strncat.c: Update.
46044 (USE_AS_STRNCAT): Define.
46045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46046 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46048 * sysdeps/x86_64/multiarch/init-arch.h
46049 (bit_Prefer_PMINUB_for_stringop): New.
46050 (index_Prefer_PMINUB_for_stringop): Likewise.
46051 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46052 bit_Prefer_PMINUB_for_stringop.
46054 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46056 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46058 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46059 of casting of buffer.
46060 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46061 buffer32 and buffer64.
46062 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46063 writes instead of casting of buffer.
46064 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46066 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46069 2011-07-19 Andreas Schwab <schwab@redhat.com>
46071 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46073 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46075 * nscd/nscd.c (termination_handler): Don't do anything for a database
46076 if it has not yet been initialized.
46078 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46080 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46082 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46084 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46086 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46088 * po/nl.po: Update from translation team.
46089 * po/sv.po: Likewise.
46091 2011-07-16 Roland McGrath <roland@hack.frob.com>
46093 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46094 now disallowed by GCC.
46096 * configure.in (use-default-link): Default to yes if a test -shared
46097 link meets our qualifications.
46098 * configure: Regenerated.
46100 * config.make.in (output-format): New variable.
46101 * configure.in: Check for ld --print-output-format support.
46102 * configure: Regenerated.
46103 * Makerules ($(common-objpfx)format.lds)
46104 [$(output-format) != unknown]: Just use $(output-format),
46105 instead of the linker-script munging.
46107 2011-07-14 Roland McGrath <roland@hack.frob.com>
46109 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46110 of $(common-objpfx)shlib.lds.
46111 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46113 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46114 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46116 * configure.in (-z relro check): Adjust test code to add a large
46117 writable data section after it.
46118 * configure: Regenerated.
46120 2011-07-11 Roland McGrath <roland@hack.frob.com>
46122 * configure.in (-z relro check): Fix test code to make the variable
46124 * configure: Regenerated.
46126 2011-07-11 Ulrich Drepper <drepper@gmail.com>
46128 * nscd/nscd.h (struct traced_file): Define.
46129 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46130 elements. Add traced_files.
46131 (inotify_fd): Declare.
46132 (register_traced_file): Declare.
46133 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46134 (inotify_fd): Export.
46135 (resolv_conf_descr): Remove.
46136 (nscd_init): Move inotify descriptor creation to main.
46137 Don't register files for notification here.
46138 (register_traced_file): New function.
46139 (invalidate_cache): Don't use reset_res to determine whether to call
46140 res_init, go through the list of registered files.
46141 (main_loop_poll): The inotify descriptors are now stored in the
46142 structures for the traced files.
46143 (main_loop_epoll): Likewise
46144 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46145 to __nss_disable_nscd.
46146 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46147 for a database anymore. Check the records for all the registered
46149 * nss/Makefile (libnss_files-routines): Add files-init.
46150 (libnss_db-routines): Add db-init.
46151 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46152 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46153 * nss/nss_db/db-init.c: New file.
46154 * nss/nss_files/files-init.c: New file.
46155 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46156 __nss_lookup_function.
46157 (__nss_lookup_function): Call nss_load_library.
46158 (nss_load_all_libraries): New function.
46159 (__nss_disable_nscd): Take parameter with callback function for files
46160 to register. Set is_nscd. Load all the DSOs for the NSS modules
46161 used for the cached services.
46162 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46163 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46164 options for features to all the files in nscd.
46166 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46168 2011-07-10 Roland McGrath <roland@hack.frob.com>
46170 * csu/elf-init.c (__libc_csu_init): Comment typo.
46172 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46174 * po/pl.po: Update from translation team.
46175 * po/ja.po: Likewise.
46176 * po/ru.po: Likewise.
46177 * po/ko.po: Likewise.
46178 * po/fr.po: Likewise.
46180 2011-07-09 Roland McGrath <roland@hack.frob.com>
46182 * configure.in (.ctors/.dtors header and trailer check):
46183 Use an empirical test on a built program.
46184 * configure: Regenerated.
46186 * configure.in (-z relro check): Use an empirical test on a built DSO.
46187 Detect, but do not require, on ia64.
46188 * configure: Regenerated.
46190 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46191 Update tests that use readelf to use $READELF instead.
46192 * configure: Regenerated.
46194 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46196 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46197 if the result is not used.
46199 2011-07-05 Andreas Jaeger <aj@suse.de>
46202 * stdlib/tst-strtod.c: Add testcase.
46204 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46206 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46207 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46208 The latter has a higher limit. Take additional parameter to pass to
46210 (__pathconf): Pass file to __statfs_link_max.
46211 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46213 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46217 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46218 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46220 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46221 (__statfs_filesize_max): Likewise.
46222 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46224 2011-07-05 Andreas Jaeger <aj@suse.de>
46226 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46228 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46230 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46232 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46235 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46237 * Makefile (strop-tests): Add strncat.
46238 * string/test-strncat.c: New file.
46240 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46242 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46244 2011-06-21 Andreas Jaeger <aj@suse.de>
46246 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46247 Copy rule from iconvdata/Makefile.
46249 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46252 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46253 but no long options are defined, just return 'W'.
46255 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46258 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46260 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46262 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46264 (innetgr): Likewise.
46266 2011-07-05 Roland McGrath <roland@hack.frob.com>
46268 * config.make.in (install_root): Default to $(DESTDIR).
46270 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46272 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46274 2011-07-02 Roland McGrath <roland@hack.frob.com>
46276 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46278 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46279 containing directory rather than embedding absolute directory names.
46281 * scripts/check-local-headers.sh: Rewritten using awk.
46282 Match by word, not by line. Print error messages for matches.
46283 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46285 * Makerules [shlib-lds-flags empty]:
46286 ($(common-objpfx)libc_pic.opts): New target.
46287 ($(common-objpfx)libc_pic.os.clean): New target.
46288 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46290 * config.make.in (OBJCOPY): New variable.
46291 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46292 * configure: Regenerated.
46294 * config.make.in (use-default-link): New variable.
46295 * configure.in (use_default_link): Grok --with-default-link to set it.
46296 * configure: Regenerated.
46297 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46298 (shlib-lds, shlib-lds-flags): Define to empty.
46300 * Makerules (shlib-lds): New variable.
46301 (shlib-lds-flags): New variable.
46302 (build-shlib, build-moduile, build-module-asneeded): Use it.
46303 ($(common-objpfx)libc.so): Use $(shlib-lds).
46304 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46305 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46307 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46308 DT_FLAGS/DT_FLAGS_1 with zero flags.
46310 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46311 linker script munging.
46313 2011-07-02 Ulrich Drepper <drepper@gmail.com>
46315 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46317 * crypt/sha512.c (sha512_process_block): Perform total addition using
46318 128-bit if possible.
46319 (__sha512_finish_ctx): Likewise.
46320 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46322 * crypt/sha256.c (SWAP64): Define.
46323 (sha256_process_block): Perform total addition using 64-bit if
46325 (__sha256_finish_ctx): Likewise.
46327 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46329 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46330 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46331 * nscd/hstcache.c (cache_addhst): Likewise.
46332 * nscd/grpcache.c (cache_addgr): Likewise.
46333 * nscd/aicache.c (addhstaiX): Likewise
46334 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46336 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46338 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46339 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46340 * nscd/hstcache.c (cache_addhst): Likewise.
46341 * nscd/grpcache.c (cache_addgr): Likewise.
46342 * nscd/aicache.c (addhstaiX): Likewise
46344 2011-07-01 Andreas Schwab <schwab@redhat.com>
46346 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46347 domain only when needed.
46349 2011-06-30 Andreas Schwab <schwab@redhat.com>
46351 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46352 is always restored.
46354 2011-06-29 Ulrich Drepper <drepper@gmail.com>
46356 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46357 are re-adding the entry.
46358 * nscd/servicescache.c (cache_addserv): Likewise.
46360 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46362 * sysdeps/generic/dl-irel.h: fix protection against multiple
46364 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46366 2011-06-28 Ulrich Drepper <drepper@gmail.com>
46369 * malloc/memusage.sh: Fix quoting in message.
46370 * debug/xtrace.sh: Likewise.
46372 * configure.in: Remove support for --experimental-malloc option, make
46374 * config.make.in: Likewise.
46375 * malloc/Makefile: Likewise.
46377 2011-06-27 Andreas Schwab <schwab@redhat.com>
46379 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46380 two-byte characters.
46382 2011-06-27 Roland McGrath <roland@hack.frob.com>
46384 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46385 AC_CACHE_CHECK invocation.
46386 * configure: Regenerated.
46388 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46390 2011-06-27 Ulrich Drepper <drepper@gmail.com>
46393 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46394 bit from old_res_options.
46396 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46398 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46399 value type for setfct.
46401 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46403 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46404 __gettimeofday instead of gettimeofday.
46406 2011-06-26 Ulrich Drepper <drepper@gmail.com>
46408 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46410 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46412 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46414 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46417 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46420 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46421 strcpy-sse2-unaligned strncpy-sse2-unaligned
46422 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46423 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46424 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46425 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46426 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46427 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46428 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46429 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46430 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46431 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46432 (STRCPY): Support SSE2 and SSSE3 versions.
46434 2011-06-24 Ulrich Drepper <drepper@gmail.com>
46437 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46438 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46439 kernels which artificially limit size of requests.
46441 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46443 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46444 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46445 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46446 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46447 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46448 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46449 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46450 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46451 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46452 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46453 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46454 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46455 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46456 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46457 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46459 Enable unaligned load optimization for Intel Core i3, i5 and i7
46461 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46463 (index_Fast_Unaligned_Load): Define.
46464 (HAS_FAST_UNALIGNED_LOAD): Define.
46466 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46468 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46470 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46473 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46474 until it is clear that the information is realy needed.
46475 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46477 2011-06-22 Andreas Schwab <schwab@redhat.com>
46479 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46481 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46483 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46484 /sys/devices/system/cpu/online if it is usable.
46486 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46487 reading the information from the /proc filesystem to once a second.
46489 2011-06-21 Andreas Jaeger <aj@suse.de>
46491 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46492 NULL after inclusion of kernel headers.
46494 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46496 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46497 calls to internal_setent.
46500 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46501 addresses using gethostbyname4_r ignore IPv4 addresses.
46503 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46504 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46506 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46508 2011-06-20 David S. Miller <davem@davemloft.net>
46510 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46512 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46514 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46515 (elf_irel): Use it.
46516 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46517 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46518 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46519 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46520 * sysdeps/x86_64/dl-irel.h: Likewise.
46522 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46523 * elf/dl-sym.c: Likewise.
46525 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46527 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46528 need to dereference resplen2.
46530 2011-06-14 Andreas Schwab <schwab@redhat.com>
46532 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46534 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46536 * Makeconfig: Define vardbdir and inst_vardbdir.
46537 * nss/Makefile: Add rules to install db-Makefile.
46539 * nss/nss_db/db-XXX.c: Cleanup.
46541 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46542 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46544 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46545 * nss/makedb.c: Implement -g option to specify that value strings
46546 are generated and should not be added to table iterated over for
46548 * nss/nss_db/db-initgroups.c: New file.
46550 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46553 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46554 (internal_getgrouplist): Adjust to name change.
46555 Update use_initgroups_entry if this is not the first call.
46556 * nss/databases.def: Add initgroups entry.
46558 * nss/makedb.c (compute_tables): Check result of multiple hash table
46559 sizes to minimize maximum chain length.
46561 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46563 * Versions.def: Add entry for libnss_db.
46564 * shlib-versions: Likewise.
46565 * nss/Makefile: Add rules to build libnss_db.
46566 * nss/Versions: Add libnss_db information. Organize libnss_files
46568 * nss/db-Makefile: Add gshadow support. Change rules for the new
46569 makedb progra. Some minor improvements to generate smaller files.
46570 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46572 * nss/makedb.c: ...here.
46573 Improve database format to be smaller and require less memory at
46575 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46577 * nss/nss_db/db-netgrp.c: Likewise.
46578 * nss/nss_db/db-open.c: Likewise.
46579 * nss/nss_files/flies-XXX.x: Adjust comments.
46580 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46581 * nss/nss_files/files-grp.c: Likewise.
46582 * nss/nss_files/files-hosts.c: Likewise.
46583 * nss/nss_files/files-network.c: Likewise.
46584 * nss/nss_files/files-proto.c: Likewise.
46585 * nss/nss_files/files-pwd.c: Likewise.
46586 * nss/nss_files/files-rpc.c: Likewise.
46587 * nss/nss_files/files-service.c: Likewise.
46588 * nss/nss_files/files-sgrp.c: Likewise.
46589 * nss/nss_files/files-spwd.c: Likewise.
46590 * nss/nss_db/db-alias.c: Removed.
46591 * nss/nss_db/dummy-db.h: Removed.
46593 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46595 * nss/makedb.c: Rewritten to not use database library.
46596 * nss/Makefile: Update to build new makedb program.
46598 2011-06-14 Andreas Jaeger <aj@suse.de>
46600 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46601 memset declaration.
46603 2011-06-10 Andreas Schwab <schwab@redhat.com>
46605 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46608 2011-06-10 Roland McGrath <roland@hack.frob.com>
46610 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46611 * elf/Makefile ($(objpfx)ld.so): Likewise.
46613 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46614 Don't list ld.so twice in dependencies.
46616 * posix/bug-regex31.c: Include <stdlib.h>.
46618 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46620 * nis/nss_compat/compat-spwd.c
46621 (getspent_next_nss_netgr): Remove unused variable.
46622 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46624 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46625 nonmembers" output to use the right array.
46627 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46629 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46631 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46632 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46633 * catgets/gencat.c (read_input_file): Likewise.
46634 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46636 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46637 variable definition inside #if's controlling its use.
46639 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46641 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46643 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46645 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46648 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46650 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46651 * configure: Regenerated.
46653 * Makerules: Revert last change.
46654 * elf/Makefile: Likewise.
46656 2011-06-09 Roland McGrath <roland@hack.frob.com>
46658 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46659 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46660 (reloc-link): Likewise.
46662 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46664 * elf/Makefile: Add rules to build pldd.
46665 * elf/pldd.c: New file.
46666 * elf/pldd-xx.c: New file.
46668 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46670 * version.h: Update for 2.15 development version.
46672 2011-06-07 David S. Miller <davem@davemloft.net>
46674 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46676 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46677 elf_machine_lazy_rel): Likewise.
46678 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46679 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46680 elf_machine_lazy_rel): Likewise.
46681 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46682 dl_hwcap via passed in argument.
46683 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46686 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46688 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46690 2011-06-06 Roland McGrath <roland@hack.frob.com>
46693 * manual/fdl-1.1.texi: New file, verbatim from:
46694 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46695 * manual/lgpl-2.1.texi: New file, verbatim from:
46696 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46697 * manual/Makefile (licenses): New variable, list those new file names.
46699 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46701 * manual/fdl.texi: File removed.
46702 * manual/lesser.texi: File removed.
46703 * manual/libc.texinfo (Copying, Documentation License):
46704 Use new @include file names, put @appendix directive before @include.
46706 2011-06-04 Jakub Jelinek <jakub@redhat.com>
46709 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46710 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46711 (mq_open): Add __NTH.
46713 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46716 Assume Intel Core i3/i5/i7 processor if AVX is available.
46718 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46720 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46723 2011-05-31 Andreas Schwab <schwab@redhat.com>
46725 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46726 memory. Use alloca_account. Fix memory leak when retrying.
46728 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46730 * version.h (RELEASE): Bump for 2.14 release.
46731 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46733 * config.make.in (RANLIB): Remove entry.
46735 2011-05-30 Ulrich Drepper <drepper@gmail.com>
46737 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46738 (libc.pot): Work around missing support for .ksh extension in xgettext.
46741 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46742 if both request failed.
46743 (send_dg): In case of server errors clear resplen or *resplen2.
46746 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46747 when there are multiple maps.
46748 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46749 (_dl_fini): Remove test here.
46751 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46753 2011-05-29 Ulrich Drepper <drepper@gmail.com>
46756 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46757 bit from old_res_options.
46758 (gaih_inet): Likewise.
46761 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46764 * resolv/res_init.c (res_setoptions): Make the code more compact.
46767 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46771 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46773 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46776 * malloc/malloc.h: Declare malloc hook variables as volatile.
46778 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46782 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46783 raise in the comment.
46784 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46785 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46786 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46788 2011-05-28 Ulrich Drepper <drepper@gmail.com>
46791 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46792 grow the buffers more if it already has to be sufficient.
46793 (build_wcs_upper_buffer): Likewise.
46794 * posix/regexec.c (check_matching): Likewise.
46795 (clean_state_log_if_needed): Likewise.
46796 (extend_buffers): Don't enlarge buffers beyond size of the input
46798 Patches mostly by Emil Wojak <emil@wojak.eu>.
46799 * posix/bug-regex32.c: New file.
46800 * posix/Makefile (tests): Add bug-regex32.
46802 * locale/findlocale.c (_nl_find_locale): Return right away if
46803 _nl_explode_name failed.
46804 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46806 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46808 * debug/xtrace.sh: Unify messages.
46809 * malloc/memusage.sh: Likewise.
46812 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46813 time symbol from vDSO. Substitute with vsyscall if not available.
46814 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46817 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46818 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46819 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46820 Add sendmmsg and internal_sendmmsg.
46821 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46822 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46823 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46825 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46826 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46827 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46829 2011-05-27 Ulrich Drepper <drepper@gmail.com>
46832 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46833 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46835 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46839 * iconvdata/Makefile (tests): Add bug-iconv9.
46840 * iconvdata/bug-iconv9.c: New file.
46842 2011-05-27 Andreas Schwab <schwab@redhat.com>
46845 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46847 2011-05-25 Jakub Jelinek <jakub@redhat.com>
46849 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46850 (struct user_regs_struct): Change intcs field back to cs.
46852 2011-05-25 Ulrich Drepper <drepper@gmail.com>
46854 * po/ja.po: Update from translation team.
46856 2011-05-23 Ulrich Drepper <drepper@gmail.com>
46859 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46860 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46862 2011-05-20 Andreas Schwab <schwab@redhat.com>
46864 * stdlib/longlong.h: Update from GCC.
46866 2011-05-23 Andreas Schwab <schwab@redhat.com>
46868 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46870 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46871 Add parameter name.
46872 (__sysconf): Pass it down.
46874 2011-05-22 Ulrich Drepper <drepper@gmail.com>
46877 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46879 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46880 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46881 add in in __libc_use_alloca calls. Adjust callers.
46882 (glob): Use malloc in some situations.
46884 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46885 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46888 2011-05-21 Ulrich Drepper <drepper@gmail.com>
46890 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46891 and CLOCK_BOOTTIME_ALARM.
46894 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46897 * string/_strerror.c (__strerror_r): Print negative errors as signed
46901 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46902 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46903 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46905 * configure.in: Fix typo in redirection and correct removal of test
46906 files in two cases.
46909 * locale/setlocale.c (new_composite_name): Fix test to check for
46910 identical name of all categories.
46913 * libio/filedoalloc.c (local_isatty): New function.
46914 (_IO_file_doallocate): Use local_isatty.
46915 * stdio-common/perror.c (perror): In case a new stream is used
46916 forward the stream error.
46917 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46920 2011-05-20 Ulrich Drepper <drepper@gmail.com>
46923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46925 * include/alloca.h (extend_alloca_account): Define.
46928 * posix/regex.h: Fix comments with documentation of user-accessible
46929 fields after compilation and describe correct free'ing of pattern
46930 after re_compile_pattern.
46931 Patch by Reuben Thomas <rrt@sc3d.org>.
46933 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46935 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46936 and -mno-altivec to prevent the compiler from using Altivec and/or
46937 VSX instructions when the corresponding registers are not available.
46939 2011-05-19 Andreas Schwab <schwab@redhat.com>
46941 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46943 2011-05-19 Ulrich Drepper <drepper@gmail.com>
46945 * libio/freopen.c (freopen): Use __dup2, not dup2.
46946 * libio/freopen64.c (freopen64): Likewise.
46948 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46951 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46952 * math/Makefile (tests): Add test-powl.
46953 (CFLAGS-test-powl.c): Define.
46954 * math/test-powl.c: New file.
46956 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46958 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46960 2011-05-17 Ulrich Drepper <drepper@gmail.com>
46963 * iconvdata/gb18030.c: Update to GB18020-2005.
46965 2011-05-16 Ulrich Drepper <drepper@gmail.com>
46967 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46968 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46969 Patch by Aharon Robbins <arnold@skeeve.com>.
46972 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46976 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46977 through underflows.
46980 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46981 point to strings before performing equality test for error_one_per_line
46985 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46988 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46989 (struct user_fpregs_struct): Avoid __uint*_t types.
46992 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46993 symbol info. Use it instead of calling _dl_addr locally.
46994 (lock_and_info): New function.
46995 (tr_freehook): Call lock_and_info and pass symbol info as additional
46996 parameter to tr_where.
46997 (tr_mallochook): Likewise.
46998 (tr_reallochook): Likewise.
46999 (tr_memalignhook): Likewise.
47001 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47002 used and couldn't be at all thread-safe.
47004 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47006 * libio/freopen.c (freopen): Don't close old file descriptor
47007 before the new one is opened. Instead dup the new file descriptor
47008 to the old one after the new stream is created.
47009 * libio/freopen64.c (freopen64): Likewise.
47010 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47011 * libio/fileops.c (_IO_new_file_close_it): Handle new
47012 _IO_FLAGS2_NOCLOSE flag.
47013 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47014 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47015 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47016 _IO_FLAGS2_NOCLOSE flag.
47017 * include/unistd.h: Add hidden_proto for dup3.
47018 Define __have_dup3.
47019 * io/dup3.c: Define hidden symbol.
47020 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47023 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47024 when an incomplete long option is used.
47025 * posix/tst-getopt_long1.c: New file.
47026 * posix/Makefile (tests): Add tst-getopt_long1.
47029 * scripts/config.guess: Update from autoconf-2.68.
47030 * scripts/config.sub: Likewise.
47033 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47035 (has_cpuclock): ...this. New function.
47036 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47037 macro here based on has_cpuclock code.
47040 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47041 First byte (not low byte) is now always NUL.
47042 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47044 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47045 Use non-cancelable interfaces.
47048 * locale/iso-639.def: Add entry for Sorani.
47051 * include/stdlib.h: Move include protection to the right place.
47052 Define abort_msg_s. Declare __abort_msg with it.
47053 * stdlib/abort.c (__abort_msg): Adjust type.
47054 * assert/assert.c (__assert_fail_base): New function. Majority
47055 of code from __assert_fail. Allocate memory for __abort_msg with
47057 (__assert_fail): Now call __assert_fail_base.
47058 * assert/assert-perr.c: Remove bulk of implementation. Use
47059 __assert_fail_base.
47060 * include/assert.hL Declare __assert_fail_base.
47061 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47063 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47065 2011-05-14 Ulrich Drepper <drepper@gmail.com>
47069 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47070 until all modules are registered in the DTV.
47071 * elf/Makefile: Add rules to build and run tst-tls19.
47072 * elf/tst-tls19.c: New file.
47073 * elf/tst-tls19mod1.c: New file.
47074 * elf/tst-tls19mod2.c: New file.
47075 * elf/tst-tls19mod3.c: New file.
47076 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47079 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47083 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47084 two-byte sequence errors.
47085 * iconvdata/Makefile (tests): Add bug-iconv8.
47086 * iconvdata/bug-iconv8.c: New file.
47089 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47092 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47095 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47096 (dummy_getcfa): New function.
47097 (init): Get _Unwind_GetCFA address, use dummy if not found.
47098 (backtrace_helper): In recursion check, also check whether CFA changes.
47099 (__backtrace): Completely initialize arg.
47101 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47102 storing incomplete byte sequence in state object. Avoid testing for
47103 guaranteed too small input if we know there is enough data available.
47105 2011-05-11 Andreas Schwab <schwab@redhat.com>
47107 * Makeconfig (+link-pie): Indent.
47108 * Rules (binaries-pie): Define if $(have-fpie) and
47110 (binaries-shared): Also filter out $(binaries-pie).
47111 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47112 * nscd/Makefile (others-pie): Add nscd.
47113 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47114 ($(objpfx)nscd): Remove command override.
47115 * login/Makefile (others-pie): Add pt_chown.
47116 ($(objpfx)pt_chown): Remove command override.
47117 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47118 remove command overrides.
47120 2011-05-13 Ulrich Drepper <drepper@gmail.com>
47122 * libio/tst_putwc.c: Fix error messages.
47125 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47126 currently writing and seek to current position when not.
47127 * libio/Makefile (tests): Add bug-fclose1.
47128 * libio/bug-fclose1.c: New file.
47130 2011-05-12 Ulrich Drepper <drepper@gmail.com>
47133 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47134 don't set DF_1_NODELETE here.
47135 (do_lookup_x): When entering new entry test for copy relocation
47136 and if necessary set DF_1_NODELETE flag.
47137 * elf/tst-unique4.cc: New file.
47138 * elf/tst-unique4.h: New file.
47139 * elf/tst-unique4lib.cc: New file.
47140 * elf/Makefile: Add rules to build and run tst-unique4.
47141 Patch by Piotr Bury <pbury@goahead.com>.
47143 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47146 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47149 * misc/mntent_r.c (addmntent): Flush the stream after the output
47152 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47153 (is_trusted_path_normalize): Skip initial colon. Append slash
47154 to empty buffer. Duplicate is_trusted_path code but allow
47155 constructed patch to be prefix.
47156 (is_dst): Allow $ORIGIN followed by /.
47157 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47158 Correct testing of result of is_trusted_path_normalize
47159 (decompose_rpath): Fix warning.
47161 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47164 * grp/initgroups.c (internal_getgrouplist): When we found the service
47165 list through the initgroups entry in nsswitch.conf do not always
47166 continue on a successful lookup. Don't always use the
47167 __nss_group_database value if it is set.
47168 * nss/nsswitch.conf (initgroups): Change action for successful db
47169 lookup to continue for compatibility.
47171 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47174 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47176 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47178 * iconvdata/tst-tables.sh: Likewise.
47179 * iconvdata/cp770.c: New file.
47180 * iconvdata/cp771.c: New file.
47181 * iconvdata/cp772.c: New file.
47182 * iconvdata/cp773.c: New file.
47183 * iconvdata/cp774.c: New file.
47184 * iconvdata/testdata/CP770: New file.
47185 * iconvdata/testdata/CP770..UTF8: New file.
47186 * iconvdata/testdata/CP771: New file.
47187 * iconvdata/testdata/CP771..UTF8: New file.
47188 * iconvdata/testdata/CP772: New file.
47189 * iconvdata/testdata/CP772..UTF8: New file.
47190 * iconvdata/testdata/CP773: New file.
47191 * iconvdata/testdata/CP773..UTF8: New file.
47192 * iconvdata/testdata/CP774: New file.
47193 * iconvdata/testdata/CP774..UTF8: New file.
47195 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47197 * iconvdata/gen-8bit-gap.sh: Likewise.
47198 * iconvdata/gen-8bit.sh: Likewise.
47200 * locale/iso-639.def: Add ary entry.
47203 * locale/C-translit.h.in: Add U20A1 transliteration.
47206 * locale/iso-639.def: Add wae entry.
47207 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47210 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47214 * locale/C-translit.h.in: Add entry for U20B9.
47215 Patch by pravin.d.s@gmail.com.
47217 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47220 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47221 ENAMETOOLONG use generic getcwd.
47222 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47223 in rtld. Use *stat64.
47224 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47225 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47226 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47227 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47228 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47229 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47230 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47231 __fstatat64 macros.
47232 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47233 * dirent/rewinddir.c: Add libc_hidden_def.
47234 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47235 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47237 * include/dirent.h (__alloc_dir): Add flags parameter.
47238 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47239 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47241 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47242 from fdopendir if O_CLOEXEC is already set.
47244 2011-03-15 Alan Modra <amodra@gmail.com>
47246 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47247 l_tls_firstbyte_offset non-zero. Save padding offset in
47248 l_tls_firstbyte_offset for later use.
47249 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47250 freeing static tls block.
47252 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47254 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47255 where #ifdef was intended. The intent is to prevent ARG_MAX from
47256 being defined by the kernel headers.
47258 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47261 * resolv/resolv.h: Define RES_NOTLDQUERY.
47262 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47263 no-tld-query and set RES_NOTLDQUERY.
47264 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47265 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47266 modern BIND to search name as TLD unless forbidden.
47268 2011-05-07 Petr Baudis <pasky@suse.cz>
47269 Ulrich Drepper <drepper@gmail.com>
47272 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47273 (is_trusted_path): ...to here.
47274 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47275 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47276 using is_trusted_path_normalize() in setuid scripts.
47278 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47280 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47281 __BEGIN/__END_DECLS.
47283 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47285 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47286 NSS_STATUS_NOTFOUND if no record was found.
47288 2011-05-05 Andreas Schwab <schwab@redhat.com>
47290 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47291 (headers-not-in-tirpc): Remove rpc/netdb.h
47292 * resolv/netdb.h: Revert last change.
47294 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47296 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47297 circular dependency between libgcc.a and libc.a.
47299 2011-05-05 Andreas Schwab <schwab@redhat.com>
47301 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47302 * nis/Makefile: Don't install rpcsvc/*.
47303 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47304 instead of <rpc/types.h>.
47305 (MAXHOSTNAMELEN): Define.
47307 2011-05-03 Andreas Schwab <schwab@redhat.com>
47309 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47311 2011-04-28 Maciej Babinski <mbabinski@google.com>
47314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47315 gethostbyname4_r when IPv6 results are possible.
47317 2011-05-02 Ulrich Drepper <drepper@gmail.com>
47320 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47321 _PC_PIPE_BUF handling.
47323 2011-04-30 Bruno Haible <bruno@clisp.org>
47326 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47327 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47329 * inet/getnameinfo.c (getnameinfo): Likewise.
47331 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47333 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47334 to groups setting in database lookup.
47335 * nss/nsswitch.conf: Add initgroups entry.
47337 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47340 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47342 Patch by Eric Blake <eblake@redhat.com>.
47344 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47346 * sunrpc/Makefile (need-export-routines): Add svc_run.
47347 (routines): Remove svc_run.
47348 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47349 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47350 * sunrpc/svc_run.c (svc_run): Likewise.
47351 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47353 2011-04-21 Ulrich Drepper <drepper@gmail.com>
47355 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47356 problem in reallocation in last patch.
47358 2011-04-20 Ulrich Drepper <drepper@gmail.com>
47360 * sunrpc/Makefile: Move inclusion of Rules.
47362 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47364 * nss/nss_files/files-initgroups.c: New file.
47365 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47366 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47367 _nss_files_initgroups_dyn.
47369 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47371 * elf/elf.h (R_ARM_IRELATIVE): Define.
47373 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47375 * po/ru.po: Update from translation team.
47377 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47379 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47382 2011-02-06 Mike Frysinger <vapier@gentoo.org>
47385 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47386 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47387 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47388 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47389 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47391 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47393 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47395 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47396 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47397 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47399 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47402 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47404 * stdlib/bug-getcontext.c: New file.
47405 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47407 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47409 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47410 instructions into .machine "z9-109".
47411 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47412 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47414 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47416 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47417 between environment variables and auxiliary vector.
47419 2011-04-16 Ulrich Drepper <drepper@gmail.com>
47421 * Makefile: Add rules to build linkobj/libc.so.
47422 * include/libc-symbols.h: Define libc_hidden_nolink.
47423 * include/rpc/auth.h: Mark functions which are to be hidden.
47424 * include/rpc/auth_des.h: Likewise.
47425 * include/rpc/auth_unix.h: Likewise.
47426 * include/rpc/clnt.h: Likewise.
47427 * include/rpc/des_crypt.h: Likewise.
47428 * include/rpc/key_prot.h: Likewise.
47429 * include/rpc/pmap_clnt.h: Likewise.
47430 * include/rpc/pmap_prot.h: Likewise.
47431 * include/rpc/pmap_rmt.h: Likewise.
47432 * include/rpc/rpc_msg.h: Likewise.
47433 * include/rpc/svc.h: Likewise.
47434 * include/rpc/svc_auth.h: Likewise.
47435 * include/rpc/xdr.h: Likewise.
47436 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47437 * nss/Makefile: Likewise.
47438 * sunrpc/Makefile: Don't install headers. Build library with normal
47439 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47440 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47441 for the compat linking library. Remove use of INTDEF/INTUSE.
47442 * sunrpc/auth_none.c: Likewise.
47443 * sunrpc/auth_unix.c: Likewise.
47444 * sunrpc/authdes_prot.c: Likewise.
47445 * sunrpc/authuxprot.c: Likewise.
47446 * sunrpc/clnt_gen.c: Likewise.
47447 * sunrpc/clnt_perr.c: Likewise.
47448 * sunrpc/clnt_raw.c: Likewise.
47449 * sunrpc/clnt_simp.c: Likewise.
47450 * sunrpc/clnt_tcp.c: Likewise.
47451 * sunrpc/clnt_udp.c: Likewise.
47452 * sunrpc/clnt_unix.c: Likewise.
47453 * sunrpc/des_crypt.c: Likewise.
47454 * sunrpc/des_soft.c: Likewise.
47455 * sunrpc/get_myaddr.c: Likewise.
47456 * sunrpc/key_call.c: Likewise.
47457 * sunrpc/key_prot.c: Likewise.
47458 * sunrpc/netname.c: Likewise.
47459 * sunrpc/pm_getmaps.c: Likewise.
47460 * sunrpc/pm_getport.c: Likewise.
47461 * sunrpc/pmap_clnt.c: Likewise.
47462 * sunrpc/pmap_prot.c: Likewise.
47463 * sunrpc/pmap_prot2.c: Likewise.
47464 * sunrpc/pmap_rmt.c: Likewise.
47465 * sunrpc/publickey.c: Likewise.
47466 * sunrpc/rpc_cmsg.c: Likewise.
47467 * sunrpc/rpc_common.c: Likewise.
47468 * sunrpc/rpc_dtable.c: Likewise.
47469 * sunrpc/rpc_prot.c: Likewise.
47470 * sunrpc/rpc_thread.c: Likewise.
47471 * sunrpc/rtime.c: Likewise.
47472 * sunrpc/svc.c: Likewise.
47473 * sunrpc/svc_auth.c: Likewise.
47474 * sunrpc/svc_authux.c: Likewise.
47475 * sunrpc/svc_raw.c: Likewise.
47476 * sunrpc/svc_run.c: Likewise.
47477 * sunrpc/svc_simple.c: Likewise.
47478 * sunrpc/svc_tcp.c: Likewise.
47479 * sunrpc/svc_udp.c: Likewise.
47480 * sunrpc/svc_unix.c: Likewise.
47481 * sunrpc/svcauth_des.c: Likewise.
47482 * sunrpc/xcrypt.c: Likewise.
47483 * sunrpc/xdr.c: Likewise.
47484 * sunrpc/xdr_array.c: Likewise.
47485 * sunrpc/xdr_float.c: Likewise.
47486 * sunrpc/xdr_intXX_t.c: Likewise.
47487 * sunrpc/xdr_mem.c: Likewise.
47488 * sunrpc/xdr_rec.c: Likewise.
47489 * sunrpc/xdr_ref.c: Likewise.
47490 * sunrpc/xdr_sizeof.c: Likewise.
47491 * sunrpc/xdr_stdio.c: Likewise.
47493 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47496 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47497 * sysdeps/ia64/dl-tls.h: Likewise.
47498 * sysdeps/powerpc/dl-tls.h: Likewise.
47499 * sysdeps/s390/dl-tls.h: Likewise.
47500 * sysdeps/sh/dl-tls.h: Likewise.
47501 * sysdeps/sparc/dl-tls.h: Likewise.
47502 * sysdeps/x86_64/dl-tls.h: Likewise.
47503 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47505 2011-03-14 Andreas Schwab <schwab@redhat.com>
47507 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47508 rpath element also skip the following colon.
47509 (expand_dynamic_string_token): Add is_path parameter and pass
47510 down to DL_DST_REQUIRED and _dl_dst_substitute.
47511 (decompose_rpath): Call expand_dynamic_string_token with
47512 non-zero is_path. Ignore empty rpaths.
47513 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47516 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47521 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47524 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47525 Patch by Filipe David Manana <fdmanana@apache.org>.
47527 2011-04-07 Andreas Schwab <schwab@redhat.com>
47529 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47530 Maintain aligned stack.
47531 (CHECK_RSP): Remove unused macro.
47533 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47535 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47536 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47538 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47540 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47542 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47544 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47547 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47548 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47549 * sysdeps/x86_64/memmove.c: New file.
47550 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47551 (memcpy): Renamed to ...
47552 (__new_memcpy): This.
47553 (memcpy): Provide GLIBC_2_14 memcpy.
47554 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47555 (memcpy): Provide GLIBC_2_2_5 memcpy.
47557 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47560 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47562 2011-03-30 Andreas Schwab <schwab@redhat.com>
47564 * misc/syncfs.c: New file.
47565 * misc/Makefile (routines): Add syncfs.
47566 * posix/unistd.h: Declare syncfs.
47567 * sysdeps/unix/syscalls.list: Add syncfs.
47569 2011-04-01 Andreas Schwab <schwab@redhat.com>
47571 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47573 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47574 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47575 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47576 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47577 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47578 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47579 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47581 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47583 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47584 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47585 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47586 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47587 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47588 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47589 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47591 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47592 sync_file_range.c with -fexceptions.
47593 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47594 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47595 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47596 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47597 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47598 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47599 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47600 sync_file_range as cancellation point
47601 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47602 now a wrapper around __call_sync_file_range with cancellation handling.
47603 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47604 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47605 function name to __call_sync_file_range.
47606 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47607 Add call_sync_file_range.
47609 2011-04-01 Andreas Schwab <schwab@redhat.com>
47611 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47614 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47616 * iconv/iconv.h: Fix typo in comment.
47617 * io/fcntl.h: Likewise.
47618 * libio/stdio.h: Likewise.
47619 * posix/spawn.h: Likewise.
47620 * posix/unistd.h: Likewise.
47621 * stdlib/stdlib.h: Likewise.
47622 * time/time.h: Likewise.
47623 * wcsmbs/wchar.h: Likewise.
47625 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47626 open_by_handle): Add.
47627 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47628 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47629 Augment a few comments.
47630 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47631 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47632 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47633 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47634 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47635 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47638 * io/fcntl.h (AT_EMPTY_PATH): Define.
47640 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47642 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47643 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47644 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47646 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47647 * Versions.def: Add GLIBC_2.14.
47648 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47651 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47653 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47655 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47657 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47660 * string/test-strncmp.c (do_page_test): New function.
47661 (check2): Likewise.
47662 (test_main): Call check2.
47663 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47665 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47668 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47669 Handle cache information in CPU leaf 4.
47670 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47672 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47675 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47676 character representation.
47677 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47679 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47681 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47682 END(__isnan) to END(__isnanf) to match function entry point/label
47683 EALIGN(__isnanf,...).
47685 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47687 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47689 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47692 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47693 copy from the symbol referenced in the relocation to initialize the
47695 Patch by Piotr Bury <pbury@goahead.com>.
47696 * elf/Makefile: Add rules to build and tst-unique3.
47697 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47698 * elf/tst-unique3.cc: New file.
47699 * elf/tst-unique3.h: New file.
47700 * elf/tst-unique3lib.cc: New file.
47701 * elf/tst-unique3lib2.cc: New file.
47703 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47705 2011-03-10 Mike Frysinger <vapier@gentoo.org>
47707 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47708 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47711 2011-03-06 Ulrich Drepper <drepper@gmail.com>
47713 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47714 to-be-loaded object along a path to loader is ld.so.
47716 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47717 Ulrich Drepper <drepper@gmail.com>
47719 * sysdeps/x86_64/memset.S: After aligning destination, code
47720 branches to different locations depending on the value of
47721 misalignment, when multiarch is enabled. Fix this.
47723 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47725 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47726 Set _x86_64_preferred_memory_instruction for AMD processsors.
47727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47728 Set bit_Prefer_SSE_for_memop for AMD processors.
47730 2011-03-04 Ulrich Drepper <drepper@gmail.com>
47732 * libio/fmemopen.c (fmemopen): Optimize a bit.
47734 2011-03-03 Andreas Schwab <schwab@redhat.com>
47736 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47738 2011-03-03 Roland McGrath <roland@redhat.com>
47740 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47742 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47744 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47745 __bzero_ultra1 instead of __memset_ultra1.
47747 2011-02-23 Andreas Schwab <schwab@redhat.com>
47748 Ulrich Drepper <drepper@gmail.com>
47751 * include/link.h (struct link_map): Add l_orig_initfini.
47752 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47753 returning unsuccessfully.
47754 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47755 close of a file loaded at startup, restore the original l_initfini
47757 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47758 list, store the pointer.
47759 * elf/Makefile ($(objpfx)noload-mem): New rule.
47760 (noload-ENV): Define.
47761 (tests): Add $(objpfx)noload-mem.
47762 * elf/noload.c: Include <memcheck.h>.
47763 (main): Call mtrace. Close all opened handles.
47765 2011-02-17 Andreas Schwab <schwab@redhat.com>
47768 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47769 dependencies are missing.
47771 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47773 Fix __if_freereq crash: Unlike the generic version which uses free,
47775 * sysdeps/mach/hurd/ifreq.h: New file.
47777 2011-01-27 Petr Baudis <pasky@suse.cz>
47778 Ulrich Drepper <drepper@gmail.com>
47781 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47782 to extend_alloca().
47783 * stdio-common/bug23.c: New file.
47784 * stdio-common/Makefile (tests): Add bug23.
47786 2010-09-28 Andreas Schwab <schwab@redhat.com>
47787 Ulrich Drepper <drepper@gmail.com>
47790 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47791 before performing relro protection. At old place add assertion
47792 to make sure nothing changed.
47794 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47795 Glauber de Oliveira Costa <glommer@gmail.com>
47797 * elf/elf.h: Add new ARM TLS relocs.
47799 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47802 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47804 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47806 * sysdeps/wordsize-64/tst-writev.c: New file.
47808 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47810 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47811 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47812 insns in _dl_start to prevent a TOC reference before relocs are
47815 2011-02-15 Ulrich Drepper <drepper@gmail.com>
47818 * Makeconfig: Remove RANLIB definition.
47819 * Makerules: Don't use RANLIB.
47820 * aclocal.m4: Remove ranlib test.
47821 * configure.in: No need to check for ranlib.
47822 * elf/rtld-Rules: Don't use RANLIB.
47824 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47826 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47828 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47829 inclusion protection macro.
47831 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47832 SIGRTMIN and SIGRTMAX and print information in that case only when
47833 SIGRTMIN is defined.
47835 2011-02-11 Jakub Jelinek <jakub@redhat.com>
47837 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47838 arginfo fn returning -1.
47840 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47841 and thousands string is zero terminated.
47843 2011-02-03 Andreas Schwab <schwab@redhat.com>
47845 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47846 sysdeps/unix/sysv/linux/bits/socket.h.
47848 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47850 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47851 (__CPU_COUNT): Remove old macros.
47852 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47853 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47854 (__CPU_ALLOC, __CPU_FREE): Add macros.
47855 (__sched_cpualloc, __sched_cpufree): Add declarations.
47857 2011-02-05 Ulrich Drepper <drepper@gmail.com>
47859 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47860 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47861 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47862 (readdhstai): Return value of addhstaiX call.
47863 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47864 (addgrbyX): Return value returned by cache_addgr.
47865 (readdgrbyname): Return value returned by addgrbyX.
47866 (readdgrbygid): Likewise.
47867 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47868 (addpwbyX): Return value returned by cache_addpw.
47869 (readdpwbyname): Return value returned by addhstbyX.
47870 (readdpwbyuid): Likewise.
47871 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47872 (addservbyX): Return value returned by cache_addserv.
47873 (readdservbyname): Return value returned by addservbyX:
47874 (readdservbyport): Likewise.
47875 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47876 (addhstbyX): Return value returned by cache_addhst.
47877 (readdhstbyname): Return value returned by addhstbyX.
47878 (readdhstbyaddr): Likewise.
47879 (readdhstbynamev6): Likewise.
47880 (readdhstbyaddrv6): Likewise.
47881 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47882 (readdinitgroups): Return value returned by addinitgroupsX.
47883 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47884 (prune_cache): Keep track of timeout value of re-added entries.
47885 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47886 * nscd/nscd.h: Adjust prototypes of readd* functions.
47888 2011-02-04 Roland McGrath <roland@redhat.com>
47890 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47891 (nis_stats): Likewise.
47892 * nis/nis_modify.c (nis_modify): Likewise.
47893 * nis/nis_remove.c (nis_remove): Likewise.
47894 * nis/nis_add.c (nis_add): Likewise.
47896 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47898 * posix/fnmatch_loop.c: Add some consts.
47900 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47902 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47905 * config.make.in (config-cflags-novzeroupper): Define.
47906 * configure.in: Substitute libc_cv_cc_novzeroupper.
47907 * elf/Makefile (AVX-CFLAGS): Define.
47908 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47909 (CFLAGS-tst-auditmod4a.c): Likewise.
47910 (CFLAGS-tst-auditmod4b.c): Likewise.
47911 (CFLAGS-tst-auditmod6b.c): Likewise.
47912 (CFLAGS-tst-auditmod6c.c): Likewise.
47913 (CFLAGS-tst-auditmod7b.c): Likewise.
47914 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47916 2011-02-02 Ulrich Drepper <drepper@gmail.com>
47918 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47919 function to the callback.
47920 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47922 2011-02-02 Andreas Schwab <schwab@redhat.com>
47924 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47927 2011-01-19 Ulrich Drepper <drepper@gmail.com>
47930 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47932 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47934 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47937 * elf/Makefile: Add rules to build and run new test.
47938 * elf/tst-initorder.c: New file.
47939 * elf/tst-initorder.exp: New file.
47940 * elf/tst-initordera1.c: New file.
47941 * elf/tst-initordera2.c: New file.
47942 * elf/tst-initordera3.c: New file.
47943 * elf/tst-initordera4.c: New file.
47944 * elf/tst-initorderb1.c: New file.
47945 * elf/tst-initorderb2.c: New file.
47946 * elf/tst-order-a1.c: New file.
47947 * elf/tst-order-a2.c: New file.
47948 * elf/tst-order-a3.c: New file.
47949 * elf/tst-order-a4.c: New file.
47950 * elf/tst-order-b1.c: New file.
47951 * elf/tst-order-b2.c: New file.
47952 * elf/tst-order-main.c: New file.
47953 New test case by George Gensure <werkt0@gmail.com>.
47955 2010-10-01 Andreas Schwab <schwab@redhat.com>
47957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47958 decoding ACE if AI_CANONIDN.
47960 2011-01-18 Ulrich Drepper <drepper@gmail.com>
47962 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47964 2011-01-17 Ulrich Drepper <drepper@gmail.com>
47966 * version.h (RELEASE): Bump for 2.13 release.
47967 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47969 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47971 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47973 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47974 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47975 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47976 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47977 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47978 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47980 * posix/getconf.c: Update copyright year.
47981 * catgets/gencat.c: Likewise.
47982 * csu/version.c: Likewise.
47983 * debug/catchsegv.sh: Likewise.
47984 * debug/xtrace.sh: Likewise.
47985 * elf/ldconfig.c: Likewise.
47986 * elf/ldd.bash.in: Likewise.
47987 * elf/sprof.c (print_version): Likewise.
47988 * iconv/iconv_prog.c: Likewise.
47989 * iconv/iconvconfig.c: Likewise.
47990 * locale/programs/locale.c: Likewise.
47991 * locale/programs/localedef.c: Likewise.
47992 * malloc/memusage.sh: Likewise.
47993 * malloc/mtrace.pl: Likewise.
47994 * nscd/nscd.c (print_version): Likewise.
47995 * nss/getent.c: Likewise.
47997 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47998 PF_CAIF, and PF_ALG.
47999 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48001 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48003 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48004 (modules-names): Use them.
48005 (ifunc-test-modules, ifunc-pie-tests): Define.
48006 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48007 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48008 (test-extras): Likewise.
48009 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48010 $(compile-command.c).
48011 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48012 (all-built-dso): Define.
48013 (check-textrel.out, check-execstack.out): Depend on it.
48015 * configure.in: Don't override --enable-multi-arch.
48017 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48020 * nscd/hstcache.c (tryagain): Define.
48021 (cache_addhst): Return tryagain not notfound for temporary errors.
48022 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48025 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48028 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48029 to make the syscall.
48030 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48033 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48034 and fall back to matching as normal character if the string ends before
48035 the matching ']' is found. This is what POSIX requires.
48036 * posix/testfnm.c: Adjust test result.
48037 * posix/globtest.sh: Adjust test result. Add new test.
48038 * posix/tst-fnmatch.input: Likewise.
48039 * posix/tst-fnmatch2.c: Add new test.
48041 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48043 * elf/Makefile (check-execstack): Revert last change. Depend on
48045 (check-execstack.h): New target.
48046 (generated): Add check-execstack.h.
48047 * elf/check-execstack.c: Include "check-execstack.h".
48048 (main): Revert last change.
48049 (handle_file): Return zero if GNU_STACK is absent and
48050 DEFAULT_STACK_PERMS doesn't include PF_X.
48052 2011-01-13 Ulrich Drepper <drepper@gmail.com>
48054 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48055 in child fails because the descriptor is already closed.
48056 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48057 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48058 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48061 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48065 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48066 temporary buffer used to handle multi lookups locally.
48067 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48069 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48071 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48074 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48076 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48077 alignment for SSE2.
48079 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48082 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48083 characters. When rounding increased number of integer digits recompute
48085 * stdio-common/tst-grouping.c: New file.
48086 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48088 2011-01-09 Ulrich Drepper <drepper@gmail.com>
48090 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48091 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48093 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48095 * bits/select.h: Likewise.
48097 2011-01-08 Ulrich Drepper <drepper@gmail.com>
48099 * po/ja.po: Update from translation team.
48101 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
48104 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48105 implementation just like for lxstat, fxstatat, et al.
48107 2010-12-27 Jim Meyering <meyering@redhat.com>
48110 * posix/regexec.c (build_trtable): Return failure indication upon
48111 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48113 2010-12-25 Ulrich Drepper <drepper@gmail.com>
48116 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48117 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48118 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48119 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48122 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48125 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48126 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48128 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48130 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48131 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48132 script has SORT_BY_INIT_PRIORITY.
48133 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48134 NO_CTORS_DTORS_SECTIONS is defined.
48135 * elf/soinit.c: Likewise.
48136 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48137 NO_CTORS_DTORS_SECTIONS is defined.
48138 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48139 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48140 * sysdeps/sh/init-first.c: Likewise.
48141 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48143 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48145 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48146 always use the slow path.
48148 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48150 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48151 similar rule which adds the sysdep directories to the header search in
48152 order to pick up the correct platform stackinfo.h.
48153 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48154 perform test if it is, otherwise return successfully without testing.
48155 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48156 DEFAULT_STACK_PERMS define in stackinfo.h.
48157 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48158 defined in stackinfo.h.
48159 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48160 DEFAULT_STACK_PERMS defined in stackinfo.h.
48161 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48162 * sysdeps/ia64/stackinfo.h: Likewise.
48163 * sysdeps/s390/stackinfo.h: Likewise.
48164 * sysdeps/sh/stackinfo.h: Likewise.
48165 * sysdeps/sparc/stackinfo.h: Likewise.
48166 * sysdeps/x86_64/stackinfo.h: Likewise.
48167 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48168 PF_X for powerpc64. Retain PF_X for powerpc32.
48170 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48172 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48174 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48175 GETDENTS_64BIT_ALIGNED.
48177 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48179 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48181 2010-12-10 Andreas Schwab <schwab@redhat.com>
48183 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48186 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48187 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48189 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48190 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48192 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48195 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48198 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48200 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48202 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48204 * po/it.po: Update from translation team.
48206 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48208 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48211 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48213 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48215 2010-11-24 Andreas Schwab <schwab@redhat.com>
48217 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48219 (gaih_getanswer_slice): Likewise.
48221 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48223 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48225 2010-05-31 Petr Baudis <pasky@suse.cz>
48228 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48229 silently even in the chroot mode.
48231 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48233 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48234 last patch a bit. Pretty printing
48236 2010-05-31 Petr Baudis <pasky@suse.cz>
48239 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48240 initialization of skip_initgroups_dyn.
48242 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48244 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48245 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48247 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48249 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48251 2010-11-11 Andreas Schwab <schwab@redhat.com>
48253 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48254 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48255 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48256 ($(objpfx)tst-fnmatch-mem): New rule.
48257 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48258 * posix/tst-fnmatch.c (main): Call mtrace.
48260 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48262 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48263 Support Intel processor model 6 and model 0x2c.
48265 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48267 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48270 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48273 * string/test-strncasecmp.c (check_result): New function.
48274 (do_one_test): Use it.
48275 (check1): New function.
48276 (test_main): Use it.
48277 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48278 Support strcasecmp and strncasecmp.
48280 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48283 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48284 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48286 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48288 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48290 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48292 * sysdeps/x86_64/multiarch/bzero.S: New file.
48293 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48294 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48295 * sysdeps/x86_64/multiarch/memset.S: New file.
48296 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48298 Set bit_Prefer_SSE_for_memop for Intel processors.
48299 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48301 (index_Prefer_SSE_for_memop): Define.
48302 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48304 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
48306 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48307 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48309 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48312 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48313 (__x86_64_raw_data_cache_size_half): Likewise.
48314 (__x86_64_raw_shared_cache_size): Likewise.
48315 (__x86_64_raw_shared_cache_size_half): Likewise.
48317 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48318 (__x86_64_raw_data_cache_size_half): Likewise.
48319 (__x86_64_raw_shared_cache_size): Likewise.
48320 (__x86_64_raw_shared_cache_size_half): Likewise.
48321 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48322 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48323 and __x86_64_raw_shared_cache_size_half. Round
48324 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48325 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48326 to multiple of 256 bytes.
48328 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48331 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48332 of inacessible symlinks. Verify result of symlink before returning it.
48333 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48334 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48336 2010-10-28 Erich Ritz <erichritz@gmail.com>
48338 * math/math.h (isinf): Fix typo in comment.
48340 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48342 * po/da.po: Update from translation team.
48344 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48346 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48347 is added to the list.
48349 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48350 Ulrich Drepper <drepper@gmail.com>
48352 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48353 the global list here. Move code to...
48354 (_dl_add_to_namespace_list): ...here. New function.
48355 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48356 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48357 * elf/dl-load.c (lose): Don't remove the element from the list.
48358 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48359 (_dl_map_object): Likewise.
48361 2010-10-25 Ulrich Drepper <drepper@gmail.com>
48364 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48365 into all bytes of SSE register.
48366 Patch by Richard Li <richardpku@gmail.com>.
48368 2010-10-24 Ulrich Drepper <drepper@gmail.com>
48371 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48374 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48376 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48377 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48378 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48379 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48384 2010-10-22 Andreas Schwab <schwab@redhat.com>
48386 * include/dlfcn.h (__RTLD_SECURE): Define.
48387 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48388 mode & __RTLD_SECURE instead.
48389 (open_path): Rename preloaded parameter to secure.
48390 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48391 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48392 * elf/dl-deps.c (openaux): Likewise.
48393 * elf/rtld.c (struct map_args): Remove is_preloaded.
48394 (map_doit): Don't use it.
48395 (dl_main): Likewise.
48396 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48397 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48399 2010-09-09 Andreas Schwab <schwab@redhat.com>
48401 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48402 (sysd-rules-targets): Remove duplicates.
48403 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48404 rtld-%.$o dependency.
48406 2010-10-18 Andreas Schwab <schwab@redhat.com>
48408 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48409 _dl_map_object do it.
48411 2010-10-19 Ulrich Drepper <drepper@gmail.com>
48413 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48414 fast fma builtins, define the macros in the C99 standard.
48415 (FP_FAST_FMAF): Likewise.
48416 (FP_FAST_FMAL): Likewise.
48417 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48419 * bits/mathdef.h: Update copyright year.
48420 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48422 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48424 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48425 builtins, define the macros in the C99 standard.
48426 (FP_FAST_FMAF): Likewise.
48427 (FP_FAST_FMAL): Likewise.
48428 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48430 (FP_FAST_FMAF): Likewise.
48432 2010-10-15 Jakub Jelinek <jakub@redhat.com>
48435 * math/libm-test.inc (fma_test): Some new testcases.
48436 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48437 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48438 y and infinite z. Do multiplication by C already in long double.
48439 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48440 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48441 y and infinite z. Do bitwise or of inexact bit into u.d.
48442 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48443 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48444 * sysdeps/i386/fpu/s_fma.S: Removed.
48445 * sysdeps/i386/fpu/s_fmal.S: Removed.
48447 2010-10-16 Jakub Jelinek <jakub@redhat.com>
48450 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48451 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48452 computation is not scheduled after fetestexcept. Fix value
48453 of minimum denormal long double.
48455 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48458 * math/libm-test.inc (fma_test): Add some more tests.
48459 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48462 2010-10-15 Andreas Schwab <schwab@redhat.com>
48464 * scripts/data/localplt-s390-linux-gnu.data: New file.
48465 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48467 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48470 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48471 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48473 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48475 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48476 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48477 if one of x and y is very large and the other is subnormal.
48478 * sysdeps/s390/fpu/s_fmaf.c: New file.
48479 * sysdeps/s390/fpu/s_fma.c: New file.
48480 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48481 * sysdeps/powerpc/fpu/s_fma.S: New file.
48482 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48483 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48484 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48486 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48489 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48491 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48492 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48493 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48494 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48495 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48496 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48497 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48499 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48502 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48503 * posix/bug-regex31.input: Add test case.
48505 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48507 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48508 * posix/bug-regex31.input: New file.
48511 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48512 (parse_sub_exp): Fix last change, use postorder.
48514 * posix/bug-regex31.c: New file.
48515 * posix/Makefile: Add rules to build and run bug-regex31.
48517 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48520 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48523 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48524 to have entries in sys_siglist.
48527 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48530 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48533 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48534 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48535 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48536 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48537 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48538 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48539 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48540 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48541 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48542 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48543 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48544 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48545 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48546 * math/ftestexcept.c (fetestexcept): Likewise.
48547 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48548 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48549 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48550 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48551 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48552 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48553 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48555 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48558 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48561 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48563 * string/bug-strstr1.c: New file.
48564 * string/Makefile: Add rules to build and run bug-strstr1.
48566 2010-10-05 Eric Blake <eblake@redhat.com>
48569 * string/str-two-way.h (two_way_long_needle): Always clear memory
48570 when skipping input due to the shift table.
48572 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48575 * malloc/mcheck.c: Handle large requests.
48578 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48579 for strncmp and strncasecmp.
48580 * string/stratcliff.c: Add tests for strcmp and strncmp.
48581 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48583 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48585 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48588 2010-09-30 Andreas Jaeger <aj@suse.de>
48590 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48591 (CGROUP_SUPER_MAGIC): Define.
48592 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48593 Handle btrfs and cgroup file systems.
48594 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48597 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48599 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48600 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48602 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48605 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48606 trying to locate the ELF header.
48608 2010-09-27 Andreas Schwab <schwab@redhat.com>
48611 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48612 Mask out sign-bit copies when constructing f_fsid.
48614 2010-09-24 Petr Baudis <pasky@suse.cz>
48616 * debug/stack_chk_fail_local.c: Add missing licence exception.
48617 * debug/warning-nop.c: Likewise.
48619 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48621 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48622 implementing getdents64 using getdents syscall, set d_type if
48623 __ASSUME_GETDENTS32_D_TYPE.
48625 2010-09-16 Andreas Schwab <schwab@redhat.com>
48627 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48628 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48630 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48633 * posix/unistd.h: Undo change of feature selection for ftruncate from
48636 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48638 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48641 2010-09-20 Andreas Schwab <schwab@redhat.com>
48643 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48645 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48647 2010-09-14 Andreas Schwab <schwab@redhat.com>
48649 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48650 variables after CHECK_SP call.
48651 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48653 2010-09-13 Andreas Schwab <schwab@redhat.com>
48654 Ulrich Drepper <drepper@redhat.com>
48656 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48657 re-relocationg ld.so.
48658 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48659 _dl_init_paths call.
48660 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48663 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48665 * resolv/res_init.c (__res_vinit): Count the default server we added.
48667 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48668 Ulrich Drepper <drepper@redhat.com>
48671 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48672 (____longjmp_chk): Use %ebx for saving value across system call.
48675 2010-09-06 Andreas Schwab <schwab@redhat.com>
48677 * manual/Makefile: Don't mix pattern rules with normal rules.
48679 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48681 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48683 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48684 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48685 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48686 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48687 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48690 2010-09-04 Ulrich Drepper <drepper@redhat.com>
48693 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48694 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48696 2010-09-02 Ulrich Drepper <drepper@redhat.com>
48698 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48699 * sysdeps/x86_64/addmul_1.S: Likewise.
48700 * sysdeps/x86_64/lshift.S: Likewise.
48701 * sysdeps/x86_64/mul_1.S: Likewise.
48702 * sysdeps/x86_64/rshift.S: Likewise.
48703 * sysdeps/x86_64/sub_n.S: Likewise.
48704 * sysdeps/x86_64/submul_1.S: Likewise.
48706 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48708 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48709 Define __sched_param instead of SCHED_* and sched_param when
48710 <bits/sched.h> is included with __need_schedparam defined.
48711 * bits/sched.h [__need_schedparam]
48712 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48713 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48714 (__defined_schedparam): Define to 1.
48715 (__sched_param): New structure, identical to sched_param.
48716 (__need_schedparam): Undefine.
48718 2010-08-31 Mike Frysinger <vapier@gentoo.org>
48720 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48721 (epoll_create1): Declare.
48723 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48725 2010-08-31 Andreas Schwab <schwab@redhat.com>
48728 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48729 shifting retval into place.
48731 2010-09-01 Ulrich Drepper <drepper@redhat.com>
48733 * nis/rpcsvc/nis.h: Update copyright notice.
48734 * nis/rpcsvc/nis.x: Likewise.
48735 * nis/rpcsvc/nis_callback.h: Likewise.
48736 * nis/rpcsvc/nis_callback.x: Likewise.
48737 * nis/rpcsvc/nis_object.x: Likewise.
48738 * nis/rpcsvc/nis_tags.h: Likewise.
48739 * nis/rpcsvc/yp.h: Likewise.
48740 * nis/rpcsvc/yp.x: Likewise.
48741 * nis/rpcsvc/ypupd.h: Likewise.
48742 * nis/yp_xdr.c: Likewise.
48743 * nis/ypupdate_xdr.c: Likewise.
48745 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48746 mainly the body of pmap_getport. Add parameters to specify timeouts.
48747 (pmap_getport): Use __libc_rpc_getport.
48748 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48749 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48750 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48752 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48757 2010-08-27 Roland McGrath <roland@redhat.com>
48759 * sysdeps/i386/i686/multiarch/Makefile
48760 (CFLAGS-varshift.c): New variable.
48762 2010-08-27 Ulrich Drepper <drepper@redhat.com>
48764 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48765 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48767 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48769 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48771 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48773 * sysdeps/x86_64/strlen.S: Unroll the loop.
48774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48775 strlen-sse2 strlen-sse2-bsf.
48776 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48777 __strlen_no_bsf if bit_Slow_BSF is set.
48778 (__strlen_sse42): Removed.
48779 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48780 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48782 2010-08-25 Roland McGrath <roland@redhat.com>
48784 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48785 * sysdeps/x86_64/multiarch/varshift.c: New file.
48786 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48787 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48788 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48789 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48791 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48793 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48794 strlen-sse2 strlen-sse2-bsf.
48795 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48796 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48797 (__strlen_sse2): Removed.
48798 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48799 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48800 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48801 bit_Slow_BSF for Atom.
48802 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48803 (index_Slow_BSF): Define.
48804 (HAS_SLOW_BSF): Define.
48806 2010-08-25 Ulrich Drepper <drepper@redhat.com>
48809 * resolv/res_init.c (__res_vinit): When no server address at all
48810 is given default to loopback.
48812 2010-08-24 Roland McGrath <roland@redhat.com>
48814 * configure.in: Remove config-name.h generation.
48815 * configure: Regenerated.
48816 * config-name.in: File removed.
48817 * scripts/config-uname.sh: New file.
48818 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48819 ($(objdir)config-name.h): New target.
48821 * sunrpc/rpc_parse.h: Avoid nested comment.
48823 2010-08-24 Richard Henderson <rth@redhat.com>
48824 Ulrich Drepper <drepper@redhat.com>
48825 H.J. Lu <hongjiu.lu@intel.com>
48827 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48828 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48829 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48830 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48831 _mm_alignr_epi8 with _mm_loadu_si128.
48832 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48833 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48834 (__m128i_shift_right): Removed.
48835 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48836 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48837 * sysdeps/x86_64/multiarch/varshift.h: New file.
48838 * sysdeps/x86_64/multiarch/varshift.S: New file.
48840 2010-08-21 Mike Frysinger <vapier@gentoo.org>
48842 * configure.in: Move assembler checks to before sysdep dir checking.
48844 2010-08-20 Petr Baudis <pasky@suse.cz>
48846 * LICENSES: Sync the sunrpc license.
48848 2010-08-19 Ulrich Drepper <drepper@redhat.com>
48850 * sunrpc/auth_des.c: Update copyright notice once again.
48851 * sunrpc/auth_none.c: Likewise.
48852 * sunrpc/auth_unix.c: Likewise.
48853 * sunrpc/authdes_prot.c: Likewise.
48854 * sunrpc/authuxprot.c: Likewise.
48855 * sunrpc/bindrsvprt.c: Likewise.
48856 * sunrpc/clnt_gen.c: Likewise.
48857 * sunrpc/clnt_perr.c: Likewise.
48858 * sunrpc/clnt_raw.c: Likewise.
48859 * sunrpc/clnt_simp.c: Likewise.
48860 * sunrpc/clnt_tcp.c: Likewise.
48861 * sunrpc/clnt_udp.c: Likewise.
48862 * sunrpc/clnt_unix.c: Likewise.
48863 * sunrpc/des_crypt.c: Likewise.
48864 * sunrpc/des_soft.c: Likewise.
48865 * sunrpc/get_myaddr.c: Likewise.
48866 * sunrpc/getrpcport.c: Likewise.
48867 * sunrpc/key_call.c: Likewise.
48868 * sunrpc/key_prot.c: Likewise.
48869 * sunrpc/openchild.c: Likewise.
48870 * sunrpc/pm_getmaps.c: Likewise.
48871 * sunrpc/pm_getport.c: Likewise.
48872 * sunrpc/pmap_clnt.c: Likewise.
48873 * sunrpc/pmap_prot.c: Likewise.
48874 * sunrpc/pmap_prot2.c: Likewise.
48875 * sunrpc/pmap_rmt.c: Likewise.
48876 * sunrpc/rpc/auth.h: Likewise.
48877 * sunrpc/rpc/auth_unix.h: Likewise.
48878 * sunrpc/rpc/clnt.h: Likewise.
48879 * sunrpc/rpc/des_crypt.h: Likewise.
48880 * sunrpc/rpc/key_prot.h: Likewise.
48881 * sunrpc/rpc/netdb.h: Likewise.
48882 * sunrpc/rpc/pmap_clnt.h: Likewise.
48883 * sunrpc/rpc/pmap_prot.h: Likewise.
48884 * sunrpc/rpc/pmap_rmt.h: Likewise.
48885 * sunrpc/rpc/rpc.h: Likewise.
48886 * sunrpc/rpc/rpc_des.h: Likewise.
48887 * sunrpc/rpc/rpc_msg.h: Likewise.
48888 * sunrpc/rpc/svc.h: Likewise.
48889 * sunrpc/rpc/svc_auth.h: Likewise.
48890 * sunrpc/rpc/types.h: Likewise.
48891 * sunrpc/rpc/xdr.h: Likewise.
48892 * sunrpc/rpc_clntout.c: Likewise.
48893 * sunrpc/rpc_cmsg.c: Likewise.
48894 * sunrpc/rpc_common.c: Likewise.
48895 * sunrpc/rpc_cout.c: Likewise.
48896 * sunrpc/rpc_dtable.c: Likewise.
48897 * sunrpc/rpc_hout.c: Likewise.
48898 * sunrpc/rpc_main.c: Likewise.
48899 * sunrpc/rpc_parse.c: Likewise.
48900 * sunrpc/rpc_parse.h: Likewise.
48901 * sunrpc/rpc_prot.c: Likewise.
48902 * sunrpc/rpc_sample.c: Likewise.
48903 * sunrpc/rpc_scan.c: Likewise.
48904 * sunrpc/rpc_scan.h: Likewise.
48905 * sunrpc/rpc_svcout.c: Likewise.
48906 * sunrpc/rpc_tblout.c: Likewise.
48907 * sunrpc/rpc_util.c: Likewise.
48908 * sunrpc/rpc_util.h: Likewise.
48909 * sunrpc/rpcinfo.c: Likewise.
48910 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48911 * sunrpc/rpcsvc/key_prot.x: Likewise.
48912 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48913 * sunrpc/rpcsvc/mount.x: Likewise.
48914 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48915 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48916 * sunrpc/rpcsvc/rex.x: Likewise.
48917 * sunrpc/rpcsvc/rstat.x: Likewise.
48918 * sunrpc/rpcsvc/rusers.x: Likewise.
48919 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48920 * sunrpc/rpcsvc/spray.x: Likewise.
48921 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48922 * sunrpc/rtime.c: Likewise.
48923 * sunrpc/svc.c: Likewise.
48924 * sunrpc/svc_auth.c: Likewise.
48925 * sunrpc/svc_authux.c: Likewise.
48926 * sunrpc/svc_raw.c: Likewise.
48927 * sunrpc/svc_run.c: Likewise.
48928 * sunrpc/svc_simple.c: Likewise.
48929 * sunrpc/svc_tcp.c: Likewise.
48930 * sunrpc/svc_udp.c: Likewise.
48931 * sunrpc/svc_unix.c: Likewise.
48932 * sunrpc/svcauth_des.c: Likewise.
48933 * sunrpc/xcrypt.c: Likewise.
48934 * sunrpc/xdr.c: Likewise.
48935 * sunrpc/xdr_array.c: Likewise.
48936 * sunrpc/xdr_float.c: Likewise.
48937 * sunrpc/xdr_mem.c: Likewise.
48938 * sunrpc/xdr_rec.c: Likewise.
48939 * sunrpc/xdr_ref.c: Likewise.
48940 * sunrpc/xdr_sizeof.c: Likewise.
48941 * sunrpc/xdr_stdio.c: Likewise.
48943 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48946 2010-08-19 Andreas Schwab <schwab@redhat.com>
48948 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48950 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
48952 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48953 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48954 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48955 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48956 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48957 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48958 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48959 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48960 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48961 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48962 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48963 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48964 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48965 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48967 2010-07-26 Anton Blanchard <anton@samba.org>
48969 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48970 * malloc/arena.c (heap_trim): Likewise.
48972 2010-08-16 Ulrich Drepper <drepper@redhat.com>
48974 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48976 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48977 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48979 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48981 * sysdeps/i386/elf/Makefile: New file.
48983 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48985 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48986 from fanotify_init.
48987 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48988 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48990 2010-08-15 Ulrich Drepper <drepper@redhat.com>
48992 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48994 * sysdeps/multiarch/strcmp.S: Likewise.
48996 2010-08-14 Ulrich Drepper <drepper@redhat.com>
48998 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48999 strncase_l-nonascii.
49000 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49001 Add strncase_l-ssse3.
49002 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49003 * sysdeps/x86_64/strcmp.S: Likewise.
49004 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49005 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49006 * sysdeps/x86_64/strncase.S: New file.
49007 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49008 * sysdeps/x86_64/strncase_l.S: New file.
49009 * string/Makefile (strop-tests): Add strncasecmp.
49010 * string/test-strncasecmp.c: New file.
49012 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49015 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49016 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49018 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49020 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49022 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49024 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49025 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49026 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49028 2010-05-01 Alan Modra <amodra@gmail.com>
49030 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49031 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49032 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49033 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49034 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49035 tidying. Don't tail-call __sigjmp_save for static lib.
49036 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49038 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49039 (CALL_MCOUNT): Add eh info, and nop after bl.
49040 (TAIL_CALL_SYSCALL_ERROR): New macro.
49041 (PSEUDO_RET): Use it.
49042 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49043 Correct save location of integer regs and cr.
49044 (_dl_profile_resolve): Correct cr save location. Delete nops
49045 after bl when SHARED. Reduce cfi size a little by better
49046 placement of cfi directives.
49047 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49048 make a stack frame. Instead use parm save area as a temp.
49049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49050 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49052 Don't make a stack frame for parent, use parm save area.
49053 Increase child stack frame to 112 bytes. Don't save unused reg,
49054 and adjust reg usage. Set up cfi on error recovery and
49055 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49057 (__makecontext): Add dummy nop after jump to exit.
49058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49059 Use correct parm save area and cr save, reduce stack frame.
49060 Correct cfi for possible PSEUDO_RET frame setup.
49061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49062 Branch to local label emitted by PSEUDO_RET rather than
49065 2010-08-12 Andreas Schwab <schwab@redhat.com>
49068 * locale/programs/locale.c (print_assignment): New function.
49069 (show_locale_vars): Use it.
49071 2010-08-11 Ulrich Drepper <drepper@redhat.com>
49073 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49075 (struct statfs64): Likewise.
49076 (_STATFS_F_FLAGS): Define.
49077 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49078 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49079 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49080 (ST_VALID): Define locally.
49081 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49082 __statvfs_getflags, use the provided value.
49083 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49084 __ASSUME_STATFS_F_FLAGS.
49086 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49088 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49089 Add sys/fanotify.h.
49090 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49091 fanotify_mask for GLIBC_2.13.
49092 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49093 fanotify_init and fanotify_mark.
49094 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49095 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49097 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49099 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49100 prlimit64 for GLIBC_2.13.
49101 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49103 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49106 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49107 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49108 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49109 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49111 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49114 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49115 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49117 * nss/Makefile: Add rules to build and run tst-nss-test1.
49118 * shlib-versions: Add entry for libnss_test1.
49119 * nss/nss_test1.c: New file.
49120 * nss/tst-nss-test1.c: New file.
49122 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49123 (__nss_configure_lookup): Set appropriate entry in
49124 __nss_configure_lookup to true.
49125 * nss/nsswitch.h: Define enum with indeces of databases in
49126 databases and __nss_database_custom arrays. Declare
49127 __nss_database_custom.
49128 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49129 to avoid using nscd when custom rules are installed.
49130 * nss/getXXbyYY_r.c: Likewise.
49131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49133 * nss/nss_files/files-parse.c: Whitespace fixes.
49135 2010-08-09 Ulrich Drepper <drepper@redhat.com>
49138 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49139 * posix/fnmatch_loop.c: Likewise.
49141 2010-07-17 Andi Kleen <ak@linux.intel.com>
49143 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49144 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49145 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49146 * Versions.def [GLIBC_2.13]: Add.
49148 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49150 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49151 Also fail if tpwd after pwuid call is NULL.
49153 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49155 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49156 when converting to ms.
49158 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49160 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49161 EOPNOTSUPP errors with ENOTTY.
49162 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49163 EOPNOTSUPP errors with ENOTTY.
49165 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49167 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49168 Add strcasecmp_l-ssse3.
49169 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49171 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49172 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49173 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49175 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49177 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49179 * string/Makefile (strop-tests): Add strcasecmp.
49180 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49181 strcasecmp_l-nonascii.
49182 (gen-as-const-headers): Add locale-defines.sym.
49183 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49184 * sysdeps/x86_64/strcasecmp.S: New file.
49185 * sysdeps/x86_64/strcasecmp_l.S: New file.
49186 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49187 * sysdeps/x86_64/locale-defines.sym: New file.
49188 * string/test-strcasecmp.c: New file.
49190 * string/test-strcasestr.c: Test both ends of the range of characters.
49191 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49193 2010-07-29 Roland McGrath <roland@redhat.com>
49196 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49198 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49200 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49203 2010-07-27 Andreas Schwab <schwab@redhat.com>
49205 * manual/memory.texi (Malloc Tunable Parameters): Document
49208 2010-07-26 Roland McGrath <roland@redhat.com>
49211 * configure.in (-fgnu89-inline check): Set and substitute
49212 gnu89_inline, not libc_cv_gnu89_inline.
49213 * configure: Regenerated.
49214 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49216 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49218 * string/test-strnlen.c: New file.
49219 * string/Makefile (strop-tests): Add strnlen.
49220 * string/tester.c (test_strnlen): Add a few more test cases.
49221 * string/tst-strlen.c: Better error reporting.
49223 * sysdeps/x86_64/strnlen.S: New file.
49225 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49227 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49228 lower-latency instructions.
49230 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49232 * string/test-strcasestr.c: New file.
49233 * string/test-strstr.c: New file.
49234 * string/Makefile (strop-tests): Add strstr and strcasestr.
49235 * string/str-two-way.h: Don't undefine MAX.
49236 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49238 2010-07-21 Andreas Schwab <schwab@redhat.com>
49240 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49241 strcasestr-nonascii.
49242 (CFLAGS-strcasestr-nonascii.c): Define.
49243 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49244 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49245 Remove unused attribute.
49247 2010-07-20 Roland McGrath <roland@redhat.com>
49249 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49250 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49251 ld.so.cache was broken. With it, there is no way to disable dsocaps
49252 like LD_HWCAP_MASK can disable hwcaps.
49254 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49256 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49258 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49260 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49261 call in strcasestr.
49262 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49263 __strcasestr_sse42_nonascii.
49264 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49265 strcasestr-nonascii.c.
49266 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49268 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49270 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49271 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49272 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49273 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49275 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49277 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49280 2010-07-06 Andreas Schwab <schwab@redhat.com>
49283 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49286 2010-07-06 Ulrich Drepper <drepper@redhat.com>
49288 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49289 _PC_PIPE_BUF using F_GETPIPE_SZ.
49291 2010-07-05 Roland McGrath <roland@redhat.com>
49293 * manual/arith.texi (Rounding Functions): Fix rint description
49294 implicit in round description.
49296 2010-07-02 Ulrich Drepper <drepper@redhat.com>
49298 * elf/Makefile: Fix linking for a few tests to make recent linker
49301 2010-06-30 Andreas Schwab <schwab@redhat.com>
49303 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49304 $(common-objpfx)libc_nonshared.a.
49306 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
49308 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49309 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49310 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49311 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49312 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49313 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49314 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49315 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49330 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49331 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49332 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49333 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49334 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49335 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49336 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49337 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49338 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49339 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49340 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49341 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49357 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49359 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49360 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49361 * string/memmove.c (memmove): Renamed to ...
49362 (MEMMOVE): ...this. Default to memmove.
49363 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49364 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49366 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49367 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49368 mempcpy-ssse3-back memmove-ssse3-back.
49369 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49370 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49371 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49372 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49373 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49374 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49375 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49376 * sysdeps/x86_64/multiarch/memmove.c: New file.
49377 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49378 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49379 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49380 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49381 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49382 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49384 (index_Fast_Copy_Backward): Define.
49385 (HAS_ARCH_FEATURE): Define.
49386 (HAS_FAST_REP_STRING): Define.
49387 (HAS_FAST_COPY_BACKWARD): Define.
49389 2010-06-21 Andreas Schwab <schwab@redhat.com>
49391 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49392 Restore proper fallback handling.
49394 2010-06-19 Ulrich Drepper <drepper@redhat.com>
49397 * posix/group_member.c (__group_member): Correct checking loop.
49399 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49400 OOM in getpwuid_r correctly. Return error number when the caller
49401 should return, otherwise -1.
49402 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49403 call returning > 0 value.
49404 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49406 2010-06-07 Andreas Schwab <schwab@redhat.com>
49408 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49409 libc_nonshared.a from targets in modules-names.
49411 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49413 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49416 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
49418 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49419 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49420 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49421 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49423 2010-06-02 Andreas Schwab <schwab@redhat.com>
49425 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49427 2010-06-14 Ulrich Drepper <drepper@redhat.com>
49429 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49431 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49432 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49433 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49434 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49435 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49436 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49438 2010-06-14 Roland McGrath <roland@redhat.com>
49440 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49442 2010-06-07 Jakub Jelinek <jakub@redhat.com>
49444 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49445 __REDIRECT followed by __THROW.
49446 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49447 * posix/getopt.h (getopt): Likewise.
49449 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49451 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49452 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49453 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49455 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49456 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49458 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49460 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49462 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49465 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49466 Properly check family and model.
49468 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49470 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49472 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49474 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49476 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49478 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49481 2010-05-19 Andreas Schwab <schwab@redhat.com>
49483 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49486 2010-05-21 Andreas Schwab <schwab@redhat.com>
49488 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49489 and internal_recvmmsg.
49490 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49491 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49492 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49493 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49495 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49496 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49497 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49499 2010-05-20 Andreas Schwab <schwab@redhat.com>
49501 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49503 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49505 POWER7 optimizations.
49506 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49507 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49509 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49511 * version.h: Update for 2.13 development version.
49513 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49515 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49516 exceptions. Return 0.
49518 2010-05-07 Roland McGrath <roland@redhat.com>
49520 * elf/ldconfig.c (main): Add a const.
49522 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49524 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49525 (args_options): Add no-idn option.
49526 (ahosts_keys_int): Add idn_flags to ai_flags.
49527 (parse_option): Handle 'i' option to clear idn_flags.
49529 * malloc/malloc.c (_int_free): Possible race in the most recently
49530 added check. Only act on the data if no current modification
49533 See ChangeLog.17 for earlier changes.